2013-11-29 Richard Biener <rguenther@suse.de>
[official-gcc.git] / Makefile.in
blobf9e8e0d5cb79fe0eb0bf4773ee095f0e28bf9acb
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 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/xg++$(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
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 # * We also disable -Wformat, since older GCCs don't understand newer %s.
502 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
503 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
504 --disable-build-format-warnings
506 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
507 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
509 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
510 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
512 do-compare = @do_compare@
513 do-compare3 = $(do-compare)
515 # -----------------------------------------------
516 # Programs producing files for the TARGET machine
517 # -----------------------------------------------
519 AR_FOR_TARGET=@AR_FOR_TARGET@
520 AS_FOR_TARGET=@AS_FOR_TARGET@
521 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
523 # If GCC_FOR_TARGET is not overriden on the command line, then this
524 # variable is passed down to the gcc Makefile, where it is used to
525 # build libgcc2.a. We define it here so that it can itself be
526 # overridden on the command line.
527 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
528 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
529 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
530 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
531 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
532 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
533 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
534 LD_FOR_TARGET=@LD_FOR_TARGET@
536 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
537 NM_FOR_TARGET=@NM_FOR_TARGET@
538 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
539 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
540 READELF_FOR_TARGET=@READELF_FOR_TARGET@
541 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
542 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
543 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
545 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
546 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
547 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
549 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
550 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
552 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
553 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
554 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
555 GOCFLAGS_FOR_TARGET = -O2 -g
557 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
558 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
559 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
561 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
563 # ------------------------------------
564 # Miscellaneous targets and flag lists
565 # ------------------------------------
567 # The first rule in the file had better be this one. Don't put any above it.
568 # This lives here to allow makefile fragments to contain dependencies.
569 all:
571 #### host and target specific makefile fragments come in here.
572 @target_makefile_frag@
573 @alphaieee_frag@
574 @ospace_frag@
575 @host_makefile_frag@
578 # This is the list of directories that may be needed in RPATH_ENVVAR
579 # so that programs built for the target machine work.
580 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
582 @if target-libstdc++-v3
583 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
584 @endif target-libstdc++-v3
586 @if target-libsanitizer
587 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
588 @endif target-libsanitizer
590 @if target-libvtv
591 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
592 @endif target-libvtv
594 @if target-libcilkrts
595 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
596 @endif target-libcilkrts
598 @if target-libssp
599 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
600 @endif target-libssp
602 @if target-libgomp
603 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
604 @endif target-libgomp
606 @if target-libitm
607 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
608 @endif target-libitm
610 @if target-libatomic
611 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
612 @endif target-libatomic
616 # This is the list of directories that may be needed in RPATH_ENVVAR
617 # so that programs built for the host machine work.
618 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)
620 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
621 @if gcc
622 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
623 @endif gcc
626 @if gmp
627 HOST_LIB_PATH_gmp = \
628 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
629 @endif gmp
631 @if mpfr
632 HOST_LIB_PATH_mpfr = \
633 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
634 @endif mpfr
636 @if mpc
637 HOST_LIB_PATH_mpc = \
638 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
639 @endif mpc
641 @if isl
642 HOST_LIB_PATH_isl = \
643 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
644 @endif isl
646 @if cloog
647 HOST_LIB_PATH_cloog = \
648 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
649 @endif cloog
651 @if libelf
652 HOST_LIB_PATH_libelf = \
653 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
654 @endif libelf
657 CXX_FOR_TARGET_FLAG_TO_PASS = \
658 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
659 @if target-libstdc++-v3
660 # CXX_FOR_TARGET is tricky to get right for target libs that require a
661 # functional C++ compiler. When we recurse, if we expand
662 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
663 # libstdc++ include flags from the script. Instead, we get an
664 # -funconfigured-* word, so that we'll get errors if this invalid C++
665 # command line is used for anything, but also so that we can use the
666 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
667 # don't pass it on, sub-make will use the default definition, that
668 # re-expands it at the time of use, so we'll get it right when we need
669 # it. One potential exception is the expansion of CXX_FOR_TARGET
670 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
671 # really work, for C++ host programs can't depend on the current-stage
672 # C++ target library.
673 CXX_FOR_TARGET_FLAG_TO_PASS = \
674 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
675 @endif target-libstdc++-v3
677 # Flags to pass down to all sub-makes.
678 BASE_FLAGS_TO_PASS = \
679 "DESTDIR=$(DESTDIR)" \
680 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
681 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
682 "bindir=$(bindir)" \
683 "datadir=$(datadir)" \
684 "exec_prefix=$(exec_prefix)" \
685 "includedir=$(includedir)" \
686 "datarootdir=$(datarootdir)" \
687 "docdir=$(docdir)" \
688 "infodir=$(infodir)" \
689 "pdfdir=$(pdfdir)" \
690 "htmldir=$(htmldir)" \
691 "libdir=$(libdir)" \
692 "libexecdir=$(libexecdir)" \
693 "lispdir=$(lispdir)" \
694 "localstatedir=$(localstatedir)" \
695 "mandir=$(mandir)" \
696 "oldincludedir=$(oldincludedir)" \
697 "prefix=$(prefix)" \
698 "sbindir=$(sbindir)" \
699 "sharedstatedir=$(sharedstatedir)" \
700 "sysconfdir=$(sysconfdir)" \
701 "tooldir=$(tooldir)" \
702 "build_tooldir=$(build_tooldir)" \
703 "target_alias=$(target_alias)" \
704 "AWK=$(AWK)" \
705 "BISON=$(BISON)" \
706 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
707 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
708 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
709 "EXPECT=$(EXPECT)" \
710 "FLEX=$(FLEX)" \
711 "INSTALL=$(INSTALL)" \
712 "INSTALL_DATA=$(INSTALL_DATA)" \
713 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
714 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
715 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
716 "LEX=$(LEX)" \
717 "M4=$(M4)" \
718 "MAKE=$(MAKE)" \
719 "RUNTEST=$(RUNTEST)" \
720 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
721 "SED=$(SED)" \
722 "SHELL=$(SHELL)" \
723 "YACC=$(YACC)" \
724 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
725 "ADA_CFLAGS=$(ADA_CFLAGS)" \
726 "AR_FLAGS=$(AR_FLAGS)" \
727 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
728 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
729 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
730 "CFLAGS=$(CFLAGS)" \
731 "CXXFLAGS=$(CXXFLAGS)" \
732 "LDFLAGS=$(LDFLAGS)" \
733 "LIBCFLAGS=$(LIBCFLAGS)" \
734 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
735 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
736 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
737 "GNATBIND=$(GNATBIND)" \
738 "GNATMAKE=$(GNATMAKE)" \
739 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
740 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
741 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
742 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
743 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
744 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
745 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
746 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
747 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
748 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
749 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
750 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
751 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
752 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
753 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
754 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
755 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
756 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
757 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
758 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
759 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
760 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
761 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
762 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
763 "BUILD_CONFIG=$(BUILD_CONFIG)" \
764 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
765 "LEAN=$(LEAN)" \
766 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
767 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
768 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
769 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
770 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
771 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
772 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
773 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
774 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
775 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
776 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
777 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
778 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
779 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
780 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
781 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
782 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
783 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
784 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
785 "TFLAGS=$(TFLAGS)" \
786 "CONFIG_SHELL=$(SHELL)" \
787 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
789 # We leave this in just in case, but it is not needed anymore.
790 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
792 # Flags to pass down to most sub-makes, in which we're building with
793 # the host environment.
794 EXTRA_HOST_FLAGS = \
795 'AR=$(AR)' \
796 'AS=$(AS)' \
797 'CC=$(CC)' \
798 'CXX=$(CXX)' \
799 'DLLTOOL=$(DLLTOOL)' \
800 'GCJ=$(GCJ)' \
801 'GFORTRAN=$(GFORTRAN)' \
802 'GOC=$(GOC)' \
803 'LD=$(LD)' \
804 'LIPO=$(LIPO)' \
805 'NM=$(NM)' \
806 'OBJDUMP=$(OBJDUMP)' \
807 'RANLIB=$(RANLIB)' \
808 'READELF=$(READELF)' \
809 'STRIP=$(STRIP)' \
810 'WINDRES=$(WINDRES)' \
811 'WINDMC=$(WINDMC)'
813 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
815 # Flags to pass to stage1 or when not bootstrapping.
817 STAGE1_FLAGS_TO_PASS = \
818 LDFLAGS="$${LDFLAGS}" \
819 HOST_LIBS="$${HOST_LIBS}"
821 # Flags to pass to stage2 and later makes.
823 POSTSTAGE1_FLAGS_TO_PASS = \
824 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
825 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
826 GNATBIND="$${GNATBIND}" \
827 LDFLAGS="$${LDFLAGS}" \
828 HOST_LIBS="$${HOST_LIBS}" \
829 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
831 # Flags to pass down to makes which are built with the target environment.
832 # The double $ decreases the length of the command line; those variables
833 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
834 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
835 # so we expand them here.
836 EXTRA_TARGET_FLAGS = \
837 'AR=$$(AR_FOR_TARGET)' \
838 'AS=$(COMPILER_AS_FOR_TARGET)' \
839 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
841 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
842 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
843 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
844 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
846 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
847 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
848 'LD=$(COMPILER_LD_FOR_TARGET)' \
849 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
850 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
851 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
852 'NM=$(COMPILER_NM_FOR_TARGET)' \
853 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
854 'RANLIB=$$(RANLIB_FOR_TARGET)' \
855 'READELF=$$(READELF_FOR_TARGET)' \
856 'WINDRES=$$(WINDRES_FOR_TARGET)' \
857 'WINDMC=$$(WINDMC_FOR_TARGET)' \
858 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
859 "TFLAGS=$$TFLAGS"
861 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
863 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
864 # unfortunately needs the native compiler and the target ar and
865 # ranlib.
866 # If any variables are added here, they must be added to do-*, below.
867 # The BUILD_* variables are a special case, which are used for the gcc
868 # cross-building scheme.
869 EXTRA_GCC_FLAGS = \
870 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
871 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
872 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
874 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
876 @if gcc
877 BUILD_CONFIG = @BUILD_CONFIG@
878 ifneq ($(BUILD_CONFIG),)
879 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
880 endif
881 @endif gcc
883 .PHONY: configure-host
884 configure-host: \
885 maybe-configure-bfd \
886 maybe-configure-opcodes \
887 maybe-configure-binutils \
888 maybe-configure-bison \
889 maybe-configure-cgen \
890 maybe-configure-dejagnu \
891 maybe-configure-etc \
892 maybe-configure-fastjar \
893 maybe-configure-fixincludes \
894 maybe-configure-flex \
895 maybe-configure-gas \
896 maybe-configure-gcc \
897 maybe-configure-gmp \
898 maybe-configure-mpfr \
899 maybe-configure-mpc \
900 maybe-configure-isl \
901 maybe-configure-cloog \
902 maybe-configure-libelf \
903 maybe-configure-gold \
904 maybe-configure-gprof \
905 maybe-configure-intl \
906 maybe-configure-tcl \
907 maybe-configure-itcl \
908 maybe-configure-ld \
909 maybe-configure-libbacktrace \
910 maybe-configure-libcpp \
911 maybe-configure-libdecnumber \
912 maybe-configure-libgui \
913 maybe-configure-libiberty \
914 maybe-configure-libiconv \
915 maybe-configure-m4 \
916 maybe-configure-readline \
917 maybe-configure-sid \
918 maybe-configure-sim \
919 maybe-configure-texinfo \
920 maybe-configure-zlib \
921 maybe-configure-gdb \
922 maybe-configure-expect \
923 maybe-configure-guile \
924 maybe-configure-tk \
925 maybe-configure-libtermcap \
926 maybe-configure-utils \
927 maybe-configure-gnattools \
928 maybe-configure-lto-plugin
929 .PHONY: configure-target
930 configure-target: \
931 maybe-configure-target-libstdc++-v3 \
932 maybe-configure-target-libsanitizer \
933 maybe-configure-target-libvtv \
934 maybe-configure-target-libcilkrts \
935 maybe-configure-target-libssp \
936 maybe-configure-target-newlib \
937 maybe-configure-target-libgcc \
938 maybe-configure-target-libbacktrace \
939 maybe-configure-target-libquadmath \
940 maybe-configure-target-libgfortran \
941 maybe-configure-target-libobjc \
942 maybe-configure-target-libgo \
943 maybe-configure-target-libtermcap \
944 maybe-configure-target-winsup \
945 maybe-configure-target-libgloss \
946 maybe-configure-target-libffi \
947 maybe-configure-target-libjava \
948 maybe-configure-target-zlib \
949 maybe-configure-target-boehm-gc \
950 maybe-configure-target-rda \
951 maybe-configure-target-libada \
952 maybe-configure-target-libgomp \
953 maybe-configure-target-libitm \
954 maybe-configure-target-libatomic
956 # The target built for a native non-bootstrap build.
957 .PHONY: all
958 all:
959 @if gcc-bootstrap
960 [ -f stage_final ] || echo stage3 > stage_final
961 @r=`${PWD_COMMAND}`; export r; \
962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
964 @endif gcc-bootstrap
965 @: $(MAKE); $(unstage)
966 @r=`${PWD_COMMAND}`; export r; \
967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
968 @if gcc-bootstrap
969 if [ -f stage_last ]; then \
970 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
971 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
972 else \
973 @endif gcc-bootstrap
974 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
975 @if gcc-bootstrap
977 fi \
978 @endif gcc-bootstrap
979 && :
981 .PHONY: all-build
983 all-build: maybe-all-build-libiberty
984 all-build: maybe-all-build-bison
985 all-build: maybe-all-build-flex
986 all-build: maybe-all-build-m4
987 all-build: maybe-all-build-texinfo
988 all-build: maybe-all-build-fixincludes
990 .PHONY: all-host
992 @if bfd-no-bootstrap
993 all-host: maybe-all-bfd
994 @endif bfd-no-bootstrap
995 @if opcodes-no-bootstrap
996 all-host: maybe-all-opcodes
997 @endif opcodes-no-bootstrap
998 @if binutils-no-bootstrap
999 all-host: maybe-all-binutils
1000 @endif binutils-no-bootstrap
1001 all-host: maybe-all-bison
1002 all-host: maybe-all-cgen
1003 all-host: maybe-all-dejagnu
1004 all-host: maybe-all-etc
1005 all-host: maybe-all-fastjar
1006 all-host: maybe-all-fixincludes
1007 all-host: maybe-all-flex
1008 @if gas-no-bootstrap
1009 all-host: maybe-all-gas
1010 @endif gas-no-bootstrap
1011 @if gcc-no-bootstrap
1012 all-host: maybe-all-gcc
1013 @endif gcc-no-bootstrap
1014 @if gmp-no-bootstrap
1015 all-host: maybe-all-gmp
1016 @endif gmp-no-bootstrap
1017 @if mpfr-no-bootstrap
1018 all-host: maybe-all-mpfr
1019 @endif mpfr-no-bootstrap
1020 @if mpc-no-bootstrap
1021 all-host: maybe-all-mpc
1022 @endif mpc-no-bootstrap
1023 @if isl-no-bootstrap
1024 all-host: maybe-all-isl
1025 @endif isl-no-bootstrap
1026 @if cloog-no-bootstrap
1027 all-host: maybe-all-cloog
1028 @endif cloog-no-bootstrap
1029 @if libelf-no-bootstrap
1030 all-host: maybe-all-libelf
1031 @endif libelf-no-bootstrap
1032 @if gold-no-bootstrap
1033 all-host: maybe-all-gold
1034 @endif gold-no-bootstrap
1035 all-host: maybe-all-gprof
1036 @if intl-no-bootstrap
1037 all-host: maybe-all-intl
1038 @endif intl-no-bootstrap
1039 all-host: maybe-all-tcl
1040 all-host: maybe-all-itcl
1041 @if ld-no-bootstrap
1042 all-host: maybe-all-ld
1043 @endif ld-no-bootstrap
1044 @if libbacktrace-no-bootstrap
1045 all-host: maybe-all-libbacktrace
1046 @endif libbacktrace-no-bootstrap
1047 @if libcpp-no-bootstrap
1048 all-host: maybe-all-libcpp
1049 @endif libcpp-no-bootstrap
1050 @if libdecnumber-no-bootstrap
1051 all-host: maybe-all-libdecnumber
1052 @endif libdecnumber-no-bootstrap
1053 all-host: maybe-all-libgui
1054 @if libiberty-no-bootstrap
1055 all-host: maybe-all-libiberty
1056 @endif libiberty-no-bootstrap
1057 all-host: maybe-all-libiconv
1058 all-host: maybe-all-m4
1059 all-host: maybe-all-readline
1060 all-host: maybe-all-sid
1061 all-host: maybe-all-sim
1062 all-host: maybe-all-texinfo
1063 @if zlib-no-bootstrap
1064 all-host: maybe-all-zlib
1065 @endif zlib-no-bootstrap
1066 all-host: maybe-all-gdb
1067 all-host: maybe-all-expect
1068 all-host: maybe-all-guile
1069 all-host: maybe-all-tk
1070 all-host: maybe-all-libtermcap
1071 all-host: maybe-all-utils
1072 all-host: maybe-all-gnattools
1073 @if lto-plugin-no-bootstrap
1074 all-host: maybe-all-lto-plugin
1075 @endif lto-plugin-no-bootstrap
1077 .PHONY: all-target
1079 @if target-libstdc++-v3-no-bootstrap
1080 all-target: maybe-all-target-libstdc++-v3
1081 @endif target-libstdc++-v3-no-bootstrap
1082 @if target-libsanitizer-no-bootstrap
1083 all-target: maybe-all-target-libsanitizer
1084 @endif target-libsanitizer-no-bootstrap
1085 @if target-libvtv-no-bootstrap
1086 all-target: maybe-all-target-libvtv
1087 @endif target-libvtv-no-bootstrap
1088 all-target: maybe-all-target-libcilkrts
1089 all-target: maybe-all-target-libssp
1090 all-target: maybe-all-target-newlib
1091 @if target-libgcc-no-bootstrap
1092 all-target: maybe-all-target-libgcc
1093 @endif target-libgcc-no-bootstrap
1094 all-target: maybe-all-target-libbacktrace
1095 all-target: maybe-all-target-libquadmath
1096 all-target: maybe-all-target-libgfortran
1097 all-target: maybe-all-target-libobjc
1098 all-target: maybe-all-target-libgo
1099 all-target: maybe-all-target-libtermcap
1100 all-target: maybe-all-target-winsup
1101 all-target: maybe-all-target-libgloss
1102 all-target: maybe-all-target-libffi
1103 all-target: maybe-all-target-libjava
1104 all-target: maybe-all-target-zlib
1105 all-target: maybe-all-target-boehm-gc
1106 all-target: maybe-all-target-rda
1107 all-target: maybe-all-target-libada
1108 @if target-libgomp-no-bootstrap
1109 all-target: maybe-all-target-libgomp
1110 @endif target-libgomp-no-bootstrap
1111 all-target: maybe-all-target-libitm
1112 all-target: maybe-all-target-libatomic
1114 # Do a target for all the subdirectories. A ``make do-X'' will do a
1115 # ``make X'' in all subdirectories (because, in general, there is a
1116 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1117 # but it may do additional work as well).
1119 .PHONY: do-info
1120 do-info:
1121 @: $(MAKE); $(unstage)
1122 @r=`${PWD_COMMAND}`; export r; \
1123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1125 info-target
1128 .PHONY: info-host
1130 info-host: maybe-info-bfd
1131 info-host: maybe-info-opcodes
1132 info-host: maybe-info-binutils
1133 info-host: maybe-info-bison
1134 info-host: maybe-info-cgen
1135 info-host: maybe-info-dejagnu
1136 info-host: maybe-info-etc
1137 info-host: maybe-info-fastjar
1138 info-host: maybe-info-fixincludes
1139 info-host: maybe-info-flex
1140 info-host: maybe-info-gas
1141 info-host: maybe-info-gcc
1142 info-host: maybe-info-gmp
1143 info-host: maybe-info-mpfr
1144 info-host: maybe-info-mpc
1145 info-host: maybe-info-isl
1146 info-host: maybe-info-cloog
1147 info-host: maybe-info-libelf
1148 info-host: maybe-info-gold
1149 info-host: maybe-info-gprof
1150 info-host: maybe-info-intl
1151 info-host: maybe-info-tcl
1152 info-host: maybe-info-itcl
1153 info-host: maybe-info-ld
1154 info-host: maybe-info-libbacktrace
1155 info-host: maybe-info-libcpp
1156 info-host: maybe-info-libdecnumber
1157 info-host: maybe-info-libgui
1158 info-host: maybe-info-libiberty
1159 info-host: maybe-info-libiconv
1160 info-host: maybe-info-m4
1161 info-host: maybe-info-readline
1162 info-host: maybe-info-sid
1163 info-host: maybe-info-sim
1164 info-host: maybe-info-texinfo
1165 info-host: maybe-info-zlib
1166 info-host: maybe-info-gdb
1167 info-host: maybe-info-expect
1168 info-host: maybe-info-guile
1169 info-host: maybe-info-tk
1170 info-host: maybe-info-libtermcap
1171 info-host: maybe-info-utils
1172 info-host: maybe-info-gnattools
1173 info-host: maybe-info-lto-plugin
1175 .PHONY: info-target
1177 info-target: maybe-info-target-libstdc++-v3
1178 info-target: maybe-info-target-libsanitizer
1179 info-target: maybe-info-target-libvtv
1180 info-target: maybe-info-target-libcilkrts
1181 info-target: maybe-info-target-libssp
1182 info-target: maybe-info-target-newlib
1183 info-target: maybe-info-target-libgcc
1184 info-target: maybe-info-target-libbacktrace
1185 info-target: maybe-info-target-libquadmath
1186 info-target: maybe-info-target-libgfortran
1187 info-target: maybe-info-target-libobjc
1188 info-target: maybe-info-target-libgo
1189 info-target: maybe-info-target-libtermcap
1190 info-target: maybe-info-target-winsup
1191 info-target: maybe-info-target-libgloss
1192 info-target: maybe-info-target-libffi
1193 info-target: maybe-info-target-libjava
1194 info-target: maybe-info-target-zlib
1195 info-target: maybe-info-target-boehm-gc
1196 info-target: maybe-info-target-rda
1197 info-target: maybe-info-target-libada
1198 info-target: maybe-info-target-libgomp
1199 info-target: maybe-info-target-libitm
1200 info-target: maybe-info-target-libatomic
1202 .PHONY: do-dvi
1203 do-dvi:
1204 @: $(MAKE); $(unstage)
1205 @r=`${PWD_COMMAND}`; export r; \
1206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1207 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1208 dvi-target
1211 .PHONY: dvi-host
1213 dvi-host: maybe-dvi-bfd
1214 dvi-host: maybe-dvi-opcodes
1215 dvi-host: maybe-dvi-binutils
1216 dvi-host: maybe-dvi-bison
1217 dvi-host: maybe-dvi-cgen
1218 dvi-host: maybe-dvi-dejagnu
1219 dvi-host: maybe-dvi-etc
1220 dvi-host: maybe-dvi-fastjar
1221 dvi-host: maybe-dvi-fixincludes
1222 dvi-host: maybe-dvi-flex
1223 dvi-host: maybe-dvi-gas
1224 dvi-host: maybe-dvi-gcc
1225 dvi-host: maybe-dvi-gmp
1226 dvi-host: maybe-dvi-mpfr
1227 dvi-host: maybe-dvi-mpc
1228 dvi-host: maybe-dvi-isl
1229 dvi-host: maybe-dvi-cloog
1230 dvi-host: maybe-dvi-libelf
1231 dvi-host: maybe-dvi-gold
1232 dvi-host: maybe-dvi-gprof
1233 dvi-host: maybe-dvi-intl
1234 dvi-host: maybe-dvi-tcl
1235 dvi-host: maybe-dvi-itcl
1236 dvi-host: maybe-dvi-ld
1237 dvi-host: maybe-dvi-libbacktrace
1238 dvi-host: maybe-dvi-libcpp
1239 dvi-host: maybe-dvi-libdecnumber
1240 dvi-host: maybe-dvi-libgui
1241 dvi-host: maybe-dvi-libiberty
1242 dvi-host: maybe-dvi-libiconv
1243 dvi-host: maybe-dvi-m4
1244 dvi-host: maybe-dvi-readline
1245 dvi-host: maybe-dvi-sid
1246 dvi-host: maybe-dvi-sim
1247 dvi-host: maybe-dvi-texinfo
1248 dvi-host: maybe-dvi-zlib
1249 dvi-host: maybe-dvi-gdb
1250 dvi-host: maybe-dvi-expect
1251 dvi-host: maybe-dvi-guile
1252 dvi-host: maybe-dvi-tk
1253 dvi-host: maybe-dvi-libtermcap
1254 dvi-host: maybe-dvi-utils
1255 dvi-host: maybe-dvi-gnattools
1256 dvi-host: maybe-dvi-lto-plugin
1258 .PHONY: dvi-target
1260 dvi-target: maybe-dvi-target-libstdc++-v3
1261 dvi-target: maybe-dvi-target-libsanitizer
1262 dvi-target: maybe-dvi-target-libvtv
1263 dvi-target: maybe-dvi-target-libcilkrts
1264 dvi-target: maybe-dvi-target-libssp
1265 dvi-target: maybe-dvi-target-newlib
1266 dvi-target: maybe-dvi-target-libgcc
1267 dvi-target: maybe-dvi-target-libbacktrace
1268 dvi-target: maybe-dvi-target-libquadmath
1269 dvi-target: maybe-dvi-target-libgfortran
1270 dvi-target: maybe-dvi-target-libobjc
1271 dvi-target: maybe-dvi-target-libgo
1272 dvi-target: maybe-dvi-target-libtermcap
1273 dvi-target: maybe-dvi-target-winsup
1274 dvi-target: maybe-dvi-target-libgloss
1275 dvi-target: maybe-dvi-target-libffi
1276 dvi-target: maybe-dvi-target-libjava
1277 dvi-target: maybe-dvi-target-zlib
1278 dvi-target: maybe-dvi-target-boehm-gc
1279 dvi-target: maybe-dvi-target-rda
1280 dvi-target: maybe-dvi-target-libada
1281 dvi-target: maybe-dvi-target-libgomp
1282 dvi-target: maybe-dvi-target-libitm
1283 dvi-target: maybe-dvi-target-libatomic
1285 .PHONY: do-pdf
1286 do-pdf:
1287 @: $(MAKE); $(unstage)
1288 @r=`${PWD_COMMAND}`; export r; \
1289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1290 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1291 pdf-target
1294 .PHONY: pdf-host
1296 pdf-host: maybe-pdf-bfd
1297 pdf-host: maybe-pdf-opcodes
1298 pdf-host: maybe-pdf-binutils
1299 pdf-host: maybe-pdf-bison
1300 pdf-host: maybe-pdf-cgen
1301 pdf-host: maybe-pdf-dejagnu
1302 pdf-host: maybe-pdf-etc
1303 pdf-host: maybe-pdf-fastjar
1304 pdf-host: maybe-pdf-fixincludes
1305 pdf-host: maybe-pdf-flex
1306 pdf-host: maybe-pdf-gas
1307 pdf-host: maybe-pdf-gcc
1308 pdf-host: maybe-pdf-gmp
1309 pdf-host: maybe-pdf-mpfr
1310 pdf-host: maybe-pdf-mpc
1311 pdf-host: maybe-pdf-isl
1312 pdf-host: maybe-pdf-cloog
1313 pdf-host: maybe-pdf-libelf
1314 pdf-host: maybe-pdf-gold
1315 pdf-host: maybe-pdf-gprof
1316 pdf-host: maybe-pdf-intl
1317 pdf-host: maybe-pdf-tcl
1318 pdf-host: maybe-pdf-itcl
1319 pdf-host: maybe-pdf-ld
1320 pdf-host: maybe-pdf-libbacktrace
1321 pdf-host: maybe-pdf-libcpp
1322 pdf-host: maybe-pdf-libdecnumber
1323 pdf-host: maybe-pdf-libgui
1324 pdf-host: maybe-pdf-libiberty
1325 pdf-host: maybe-pdf-libiconv
1326 pdf-host: maybe-pdf-m4
1327 pdf-host: maybe-pdf-readline
1328 pdf-host: maybe-pdf-sid
1329 pdf-host: maybe-pdf-sim
1330 pdf-host: maybe-pdf-texinfo
1331 pdf-host: maybe-pdf-zlib
1332 pdf-host: maybe-pdf-gdb
1333 pdf-host: maybe-pdf-expect
1334 pdf-host: maybe-pdf-guile
1335 pdf-host: maybe-pdf-tk
1336 pdf-host: maybe-pdf-libtermcap
1337 pdf-host: maybe-pdf-utils
1338 pdf-host: maybe-pdf-gnattools
1339 pdf-host: maybe-pdf-lto-plugin
1341 .PHONY: pdf-target
1343 pdf-target: maybe-pdf-target-libstdc++-v3
1344 pdf-target: maybe-pdf-target-libsanitizer
1345 pdf-target: maybe-pdf-target-libvtv
1346 pdf-target: maybe-pdf-target-libcilkrts
1347 pdf-target: maybe-pdf-target-libssp
1348 pdf-target: maybe-pdf-target-newlib
1349 pdf-target: maybe-pdf-target-libgcc
1350 pdf-target: maybe-pdf-target-libbacktrace
1351 pdf-target: maybe-pdf-target-libquadmath
1352 pdf-target: maybe-pdf-target-libgfortran
1353 pdf-target: maybe-pdf-target-libobjc
1354 pdf-target: maybe-pdf-target-libgo
1355 pdf-target: maybe-pdf-target-libtermcap
1356 pdf-target: maybe-pdf-target-winsup
1357 pdf-target: maybe-pdf-target-libgloss
1358 pdf-target: maybe-pdf-target-libffi
1359 pdf-target: maybe-pdf-target-libjava
1360 pdf-target: maybe-pdf-target-zlib
1361 pdf-target: maybe-pdf-target-boehm-gc
1362 pdf-target: maybe-pdf-target-rda
1363 pdf-target: maybe-pdf-target-libada
1364 pdf-target: maybe-pdf-target-libgomp
1365 pdf-target: maybe-pdf-target-libitm
1366 pdf-target: maybe-pdf-target-libatomic
1368 .PHONY: do-html
1369 do-html:
1370 @: $(MAKE); $(unstage)
1371 @r=`${PWD_COMMAND}`; export r; \
1372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1373 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1374 html-target
1377 .PHONY: html-host
1379 html-host: maybe-html-bfd
1380 html-host: maybe-html-opcodes
1381 html-host: maybe-html-binutils
1382 html-host: maybe-html-bison
1383 html-host: maybe-html-cgen
1384 html-host: maybe-html-dejagnu
1385 html-host: maybe-html-etc
1386 html-host: maybe-html-fastjar
1387 html-host: maybe-html-fixincludes
1388 html-host: maybe-html-flex
1389 html-host: maybe-html-gas
1390 html-host: maybe-html-gcc
1391 html-host: maybe-html-gmp
1392 html-host: maybe-html-mpfr
1393 html-host: maybe-html-mpc
1394 html-host: maybe-html-isl
1395 html-host: maybe-html-cloog
1396 html-host: maybe-html-libelf
1397 html-host: maybe-html-gold
1398 html-host: maybe-html-gprof
1399 html-host: maybe-html-intl
1400 html-host: maybe-html-tcl
1401 html-host: maybe-html-itcl
1402 html-host: maybe-html-ld
1403 html-host: maybe-html-libbacktrace
1404 html-host: maybe-html-libcpp
1405 html-host: maybe-html-libdecnumber
1406 html-host: maybe-html-libgui
1407 html-host: maybe-html-libiberty
1408 html-host: maybe-html-libiconv
1409 html-host: maybe-html-m4
1410 html-host: maybe-html-readline
1411 html-host: maybe-html-sid
1412 html-host: maybe-html-sim
1413 html-host: maybe-html-texinfo
1414 html-host: maybe-html-zlib
1415 html-host: maybe-html-gdb
1416 html-host: maybe-html-expect
1417 html-host: maybe-html-guile
1418 html-host: maybe-html-tk
1419 html-host: maybe-html-libtermcap
1420 html-host: maybe-html-utils
1421 html-host: maybe-html-gnattools
1422 html-host: maybe-html-lto-plugin
1424 .PHONY: html-target
1426 html-target: maybe-html-target-libstdc++-v3
1427 html-target: maybe-html-target-libsanitizer
1428 html-target: maybe-html-target-libvtv
1429 html-target: maybe-html-target-libcilkrts
1430 html-target: maybe-html-target-libssp
1431 html-target: maybe-html-target-newlib
1432 html-target: maybe-html-target-libgcc
1433 html-target: maybe-html-target-libbacktrace
1434 html-target: maybe-html-target-libquadmath
1435 html-target: maybe-html-target-libgfortran
1436 html-target: maybe-html-target-libobjc
1437 html-target: maybe-html-target-libgo
1438 html-target: maybe-html-target-libtermcap
1439 html-target: maybe-html-target-winsup
1440 html-target: maybe-html-target-libgloss
1441 html-target: maybe-html-target-libffi
1442 html-target: maybe-html-target-libjava
1443 html-target: maybe-html-target-zlib
1444 html-target: maybe-html-target-boehm-gc
1445 html-target: maybe-html-target-rda
1446 html-target: maybe-html-target-libada
1447 html-target: maybe-html-target-libgomp
1448 html-target: maybe-html-target-libitm
1449 html-target: maybe-html-target-libatomic
1451 .PHONY: do-TAGS
1452 do-TAGS:
1453 @: $(MAKE); $(unstage)
1454 @r=`${PWD_COMMAND}`; export r; \
1455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1456 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1457 TAGS-target
1460 .PHONY: TAGS-host
1462 TAGS-host: maybe-TAGS-bfd
1463 TAGS-host: maybe-TAGS-opcodes
1464 TAGS-host: maybe-TAGS-binutils
1465 TAGS-host: maybe-TAGS-bison
1466 TAGS-host: maybe-TAGS-cgen
1467 TAGS-host: maybe-TAGS-dejagnu
1468 TAGS-host: maybe-TAGS-etc
1469 TAGS-host: maybe-TAGS-fastjar
1470 TAGS-host: maybe-TAGS-fixincludes
1471 TAGS-host: maybe-TAGS-flex
1472 TAGS-host: maybe-TAGS-gas
1473 TAGS-host: maybe-TAGS-gcc
1474 TAGS-host: maybe-TAGS-gmp
1475 TAGS-host: maybe-TAGS-mpfr
1476 TAGS-host: maybe-TAGS-mpc
1477 TAGS-host: maybe-TAGS-isl
1478 TAGS-host: maybe-TAGS-cloog
1479 TAGS-host: maybe-TAGS-libelf
1480 TAGS-host: maybe-TAGS-gold
1481 TAGS-host: maybe-TAGS-gprof
1482 TAGS-host: maybe-TAGS-intl
1483 TAGS-host: maybe-TAGS-tcl
1484 TAGS-host: maybe-TAGS-itcl
1485 TAGS-host: maybe-TAGS-ld
1486 TAGS-host: maybe-TAGS-libbacktrace
1487 TAGS-host: maybe-TAGS-libcpp
1488 TAGS-host: maybe-TAGS-libdecnumber
1489 TAGS-host: maybe-TAGS-libgui
1490 TAGS-host: maybe-TAGS-libiberty
1491 TAGS-host: maybe-TAGS-libiconv
1492 TAGS-host: maybe-TAGS-m4
1493 TAGS-host: maybe-TAGS-readline
1494 TAGS-host: maybe-TAGS-sid
1495 TAGS-host: maybe-TAGS-sim
1496 TAGS-host: maybe-TAGS-texinfo
1497 TAGS-host: maybe-TAGS-zlib
1498 TAGS-host: maybe-TAGS-gdb
1499 TAGS-host: maybe-TAGS-expect
1500 TAGS-host: maybe-TAGS-guile
1501 TAGS-host: maybe-TAGS-tk
1502 TAGS-host: maybe-TAGS-libtermcap
1503 TAGS-host: maybe-TAGS-utils
1504 TAGS-host: maybe-TAGS-gnattools
1505 TAGS-host: maybe-TAGS-lto-plugin
1507 .PHONY: TAGS-target
1509 TAGS-target: maybe-TAGS-target-libstdc++-v3
1510 TAGS-target: maybe-TAGS-target-libsanitizer
1511 TAGS-target: maybe-TAGS-target-libvtv
1512 TAGS-target: maybe-TAGS-target-libcilkrts
1513 TAGS-target: maybe-TAGS-target-libssp
1514 TAGS-target: maybe-TAGS-target-newlib
1515 TAGS-target: maybe-TAGS-target-libgcc
1516 TAGS-target: maybe-TAGS-target-libbacktrace
1517 TAGS-target: maybe-TAGS-target-libquadmath
1518 TAGS-target: maybe-TAGS-target-libgfortran
1519 TAGS-target: maybe-TAGS-target-libobjc
1520 TAGS-target: maybe-TAGS-target-libgo
1521 TAGS-target: maybe-TAGS-target-libtermcap
1522 TAGS-target: maybe-TAGS-target-winsup
1523 TAGS-target: maybe-TAGS-target-libgloss
1524 TAGS-target: maybe-TAGS-target-libffi
1525 TAGS-target: maybe-TAGS-target-libjava
1526 TAGS-target: maybe-TAGS-target-zlib
1527 TAGS-target: maybe-TAGS-target-boehm-gc
1528 TAGS-target: maybe-TAGS-target-rda
1529 TAGS-target: maybe-TAGS-target-libada
1530 TAGS-target: maybe-TAGS-target-libgomp
1531 TAGS-target: maybe-TAGS-target-libitm
1532 TAGS-target: maybe-TAGS-target-libatomic
1534 .PHONY: do-install-info
1535 do-install-info:
1536 @: $(MAKE); $(unstage)
1537 @r=`${PWD_COMMAND}`; export r; \
1538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1540 install-info-target
1543 .PHONY: install-info-host
1545 install-info-host: maybe-install-info-bfd
1546 install-info-host: maybe-install-info-opcodes
1547 install-info-host: maybe-install-info-binutils
1548 install-info-host: maybe-install-info-bison
1549 install-info-host: maybe-install-info-cgen
1550 install-info-host: maybe-install-info-dejagnu
1551 install-info-host: maybe-install-info-etc
1552 install-info-host: maybe-install-info-fastjar
1553 install-info-host: maybe-install-info-fixincludes
1554 install-info-host: maybe-install-info-flex
1555 install-info-host: maybe-install-info-gas
1556 install-info-host: maybe-install-info-gcc
1557 install-info-host: maybe-install-info-gmp
1558 install-info-host: maybe-install-info-mpfr
1559 install-info-host: maybe-install-info-mpc
1560 install-info-host: maybe-install-info-isl
1561 install-info-host: maybe-install-info-cloog
1562 install-info-host: maybe-install-info-libelf
1563 install-info-host: maybe-install-info-gold
1564 install-info-host: maybe-install-info-gprof
1565 install-info-host: maybe-install-info-intl
1566 install-info-host: maybe-install-info-tcl
1567 install-info-host: maybe-install-info-itcl
1568 install-info-host: maybe-install-info-ld
1569 install-info-host: maybe-install-info-libbacktrace
1570 install-info-host: maybe-install-info-libcpp
1571 install-info-host: maybe-install-info-libdecnumber
1572 install-info-host: maybe-install-info-libgui
1573 install-info-host: maybe-install-info-libiberty
1574 install-info-host: maybe-install-info-libiconv
1575 install-info-host: maybe-install-info-m4
1576 install-info-host: maybe-install-info-readline
1577 install-info-host: maybe-install-info-sid
1578 install-info-host: maybe-install-info-sim
1579 install-info-host: maybe-install-info-texinfo
1580 install-info-host: maybe-install-info-zlib
1581 install-info-host: maybe-install-info-gdb
1582 install-info-host: maybe-install-info-expect
1583 install-info-host: maybe-install-info-guile
1584 install-info-host: maybe-install-info-tk
1585 install-info-host: maybe-install-info-libtermcap
1586 install-info-host: maybe-install-info-utils
1587 install-info-host: maybe-install-info-gnattools
1588 install-info-host: maybe-install-info-lto-plugin
1590 .PHONY: install-info-target
1592 install-info-target: maybe-install-info-target-libstdc++-v3
1593 install-info-target: maybe-install-info-target-libsanitizer
1594 install-info-target: maybe-install-info-target-libvtv
1595 install-info-target: maybe-install-info-target-libcilkrts
1596 install-info-target: maybe-install-info-target-libssp
1597 install-info-target: maybe-install-info-target-newlib
1598 install-info-target: maybe-install-info-target-libgcc
1599 install-info-target: maybe-install-info-target-libbacktrace
1600 install-info-target: maybe-install-info-target-libquadmath
1601 install-info-target: maybe-install-info-target-libgfortran
1602 install-info-target: maybe-install-info-target-libobjc
1603 install-info-target: maybe-install-info-target-libgo
1604 install-info-target: maybe-install-info-target-libtermcap
1605 install-info-target: maybe-install-info-target-winsup
1606 install-info-target: maybe-install-info-target-libgloss
1607 install-info-target: maybe-install-info-target-libffi
1608 install-info-target: maybe-install-info-target-libjava
1609 install-info-target: maybe-install-info-target-zlib
1610 install-info-target: maybe-install-info-target-boehm-gc
1611 install-info-target: maybe-install-info-target-rda
1612 install-info-target: maybe-install-info-target-libada
1613 install-info-target: maybe-install-info-target-libgomp
1614 install-info-target: maybe-install-info-target-libitm
1615 install-info-target: maybe-install-info-target-libatomic
1617 .PHONY: do-install-pdf
1618 do-install-pdf:
1619 @: $(MAKE); $(unstage)
1620 @r=`${PWD_COMMAND}`; export r; \
1621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1622 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1623 install-pdf-target
1626 .PHONY: install-pdf-host
1628 install-pdf-host: maybe-install-pdf-bfd
1629 install-pdf-host: maybe-install-pdf-opcodes
1630 install-pdf-host: maybe-install-pdf-binutils
1631 install-pdf-host: maybe-install-pdf-bison
1632 install-pdf-host: maybe-install-pdf-cgen
1633 install-pdf-host: maybe-install-pdf-dejagnu
1634 install-pdf-host: maybe-install-pdf-etc
1635 install-pdf-host: maybe-install-pdf-fastjar
1636 install-pdf-host: maybe-install-pdf-fixincludes
1637 install-pdf-host: maybe-install-pdf-flex
1638 install-pdf-host: maybe-install-pdf-gas
1639 install-pdf-host: maybe-install-pdf-gcc
1640 install-pdf-host: maybe-install-pdf-gmp
1641 install-pdf-host: maybe-install-pdf-mpfr
1642 install-pdf-host: maybe-install-pdf-mpc
1643 install-pdf-host: maybe-install-pdf-isl
1644 install-pdf-host: maybe-install-pdf-cloog
1645 install-pdf-host: maybe-install-pdf-libelf
1646 install-pdf-host: maybe-install-pdf-gold
1647 install-pdf-host: maybe-install-pdf-gprof
1648 install-pdf-host: maybe-install-pdf-intl
1649 install-pdf-host: maybe-install-pdf-tcl
1650 install-pdf-host: maybe-install-pdf-itcl
1651 install-pdf-host: maybe-install-pdf-ld
1652 install-pdf-host: maybe-install-pdf-libbacktrace
1653 install-pdf-host: maybe-install-pdf-libcpp
1654 install-pdf-host: maybe-install-pdf-libdecnumber
1655 install-pdf-host: maybe-install-pdf-libgui
1656 install-pdf-host: maybe-install-pdf-libiberty
1657 install-pdf-host: maybe-install-pdf-libiconv
1658 install-pdf-host: maybe-install-pdf-m4
1659 install-pdf-host: maybe-install-pdf-readline
1660 install-pdf-host: maybe-install-pdf-sid
1661 install-pdf-host: maybe-install-pdf-sim
1662 install-pdf-host: maybe-install-pdf-texinfo
1663 install-pdf-host: maybe-install-pdf-zlib
1664 install-pdf-host: maybe-install-pdf-gdb
1665 install-pdf-host: maybe-install-pdf-expect
1666 install-pdf-host: maybe-install-pdf-guile
1667 install-pdf-host: maybe-install-pdf-tk
1668 install-pdf-host: maybe-install-pdf-libtermcap
1669 install-pdf-host: maybe-install-pdf-utils
1670 install-pdf-host: maybe-install-pdf-gnattools
1671 install-pdf-host: maybe-install-pdf-lto-plugin
1673 .PHONY: install-pdf-target
1675 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1676 install-pdf-target: maybe-install-pdf-target-libsanitizer
1677 install-pdf-target: maybe-install-pdf-target-libvtv
1678 install-pdf-target: maybe-install-pdf-target-libcilkrts
1679 install-pdf-target: maybe-install-pdf-target-libssp
1680 install-pdf-target: maybe-install-pdf-target-newlib
1681 install-pdf-target: maybe-install-pdf-target-libgcc
1682 install-pdf-target: maybe-install-pdf-target-libbacktrace
1683 install-pdf-target: maybe-install-pdf-target-libquadmath
1684 install-pdf-target: maybe-install-pdf-target-libgfortran
1685 install-pdf-target: maybe-install-pdf-target-libobjc
1686 install-pdf-target: maybe-install-pdf-target-libgo
1687 install-pdf-target: maybe-install-pdf-target-libtermcap
1688 install-pdf-target: maybe-install-pdf-target-winsup
1689 install-pdf-target: maybe-install-pdf-target-libgloss
1690 install-pdf-target: maybe-install-pdf-target-libffi
1691 install-pdf-target: maybe-install-pdf-target-libjava
1692 install-pdf-target: maybe-install-pdf-target-zlib
1693 install-pdf-target: maybe-install-pdf-target-boehm-gc
1694 install-pdf-target: maybe-install-pdf-target-rda
1695 install-pdf-target: maybe-install-pdf-target-libada
1696 install-pdf-target: maybe-install-pdf-target-libgomp
1697 install-pdf-target: maybe-install-pdf-target-libitm
1698 install-pdf-target: maybe-install-pdf-target-libatomic
1700 .PHONY: do-install-html
1701 do-install-html:
1702 @: $(MAKE); $(unstage)
1703 @r=`${PWD_COMMAND}`; export r; \
1704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1705 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1706 install-html-target
1709 .PHONY: install-html-host
1711 install-html-host: maybe-install-html-bfd
1712 install-html-host: maybe-install-html-opcodes
1713 install-html-host: maybe-install-html-binutils
1714 install-html-host: maybe-install-html-bison
1715 install-html-host: maybe-install-html-cgen
1716 install-html-host: maybe-install-html-dejagnu
1717 install-html-host: maybe-install-html-etc
1718 install-html-host: maybe-install-html-fastjar
1719 install-html-host: maybe-install-html-fixincludes
1720 install-html-host: maybe-install-html-flex
1721 install-html-host: maybe-install-html-gas
1722 install-html-host: maybe-install-html-gcc
1723 install-html-host: maybe-install-html-gmp
1724 install-html-host: maybe-install-html-mpfr
1725 install-html-host: maybe-install-html-mpc
1726 install-html-host: maybe-install-html-isl
1727 install-html-host: maybe-install-html-cloog
1728 install-html-host: maybe-install-html-libelf
1729 install-html-host: maybe-install-html-gold
1730 install-html-host: maybe-install-html-gprof
1731 install-html-host: maybe-install-html-intl
1732 install-html-host: maybe-install-html-tcl
1733 install-html-host: maybe-install-html-itcl
1734 install-html-host: maybe-install-html-ld
1735 install-html-host: maybe-install-html-libbacktrace
1736 install-html-host: maybe-install-html-libcpp
1737 install-html-host: maybe-install-html-libdecnumber
1738 install-html-host: maybe-install-html-libgui
1739 install-html-host: maybe-install-html-libiberty
1740 install-html-host: maybe-install-html-libiconv
1741 install-html-host: maybe-install-html-m4
1742 install-html-host: maybe-install-html-readline
1743 install-html-host: maybe-install-html-sid
1744 install-html-host: maybe-install-html-sim
1745 install-html-host: maybe-install-html-texinfo
1746 install-html-host: maybe-install-html-zlib
1747 install-html-host: maybe-install-html-gdb
1748 install-html-host: maybe-install-html-expect
1749 install-html-host: maybe-install-html-guile
1750 install-html-host: maybe-install-html-tk
1751 install-html-host: maybe-install-html-libtermcap
1752 install-html-host: maybe-install-html-utils
1753 install-html-host: maybe-install-html-gnattools
1754 install-html-host: maybe-install-html-lto-plugin
1756 .PHONY: install-html-target
1758 install-html-target: maybe-install-html-target-libstdc++-v3
1759 install-html-target: maybe-install-html-target-libsanitizer
1760 install-html-target: maybe-install-html-target-libvtv
1761 install-html-target: maybe-install-html-target-libcilkrts
1762 install-html-target: maybe-install-html-target-libssp
1763 install-html-target: maybe-install-html-target-newlib
1764 install-html-target: maybe-install-html-target-libgcc
1765 install-html-target: maybe-install-html-target-libbacktrace
1766 install-html-target: maybe-install-html-target-libquadmath
1767 install-html-target: maybe-install-html-target-libgfortran
1768 install-html-target: maybe-install-html-target-libobjc
1769 install-html-target: maybe-install-html-target-libgo
1770 install-html-target: maybe-install-html-target-libtermcap
1771 install-html-target: maybe-install-html-target-winsup
1772 install-html-target: maybe-install-html-target-libgloss
1773 install-html-target: maybe-install-html-target-libffi
1774 install-html-target: maybe-install-html-target-libjava
1775 install-html-target: maybe-install-html-target-zlib
1776 install-html-target: maybe-install-html-target-boehm-gc
1777 install-html-target: maybe-install-html-target-rda
1778 install-html-target: maybe-install-html-target-libada
1779 install-html-target: maybe-install-html-target-libgomp
1780 install-html-target: maybe-install-html-target-libitm
1781 install-html-target: maybe-install-html-target-libatomic
1783 .PHONY: do-installcheck
1784 do-installcheck:
1785 @: $(MAKE); $(unstage)
1786 @r=`${PWD_COMMAND}`; export r; \
1787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1789 installcheck-target
1792 .PHONY: installcheck-host
1794 installcheck-host: maybe-installcheck-bfd
1795 installcheck-host: maybe-installcheck-opcodes
1796 installcheck-host: maybe-installcheck-binutils
1797 installcheck-host: maybe-installcheck-bison
1798 installcheck-host: maybe-installcheck-cgen
1799 installcheck-host: maybe-installcheck-dejagnu
1800 installcheck-host: maybe-installcheck-etc
1801 installcheck-host: maybe-installcheck-fastjar
1802 installcheck-host: maybe-installcheck-fixincludes
1803 installcheck-host: maybe-installcheck-flex
1804 installcheck-host: maybe-installcheck-gas
1805 installcheck-host: maybe-installcheck-gcc
1806 installcheck-host: maybe-installcheck-gmp
1807 installcheck-host: maybe-installcheck-mpfr
1808 installcheck-host: maybe-installcheck-mpc
1809 installcheck-host: maybe-installcheck-isl
1810 installcheck-host: maybe-installcheck-cloog
1811 installcheck-host: maybe-installcheck-libelf
1812 installcheck-host: maybe-installcheck-gold
1813 installcheck-host: maybe-installcheck-gprof
1814 installcheck-host: maybe-installcheck-intl
1815 installcheck-host: maybe-installcheck-tcl
1816 installcheck-host: maybe-installcheck-itcl
1817 installcheck-host: maybe-installcheck-ld
1818 installcheck-host: maybe-installcheck-libbacktrace
1819 installcheck-host: maybe-installcheck-libcpp
1820 installcheck-host: maybe-installcheck-libdecnumber
1821 installcheck-host: maybe-installcheck-libgui
1822 installcheck-host: maybe-installcheck-libiberty
1823 installcheck-host: maybe-installcheck-libiconv
1824 installcheck-host: maybe-installcheck-m4
1825 installcheck-host: maybe-installcheck-readline
1826 installcheck-host: maybe-installcheck-sid
1827 installcheck-host: maybe-installcheck-sim
1828 installcheck-host: maybe-installcheck-texinfo
1829 installcheck-host: maybe-installcheck-zlib
1830 installcheck-host: maybe-installcheck-gdb
1831 installcheck-host: maybe-installcheck-expect
1832 installcheck-host: maybe-installcheck-guile
1833 installcheck-host: maybe-installcheck-tk
1834 installcheck-host: maybe-installcheck-libtermcap
1835 installcheck-host: maybe-installcheck-utils
1836 installcheck-host: maybe-installcheck-gnattools
1837 installcheck-host: maybe-installcheck-lto-plugin
1839 .PHONY: installcheck-target
1841 installcheck-target: maybe-installcheck-target-libstdc++-v3
1842 installcheck-target: maybe-installcheck-target-libsanitizer
1843 installcheck-target: maybe-installcheck-target-libvtv
1844 installcheck-target: maybe-installcheck-target-libcilkrts
1845 installcheck-target: maybe-installcheck-target-libssp
1846 installcheck-target: maybe-installcheck-target-newlib
1847 installcheck-target: maybe-installcheck-target-libgcc
1848 installcheck-target: maybe-installcheck-target-libbacktrace
1849 installcheck-target: maybe-installcheck-target-libquadmath
1850 installcheck-target: maybe-installcheck-target-libgfortran
1851 installcheck-target: maybe-installcheck-target-libobjc
1852 installcheck-target: maybe-installcheck-target-libgo
1853 installcheck-target: maybe-installcheck-target-libtermcap
1854 installcheck-target: maybe-installcheck-target-winsup
1855 installcheck-target: maybe-installcheck-target-libgloss
1856 installcheck-target: maybe-installcheck-target-libffi
1857 installcheck-target: maybe-installcheck-target-libjava
1858 installcheck-target: maybe-installcheck-target-zlib
1859 installcheck-target: maybe-installcheck-target-boehm-gc
1860 installcheck-target: maybe-installcheck-target-rda
1861 installcheck-target: maybe-installcheck-target-libada
1862 installcheck-target: maybe-installcheck-target-libgomp
1863 installcheck-target: maybe-installcheck-target-libitm
1864 installcheck-target: maybe-installcheck-target-libatomic
1866 .PHONY: do-mostlyclean
1867 do-mostlyclean:
1868 @: $(MAKE); $(unstage)
1869 @r=`${PWD_COMMAND}`; export r; \
1870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1871 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1872 mostlyclean-target
1875 .PHONY: mostlyclean-host
1877 mostlyclean-host: maybe-mostlyclean-bfd
1878 mostlyclean-host: maybe-mostlyclean-opcodes
1879 mostlyclean-host: maybe-mostlyclean-binutils
1880 mostlyclean-host: maybe-mostlyclean-bison
1881 mostlyclean-host: maybe-mostlyclean-cgen
1882 mostlyclean-host: maybe-mostlyclean-dejagnu
1883 mostlyclean-host: maybe-mostlyclean-etc
1884 mostlyclean-host: maybe-mostlyclean-fastjar
1885 mostlyclean-host: maybe-mostlyclean-fixincludes
1886 mostlyclean-host: maybe-mostlyclean-flex
1887 mostlyclean-host: maybe-mostlyclean-gas
1888 mostlyclean-host: maybe-mostlyclean-gcc
1889 mostlyclean-host: maybe-mostlyclean-gmp
1890 mostlyclean-host: maybe-mostlyclean-mpfr
1891 mostlyclean-host: maybe-mostlyclean-mpc
1892 mostlyclean-host: maybe-mostlyclean-isl
1893 mostlyclean-host: maybe-mostlyclean-cloog
1894 mostlyclean-host: maybe-mostlyclean-libelf
1895 mostlyclean-host: maybe-mostlyclean-gold
1896 mostlyclean-host: maybe-mostlyclean-gprof
1897 mostlyclean-host: maybe-mostlyclean-intl
1898 mostlyclean-host: maybe-mostlyclean-tcl
1899 mostlyclean-host: maybe-mostlyclean-itcl
1900 mostlyclean-host: maybe-mostlyclean-ld
1901 mostlyclean-host: maybe-mostlyclean-libbacktrace
1902 mostlyclean-host: maybe-mostlyclean-libcpp
1903 mostlyclean-host: maybe-mostlyclean-libdecnumber
1904 mostlyclean-host: maybe-mostlyclean-libgui
1905 mostlyclean-host: maybe-mostlyclean-libiberty
1906 mostlyclean-host: maybe-mostlyclean-libiconv
1907 mostlyclean-host: maybe-mostlyclean-m4
1908 mostlyclean-host: maybe-mostlyclean-readline
1909 mostlyclean-host: maybe-mostlyclean-sid
1910 mostlyclean-host: maybe-mostlyclean-sim
1911 mostlyclean-host: maybe-mostlyclean-texinfo
1912 mostlyclean-host: maybe-mostlyclean-zlib
1913 mostlyclean-host: maybe-mostlyclean-gdb
1914 mostlyclean-host: maybe-mostlyclean-expect
1915 mostlyclean-host: maybe-mostlyclean-guile
1916 mostlyclean-host: maybe-mostlyclean-tk
1917 mostlyclean-host: maybe-mostlyclean-libtermcap
1918 mostlyclean-host: maybe-mostlyclean-utils
1919 mostlyclean-host: maybe-mostlyclean-gnattools
1920 mostlyclean-host: maybe-mostlyclean-lto-plugin
1922 .PHONY: mostlyclean-target
1924 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1925 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1926 mostlyclean-target: maybe-mostlyclean-target-libvtv
1927 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1928 mostlyclean-target: maybe-mostlyclean-target-libssp
1929 mostlyclean-target: maybe-mostlyclean-target-newlib
1930 mostlyclean-target: maybe-mostlyclean-target-libgcc
1931 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1932 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1933 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1934 mostlyclean-target: maybe-mostlyclean-target-libobjc
1935 mostlyclean-target: maybe-mostlyclean-target-libgo
1936 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1937 mostlyclean-target: maybe-mostlyclean-target-winsup
1938 mostlyclean-target: maybe-mostlyclean-target-libgloss
1939 mostlyclean-target: maybe-mostlyclean-target-libffi
1940 mostlyclean-target: maybe-mostlyclean-target-libjava
1941 mostlyclean-target: maybe-mostlyclean-target-zlib
1942 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1943 mostlyclean-target: maybe-mostlyclean-target-rda
1944 mostlyclean-target: maybe-mostlyclean-target-libada
1945 mostlyclean-target: maybe-mostlyclean-target-libgomp
1946 mostlyclean-target: maybe-mostlyclean-target-libitm
1947 mostlyclean-target: maybe-mostlyclean-target-libatomic
1949 .PHONY: do-clean
1950 do-clean:
1951 @: $(MAKE); $(unstage)
1952 @r=`${PWD_COMMAND}`; export r; \
1953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1954 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1955 clean-target
1958 .PHONY: clean-host
1960 clean-host: maybe-clean-bfd
1961 clean-host: maybe-clean-opcodes
1962 clean-host: maybe-clean-binutils
1963 clean-host: maybe-clean-bison
1964 clean-host: maybe-clean-cgen
1965 clean-host: maybe-clean-dejagnu
1966 clean-host: maybe-clean-etc
1967 clean-host: maybe-clean-fastjar
1968 clean-host: maybe-clean-fixincludes
1969 clean-host: maybe-clean-flex
1970 clean-host: maybe-clean-gas
1971 clean-host: maybe-clean-gcc
1972 clean-host: maybe-clean-gmp
1973 clean-host: maybe-clean-mpfr
1974 clean-host: maybe-clean-mpc
1975 clean-host: maybe-clean-isl
1976 clean-host: maybe-clean-cloog
1977 clean-host: maybe-clean-libelf
1978 clean-host: maybe-clean-gold
1979 clean-host: maybe-clean-gprof
1980 clean-host: maybe-clean-intl
1981 clean-host: maybe-clean-tcl
1982 clean-host: maybe-clean-itcl
1983 clean-host: maybe-clean-ld
1984 clean-host: maybe-clean-libbacktrace
1985 clean-host: maybe-clean-libcpp
1986 clean-host: maybe-clean-libdecnumber
1987 clean-host: maybe-clean-libgui
1988 clean-host: maybe-clean-libiberty
1989 clean-host: maybe-clean-libiconv
1990 clean-host: maybe-clean-m4
1991 clean-host: maybe-clean-readline
1992 clean-host: maybe-clean-sid
1993 clean-host: maybe-clean-sim
1994 clean-host: maybe-clean-texinfo
1995 clean-host: maybe-clean-zlib
1996 clean-host: maybe-clean-gdb
1997 clean-host: maybe-clean-expect
1998 clean-host: maybe-clean-guile
1999 clean-host: maybe-clean-tk
2000 clean-host: maybe-clean-libtermcap
2001 clean-host: maybe-clean-utils
2002 clean-host: maybe-clean-gnattools
2003 clean-host: maybe-clean-lto-plugin
2005 .PHONY: clean-target
2007 clean-target: maybe-clean-target-libstdc++-v3
2008 clean-target: maybe-clean-target-libsanitizer
2009 clean-target: maybe-clean-target-libvtv
2010 clean-target: maybe-clean-target-libcilkrts
2011 clean-target: maybe-clean-target-libssp
2012 clean-target: maybe-clean-target-newlib
2013 clean-target: maybe-clean-target-libgcc
2014 clean-target: maybe-clean-target-libbacktrace
2015 clean-target: maybe-clean-target-libquadmath
2016 clean-target: maybe-clean-target-libgfortran
2017 clean-target: maybe-clean-target-libobjc
2018 clean-target: maybe-clean-target-libgo
2019 clean-target: maybe-clean-target-libtermcap
2020 clean-target: maybe-clean-target-winsup
2021 clean-target: maybe-clean-target-libgloss
2022 clean-target: maybe-clean-target-libffi
2023 clean-target: maybe-clean-target-libjava
2024 clean-target: maybe-clean-target-zlib
2025 clean-target: maybe-clean-target-boehm-gc
2026 clean-target: maybe-clean-target-rda
2027 clean-target: maybe-clean-target-libada
2028 clean-target: maybe-clean-target-libgomp
2029 clean-target: maybe-clean-target-libitm
2030 clean-target: maybe-clean-target-libatomic
2032 .PHONY: do-distclean
2033 do-distclean:
2034 @: $(MAKE); $(unstage)
2035 @r=`${PWD_COMMAND}`; export r; \
2036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2037 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2038 distclean-target
2041 .PHONY: distclean-host
2043 distclean-host: maybe-distclean-bfd
2044 distclean-host: maybe-distclean-opcodes
2045 distclean-host: maybe-distclean-binutils
2046 distclean-host: maybe-distclean-bison
2047 distclean-host: maybe-distclean-cgen
2048 distclean-host: maybe-distclean-dejagnu
2049 distclean-host: maybe-distclean-etc
2050 distclean-host: maybe-distclean-fastjar
2051 distclean-host: maybe-distclean-fixincludes
2052 distclean-host: maybe-distclean-flex
2053 distclean-host: maybe-distclean-gas
2054 distclean-host: maybe-distclean-gcc
2055 distclean-host: maybe-distclean-gmp
2056 distclean-host: maybe-distclean-mpfr
2057 distclean-host: maybe-distclean-mpc
2058 distclean-host: maybe-distclean-isl
2059 distclean-host: maybe-distclean-cloog
2060 distclean-host: maybe-distclean-libelf
2061 distclean-host: maybe-distclean-gold
2062 distclean-host: maybe-distclean-gprof
2063 distclean-host: maybe-distclean-intl
2064 distclean-host: maybe-distclean-tcl
2065 distclean-host: maybe-distclean-itcl
2066 distclean-host: maybe-distclean-ld
2067 distclean-host: maybe-distclean-libbacktrace
2068 distclean-host: maybe-distclean-libcpp
2069 distclean-host: maybe-distclean-libdecnumber
2070 distclean-host: maybe-distclean-libgui
2071 distclean-host: maybe-distclean-libiberty
2072 distclean-host: maybe-distclean-libiconv
2073 distclean-host: maybe-distclean-m4
2074 distclean-host: maybe-distclean-readline
2075 distclean-host: maybe-distclean-sid
2076 distclean-host: maybe-distclean-sim
2077 distclean-host: maybe-distclean-texinfo
2078 distclean-host: maybe-distclean-zlib
2079 distclean-host: maybe-distclean-gdb
2080 distclean-host: maybe-distclean-expect
2081 distclean-host: maybe-distclean-guile
2082 distclean-host: maybe-distclean-tk
2083 distclean-host: maybe-distclean-libtermcap
2084 distclean-host: maybe-distclean-utils
2085 distclean-host: maybe-distclean-gnattools
2086 distclean-host: maybe-distclean-lto-plugin
2088 .PHONY: distclean-target
2090 distclean-target: maybe-distclean-target-libstdc++-v3
2091 distclean-target: maybe-distclean-target-libsanitizer
2092 distclean-target: maybe-distclean-target-libvtv
2093 distclean-target: maybe-distclean-target-libcilkrts
2094 distclean-target: maybe-distclean-target-libssp
2095 distclean-target: maybe-distclean-target-newlib
2096 distclean-target: maybe-distclean-target-libgcc
2097 distclean-target: maybe-distclean-target-libbacktrace
2098 distclean-target: maybe-distclean-target-libquadmath
2099 distclean-target: maybe-distclean-target-libgfortran
2100 distclean-target: maybe-distclean-target-libobjc
2101 distclean-target: maybe-distclean-target-libgo
2102 distclean-target: maybe-distclean-target-libtermcap
2103 distclean-target: maybe-distclean-target-winsup
2104 distclean-target: maybe-distclean-target-libgloss
2105 distclean-target: maybe-distclean-target-libffi
2106 distclean-target: maybe-distclean-target-libjava
2107 distclean-target: maybe-distclean-target-zlib
2108 distclean-target: maybe-distclean-target-boehm-gc
2109 distclean-target: maybe-distclean-target-rda
2110 distclean-target: maybe-distclean-target-libada
2111 distclean-target: maybe-distclean-target-libgomp
2112 distclean-target: maybe-distclean-target-libitm
2113 distclean-target: maybe-distclean-target-libatomic
2115 .PHONY: do-maintainer-clean
2116 do-maintainer-clean:
2117 @: $(MAKE); $(unstage)
2118 @r=`${PWD_COMMAND}`; export r; \
2119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2120 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2121 maintainer-clean-target
2124 .PHONY: maintainer-clean-host
2126 maintainer-clean-host: maybe-maintainer-clean-bfd
2127 maintainer-clean-host: maybe-maintainer-clean-opcodes
2128 maintainer-clean-host: maybe-maintainer-clean-binutils
2129 maintainer-clean-host: maybe-maintainer-clean-bison
2130 maintainer-clean-host: maybe-maintainer-clean-cgen
2131 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2132 maintainer-clean-host: maybe-maintainer-clean-etc
2133 maintainer-clean-host: maybe-maintainer-clean-fastjar
2134 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2135 maintainer-clean-host: maybe-maintainer-clean-flex
2136 maintainer-clean-host: maybe-maintainer-clean-gas
2137 maintainer-clean-host: maybe-maintainer-clean-gcc
2138 maintainer-clean-host: maybe-maintainer-clean-gmp
2139 maintainer-clean-host: maybe-maintainer-clean-mpfr
2140 maintainer-clean-host: maybe-maintainer-clean-mpc
2141 maintainer-clean-host: maybe-maintainer-clean-isl
2142 maintainer-clean-host: maybe-maintainer-clean-cloog
2143 maintainer-clean-host: maybe-maintainer-clean-libelf
2144 maintainer-clean-host: maybe-maintainer-clean-gold
2145 maintainer-clean-host: maybe-maintainer-clean-gprof
2146 maintainer-clean-host: maybe-maintainer-clean-intl
2147 maintainer-clean-host: maybe-maintainer-clean-tcl
2148 maintainer-clean-host: maybe-maintainer-clean-itcl
2149 maintainer-clean-host: maybe-maintainer-clean-ld
2150 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2151 maintainer-clean-host: maybe-maintainer-clean-libcpp
2152 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2153 maintainer-clean-host: maybe-maintainer-clean-libgui
2154 maintainer-clean-host: maybe-maintainer-clean-libiberty
2155 maintainer-clean-host: maybe-maintainer-clean-libiconv
2156 maintainer-clean-host: maybe-maintainer-clean-m4
2157 maintainer-clean-host: maybe-maintainer-clean-readline
2158 maintainer-clean-host: maybe-maintainer-clean-sid
2159 maintainer-clean-host: maybe-maintainer-clean-sim
2160 maintainer-clean-host: maybe-maintainer-clean-texinfo
2161 maintainer-clean-host: maybe-maintainer-clean-zlib
2162 maintainer-clean-host: maybe-maintainer-clean-gdb
2163 maintainer-clean-host: maybe-maintainer-clean-expect
2164 maintainer-clean-host: maybe-maintainer-clean-guile
2165 maintainer-clean-host: maybe-maintainer-clean-tk
2166 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2167 maintainer-clean-host: maybe-maintainer-clean-utils
2168 maintainer-clean-host: maybe-maintainer-clean-gnattools
2169 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2171 .PHONY: maintainer-clean-target
2173 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2174 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2175 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2176 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2177 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2178 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2179 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2180 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2181 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2182 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2183 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2184 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2185 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2186 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2187 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2188 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2189 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2190 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2191 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2192 maintainer-clean-target: maybe-maintainer-clean-target-rda
2193 maintainer-clean-target: maybe-maintainer-clean-target-libada
2194 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2195 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2196 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2199 # Here are the targets which correspond to the do-X targets.
2201 .PHONY: info installcheck dvi pdf html
2202 .PHONY: install-info install-pdf install-html
2203 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2204 .PHONY: local-clean local-distclean local-maintainer-clean
2205 info: do-info
2206 installcheck: do-installcheck
2207 dvi: do-dvi
2208 pdf: do-pdf
2209 html: do-html
2211 # Make sure makeinfo is built before we do a `make info', if we're
2212 # in fact building texinfo.
2213 do-info: maybe-all-texinfo
2215 install-info: do-install-info dir.info
2216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2217 if [ -f dir.info ] ; then \
2218 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2219 else true ; fi
2221 install-pdf: do-install-pdf
2223 install-html: do-install-html
2225 local-clean:
2226 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2228 local-distclean:
2229 -rm -f Makefile config.status config.cache mh-frag mt-frag
2230 -rm -f maybedep.tmp serdep.tmp
2231 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2232 rm -rf $(TARGET_SUBDIR); \
2233 else true; fi
2234 -rm -rf $(BUILD_SUBDIR)
2235 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2236 rm -rf $(HOST_SUBDIR); \
2237 else true; fi
2238 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2239 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2240 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2241 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2242 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2243 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2245 local-maintainer-clean:
2246 @echo "This command is intended for maintainers to use;"
2247 @echo "it deletes files that may require special tools to rebuild."
2249 clean: do-clean local-clean
2250 mostlyclean: do-mostlyclean local-clean
2251 distclean: do-distclean local-clean local-distclean
2252 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2253 maintainer-clean: local-distclean
2254 realclean: maintainer-clean
2256 # Check target.
2258 .PHONY: check do-check
2259 check: do-check
2261 # Only include modules actually being configured and built.
2262 .PHONY: check-host
2263 check-host: \
2264 maybe-check-bfd \
2265 maybe-check-opcodes \
2266 maybe-check-binutils \
2267 maybe-check-bison \
2268 maybe-check-cgen \
2269 maybe-check-dejagnu \
2270 maybe-check-etc \
2271 maybe-check-fastjar \
2272 maybe-check-fixincludes \
2273 maybe-check-flex \
2274 maybe-check-gas \
2275 maybe-check-gcc \
2276 maybe-check-gmp \
2277 maybe-check-mpfr \
2278 maybe-check-mpc \
2279 maybe-check-isl \
2280 maybe-check-cloog \
2281 maybe-check-libelf \
2282 maybe-check-gold \
2283 maybe-check-gprof \
2284 maybe-check-intl \
2285 maybe-check-tcl \
2286 maybe-check-itcl \
2287 maybe-check-ld \
2288 maybe-check-libbacktrace \
2289 maybe-check-libcpp \
2290 maybe-check-libdecnumber \
2291 maybe-check-libgui \
2292 maybe-check-libiberty \
2293 maybe-check-libiconv \
2294 maybe-check-m4 \
2295 maybe-check-readline \
2296 maybe-check-sid \
2297 maybe-check-sim \
2298 maybe-check-texinfo \
2299 maybe-check-zlib \
2300 maybe-check-gdb \
2301 maybe-check-expect \
2302 maybe-check-guile \
2303 maybe-check-tk \
2304 maybe-check-libtermcap \
2305 maybe-check-utils \
2306 maybe-check-gnattools \
2307 maybe-check-lto-plugin
2309 .PHONY: check-target
2310 check-target: \
2311 maybe-check-target-libstdc++-v3 \
2312 maybe-check-target-libsanitizer \
2313 maybe-check-target-libvtv \
2314 maybe-check-target-libcilkrts \
2315 maybe-check-target-libssp \
2316 maybe-check-target-newlib \
2317 maybe-check-target-libgcc \
2318 maybe-check-target-libbacktrace \
2319 maybe-check-target-libquadmath \
2320 maybe-check-target-libgfortran \
2321 maybe-check-target-libobjc \
2322 maybe-check-target-libgo \
2323 maybe-check-target-libtermcap \
2324 maybe-check-target-winsup \
2325 maybe-check-target-libgloss \
2326 maybe-check-target-libffi \
2327 maybe-check-target-libjava \
2328 maybe-check-target-zlib \
2329 maybe-check-target-boehm-gc \
2330 maybe-check-target-rda \
2331 maybe-check-target-libada \
2332 maybe-check-target-libgomp \
2333 maybe-check-target-libitm \
2334 maybe-check-target-libatomic
2336 do-check:
2337 @: $(MAKE); $(unstage)
2338 @r=`${PWD_COMMAND}`; export r; \
2339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2340 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2342 # Automated reporting of test results.
2344 warning.log: build.log
2345 $(srcdir)/contrib/warn_summary build.log > $@
2347 mail-report.log:
2348 if test x'$(BOOT_CFLAGS)' != x''; then \
2349 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2350 fi; \
2351 $(srcdir)/contrib/test_summary -t >$@
2352 chmod +x $@
2353 echo If you really want to send e-mail, run ./$@ now
2355 mail-report-with-warnings.log: warning.log
2356 if test x'$(BOOT_CFLAGS)' != x''; then \
2357 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2358 fi; \
2359 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2360 chmod +x $@
2361 echo If you really want to send e-mail, run ./$@ now
2363 # Installation targets.
2365 .PHONY: install uninstall
2366 install:
2367 @: $(MAKE); $(unstage)
2368 @r=`${PWD_COMMAND}`; export r; \
2369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2370 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2372 .PHONY: install-host-nogcc
2373 install-host-nogcc: \
2374 maybe-install-bfd \
2375 maybe-install-opcodes \
2376 maybe-install-binutils \
2377 maybe-install-bison \
2378 maybe-install-cgen \
2379 maybe-install-dejagnu \
2380 maybe-install-etc \
2381 maybe-install-fastjar \
2382 maybe-install-fixincludes \
2383 maybe-install-flex \
2384 maybe-install-gas \
2385 maybe-install-gmp \
2386 maybe-install-mpfr \
2387 maybe-install-mpc \
2388 maybe-install-isl \
2389 maybe-install-cloog \
2390 maybe-install-libelf \
2391 maybe-install-gold \
2392 maybe-install-gprof \
2393 maybe-install-intl \
2394 maybe-install-tcl \
2395 maybe-install-itcl \
2396 maybe-install-ld \
2397 maybe-install-libbacktrace \
2398 maybe-install-libcpp \
2399 maybe-install-libdecnumber \
2400 maybe-install-libgui \
2401 maybe-install-libiberty \
2402 maybe-install-libiconv \
2403 maybe-install-m4 \
2404 maybe-install-readline \
2405 maybe-install-sid \
2406 maybe-install-sim \
2407 maybe-install-texinfo \
2408 maybe-install-zlib \
2409 maybe-install-gdb \
2410 maybe-install-expect \
2411 maybe-install-guile \
2412 maybe-install-tk \
2413 maybe-install-libtermcap \
2414 maybe-install-utils \
2415 maybe-install-gnattools \
2416 maybe-install-lto-plugin
2418 .PHONY: install-host
2419 install-host: \
2420 maybe-install-bfd \
2421 maybe-install-opcodes \
2422 maybe-install-binutils \
2423 maybe-install-bison \
2424 maybe-install-cgen \
2425 maybe-install-dejagnu \
2426 maybe-install-etc \
2427 maybe-install-fastjar \
2428 maybe-install-fixincludes \
2429 maybe-install-flex \
2430 maybe-install-gas \
2431 maybe-install-gcc \
2432 maybe-install-gmp \
2433 maybe-install-mpfr \
2434 maybe-install-mpc \
2435 maybe-install-isl \
2436 maybe-install-cloog \
2437 maybe-install-libelf \
2438 maybe-install-gold \
2439 maybe-install-gprof \
2440 maybe-install-intl \
2441 maybe-install-tcl \
2442 maybe-install-itcl \
2443 maybe-install-ld \
2444 maybe-install-libbacktrace \
2445 maybe-install-libcpp \
2446 maybe-install-libdecnumber \
2447 maybe-install-libgui \
2448 maybe-install-libiberty \
2449 maybe-install-libiconv \
2450 maybe-install-m4 \
2451 maybe-install-readline \
2452 maybe-install-sid \
2453 maybe-install-sim \
2454 maybe-install-texinfo \
2455 maybe-install-zlib \
2456 maybe-install-gdb \
2457 maybe-install-expect \
2458 maybe-install-guile \
2459 maybe-install-tk \
2460 maybe-install-libtermcap \
2461 maybe-install-utils \
2462 maybe-install-gnattools \
2463 maybe-install-lto-plugin
2465 .PHONY: install-target
2466 install-target: \
2467 maybe-install-target-libstdc++-v3 \
2468 maybe-install-target-libsanitizer \
2469 maybe-install-target-libvtv \
2470 maybe-install-target-libcilkrts \
2471 maybe-install-target-libssp \
2472 maybe-install-target-newlib \
2473 maybe-install-target-libgcc \
2474 maybe-install-target-libbacktrace \
2475 maybe-install-target-libquadmath \
2476 maybe-install-target-libgfortran \
2477 maybe-install-target-libobjc \
2478 maybe-install-target-libgo \
2479 maybe-install-target-libtermcap \
2480 maybe-install-target-winsup \
2481 maybe-install-target-libgloss \
2482 maybe-install-target-libffi \
2483 maybe-install-target-libjava \
2484 maybe-install-target-zlib \
2485 maybe-install-target-boehm-gc \
2486 maybe-install-target-rda \
2487 maybe-install-target-libada \
2488 maybe-install-target-libgomp \
2489 maybe-install-target-libitm \
2490 maybe-install-target-libatomic
2492 uninstall:
2493 @echo "the uninstall target is not supported in this tree"
2495 .PHONY: install.all
2496 install.all: install-no-fixedincludes
2497 @if [ -f ./gcc/Makefile ] ; then \
2498 r=`${PWD_COMMAND}` ; export r ; \
2499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 $(HOST_EXPORTS) \
2501 (cd ./gcc && \
2502 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2503 else \
2504 true ; \
2507 # install-no-fixedincludes is used to allow the elaboration of binary packages
2508 # suitable for distribution, where we cannot include the fixed system header
2509 # files.
2510 .PHONY: install-no-fixedincludes
2511 install-no-fixedincludes: installdirs install-host-nogcc \
2512 install-target gcc-install-no-fixedincludes
2514 .PHONY: install-strip
2515 install-strip:
2516 @: $(MAKE); $(unstage)
2517 @r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2521 .PHONY: install-strip-host
2522 install-strip-host: \
2523 maybe-install-strip-bfd \
2524 maybe-install-strip-opcodes \
2525 maybe-install-strip-binutils \
2526 maybe-install-strip-bison \
2527 maybe-install-strip-cgen \
2528 maybe-install-strip-dejagnu \
2529 maybe-install-strip-etc \
2530 maybe-install-strip-fastjar \
2531 maybe-install-strip-fixincludes \
2532 maybe-install-strip-flex \
2533 maybe-install-strip-gas \
2534 maybe-install-strip-gcc \
2535 maybe-install-strip-gmp \
2536 maybe-install-strip-mpfr \
2537 maybe-install-strip-mpc \
2538 maybe-install-strip-isl \
2539 maybe-install-strip-cloog \
2540 maybe-install-strip-libelf \
2541 maybe-install-strip-gold \
2542 maybe-install-strip-gprof \
2543 maybe-install-strip-intl \
2544 maybe-install-strip-tcl \
2545 maybe-install-strip-itcl \
2546 maybe-install-strip-ld \
2547 maybe-install-strip-libbacktrace \
2548 maybe-install-strip-libcpp \
2549 maybe-install-strip-libdecnumber \
2550 maybe-install-strip-libgui \
2551 maybe-install-strip-libiberty \
2552 maybe-install-strip-libiconv \
2553 maybe-install-strip-m4 \
2554 maybe-install-strip-readline \
2555 maybe-install-strip-sid \
2556 maybe-install-strip-sim \
2557 maybe-install-strip-texinfo \
2558 maybe-install-strip-zlib \
2559 maybe-install-strip-gdb \
2560 maybe-install-strip-expect \
2561 maybe-install-strip-guile \
2562 maybe-install-strip-tk \
2563 maybe-install-strip-libtermcap \
2564 maybe-install-strip-utils \
2565 maybe-install-strip-gnattools \
2566 maybe-install-strip-lto-plugin
2568 .PHONY: install-strip-target
2569 install-strip-target: \
2570 maybe-install-strip-target-libstdc++-v3 \
2571 maybe-install-strip-target-libsanitizer \
2572 maybe-install-strip-target-libvtv \
2573 maybe-install-strip-target-libcilkrts \
2574 maybe-install-strip-target-libssp \
2575 maybe-install-strip-target-newlib \
2576 maybe-install-strip-target-libgcc \
2577 maybe-install-strip-target-libbacktrace \
2578 maybe-install-strip-target-libquadmath \
2579 maybe-install-strip-target-libgfortran \
2580 maybe-install-strip-target-libobjc \
2581 maybe-install-strip-target-libgo \
2582 maybe-install-strip-target-libtermcap \
2583 maybe-install-strip-target-winsup \
2584 maybe-install-strip-target-libgloss \
2585 maybe-install-strip-target-libffi \
2586 maybe-install-strip-target-libjava \
2587 maybe-install-strip-target-zlib \
2588 maybe-install-strip-target-boehm-gc \
2589 maybe-install-strip-target-rda \
2590 maybe-install-strip-target-libada \
2591 maybe-install-strip-target-libgomp \
2592 maybe-install-strip-target-libitm \
2593 maybe-install-strip-target-libatomic
2596 ### other supporting targets
2598 MAKEDIRS= \
2599 $(DESTDIR)$(prefix) \
2600 $(DESTDIR)$(exec_prefix)
2601 .PHONY: installdirs
2602 installdirs: mkinstalldirs
2603 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2605 dir.info: do-install-info
2606 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2607 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2608 mv -f dir.info.new dir.info ; \
2609 else true ; \
2612 dist:
2613 @echo "Building a full distribution of this tree isn't done"
2614 @echo "via 'make dist'. Check out the etc/ subdirectory"
2616 etags tags: TAGS
2618 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2619 # ability to use several tags files at once, so there is probably no need
2620 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2621 # (if we felt like it) have this Makefile write a piece of elisp which
2622 # the user could load to tell emacs19 where all the TAGS files we just
2623 # built are.
2624 TAGS: do-TAGS
2626 # ------------------------------------
2627 # Macros for configure and all targets
2628 # ------------------------------------
2634 # --------------------------------------
2635 # Modules which run on the build machine
2636 # --------------------------------------
2639 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2640 maybe-configure-build-libiberty:
2641 @if gcc-bootstrap
2642 configure-build-libiberty: stage_current
2643 @endif gcc-bootstrap
2644 @if build-libiberty
2645 maybe-configure-build-libiberty: configure-build-libiberty
2646 configure-build-libiberty:
2647 @: $(MAKE); $(unstage)
2648 @r=`${PWD_COMMAND}`; export r; \
2649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2650 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2651 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2652 $(BUILD_EXPORTS) \
2653 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2654 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2655 case $(srcdir) in \
2656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2657 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2659 esac; \
2660 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2661 libsrcdir="$$s/libiberty"; \
2662 rm -f no-such-file || : ; \
2663 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2664 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2665 --target=${target_alias} $${srcdiroption} \
2666 || exit 1
2667 @endif build-libiberty
2673 .PHONY: all-build-libiberty maybe-all-build-libiberty
2674 maybe-all-build-libiberty:
2675 @if gcc-bootstrap
2676 all-build-libiberty: stage_current
2677 @endif gcc-bootstrap
2678 @if build-libiberty
2679 TARGET-build-libiberty=all
2680 maybe-all-build-libiberty: all-build-libiberty
2681 all-build-libiberty: configure-build-libiberty
2682 @: $(MAKE); $(unstage)
2683 @r=`${PWD_COMMAND}`; export r; \
2684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2685 $(BUILD_EXPORTS) \
2686 (cd $(BUILD_SUBDIR)/libiberty && \
2687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2688 $(TARGET-build-libiberty))
2689 @endif build-libiberty
2695 .PHONY: configure-build-bison maybe-configure-build-bison
2696 maybe-configure-build-bison:
2697 @if gcc-bootstrap
2698 configure-build-bison: stage_current
2699 @endif gcc-bootstrap
2700 @if build-bison
2701 maybe-configure-build-bison: configure-build-bison
2702 configure-build-bison:
2703 @: $(MAKE); $(unstage)
2704 @r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2706 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2707 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2708 $(BUILD_EXPORTS) \
2709 echo Configuring in $(BUILD_SUBDIR)/bison; \
2710 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2711 case $(srcdir) in \
2712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2713 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2715 esac; \
2716 srcdiroption="--srcdir=$${topdir}/bison"; \
2717 libsrcdir="$$s/bison"; \
2718 rm -f no-such-file || : ; \
2719 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2720 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2721 --target=${target_alias} $${srcdiroption} \
2722 || exit 1
2723 @endif build-bison
2729 .PHONY: all-build-bison maybe-all-build-bison
2730 maybe-all-build-bison:
2731 @if gcc-bootstrap
2732 all-build-bison: stage_current
2733 @endif gcc-bootstrap
2734 @if build-bison
2735 TARGET-build-bison=all
2736 maybe-all-build-bison: all-build-bison
2737 all-build-bison: configure-build-bison
2738 @: $(MAKE); $(unstage)
2739 @r=`${PWD_COMMAND}`; export r; \
2740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2741 $(BUILD_EXPORTS) \
2742 (cd $(BUILD_SUBDIR)/bison && \
2743 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2744 $(TARGET-build-bison))
2745 @endif build-bison
2751 .PHONY: configure-build-flex maybe-configure-build-flex
2752 maybe-configure-build-flex:
2753 @if gcc-bootstrap
2754 configure-build-flex: stage_current
2755 @endif gcc-bootstrap
2756 @if build-flex
2757 maybe-configure-build-flex: configure-build-flex
2758 configure-build-flex:
2759 @: $(MAKE); $(unstage)
2760 @r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2763 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2764 $(BUILD_EXPORTS) \
2765 echo Configuring in $(BUILD_SUBDIR)/flex; \
2766 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2767 case $(srcdir) in \
2768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2769 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2771 esac; \
2772 srcdiroption="--srcdir=$${topdir}/flex"; \
2773 libsrcdir="$$s/flex"; \
2774 rm -f no-such-file || : ; \
2775 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2776 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2777 --target=${target_alias} $${srcdiroption} \
2778 || exit 1
2779 @endif build-flex
2785 .PHONY: all-build-flex maybe-all-build-flex
2786 maybe-all-build-flex:
2787 @if gcc-bootstrap
2788 all-build-flex: stage_current
2789 @endif gcc-bootstrap
2790 @if build-flex
2791 TARGET-build-flex=all
2792 maybe-all-build-flex: all-build-flex
2793 all-build-flex: configure-build-flex
2794 @: $(MAKE); $(unstage)
2795 @r=`${PWD_COMMAND}`; export r; \
2796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2797 $(BUILD_EXPORTS) \
2798 (cd $(BUILD_SUBDIR)/flex && \
2799 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2800 $(TARGET-build-flex))
2801 @endif build-flex
2807 .PHONY: configure-build-m4 maybe-configure-build-m4
2808 maybe-configure-build-m4:
2809 @if gcc-bootstrap
2810 configure-build-m4: stage_current
2811 @endif gcc-bootstrap
2812 @if build-m4
2813 maybe-configure-build-m4: configure-build-m4
2814 configure-build-m4:
2815 @: $(MAKE); $(unstage)
2816 @r=`${PWD_COMMAND}`; export r; \
2817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2819 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2820 $(BUILD_EXPORTS) \
2821 echo Configuring in $(BUILD_SUBDIR)/m4; \
2822 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2823 case $(srcdir) in \
2824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2825 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2827 esac; \
2828 srcdiroption="--srcdir=$${topdir}/m4"; \
2829 libsrcdir="$$s/m4"; \
2830 rm -f no-such-file || : ; \
2831 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2832 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2833 --target=${target_alias} $${srcdiroption} \
2834 || exit 1
2835 @endif build-m4
2841 .PHONY: all-build-m4 maybe-all-build-m4
2842 maybe-all-build-m4:
2843 @if gcc-bootstrap
2844 all-build-m4: stage_current
2845 @endif gcc-bootstrap
2846 @if build-m4
2847 TARGET-build-m4=all
2848 maybe-all-build-m4: all-build-m4
2849 all-build-m4: configure-build-m4
2850 @: $(MAKE); $(unstage)
2851 @r=`${PWD_COMMAND}`; export r; \
2852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 $(BUILD_EXPORTS) \
2854 (cd $(BUILD_SUBDIR)/m4 && \
2855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2856 $(TARGET-build-m4))
2857 @endif build-m4
2863 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2864 maybe-configure-build-texinfo:
2865 @if gcc-bootstrap
2866 configure-build-texinfo: stage_current
2867 @endif gcc-bootstrap
2868 @if build-texinfo
2869 maybe-configure-build-texinfo: configure-build-texinfo
2870 configure-build-texinfo:
2871 @: $(MAKE); $(unstage)
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2875 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2876 $(BUILD_EXPORTS) \
2877 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2878 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2879 case $(srcdir) in \
2880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2881 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2883 esac; \
2884 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2885 libsrcdir="$$s/texinfo"; \
2886 rm -f no-such-file || : ; \
2887 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2888 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2889 --target=${target_alias} $${srcdiroption} \
2890 || exit 1
2891 @endif build-texinfo
2897 .PHONY: all-build-texinfo maybe-all-build-texinfo
2898 maybe-all-build-texinfo:
2899 @if gcc-bootstrap
2900 all-build-texinfo: stage_current
2901 @endif gcc-bootstrap
2902 @if build-texinfo
2903 TARGET-build-texinfo=all
2904 maybe-all-build-texinfo: all-build-texinfo
2905 all-build-texinfo: configure-build-texinfo
2906 @: $(MAKE); $(unstage)
2907 @r=`${PWD_COMMAND}`; export r; \
2908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2909 $(BUILD_EXPORTS) \
2910 (cd $(BUILD_SUBDIR)/texinfo && \
2911 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2912 $(TARGET-build-texinfo))
2913 @endif build-texinfo
2919 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2920 maybe-configure-build-fixincludes:
2921 @if gcc-bootstrap
2922 configure-build-fixincludes: stage_current
2923 @endif gcc-bootstrap
2924 @if build-fixincludes
2925 maybe-configure-build-fixincludes: configure-build-fixincludes
2926 configure-build-fixincludes:
2927 @: $(MAKE); $(unstage)
2928 @r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2931 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2932 $(BUILD_EXPORTS) \
2933 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2934 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2935 case $(srcdir) in \
2936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2937 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2939 esac; \
2940 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2941 libsrcdir="$$s/fixincludes"; \
2942 rm -f no-such-file || : ; \
2943 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2944 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2945 --target=${target_alias} $${srcdiroption} \
2946 || exit 1
2947 @endif build-fixincludes
2953 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2954 maybe-all-build-fixincludes:
2955 @if gcc-bootstrap
2956 all-build-fixincludes: stage_current
2957 @endif gcc-bootstrap
2958 @if build-fixincludes
2959 TARGET-build-fixincludes=all
2960 maybe-all-build-fixincludes: all-build-fixincludes
2961 all-build-fixincludes: configure-build-fixincludes
2962 @: $(MAKE); $(unstage)
2963 @r=`${PWD_COMMAND}`; export r; \
2964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2965 $(BUILD_EXPORTS) \
2966 (cd $(BUILD_SUBDIR)/fixincludes && \
2967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2968 $(TARGET-build-fixincludes))
2969 @endif build-fixincludes
2975 # --------------------------------------
2976 # Modules which run on the host machine
2977 # --------------------------------------
2980 .PHONY: configure-bfd maybe-configure-bfd
2981 maybe-configure-bfd:
2982 @if gcc-bootstrap
2983 configure-bfd: stage_current
2984 @endif gcc-bootstrap
2985 @if bfd
2986 maybe-configure-bfd: configure-bfd
2987 configure-bfd:
2988 @r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2990 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2992 $(HOST_EXPORTS) \
2993 echo Configuring in $(HOST_SUBDIR)/bfd; \
2994 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2995 case $(srcdir) in \
2996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2997 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2999 esac; \
3000 srcdiroption="--srcdir=$${topdir}/bfd"; \
3001 libsrcdir="$$s/bfd"; \
3002 $(SHELL) $${libsrcdir}/configure \
3003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3004 --target=${target_alias} $${srcdiroption} \
3005 || exit 1
3006 @endif bfd
3010 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3011 maybe-configure-stage1-bfd:
3012 @if bfd-bootstrap
3013 maybe-configure-stage1-bfd: configure-stage1-bfd
3014 configure-stage1-bfd:
3015 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3017 @r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 TFLAGS="$(STAGE1_TFLAGS)"; \
3020 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3021 $(HOST_EXPORTS) \
3022 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3023 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3024 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3025 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3027 cd $(HOST_SUBDIR)/bfd || exit 1; \
3028 case $(srcdir) in \
3029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3030 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3032 esac; \
3033 srcdiroption="--srcdir=$${topdir}/bfd"; \
3034 libsrcdir="$$s/bfd"; \
3035 $(SHELL) $${libsrcdir}/configure \
3036 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3037 --target=${target_alias} $${srcdiroption} \
3038 $(STAGE1_CONFIGURE_FLAGS)
3039 @endif bfd-bootstrap
3041 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3042 maybe-configure-stage2-bfd:
3043 @if bfd-bootstrap
3044 maybe-configure-stage2-bfd: configure-stage2-bfd
3045 configure-stage2-bfd:
3046 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3048 @r=`${PWD_COMMAND}`; export r; \
3049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3050 TFLAGS="$(STAGE2_TFLAGS)"; \
3051 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3052 $(HOST_EXPORTS) \
3053 $(POSTSTAGE1_HOST_EXPORTS) \
3054 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3055 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3056 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3057 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3059 cd $(HOST_SUBDIR)/bfd || exit 1; \
3060 case $(srcdir) in \
3061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3062 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3064 esac; \
3065 srcdiroption="--srcdir=$${topdir}/bfd"; \
3066 libsrcdir="$$s/bfd"; \
3067 $(SHELL) $${libsrcdir}/configure \
3068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3069 --target=${target_alias} $${srcdiroption} \
3070 --with-build-libsubdir=$(HOST_SUBDIR) \
3071 $(STAGE2_CONFIGURE_FLAGS)
3072 @endif bfd-bootstrap
3074 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3075 maybe-configure-stage3-bfd:
3076 @if bfd-bootstrap
3077 maybe-configure-stage3-bfd: configure-stage3-bfd
3078 configure-stage3-bfd:
3079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3081 @r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 TFLAGS="$(STAGE3_TFLAGS)"; \
3084 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3085 $(HOST_EXPORTS) \
3086 $(POSTSTAGE1_HOST_EXPORTS) \
3087 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3088 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3089 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3090 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3092 cd $(HOST_SUBDIR)/bfd || exit 1; \
3093 case $(srcdir) in \
3094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3095 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3097 esac; \
3098 srcdiroption="--srcdir=$${topdir}/bfd"; \
3099 libsrcdir="$$s/bfd"; \
3100 $(SHELL) $${libsrcdir}/configure \
3101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3102 --target=${target_alias} $${srcdiroption} \
3103 --with-build-libsubdir=$(HOST_SUBDIR) \
3104 $(STAGE3_CONFIGURE_FLAGS)
3105 @endif bfd-bootstrap
3107 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3108 maybe-configure-stage4-bfd:
3109 @if bfd-bootstrap
3110 maybe-configure-stage4-bfd: configure-stage4-bfd
3111 configure-stage4-bfd:
3112 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3114 @r=`${PWD_COMMAND}`; export r; \
3115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 TFLAGS="$(STAGE4_TFLAGS)"; \
3117 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3118 $(HOST_EXPORTS) \
3119 $(POSTSTAGE1_HOST_EXPORTS) \
3120 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3121 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3122 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3123 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3125 cd $(HOST_SUBDIR)/bfd || exit 1; \
3126 case $(srcdir) in \
3127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3128 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3130 esac; \
3131 srcdiroption="--srcdir=$${topdir}/bfd"; \
3132 libsrcdir="$$s/bfd"; \
3133 $(SHELL) $${libsrcdir}/configure \
3134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3135 --target=${target_alias} $${srcdiroption} \
3136 --with-build-libsubdir=$(HOST_SUBDIR) \
3137 $(STAGE4_CONFIGURE_FLAGS)
3138 @endif bfd-bootstrap
3140 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3141 maybe-configure-stageprofile-bfd:
3142 @if bfd-bootstrap
3143 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3144 configure-stageprofile-bfd:
3145 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3149 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3150 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3151 $(HOST_EXPORTS) \
3152 $(POSTSTAGE1_HOST_EXPORTS) \
3153 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3154 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3155 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3156 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3158 cd $(HOST_SUBDIR)/bfd || exit 1; \
3159 case $(srcdir) in \
3160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3161 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3163 esac; \
3164 srcdiroption="--srcdir=$${topdir}/bfd"; \
3165 libsrcdir="$$s/bfd"; \
3166 $(SHELL) $${libsrcdir}/configure \
3167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3168 --target=${target_alias} $${srcdiroption} \
3169 --with-build-libsubdir=$(HOST_SUBDIR) \
3170 $(STAGEprofile_CONFIGURE_FLAGS)
3171 @endif bfd-bootstrap
3173 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3174 maybe-configure-stagefeedback-bfd:
3175 @if bfd-bootstrap
3176 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3177 configure-stagefeedback-bfd:
3178 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3180 @r=`${PWD_COMMAND}`; export r; \
3181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3182 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3183 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3184 $(HOST_EXPORTS) \
3185 $(POSTSTAGE1_HOST_EXPORTS) \
3186 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3187 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3188 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3189 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3191 cd $(HOST_SUBDIR)/bfd || exit 1; \
3192 case $(srcdir) in \
3193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3194 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3196 esac; \
3197 srcdiroption="--srcdir=$${topdir}/bfd"; \
3198 libsrcdir="$$s/bfd"; \
3199 $(SHELL) $${libsrcdir}/configure \
3200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3201 --target=${target_alias} $${srcdiroption} \
3202 --with-build-libsubdir=$(HOST_SUBDIR) \
3203 $(STAGEfeedback_CONFIGURE_FLAGS)
3204 @endif bfd-bootstrap
3210 .PHONY: all-bfd maybe-all-bfd
3211 maybe-all-bfd:
3212 @if gcc-bootstrap
3213 all-bfd: stage_current
3214 @endif gcc-bootstrap
3215 @if bfd
3216 TARGET-bfd=all
3217 maybe-all-bfd: all-bfd
3218 all-bfd: configure-bfd
3219 @r=`${PWD_COMMAND}`; export r; \
3220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3221 $(HOST_EXPORTS) \
3222 (cd $(HOST_SUBDIR)/bfd && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3224 $(TARGET-bfd))
3225 @endif bfd
3229 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3230 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3231 maybe-all-stage1-bfd:
3232 maybe-clean-stage1-bfd:
3233 @if bfd-bootstrap
3234 maybe-all-stage1-bfd: all-stage1-bfd
3235 all-stage1: all-stage1-bfd
3236 TARGET-stage1-bfd = $(TARGET-bfd)
3237 all-stage1-bfd: configure-stage1-bfd
3238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3239 @r=`${PWD_COMMAND}`; export r; \
3240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3241 TFLAGS="$(STAGE1_TFLAGS)"; \
3242 $(HOST_EXPORTS) \
3243 cd $(HOST_SUBDIR)/bfd && \
3244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3245 CFLAGS="$(STAGE1_CFLAGS)" \
3246 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3247 LIBCFLAGS="$(LIBCFLAGS)" \
3248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3251 $(EXTRA_HOST_FLAGS) \
3252 $(STAGE1_FLAGS_TO_PASS) \
3253 TFLAGS="$(STAGE1_TFLAGS)" \
3254 $(TARGET-stage1-bfd)
3256 maybe-clean-stage1-bfd: clean-stage1-bfd
3257 clean-stage1: clean-stage1-bfd
3258 clean-stage1-bfd:
3259 @if [ $(current_stage) = stage1 ]; then \
3260 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3261 else \
3262 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3263 $(MAKE) stage1-start; \
3264 fi; \
3265 cd $(HOST_SUBDIR)/bfd && \
3266 $(MAKE) $(EXTRA_HOST_FLAGS) \
3267 $(STAGE1_FLAGS_TO_PASS) clean
3268 @endif bfd-bootstrap
3271 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3272 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3273 maybe-all-stage2-bfd:
3274 maybe-clean-stage2-bfd:
3275 @if bfd-bootstrap
3276 maybe-all-stage2-bfd: all-stage2-bfd
3277 all-stage2: all-stage2-bfd
3278 TARGET-stage2-bfd = $(TARGET-bfd)
3279 all-stage2-bfd: configure-stage2-bfd
3280 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3281 @r=`${PWD_COMMAND}`; export r; \
3282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3283 TFLAGS="$(STAGE2_TFLAGS)"; \
3284 $(HOST_EXPORTS) \
3285 $(POSTSTAGE1_HOST_EXPORTS) \
3286 cd $(HOST_SUBDIR)/bfd && \
3287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3288 CFLAGS="$(STAGE2_CFLAGS)" \
3289 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3290 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3295 TFLAGS="$(STAGE2_TFLAGS)" \
3296 $(TARGET-stage2-bfd)
3298 maybe-clean-stage2-bfd: clean-stage2-bfd
3299 clean-stage2: clean-stage2-bfd
3300 clean-stage2-bfd:
3301 @if [ $(current_stage) = stage2 ]; then \
3302 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3303 else \
3304 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3305 $(MAKE) stage2-start; \
3306 fi; \
3307 cd $(HOST_SUBDIR)/bfd && \
3308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3309 @endif bfd-bootstrap
3312 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3313 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3314 maybe-all-stage3-bfd:
3315 maybe-clean-stage3-bfd:
3316 @if bfd-bootstrap
3317 maybe-all-stage3-bfd: all-stage3-bfd
3318 all-stage3: all-stage3-bfd
3319 TARGET-stage3-bfd = $(TARGET-bfd)
3320 all-stage3-bfd: configure-stage3-bfd
3321 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3322 @r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 TFLAGS="$(STAGE3_TFLAGS)"; \
3325 $(HOST_EXPORTS) \
3326 $(POSTSTAGE1_HOST_EXPORTS) \
3327 cd $(HOST_SUBDIR)/bfd && \
3328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3329 CFLAGS="$(STAGE3_CFLAGS)" \
3330 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3331 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3336 TFLAGS="$(STAGE3_TFLAGS)" \
3337 $(TARGET-stage3-bfd)
3339 maybe-clean-stage3-bfd: clean-stage3-bfd
3340 clean-stage3: clean-stage3-bfd
3341 clean-stage3-bfd:
3342 @if [ $(current_stage) = stage3 ]; then \
3343 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3344 else \
3345 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3346 $(MAKE) stage3-start; \
3347 fi; \
3348 cd $(HOST_SUBDIR)/bfd && \
3349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3350 @endif bfd-bootstrap
3353 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3354 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3355 maybe-all-stage4-bfd:
3356 maybe-clean-stage4-bfd:
3357 @if bfd-bootstrap
3358 maybe-all-stage4-bfd: all-stage4-bfd
3359 all-stage4: all-stage4-bfd
3360 TARGET-stage4-bfd = $(TARGET-bfd)
3361 all-stage4-bfd: configure-stage4-bfd
3362 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3363 @r=`${PWD_COMMAND}`; export r; \
3364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 TFLAGS="$(STAGE4_TFLAGS)"; \
3366 $(HOST_EXPORTS) \
3367 $(POSTSTAGE1_HOST_EXPORTS) \
3368 cd $(HOST_SUBDIR)/bfd && \
3369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3370 CFLAGS="$(STAGE4_CFLAGS)" \
3371 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3372 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3377 TFLAGS="$(STAGE4_TFLAGS)" \
3378 $(TARGET-stage4-bfd)
3380 maybe-clean-stage4-bfd: clean-stage4-bfd
3381 clean-stage4: clean-stage4-bfd
3382 clean-stage4-bfd:
3383 @if [ $(current_stage) = stage4 ]; then \
3384 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3385 else \
3386 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3387 $(MAKE) stage4-start; \
3388 fi; \
3389 cd $(HOST_SUBDIR)/bfd && \
3390 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3391 @endif bfd-bootstrap
3394 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3395 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3396 maybe-all-stageprofile-bfd:
3397 maybe-clean-stageprofile-bfd:
3398 @if bfd-bootstrap
3399 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3400 all-stageprofile: all-stageprofile-bfd
3401 TARGET-stageprofile-bfd = $(TARGET-bfd)
3402 all-stageprofile-bfd: configure-stageprofile-bfd
3403 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3404 @r=`${PWD_COMMAND}`; export r; \
3405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3407 $(HOST_EXPORTS) \
3408 $(POSTSTAGE1_HOST_EXPORTS) \
3409 cd $(HOST_SUBDIR)/bfd && \
3410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3411 CFLAGS="$(STAGEprofile_CFLAGS)" \
3412 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3413 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3418 TFLAGS="$(STAGEprofile_TFLAGS)" \
3419 $(TARGET-stageprofile-bfd)
3421 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3422 clean-stageprofile: clean-stageprofile-bfd
3423 clean-stageprofile-bfd:
3424 @if [ $(current_stage) = stageprofile ]; then \
3425 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3426 else \
3427 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3428 $(MAKE) stageprofile-start; \
3429 fi; \
3430 cd $(HOST_SUBDIR)/bfd && \
3431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3432 @endif bfd-bootstrap
3435 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3436 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3437 maybe-all-stagefeedback-bfd:
3438 maybe-clean-stagefeedback-bfd:
3439 @if bfd-bootstrap
3440 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3441 all-stagefeedback: all-stagefeedback-bfd
3442 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3443 all-stagefeedback-bfd: configure-stagefeedback-bfd
3444 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3445 @r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3448 $(HOST_EXPORTS) \
3449 $(POSTSTAGE1_HOST_EXPORTS) \
3450 cd $(HOST_SUBDIR)/bfd && \
3451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3452 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3453 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3454 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3459 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3460 $(TARGET-stagefeedback-bfd)
3462 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3463 clean-stagefeedback: clean-stagefeedback-bfd
3464 clean-stagefeedback-bfd:
3465 @if [ $(current_stage) = stagefeedback ]; then \
3466 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3467 else \
3468 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3469 $(MAKE) stagefeedback-start; \
3470 fi; \
3471 cd $(HOST_SUBDIR)/bfd && \
3472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3473 @endif bfd-bootstrap
3479 .PHONY: check-bfd maybe-check-bfd
3480 maybe-check-bfd:
3481 @if bfd
3482 maybe-check-bfd: check-bfd
3484 check-bfd:
3485 @: $(MAKE); $(unstage)
3486 @r=`${PWD_COMMAND}`; export r; \
3487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3488 $(HOST_EXPORTS) \
3489 (cd $(HOST_SUBDIR)/bfd && \
3490 $(MAKE) $(FLAGS_TO_PASS) check)
3492 @endif bfd
3494 .PHONY: install-bfd maybe-install-bfd
3495 maybe-install-bfd:
3496 @if bfd
3497 maybe-install-bfd: install-bfd
3499 install-bfd: installdirs
3500 @: $(MAKE); $(unstage)
3501 @r=`${PWD_COMMAND}`; export r; \
3502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 $(HOST_EXPORTS) \
3504 (cd $(HOST_SUBDIR)/bfd && \
3505 $(MAKE) $(FLAGS_TO_PASS) install)
3507 @endif bfd
3509 .PHONY: install-strip-bfd maybe-install-strip-bfd
3510 maybe-install-strip-bfd:
3511 @if bfd
3512 maybe-install-strip-bfd: install-strip-bfd
3514 install-strip-bfd: installdirs
3515 @: $(MAKE); $(unstage)
3516 @r=`${PWD_COMMAND}`; export r; \
3517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3518 $(HOST_EXPORTS) \
3519 (cd $(HOST_SUBDIR)/bfd && \
3520 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3522 @endif bfd
3524 # Other targets (info, dvi, pdf, etc.)
3526 .PHONY: maybe-info-bfd info-bfd
3527 maybe-info-bfd:
3528 @if bfd
3529 maybe-info-bfd: info-bfd
3531 info-bfd: \
3532 configure-bfd
3533 @[ -f ./bfd/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing info in bfd" ; \
3541 (cd $(HOST_SUBDIR)/bfd && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3546 info) \
3547 || exit 1
3549 @endif bfd
3551 .PHONY: maybe-dvi-bfd dvi-bfd
3552 maybe-dvi-bfd:
3553 @if bfd
3554 maybe-dvi-bfd: dvi-bfd
3556 dvi-bfd: \
3557 configure-bfd
3558 @[ -f ./bfd/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing dvi in bfd" ; \
3566 (cd $(HOST_SUBDIR)/bfd && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3571 dvi) \
3572 || exit 1
3574 @endif bfd
3576 .PHONY: maybe-pdf-bfd pdf-bfd
3577 maybe-pdf-bfd:
3578 @if bfd
3579 maybe-pdf-bfd: pdf-bfd
3581 pdf-bfd: \
3582 configure-bfd
3583 @[ -f ./bfd/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing pdf in bfd" ; \
3591 (cd $(HOST_SUBDIR)/bfd && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3596 pdf) \
3597 || exit 1
3599 @endif bfd
3601 .PHONY: maybe-html-bfd html-bfd
3602 maybe-html-bfd:
3603 @if bfd
3604 maybe-html-bfd: html-bfd
3606 html-bfd: \
3607 configure-bfd
3608 @[ -f ./bfd/Makefile ] || exit 0; \
3609 r=`${PWD_COMMAND}`; export r; \
3610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 $(HOST_EXPORTS) \
3612 for flag in $(EXTRA_HOST_FLAGS) ; do \
3613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 done; \
3615 echo "Doing html in bfd" ; \
3616 (cd $(HOST_SUBDIR)/bfd && \
3617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3619 "RANLIB=$${RANLIB}" \
3620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3621 html) \
3622 || exit 1
3624 @endif bfd
3626 .PHONY: maybe-TAGS-bfd TAGS-bfd
3627 maybe-TAGS-bfd:
3628 @if bfd
3629 maybe-TAGS-bfd: TAGS-bfd
3631 TAGS-bfd: \
3632 configure-bfd
3633 @[ -f ./bfd/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing TAGS in bfd" ; \
3641 (cd $(HOST_SUBDIR)/bfd && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3646 TAGS) \
3647 || exit 1
3649 @endif bfd
3651 .PHONY: maybe-install-info-bfd install-info-bfd
3652 maybe-install-info-bfd:
3653 @if bfd
3654 maybe-install-info-bfd: install-info-bfd
3656 install-info-bfd: \
3657 configure-bfd \
3658 info-bfd
3659 @[ -f ./bfd/Makefile ] || exit 0; \
3660 r=`${PWD_COMMAND}`; export r; \
3661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3662 $(HOST_EXPORTS) \
3663 for flag in $(EXTRA_HOST_FLAGS) ; do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing install-info in bfd" ; \
3667 (cd $(HOST_SUBDIR)/bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3672 install-info) \
3673 || exit 1
3675 @endif bfd
3677 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3678 maybe-install-pdf-bfd:
3679 @if bfd
3680 maybe-install-pdf-bfd: install-pdf-bfd
3682 install-pdf-bfd: \
3683 configure-bfd \
3684 pdf-bfd
3685 @[ -f ./bfd/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing install-pdf in bfd" ; \
3693 (cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 install-pdf) \
3699 || exit 1
3701 @endif bfd
3703 .PHONY: maybe-install-html-bfd install-html-bfd
3704 maybe-install-html-bfd:
3705 @if bfd
3706 maybe-install-html-bfd: install-html-bfd
3708 install-html-bfd: \
3709 configure-bfd \
3710 html-bfd
3711 @[ -f ./bfd/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 $(HOST_EXPORTS) \
3715 for flag in $(EXTRA_HOST_FLAGS) ; do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 done; \
3718 echo "Doing install-html in bfd" ; \
3719 (cd $(HOST_SUBDIR)/bfd && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3724 install-html) \
3725 || exit 1
3727 @endif bfd
3729 .PHONY: maybe-installcheck-bfd installcheck-bfd
3730 maybe-installcheck-bfd:
3731 @if bfd
3732 maybe-installcheck-bfd: installcheck-bfd
3734 installcheck-bfd: \
3735 configure-bfd
3736 @[ -f ./bfd/Makefile ] || exit 0; \
3737 r=`${PWD_COMMAND}`; export r; \
3738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 $(HOST_EXPORTS) \
3740 for flag in $(EXTRA_HOST_FLAGS) ; do \
3741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3742 done; \
3743 echo "Doing installcheck in bfd" ; \
3744 (cd $(HOST_SUBDIR)/bfd && \
3745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3747 "RANLIB=$${RANLIB}" \
3748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3749 installcheck) \
3750 || exit 1
3752 @endif bfd
3754 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3755 maybe-mostlyclean-bfd:
3756 @if bfd
3757 maybe-mostlyclean-bfd: mostlyclean-bfd
3759 mostlyclean-bfd:
3760 @[ -f ./bfd/Makefile ] || exit 0; \
3761 r=`${PWD_COMMAND}`; export r; \
3762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3763 $(HOST_EXPORTS) \
3764 for flag in $(EXTRA_HOST_FLAGS) ; do \
3765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3766 done; \
3767 echo "Doing mostlyclean in bfd" ; \
3768 (cd $(HOST_SUBDIR)/bfd && \
3769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3771 "RANLIB=$${RANLIB}" \
3772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3773 mostlyclean) \
3774 || exit 1
3776 @endif bfd
3778 .PHONY: maybe-clean-bfd clean-bfd
3779 maybe-clean-bfd:
3780 @if bfd
3781 maybe-clean-bfd: clean-bfd
3783 clean-bfd:
3784 @[ -f ./bfd/Makefile ] || exit 0; \
3785 r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(HOST_EXPORTS) \
3788 for flag in $(EXTRA_HOST_FLAGS) ; do \
3789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3790 done; \
3791 echo "Doing clean in bfd" ; \
3792 (cd $(HOST_SUBDIR)/bfd && \
3793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3795 "RANLIB=$${RANLIB}" \
3796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3797 clean) \
3798 || exit 1
3800 @endif bfd
3802 .PHONY: maybe-distclean-bfd distclean-bfd
3803 maybe-distclean-bfd:
3804 @if bfd
3805 maybe-distclean-bfd: distclean-bfd
3807 distclean-bfd:
3808 @[ -f ./bfd/Makefile ] || exit 0; \
3809 r=`${PWD_COMMAND}`; export r; \
3810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3811 $(HOST_EXPORTS) \
3812 for flag in $(EXTRA_HOST_FLAGS) ; do \
3813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3814 done; \
3815 echo "Doing distclean in bfd" ; \
3816 (cd $(HOST_SUBDIR)/bfd && \
3817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3819 "RANLIB=$${RANLIB}" \
3820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3821 distclean) \
3822 || exit 1
3824 @endif bfd
3826 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3827 maybe-maintainer-clean-bfd:
3828 @if bfd
3829 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3831 maintainer-clean-bfd:
3832 @[ -f ./bfd/Makefile ] || exit 0; \
3833 r=`${PWD_COMMAND}`; export r; \
3834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3835 $(HOST_EXPORTS) \
3836 for flag in $(EXTRA_HOST_FLAGS) ; do \
3837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3838 done; \
3839 echo "Doing maintainer-clean in bfd" ; \
3840 (cd $(HOST_SUBDIR)/bfd && \
3841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3843 "RANLIB=$${RANLIB}" \
3844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3845 maintainer-clean) \
3846 || exit 1
3848 @endif bfd
3852 .PHONY: configure-opcodes maybe-configure-opcodes
3853 maybe-configure-opcodes:
3854 @if gcc-bootstrap
3855 configure-opcodes: stage_current
3856 @endif gcc-bootstrap
3857 @if opcodes
3858 maybe-configure-opcodes: configure-opcodes
3859 configure-opcodes:
3860 @r=`${PWD_COMMAND}`; export r; \
3861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3862 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3864 $(HOST_EXPORTS) \
3865 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3866 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3867 case $(srcdir) in \
3868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3869 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3871 esac; \
3872 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3873 libsrcdir="$$s/opcodes"; \
3874 $(SHELL) $${libsrcdir}/configure \
3875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3876 --target=${target_alias} $${srcdiroption} \
3877 || exit 1
3878 @endif opcodes
3882 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3883 maybe-configure-stage1-opcodes:
3884 @if opcodes-bootstrap
3885 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3886 configure-stage1-opcodes:
3887 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3889 @r=`${PWD_COMMAND}`; export r; \
3890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3891 TFLAGS="$(STAGE1_TFLAGS)"; \
3892 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3893 $(HOST_EXPORTS) \
3894 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3895 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3896 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3897 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3899 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3900 case $(srcdir) in \
3901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3902 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3904 esac; \
3905 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3906 libsrcdir="$$s/opcodes"; \
3907 $(SHELL) $${libsrcdir}/configure \
3908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3909 --target=${target_alias} $${srcdiroption} \
3910 $(STAGE1_CONFIGURE_FLAGS)
3911 @endif opcodes-bootstrap
3913 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3914 maybe-configure-stage2-opcodes:
3915 @if opcodes-bootstrap
3916 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3917 configure-stage2-opcodes:
3918 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3920 @r=`${PWD_COMMAND}`; export r; \
3921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3922 TFLAGS="$(STAGE2_TFLAGS)"; \
3923 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3924 $(HOST_EXPORTS) \
3925 $(POSTSTAGE1_HOST_EXPORTS) \
3926 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3927 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3928 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3929 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3931 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3932 case $(srcdir) in \
3933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3934 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3936 esac; \
3937 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3938 libsrcdir="$$s/opcodes"; \
3939 $(SHELL) $${libsrcdir}/configure \
3940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3941 --target=${target_alias} $${srcdiroption} \
3942 --with-build-libsubdir=$(HOST_SUBDIR) \
3943 $(STAGE2_CONFIGURE_FLAGS)
3944 @endif opcodes-bootstrap
3946 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3947 maybe-configure-stage3-opcodes:
3948 @if opcodes-bootstrap
3949 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3950 configure-stage3-opcodes:
3951 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3953 @r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 TFLAGS="$(STAGE3_TFLAGS)"; \
3956 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3957 $(HOST_EXPORTS) \
3958 $(POSTSTAGE1_HOST_EXPORTS) \
3959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3960 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3961 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3962 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3964 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3965 case $(srcdir) in \
3966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3967 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3969 esac; \
3970 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3971 libsrcdir="$$s/opcodes"; \
3972 $(SHELL) $${libsrcdir}/configure \
3973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3974 --target=${target_alias} $${srcdiroption} \
3975 --with-build-libsubdir=$(HOST_SUBDIR) \
3976 $(STAGE3_CONFIGURE_FLAGS)
3977 @endif opcodes-bootstrap
3979 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3980 maybe-configure-stage4-opcodes:
3981 @if opcodes-bootstrap
3982 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3983 configure-stage4-opcodes:
3984 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3986 @r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 TFLAGS="$(STAGE4_TFLAGS)"; \
3989 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3990 $(HOST_EXPORTS) \
3991 $(POSTSTAGE1_HOST_EXPORTS) \
3992 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3993 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3994 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3995 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3997 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3998 case $(srcdir) in \
3999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4000 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4002 esac; \
4003 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4004 libsrcdir="$$s/opcodes"; \
4005 $(SHELL) $${libsrcdir}/configure \
4006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4007 --target=${target_alias} $${srcdiroption} \
4008 --with-build-libsubdir=$(HOST_SUBDIR) \
4009 $(STAGE4_CONFIGURE_FLAGS)
4010 @endif opcodes-bootstrap
4012 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4013 maybe-configure-stageprofile-opcodes:
4014 @if opcodes-bootstrap
4015 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4016 configure-stageprofile-opcodes:
4017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4019 @r=`${PWD_COMMAND}`; export r; \
4020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4022 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4023 $(HOST_EXPORTS) \
4024 $(POSTSTAGE1_HOST_EXPORTS) \
4025 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4026 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4027 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4028 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4030 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4031 case $(srcdir) in \
4032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4033 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4035 esac; \
4036 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4037 libsrcdir="$$s/opcodes"; \
4038 $(SHELL) $${libsrcdir}/configure \
4039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4040 --target=${target_alias} $${srcdiroption} \
4041 --with-build-libsubdir=$(HOST_SUBDIR) \
4042 $(STAGEprofile_CONFIGURE_FLAGS)
4043 @endif opcodes-bootstrap
4045 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4046 maybe-configure-stagefeedback-opcodes:
4047 @if opcodes-bootstrap
4048 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4049 configure-stagefeedback-opcodes:
4050 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4052 @r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4055 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4056 $(HOST_EXPORTS) \
4057 $(POSTSTAGE1_HOST_EXPORTS) \
4058 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4059 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4060 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4061 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4063 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4064 case $(srcdir) in \
4065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4066 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4068 esac; \
4069 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4070 libsrcdir="$$s/opcodes"; \
4071 $(SHELL) $${libsrcdir}/configure \
4072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4073 --target=${target_alias} $${srcdiroption} \
4074 --with-build-libsubdir=$(HOST_SUBDIR) \
4075 $(STAGEfeedback_CONFIGURE_FLAGS)
4076 @endif opcodes-bootstrap
4082 .PHONY: all-opcodes maybe-all-opcodes
4083 maybe-all-opcodes:
4084 @if gcc-bootstrap
4085 all-opcodes: stage_current
4086 @endif gcc-bootstrap
4087 @if opcodes
4088 TARGET-opcodes=all
4089 maybe-all-opcodes: all-opcodes
4090 all-opcodes: configure-opcodes
4091 @r=`${PWD_COMMAND}`; export r; \
4092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4093 $(HOST_EXPORTS) \
4094 (cd $(HOST_SUBDIR)/opcodes && \
4095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4096 $(TARGET-opcodes))
4097 @endif opcodes
4101 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4102 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4103 maybe-all-stage1-opcodes:
4104 maybe-clean-stage1-opcodes:
4105 @if opcodes-bootstrap
4106 maybe-all-stage1-opcodes: all-stage1-opcodes
4107 all-stage1: all-stage1-opcodes
4108 TARGET-stage1-opcodes = $(TARGET-opcodes)
4109 all-stage1-opcodes: configure-stage1-opcodes
4110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4111 @r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 TFLAGS="$(STAGE1_TFLAGS)"; \
4114 $(HOST_EXPORTS) \
4115 cd $(HOST_SUBDIR)/opcodes && \
4116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4117 CFLAGS="$(STAGE1_CFLAGS)" \
4118 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4119 LIBCFLAGS="$(LIBCFLAGS)" \
4120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4123 $(EXTRA_HOST_FLAGS) \
4124 $(STAGE1_FLAGS_TO_PASS) \
4125 TFLAGS="$(STAGE1_TFLAGS)" \
4126 $(TARGET-stage1-opcodes)
4128 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4129 clean-stage1: clean-stage1-opcodes
4130 clean-stage1-opcodes:
4131 @if [ $(current_stage) = stage1 ]; then \
4132 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4133 else \
4134 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4135 $(MAKE) stage1-start; \
4136 fi; \
4137 cd $(HOST_SUBDIR)/opcodes && \
4138 $(MAKE) $(EXTRA_HOST_FLAGS) \
4139 $(STAGE1_FLAGS_TO_PASS) clean
4140 @endif opcodes-bootstrap
4143 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4144 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4145 maybe-all-stage2-opcodes:
4146 maybe-clean-stage2-opcodes:
4147 @if opcodes-bootstrap
4148 maybe-all-stage2-opcodes: all-stage2-opcodes
4149 all-stage2: all-stage2-opcodes
4150 TARGET-stage2-opcodes = $(TARGET-opcodes)
4151 all-stage2-opcodes: configure-stage2-opcodes
4152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4153 @r=`${PWD_COMMAND}`; export r; \
4154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4155 TFLAGS="$(STAGE2_TFLAGS)"; \
4156 $(HOST_EXPORTS) \
4157 $(POSTSTAGE1_HOST_EXPORTS) \
4158 cd $(HOST_SUBDIR)/opcodes && \
4159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4160 CFLAGS="$(STAGE2_CFLAGS)" \
4161 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4162 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4166 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4167 TFLAGS="$(STAGE2_TFLAGS)" \
4168 $(TARGET-stage2-opcodes)
4170 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4171 clean-stage2: clean-stage2-opcodes
4172 clean-stage2-opcodes:
4173 @if [ $(current_stage) = stage2 ]; then \
4174 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4175 else \
4176 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4177 $(MAKE) stage2-start; \
4178 fi; \
4179 cd $(HOST_SUBDIR)/opcodes && \
4180 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4181 @endif opcodes-bootstrap
4184 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4185 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4186 maybe-all-stage3-opcodes:
4187 maybe-clean-stage3-opcodes:
4188 @if opcodes-bootstrap
4189 maybe-all-stage3-opcodes: all-stage3-opcodes
4190 all-stage3: all-stage3-opcodes
4191 TARGET-stage3-opcodes = $(TARGET-opcodes)
4192 all-stage3-opcodes: configure-stage3-opcodes
4193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4194 @r=`${PWD_COMMAND}`; export r; \
4195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4196 TFLAGS="$(STAGE3_TFLAGS)"; \
4197 $(HOST_EXPORTS) \
4198 $(POSTSTAGE1_HOST_EXPORTS) \
4199 cd $(HOST_SUBDIR)/opcodes && \
4200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4201 CFLAGS="$(STAGE3_CFLAGS)" \
4202 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4203 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4208 TFLAGS="$(STAGE3_TFLAGS)" \
4209 $(TARGET-stage3-opcodes)
4211 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4212 clean-stage3: clean-stage3-opcodes
4213 clean-stage3-opcodes:
4214 @if [ $(current_stage) = stage3 ]; then \
4215 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4216 else \
4217 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4218 $(MAKE) stage3-start; \
4219 fi; \
4220 cd $(HOST_SUBDIR)/opcodes && \
4221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4222 @endif opcodes-bootstrap
4225 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4226 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4227 maybe-all-stage4-opcodes:
4228 maybe-clean-stage4-opcodes:
4229 @if opcodes-bootstrap
4230 maybe-all-stage4-opcodes: all-stage4-opcodes
4231 all-stage4: all-stage4-opcodes
4232 TARGET-stage4-opcodes = $(TARGET-opcodes)
4233 all-stage4-opcodes: configure-stage4-opcodes
4234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4235 @r=`${PWD_COMMAND}`; export r; \
4236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 TFLAGS="$(STAGE4_TFLAGS)"; \
4238 $(HOST_EXPORTS) \
4239 $(POSTSTAGE1_HOST_EXPORTS) \
4240 cd $(HOST_SUBDIR)/opcodes && \
4241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4242 CFLAGS="$(STAGE4_CFLAGS)" \
4243 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4244 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4249 TFLAGS="$(STAGE4_TFLAGS)" \
4250 $(TARGET-stage4-opcodes)
4252 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4253 clean-stage4: clean-stage4-opcodes
4254 clean-stage4-opcodes:
4255 @if [ $(current_stage) = stage4 ]; then \
4256 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4257 else \
4258 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4259 $(MAKE) stage4-start; \
4260 fi; \
4261 cd $(HOST_SUBDIR)/opcodes && \
4262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4263 @endif opcodes-bootstrap
4266 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4267 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4268 maybe-all-stageprofile-opcodes:
4269 maybe-clean-stageprofile-opcodes:
4270 @if opcodes-bootstrap
4271 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4272 all-stageprofile: all-stageprofile-opcodes
4273 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4274 all-stageprofile-opcodes: configure-stageprofile-opcodes
4275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4276 @r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4279 $(HOST_EXPORTS) \
4280 $(POSTSTAGE1_HOST_EXPORTS) \
4281 cd $(HOST_SUBDIR)/opcodes && \
4282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4283 CFLAGS="$(STAGEprofile_CFLAGS)" \
4284 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4285 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4290 TFLAGS="$(STAGEprofile_TFLAGS)" \
4291 $(TARGET-stageprofile-opcodes)
4293 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4294 clean-stageprofile: clean-stageprofile-opcodes
4295 clean-stageprofile-opcodes:
4296 @if [ $(current_stage) = stageprofile ]; then \
4297 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4298 else \
4299 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4300 $(MAKE) stageprofile-start; \
4301 fi; \
4302 cd $(HOST_SUBDIR)/opcodes && \
4303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4304 @endif opcodes-bootstrap
4307 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4308 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4309 maybe-all-stagefeedback-opcodes:
4310 maybe-clean-stagefeedback-opcodes:
4311 @if opcodes-bootstrap
4312 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4313 all-stagefeedback: all-stagefeedback-opcodes
4314 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4315 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4317 @r=`${PWD_COMMAND}`; export r; \
4318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4319 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4320 $(HOST_EXPORTS) \
4321 $(POSTSTAGE1_HOST_EXPORTS) \
4322 cd $(HOST_SUBDIR)/opcodes && \
4323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4324 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4325 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4326 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4331 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4332 $(TARGET-stagefeedback-opcodes)
4334 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4335 clean-stagefeedback: clean-stagefeedback-opcodes
4336 clean-stagefeedback-opcodes:
4337 @if [ $(current_stage) = stagefeedback ]; then \
4338 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4339 else \
4340 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4341 $(MAKE) stagefeedback-start; \
4342 fi; \
4343 cd $(HOST_SUBDIR)/opcodes && \
4344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4345 @endif opcodes-bootstrap
4351 .PHONY: check-opcodes maybe-check-opcodes
4352 maybe-check-opcodes:
4353 @if opcodes
4354 maybe-check-opcodes: check-opcodes
4356 check-opcodes:
4357 @: $(MAKE); $(unstage)
4358 @r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4360 $(HOST_EXPORTS) \
4361 (cd $(HOST_SUBDIR)/opcodes && \
4362 $(MAKE) $(FLAGS_TO_PASS) check)
4364 @endif opcodes
4366 .PHONY: install-opcodes maybe-install-opcodes
4367 maybe-install-opcodes:
4368 @if opcodes
4369 maybe-install-opcodes: install-opcodes
4371 install-opcodes: installdirs
4372 @: $(MAKE); $(unstage)
4373 @r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(HOST_EXPORTS) \
4376 (cd $(HOST_SUBDIR)/opcodes && \
4377 $(MAKE) $(FLAGS_TO_PASS) install)
4379 @endif opcodes
4381 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4382 maybe-install-strip-opcodes:
4383 @if opcodes
4384 maybe-install-strip-opcodes: install-strip-opcodes
4386 install-strip-opcodes: installdirs
4387 @: $(MAKE); $(unstage)
4388 @r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(HOST_EXPORTS) \
4391 (cd $(HOST_SUBDIR)/opcodes && \
4392 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4394 @endif opcodes
4396 # Other targets (info, dvi, pdf, etc.)
4398 .PHONY: maybe-info-opcodes info-opcodes
4399 maybe-info-opcodes:
4400 @if opcodes
4401 maybe-info-opcodes: info-opcodes
4403 info-opcodes: \
4404 configure-opcodes
4405 @[ -f ./opcodes/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 $(HOST_EXPORTS) \
4409 for flag in $(EXTRA_HOST_FLAGS) ; do \
4410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4411 done; \
4412 echo "Doing info in opcodes" ; \
4413 (cd $(HOST_SUBDIR)/opcodes && \
4414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4416 "RANLIB=$${RANLIB}" \
4417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4418 info) \
4419 || exit 1
4421 @endif opcodes
4423 .PHONY: maybe-dvi-opcodes dvi-opcodes
4424 maybe-dvi-opcodes:
4425 @if opcodes
4426 maybe-dvi-opcodes: dvi-opcodes
4428 dvi-opcodes: \
4429 configure-opcodes
4430 @[ -f ./opcodes/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 $(HOST_EXPORTS) \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 echo "Doing dvi in opcodes" ; \
4438 (cd $(HOST_SUBDIR)/opcodes && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4443 dvi) \
4444 || exit 1
4446 @endif opcodes
4448 .PHONY: maybe-pdf-opcodes pdf-opcodes
4449 maybe-pdf-opcodes:
4450 @if opcodes
4451 maybe-pdf-opcodes: pdf-opcodes
4453 pdf-opcodes: \
4454 configure-opcodes
4455 @[ -f ./opcodes/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing pdf in opcodes" ; \
4463 (cd $(HOST_SUBDIR)/opcodes && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4468 pdf) \
4469 || exit 1
4471 @endif opcodes
4473 .PHONY: maybe-html-opcodes html-opcodes
4474 maybe-html-opcodes:
4475 @if opcodes
4476 maybe-html-opcodes: html-opcodes
4478 html-opcodes: \
4479 configure-opcodes
4480 @[ -f ./opcodes/Makefile ] || exit 0; \
4481 r=`${PWD_COMMAND}`; export r; \
4482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4483 $(HOST_EXPORTS) \
4484 for flag in $(EXTRA_HOST_FLAGS) ; do \
4485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4486 done; \
4487 echo "Doing html in opcodes" ; \
4488 (cd $(HOST_SUBDIR)/opcodes && \
4489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4491 "RANLIB=$${RANLIB}" \
4492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4493 html) \
4494 || exit 1
4496 @endif opcodes
4498 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4499 maybe-TAGS-opcodes:
4500 @if opcodes
4501 maybe-TAGS-opcodes: TAGS-opcodes
4503 TAGS-opcodes: \
4504 configure-opcodes
4505 @[ -f ./opcodes/Makefile ] || exit 0; \
4506 r=`${PWD_COMMAND}`; export r; \
4507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4508 $(HOST_EXPORTS) \
4509 for flag in $(EXTRA_HOST_FLAGS) ; do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4511 done; \
4512 echo "Doing TAGS in opcodes" ; \
4513 (cd $(HOST_SUBDIR)/opcodes && \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4518 TAGS) \
4519 || exit 1
4521 @endif opcodes
4523 .PHONY: maybe-install-info-opcodes install-info-opcodes
4524 maybe-install-info-opcodes:
4525 @if opcodes
4526 maybe-install-info-opcodes: install-info-opcodes
4528 install-info-opcodes: \
4529 configure-opcodes \
4530 info-opcodes
4531 @[ -f ./opcodes/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(HOST_EXPORTS) \
4535 for flag in $(EXTRA_HOST_FLAGS) ; do \
4536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 done; \
4538 echo "Doing install-info in opcodes" ; \
4539 (cd $(HOST_SUBDIR)/opcodes && \
4540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4542 "RANLIB=$${RANLIB}" \
4543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4544 install-info) \
4545 || exit 1
4547 @endif opcodes
4549 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4550 maybe-install-pdf-opcodes:
4551 @if opcodes
4552 maybe-install-pdf-opcodes: install-pdf-opcodes
4554 install-pdf-opcodes: \
4555 configure-opcodes \
4556 pdf-opcodes
4557 @[ -f ./opcodes/Makefile ] || exit 0; \
4558 r=`${PWD_COMMAND}`; export r; \
4559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4560 $(HOST_EXPORTS) \
4561 for flag in $(EXTRA_HOST_FLAGS) ; do \
4562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4563 done; \
4564 echo "Doing install-pdf in opcodes" ; \
4565 (cd $(HOST_SUBDIR)/opcodes && \
4566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4568 "RANLIB=$${RANLIB}" \
4569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4570 install-pdf) \
4571 || exit 1
4573 @endif opcodes
4575 .PHONY: maybe-install-html-opcodes install-html-opcodes
4576 maybe-install-html-opcodes:
4577 @if opcodes
4578 maybe-install-html-opcodes: install-html-opcodes
4580 install-html-opcodes: \
4581 configure-opcodes \
4582 html-opcodes
4583 @[ -f ./opcodes/Makefile ] || exit 0; \
4584 r=`${PWD_COMMAND}`; export r; \
4585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4586 $(HOST_EXPORTS) \
4587 for flag in $(EXTRA_HOST_FLAGS) ; do \
4588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4589 done; \
4590 echo "Doing install-html in opcodes" ; \
4591 (cd $(HOST_SUBDIR)/opcodes && \
4592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4594 "RANLIB=$${RANLIB}" \
4595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4596 install-html) \
4597 || exit 1
4599 @endif opcodes
4601 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4602 maybe-installcheck-opcodes:
4603 @if opcodes
4604 maybe-installcheck-opcodes: installcheck-opcodes
4606 installcheck-opcodes: \
4607 configure-opcodes
4608 @[ -f ./opcodes/Makefile ] || exit 0; \
4609 r=`${PWD_COMMAND}`; export r; \
4610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4611 $(HOST_EXPORTS) \
4612 for flag in $(EXTRA_HOST_FLAGS) ; do \
4613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4614 done; \
4615 echo "Doing installcheck in opcodes" ; \
4616 (cd $(HOST_SUBDIR)/opcodes && \
4617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4619 "RANLIB=$${RANLIB}" \
4620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4621 installcheck) \
4622 || exit 1
4624 @endif opcodes
4626 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4627 maybe-mostlyclean-opcodes:
4628 @if opcodes
4629 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4631 mostlyclean-opcodes:
4632 @[ -f ./opcodes/Makefile ] || exit 0; \
4633 r=`${PWD_COMMAND}`; export r; \
4634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4635 $(HOST_EXPORTS) \
4636 for flag in $(EXTRA_HOST_FLAGS) ; do \
4637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4638 done; \
4639 echo "Doing mostlyclean in opcodes" ; \
4640 (cd $(HOST_SUBDIR)/opcodes && \
4641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4643 "RANLIB=$${RANLIB}" \
4644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4645 mostlyclean) \
4646 || exit 1
4648 @endif opcodes
4650 .PHONY: maybe-clean-opcodes clean-opcodes
4651 maybe-clean-opcodes:
4652 @if opcodes
4653 maybe-clean-opcodes: clean-opcodes
4655 clean-opcodes:
4656 @[ -f ./opcodes/Makefile ] || exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(HOST_EXPORTS) \
4660 for flag in $(EXTRA_HOST_FLAGS) ; do \
4661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4662 done; \
4663 echo "Doing clean in opcodes" ; \
4664 (cd $(HOST_SUBDIR)/opcodes && \
4665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667 "RANLIB=$${RANLIB}" \
4668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4669 clean) \
4670 || exit 1
4672 @endif opcodes
4674 .PHONY: maybe-distclean-opcodes distclean-opcodes
4675 maybe-distclean-opcodes:
4676 @if opcodes
4677 maybe-distclean-opcodes: distclean-opcodes
4679 distclean-opcodes:
4680 @[ -f ./opcodes/Makefile ] || exit 0; \
4681 r=`${PWD_COMMAND}`; export r; \
4682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4683 $(HOST_EXPORTS) \
4684 for flag in $(EXTRA_HOST_FLAGS) ; do \
4685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4686 done; \
4687 echo "Doing distclean in opcodes" ; \
4688 (cd $(HOST_SUBDIR)/opcodes && \
4689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4691 "RANLIB=$${RANLIB}" \
4692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4693 distclean) \
4694 || exit 1
4696 @endif opcodes
4698 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4699 maybe-maintainer-clean-opcodes:
4700 @if opcodes
4701 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4703 maintainer-clean-opcodes:
4704 @[ -f ./opcodes/Makefile ] || exit 0; \
4705 r=`${PWD_COMMAND}`; export r; \
4706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4707 $(HOST_EXPORTS) \
4708 for flag in $(EXTRA_HOST_FLAGS) ; do \
4709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4710 done; \
4711 echo "Doing maintainer-clean in opcodes" ; \
4712 (cd $(HOST_SUBDIR)/opcodes && \
4713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4715 "RANLIB=$${RANLIB}" \
4716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4717 maintainer-clean) \
4718 || exit 1
4720 @endif opcodes
4724 .PHONY: configure-binutils maybe-configure-binutils
4725 maybe-configure-binutils:
4726 @if gcc-bootstrap
4727 configure-binutils: stage_current
4728 @endif gcc-bootstrap
4729 @if binutils
4730 maybe-configure-binutils: configure-binutils
4731 configure-binutils:
4732 @r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4736 $(HOST_EXPORTS) \
4737 echo Configuring in $(HOST_SUBDIR)/binutils; \
4738 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4739 case $(srcdir) in \
4740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4741 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4743 esac; \
4744 srcdiroption="--srcdir=$${topdir}/binutils"; \
4745 libsrcdir="$$s/binutils"; \
4746 $(SHELL) $${libsrcdir}/configure \
4747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4748 --target=${target_alias} $${srcdiroption} \
4749 || exit 1
4750 @endif binutils
4754 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4755 maybe-configure-stage1-binutils:
4756 @if binutils-bootstrap
4757 maybe-configure-stage1-binutils: configure-stage1-binutils
4758 configure-stage1-binutils:
4759 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4761 @r=`${PWD_COMMAND}`; export r; \
4762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4763 TFLAGS="$(STAGE1_TFLAGS)"; \
4764 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4765 $(HOST_EXPORTS) \
4766 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4767 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4768 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4769 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4771 cd $(HOST_SUBDIR)/binutils || exit 1; \
4772 case $(srcdir) in \
4773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4774 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4776 esac; \
4777 srcdiroption="--srcdir=$${topdir}/binutils"; \
4778 libsrcdir="$$s/binutils"; \
4779 $(SHELL) $${libsrcdir}/configure \
4780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4781 --target=${target_alias} $${srcdiroption} \
4782 $(STAGE1_CONFIGURE_FLAGS)
4783 @endif binutils-bootstrap
4785 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4786 maybe-configure-stage2-binutils:
4787 @if binutils-bootstrap
4788 maybe-configure-stage2-binutils: configure-stage2-binutils
4789 configure-stage2-binutils:
4790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4792 @r=`${PWD_COMMAND}`; export r; \
4793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4794 TFLAGS="$(STAGE2_TFLAGS)"; \
4795 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4796 $(HOST_EXPORTS) \
4797 $(POSTSTAGE1_HOST_EXPORTS) \
4798 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4799 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4800 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4801 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4803 cd $(HOST_SUBDIR)/binutils || exit 1; \
4804 case $(srcdir) in \
4805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4806 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4808 esac; \
4809 srcdiroption="--srcdir=$${topdir}/binutils"; \
4810 libsrcdir="$$s/binutils"; \
4811 $(SHELL) $${libsrcdir}/configure \
4812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4813 --target=${target_alias} $${srcdiroption} \
4814 --with-build-libsubdir=$(HOST_SUBDIR) \
4815 $(STAGE2_CONFIGURE_FLAGS)
4816 @endif binutils-bootstrap
4818 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4819 maybe-configure-stage3-binutils:
4820 @if binutils-bootstrap
4821 maybe-configure-stage3-binutils: configure-stage3-binutils
4822 configure-stage3-binutils:
4823 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4825 @r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 TFLAGS="$(STAGE3_TFLAGS)"; \
4828 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4829 $(HOST_EXPORTS) \
4830 $(POSTSTAGE1_HOST_EXPORTS) \
4831 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4832 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4833 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4834 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4836 cd $(HOST_SUBDIR)/binutils || exit 1; \
4837 case $(srcdir) in \
4838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4839 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4841 esac; \
4842 srcdiroption="--srcdir=$${topdir}/binutils"; \
4843 libsrcdir="$$s/binutils"; \
4844 $(SHELL) $${libsrcdir}/configure \
4845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4846 --target=${target_alias} $${srcdiroption} \
4847 --with-build-libsubdir=$(HOST_SUBDIR) \
4848 $(STAGE3_CONFIGURE_FLAGS)
4849 @endif binutils-bootstrap
4851 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4852 maybe-configure-stage4-binutils:
4853 @if binutils-bootstrap
4854 maybe-configure-stage4-binutils: configure-stage4-binutils
4855 configure-stage4-binutils:
4856 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4858 @r=`${PWD_COMMAND}`; export r; \
4859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4860 TFLAGS="$(STAGE4_TFLAGS)"; \
4861 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4862 $(HOST_EXPORTS) \
4863 $(POSTSTAGE1_HOST_EXPORTS) \
4864 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4865 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4866 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4867 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4869 cd $(HOST_SUBDIR)/binutils || exit 1; \
4870 case $(srcdir) in \
4871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4872 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4874 esac; \
4875 srcdiroption="--srcdir=$${topdir}/binutils"; \
4876 libsrcdir="$$s/binutils"; \
4877 $(SHELL) $${libsrcdir}/configure \
4878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4879 --target=${target_alias} $${srcdiroption} \
4880 --with-build-libsubdir=$(HOST_SUBDIR) \
4881 $(STAGE4_CONFIGURE_FLAGS)
4882 @endif binutils-bootstrap
4884 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4885 maybe-configure-stageprofile-binutils:
4886 @if binutils-bootstrap
4887 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4888 configure-stageprofile-binutils:
4889 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4891 @r=`${PWD_COMMAND}`; export r; \
4892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4893 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4894 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4895 $(HOST_EXPORTS) \
4896 $(POSTSTAGE1_HOST_EXPORTS) \
4897 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4898 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4899 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4900 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4902 cd $(HOST_SUBDIR)/binutils || exit 1; \
4903 case $(srcdir) in \
4904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4905 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4907 esac; \
4908 srcdiroption="--srcdir=$${topdir}/binutils"; \
4909 libsrcdir="$$s/binutils"; \
4910 $(SHELL) $${libsrcdir}/configure \
4911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4912 --target=${target_alias} $${srcdiroption} \
4913 --with-build-libsubdir=$(HOST_SUBDIR) \
4914 $(STAGEprofile_CONFIGURE_FLAGS)
4915 @endif binutils-bootstrap
4917 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4918 maybe-configure-stagefeedback-binutils:
4919 @if binutils-bootstrap
4920 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4921 configure-stagefeedback-binutils:
4922 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4924 @r=`${PWD_COMMAND}`; export r; \
4925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4927 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4928 $(HOST_EXPORTS) \
4929 $(POSTSTAGE1_HOST_EXPORTS) \
4930 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4931 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4932 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4933 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4935 cd $(HOST_SUBDIR)/binutils || exit 1; \
4936 case $(srcdir) in \
4937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4938 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4940 esac; \
4941 srcdiroption="--srcdir=$${topdir}/binutils"; \
4942 libsrcdir="$$s/binutils"; \
4943 $(SHELL) $${libsrcdir}/configure \
4944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4945 --target=${target_alias} $${srcdiroption} \
4946 --with-build-libsubdir=$(HOST_SUBDIR) \
4947 $(STAGEfeedback_CONFIGURE_FLAGS)
4948 @endif binutils-bootstrap
4954 .PHONY: all-binutils maybe-all-binutils
4955 maybe-all-binutils:
4956 @if gcc-bootstrap
4957 all-binutils: stage_current
4958 @endif gcc-bootstrap
4959 @if binutils
4960 TARGET-binutils=all
4961 maybe-all-binutils: all-binutils
4962 all-binutils: configure-binutils
4963 @r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 $(HOST_EXPORTS) \
4966 (cd $(HOST_SUBDIR)/binutils && \
4967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4968 $(TARGET-binutils))
4969 @endif binutils
4973 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4974 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4975 maybe-all-stage1-binutils:
4976 maybe-clean-stage1-binutils:
4977 @if binutils-bootstrap
4978 maybe-all-stage1-binutils: all-stage1-binutils
4979 all-stage1: all-stage1-binutils
4980 TARGET-stage1-binutils = $(TARGET-binutils)
4981 all-stage1-binutils: configure-stage1-binutils
4982 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4983 @r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4985 TFLAGS="$(STAGE1_TFLAGS)"; \
4986 $(HOST_EXPORTS) \
4987 cd $(HOST_SUBDIR)/binutils && \
4988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4989 CFLAGS="$(STAGE1_CFLAGS)" \
4990 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4991 LIBCFLAGS="$(LIBCFLAGS)" \
4992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4995 $(EXTRA_HOST_FLAGS) \
4996 $(STAGE1_FLAGS_TO_PASS) \
4997 TFLAGS="$(STAGE1_TFLAGS)" \
4998 $(TARGET-stage1-binutils)
5000 maybe-clean-stage1-binutils: clean-stage1-binutils
5001 clean-stage1: clean-stage1-binutils
5002 clean-stage1-binutils:
5003 @if [ $(current_stage) = stage1 ]; then \
5004 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5005 else \
5006 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5007 $(MAKE) stage1-start; \
5008 fi; \
5009 cd $(HOST_SUBDIR)/binutils && \
5010 $(MAKE) $(EXTRA_HOST_FLAGS) \
5011 $(STAGE1_FLAGS_TO_PASS) clean
5012 @endif binutils-bootstrap
5015 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5016 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5017 maybe-all-stage2-binutils:
5018 maybe-clean-stage2-binutils:
5019 @if binutils-bootstrap
5020 maybe-all-stage2-binutils: all-stage2-binutils
5021 all-stage2: all-stage2-binutils
5022 TARGET-stage2-binutils = $(TARGET-binutils)
5023 all-stage2-binutils: configure-stage2-binutils
5024 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5025 @r=`${PWD_COMMAND}`; export r; \
5026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5027 TFLAGS="$(STAGE2_TFLAGS)"; \
5028 $(HOST_EXPORTS) \
5029 $(POSTSTAGE1_HOST_EXPORTS) \
5030 cd $(HOST_SUBDIR)/binutils && \
5031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5032 CFLAGS="$(STAGE2_CFLAGS)" \
5033 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5034 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5039 TFLAGS="$(STAGE2_TFLAGS)" \
5040 $(TARGET-stage2-binutils)
5042 maybe-clean-stage2-binutils: clean-stage2-binutils
5043 clean-stage2: clean-stage2-binutils
5044 clean-stage2-binutils:
5045 @if [ $(current_stage) = stage2 ]; then \
5046 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5047 else \
5048 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5049 $(MAKE) stage2-start; \
5050 fi; \
5051 cd $(HOST_SUBDIR)/binutils && \
5052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5053 @endif binutils-bootstrap
5056 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5057 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5058 maybe-all-stage3-binutils:
5059 maybe-clean-stage3-binutils:
5060 @if binutils-bootstrap
5061 maybe-all-stage3-binutils: all-stage3-binutils
5062 all-stage3: all-stage3-binutils
5063 TARGET-stage3-binutils = $(TARGET-binutils)
5064 all-stage3-binutils: configure-stage3-binutils
5065 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5066 @r=`${PWD_COMMAND}`; export r; \
5067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5068 TFLAGS="$(STAGE3_TFLAGS)"; \
5069 $(HOST_EXPORTS) \
5070 $(POSTSTAGE1_HOST_EXPORTS) \
5071 cd $(HOST_SUBDIR)/binutils && \
5072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5073 CFLAGS="$(STAGE3_CFLAGS)" \
5074 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5075 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5080 TFLAGS="$(STAGE3_TFLAGS)" \
5081 $(TARGET-stage3-binutils)
5083 maybe-clean-stage3-binutils: clean-stage3-binutils
5084 clean-stage3: clean-stage3-binutils
5085 clean-stage3-binutils:
5086 @if [ $(current_stage) = stage3 ]; then \
5087 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5088 else \
5089 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5090 $(MAKE) stage3-start; \
5091 fi; \
5092 cd $(HOST_SUBDIR)/binutils && \
5093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5094 @endif binutils-bootstrap
5097 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5098 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5099 maybe-all-stage4-binutils:
5100 maybe-clean-stage4-binutils:
5101 @if binutils-bootstrap
5102 maybe-all-stage4-binutils: all-stage4-binutils
5103 all-stage4: all-stage4-binutils
5104 TARGET-stage4-binutils = $(TARGET-binutils)
5105 all-stage4-binutils: configure-stage4-binutils
5106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5107 @r=`${PWD_COMMAND}`; export r; \
5108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5109 TFLAGS="$(STAGE4_TFLAGS)"; \
5110 $(HOST_EXPORTS) \
5111 $(POSTSTAGE1_HOST_EXPORTS) \
5112 cd $(HOST_SUBDIR)/binutils && \
5113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5114 CFLAGS="$(STAGE4_CFLAGS)" \
5115 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5116 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5121 TFLAGS="$(STAGE4_TFLAGS)" \
5122 $(TARGET-stage4-binutils)
5124 maybe-clean-stage4-binutils: clean-stage4-binutils
5125 clean-stage4: clean-stage4-binutils
5126 clean-stage4-binutils:
5127 @if [ $(current_stage) = stage4 ]; then \
5128 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5129 else \
5130 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5131 $(MAKE) stage4-start; \
5132 fi; \
5133 cd $(HOST_SUBDIR)/binutils && \
5134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5135 @endif binutils-bootstrap
5138 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5139 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5140 maybe-all-stageprofile-binutils:
5141 maybe-clean-stageprofile-binutils:
5142 @if binutils-bootstrap
5143 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5144 all-stageprofile: all-stageprofile-binutils
5145 TARGET-stageprofile-binutils = $(TARGET-binutils)
5146 all-stageprofile-binutils: configure-stageprofile-binutils
5147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5148 @r=`${PWD_COMMAND}`; export r; \
5149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5150 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5151 $(HOST_EXPORTS) \
5152 $(POSTSTAGE1_HOST_EXPORTS) \
5153 cd $(HOST_SUBDIR)/binutils && \
5154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5155 CFLAGS="$(STAGEprofile_CFLAGS)" \
5156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5157 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5162 TFLAGS="$(STAGEprofile_TFLAGS)" \
5163 $(TARGET-stageprofile-binutils)
5165 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5166 clean-stageprofile: clean-stageprofile-binutils
5167 clean-stageprofile-binutils:
5168 @if [ $(current_stage) = stageprofile ]; then \
5169 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5170 else \
5171 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5172 $(MAKE) stageprofile-start; \
5173 fi; \
5174 cd $(HOST_SUBDIR)/binutils && \
5175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5176 @endif binutils-bootstrap
5179 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5180 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5181 maybe-all-stagefeedback-binutils:
5182 maybe-clean-stagefeedback-binutils:
5183 @if binutils-bootstrap
5184 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5185 all-stagefeedback: all-stagefeedback-binutils
5186 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5187 all-stagefeedback-binutils: configure-stagefeedback-binutils
5188 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5189 @r=`${PWD_COMMAND}`; export r; \
5190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5191 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5192 $(HOST_EXPORTS) \
5193 $(POSTSTAGE1_HOST_EXPORTS) \
5194 cd $(HOST_SUBDIR)/binutils && \
5195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5196 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5203 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5204 $(TARGET-stagefeedback-binutils)
5206 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5207 clean-stagefeedback: clean-stagefeedback-binutils
5208 clean-stagefeedback-binutils:
5209 @if [ $(current_stage) = stagefeedback ]; then \
5210 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5211 else \
5212 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5213 $(MAKE) stagefeedback-start; \
5214 fi; \
5215 cd $(HOST_SUBDIR)/binutils && \
5216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5217 @endif binutils-bootstrap
5223 .PHONY: check-binutils maybe-check-binutils
5224 maybe-check-binutils:
5225 @if binutils
5226 maybe-check-binutils: check-binutils
5228 check-binutils:
5229 @: $(MAKE); $(unstage)
5230 @r=`${PWD_COMMAND}`; export r; \
5231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5232 $(HOST_EXPORTS) \
5233 (cd $(HOST_SUBDIR)/binutils && \
5234 $(MAKE) $(FLAGS_TO_PASS) check)
5236 @endif binutils
5238 .PHONY: install-binutils maybe-install-binutils
5239 maybe-install-binutils:
5240 @if binutils
5241 maybe-install-binutils: install-binutils
5243 install-binutils: installdirs
5244 @: $(MAKE); $(unstage)
5245 @r=`${PWD_COMMAND}`; export r; \
5246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5247 $(HOST_EXPORTS) \
5248 (cd $(HOST_SUBDIR)/binutils && \
5249 $(MAKE) $(FLAGS_TO_PASS) install)
5251 @endif binutils
5253 .PHONY: install-strip-binutils maybe-install-strip-binutils
5254 maybe-install-strip-binutils:
5255 @if binutils
5256 maybe-install-strip-binutils: install-strip-binutils
5258 install-strip-binutils: installdirs
5259 @: $(MAKE); $(unstage)
5260 @r=`${PWD_COMMAND}`; export r; \
5261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 $(HOST_EXPORTS) \
5263 (cd $(HOST_SUBDIR)/binutils && \
5264 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5266 @endif binutils
5268 # Other targets (info, dvi, pdf, etc.)
5270 .PHONY: maybe-info-binutils info-binutils
5271 maybe-info-binutils:
5272 @if binutils
5273 maybe-info-binutils: info-binutils
5275 info-binutils: \
5276 configure-binutils
5277 @[ -f ./binutils/Makefile ] || exit 0; \
5278 r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 $(HOST_EXPORTS) \
5281 for flag in $(EXTRA_HOST_FLAGS) ; do \
5282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5283 done; \
5284 echo "Doing info in binutils" ; \
5285 (cd $(HOST_SUBDIR)/binutils && \
5286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5288 "RANLIB=$${RANLIB}" \
5289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5290 info) \
5291 || exit 1
5293 @endif binutils
5295 .PHONY: maybe-dvi-binutils dvi-binutils
5296 maybe-dvi-binutils:
5297 @if binutils
5298 maybe-dvi-binutils: dvi-binutils
5300 dvi-binutils: \
5301 configure-binutils
5302 @[ -f ./binutils/Makefile ] || exit 0; \
5303 r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 $(HOST_EXPORTS) \
5306 for flag in $(EXTRA_HOST_FLAGS) ; do \
5307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5308 done; \
5309 echo "Doing dvi in binutils" ; \
5310 (cd $(HOST_SUBDIR)/binutils && \
5311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5313 "RANLIB=$${RANLIB}" \
5314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5315 dvi) \
5316 || exit 1
5318 @endif binutils
5320 .PHONY: maybe-pdf-binutils pdf-binutils
5321 maybe-pdf-binutils:
5322 @if binutils
5323 maybe-pdf-binutils: pdf-binutils
5325 pdf-binutils: \
5326 configure-binutils
5327 @[ -f ./binutils/Makefile ] || exit 0; \
5328 r=`${PWD_COMMAND}`; export r; \
5329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5330 $(HOST_EXPORTS) \
5331 for flag in $(EXTRA_HOST_FLAGS) ; do \
5332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5333 done; \
5334 echo "Doing pdf in binutils" ; \
5335 (cd $(HOST_SUBDIR)/binutils && \
5336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5338 "RANLIB=$${RANLIB}" \
5339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5340 pdf) \
5341 || exit 1
5343 @endif binutils
5345 .PHONY: maybe-html-binutils html-binutils
5346 maybe-html-binutils:
5347 @if binutils
5348 maybe-html-binutils: html-binutils
5350 html-binutils: \
5351 configure-binutils
5352 @[ -f ./binutils/Makefile ] || exit 0; \
5353 r=`${PWD_COMMAND}`; export r; \
5354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5355 $(HOST_EXPORTS) \
5356 for flag in $(EXTRA_HOST_FLAGS) ; do \
5357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5358 done; \
5359 echo "Doing html in binutils" ; \
5360 (cd $(HOST_SUBDIR)/binutils && \
5361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5363 "RANLIB=$${RANLIB}" \
5364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5365 html) \
5366 || exit 1
5368 @endif binutils
5370 .PHONY: maybe-TAGS-binutils TAGS-binutils
5371 maybe-TAGS-binutils:
5372 @if binutils
5373 maybe-TAGS-binutils: TAGS-binutils
5375 TAGS-binutils: \
5376 configure-binutils
5377 @[ -f ./binutils/Makefile ] || exit 0; \
5378 r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 $(HOST_EXPORTS) \
5381 for flag in $(EXTRA_HOST_FLAGS) ; do \
5382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5383 done; \
5384 echo "Doing TAGS in binutils" ; \
5385 (cd $(HOST_SUBDIR)/binutils && \
5386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5388 "RANLIB=$${RANLIB}" \
5389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5390 TAGS) \
5391 || exit 1
5393 @endif binutils
5395 .PHONY: maybe-install-info-binutils install-info-binutils
5396 maybe-install-info-binutils:
5397 @if binutils
5398 maybe-install-info-binutils: install-info-binutils
5400 install-info-binutils: \
5401 configure-binutils \
5402 info-binutils
5403 @[ -f ./binutils/Makefile ] || exit 0; \
5404 r=`${PWD_COMMAND}`; export r; \
5405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5406 $(HOST_EXPORTS) \
5407 for flag in $(EXTRA_HOST_FLAGS) ; do \
5408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5409 done; \
5410 echo "Doing install-info in binutils" ; \
5411 (cd $(HOST_SUBDIR)/binutils && \
5412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5414 "RANLIB=$${RANLIB}" \
5415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5416 install-info) \
5417 || exit 1
5419 @endif binutils
5421 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5422 maybe-install-pdf-binutils:
5423 @if binutils
5424 maybe-install-pdf-binutils: install-pdf-binutils
5426 install-pdf-binutils: \
5427 configure-binutils \
5428 pdf-binutils
5429 @[ -f ./binutils/Makefile ] || exit 0; \
5430 r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5432 $(HOST_EXPORTS) \
5433 for flag in $(EXTRA_HOST_FLAGS) ; do \
5434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5435 done; \
5436 echo "Doing install-pdf in binutils" ; \
5437 (cd $(HOST_SUBDIR)/binutils && \
5438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5440 "RANLIB=$${RANLIB}" \
5441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5442 install-pdf) \
5443 || exit 1
5445 @endif binutils
5447 .PHONY: maybe-install-html-binutils install-html-binutils
5448 maybe-install-html-binutils:
5449 @if binutils
5450 maybe-install-html-binutils: install-html-binutils
5452 install-html-binutils: \
5453 configure-binutils \
5454 html-binutils
5455 @[ -f ./binutils/Makefile ] || exit 0; \
5456 r=`${PWD_COMMAND}`; export r; \
5457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 $(HOST_EXPORTS) \
5459 for flag in $(EXTRA_HOST_FLAGS) ; do \
5460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5461 done; \
5462 echo "Doing install-html in binutils" ; \
5463 (cd $(HOST_SUBDIR)/binutils && \
5464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5466 "RANLIB=$${RANLIB}" \
5467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5468 install-html) \
5469 || exit 1
5471 @endif binutils
5473 .PHONY: maybe-installcheck-binutils installcheck-binutils
5474 maybe-installcheck-binutils:
5475 @if binutils
5476 maybe-installcheck-binutils: installcheck-binutils
5478 installcheck-binutils: \
5479 configure-binutils
5480 @[ -f ./binutils/Makefile ] || exit 0; \
5481 r=`${PWD_COMMAND}`; export r; \
5482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5483 $(HOST_EXPORTS) \
5484 for flag in $(EXTRA_HOST_FLAGS) ; do \
5485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5486 done; \
5487 echo "Doing installcheck in binutils" ; \
5488 (cd $(HOST_SUBDIR)/binutils && \
5489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5491 "RANLIB=$${RANLIB}" \
5492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5493 installcheck) \
5494 || exit 1
5496 @endif binutils
5498 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5499 maybe-mostlyclean-binutils:
5500 @if binutils
5501 maybe-mostlyclean-binutils: mostlyclean-binutils
5503 mostlyclean-binutils:
5504 @[ -f ./binutils/Makefile ] || exit 0; \
5505 r=`${PWD_COMMAND}`; export r; \
5506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5507 $(HOST_EXPORTS) \
5508 for flag in $(EXTRA_HOST_FLAGS) ; do \
5509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5510 done; \
5511 echo "Doing mostlyclean in binutils" ; \
5512 (cd $(HOST_SUBDIR)/binutils && \
5513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5515 "RANLIB=$${RANLIB}" \
5516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5517 mostlyclean) \
5518 || exit 1
5520 @endif binutils
5522 .PHONY: maybe-clean-binutils clean-binutils
5523 maybe-clean-binutils:
5524 @if binutils
5525 maybe-clean-binutils: clean-binutils
5527 clean-binutils:
5528 @[ -f ./binutils/Makefile ] || exit 0; \
5529 r=`${PWD_COMMAND}`; export r; \
5530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5531 $(HOST_EXPORTS) \
5532 for flag in $(EXTRA_HOST_FLAGS) ; do \
5533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5534 done; \
5535 echo "Doing clean in binutils" ; \
5536 (cd $(HOST_SUBDIR)/binutils && \
5537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5539 "RANLIB=$${RANLIB}" \
5540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5541 clean) \
5542 || exit 1
5544 @endif binutils
5546 .PHONY: maybe-distclean-binutils distclean-binutils
5547 maybe-distclean-binutils:
5548 @if binutils
5549 maybe-distclean-binutils: distclean-binutils
5551 distclean-binutils:
5552 @[ -f ./binutils/Makefile ] || exit 0; \
5553 r=`${PWD_COMMAND}`; export r; \
5554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5555 $(HOST_EXPORTS) \
5556 for flag in $(EXTRA_HOST_FLAGS) ; do \
5557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5558 done; \
5559 echo "Doing distclean in binutils" ; \
5560 (cd $(HOST_SUBDIR)/binutils && \
5561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5563 "RANLIB=$${RANLIB}" \
5564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5565 distclean) \
5566 || exit 1
5568 @endif binutils
5570 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5571 maybe-maintainer-clean-binutils:
5572 @if binutils
5573 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5575 maintainer-clean-binutils:
5576 @[ -f ./binutils/Makefile ] || exit 0; \
5577 r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 $(HOST_EXPORTS) \
5580 for flag in $(EXTRA_HOST_FLAGS) ; do \
5581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5582 done; \
5583 echo "Doing maintainer-clean in binutils" ; \
5584 (cd $(HOST_SUBDIR)/binutils && \
5585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5587 "RANLIB=$${RANLIB}" \
5588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5589 maintainer-clean) \
5590 || exit 1
5592 @endif binutils
5596 .PHONY: configure-bison maybe-configure-bison
5597 maybe-configure-bison:
5598 @if gcc-bootstrap
5599 configure-bison: stage_current
5600 @endif gcc-bootstrap
5601 @if bison
5602 maybe-configure-bison: configure-bison
5603 configure-bison:
5604 @: $(MAKE); $(unstage)
5605 @r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5609 $(HOST_EXPORTS) \
5610 echo Configuring in $(HOST_SUBDIR)/bison; \
5611 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5612 case $(srcdir) in \
5613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5614 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5616 esac; \
5617 srcdiroption="--srcdir=$${topdir}/bison"; \
5618 libsrcdir="$$s/bison"; \
5619 $(SHELL) $${libsrcdir}/configure \
5620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5621 --target=${target_alias} $${srcdiroption} \
5622 || exit 1
5623 @endif bison
5629 .PHONY: all-bison maybe-all-bison
5630 maybe-all-bison:
5631 @if gcc-bootstrap
5632 all-bison: stage_current
5633 @endif gcc-bootstrap
5634 @if bison
5635 TARGET-bison=all
5636 maybe-all-bison: all-bison
5637 all-bison: configure-bison
5638 @: $(MAKE); $(unstage)
5639 @r=`${PWD_COMMAND}`; export r; \
5640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5641 $(HOST_EXPORTS) \
5642 (cd $(HOST_SUBDIR)/bison && \
5643 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5644 $(TARGET-bison))
5645 @endif bison
5650 .PHONY: check-bison maybe-check-bison
5651 maybe-check-bison:
5652 @if bison
5653 maybe-check-bison: check-bison
5655 # This module is only tested in a native toolchain.
5656 check-bison:
5657 @: $(MAKE); $(unstage)
5658 @if [ '$(host)' = '$(target)' ] ; then \
5659 r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5661 $(HOST_EXPORTS) \
5662 (cd $(HOST_SUBDIR)/bison && \
5663 $(MAKE) $(FLAGS_TO_PASS) check); \
5666 @endif bison
5668 .PHONY: install-bison maybe-install-bison
5669 maybe-install-bison:
5670 @if bison
5671 maybe-install-bison: install-bison
5673 install-bison: installdirs
5674 @: $(MAKE); $(unstage)
5675 @r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 (cd $(HOST_SUBDIR)/bison && \
5679 $(MAKE) $(FLAGS_TO_PASS) install)
5681 @endif bison
5683 .PHONY: install-strip-bison maybe-install-strip-bison
5684 maybe-install-strip-bison:
5685 @if bison
5686 maybe-install-strip-bison: install-strip-bison
5688 install-strip-bison: installdirs
5689 @: $(MAKE); $(unstage)
5690 @r=`${PWD_COMMAND}`; export r; \
5691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 $(HOST_EXPORTS) \
5693 (cd $(HOST_SUBDIR)/bison && \
5694 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5696 @endif bison
5698 # Other targets (info, dvi, pdf, etc.)
5700 .PHONY: maybe-info-bison info-bison
5701 maybe-info-bison:
5702 @if bison
5703 maybe-info-bison: info-bison
5705 info-bison: \
5706 configure-bison
5707 @: $(MAKE); $(unstage)
5708 @[ -f ./bison/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 $(HOST_EXPORTS) \
5712 for flag in $(EXTRA_HOST_FLAGS) ; do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714 done; \
5715 echo "Doing info in bison" ; \
5716 (cd $(HOST_SUBDIR)/bison && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5721 info) \
5722 || exit 1
5724 @endif bison
5726 .PHONY: maybe-dvi-bison dvi-bison
5727 maybe-dvi-bison:
5728 @if bison
5729 maybe-dvi-bison: dvi-bison
5731 dvi-bison: \
5732 configure-bison
5733 @: $(MAKE); $(unstage)
5734 @[ -f ./bison/Makefile ] || exit 0; \
5735 r=`${PWD_COMMAND}`; export r; \
5736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5737 $(HOST_EXPORTS) \
5738 for flag in $(EXTRA_HOST_FLAGS) ; do \
5739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5740 done; \
5741 echo "Doing dvi in bison" ; \
5742 (cd $(HOST_SUBDIR)/bison && \
5743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5745 "RANLIB=$${RANLIB}" \
5746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5747 dvi) \
5748 || exit 1
5750 @endif bison
5752 .PHONY: maybe-pdf-bison pdf-bison
5753 maybe-pdf-bison:
5754 @if bison
5755 maybe-pdf-bison: pdf-bison
5757 pdf-bison: \
5758 configure-bison
5759 @: $(MAKE); $(unstage)
5760 @[ -f ./bison/Makefile ] || exit 0; \
5761 r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 $(HOST_EXPORTS) \
5764 for flag in $(EXTRA_HOST_FLAGS) ; do \
5765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5766 done; \
5767 echo "Doing pdf in bison" ; \
5768 (cd $(HOST_SUBDIR)/bison && \
5769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5771 "RANLIB=$${RANLIB}" \
5772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5773 pdf) \
5774 || exit 1
5776 @endif bison
5778 .PHONY: maybe-html-bison html-bison
5779 maybe-html-bison:
5780 @if bison
5781 maybe-html-bison: html-bison
5783 html-bison: \
5784 configure-bison
5785 @: $(MAKE); $(unstage)
5786 @[ -f ./bison/Makefile ] || exit 0; \
5787 r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5789 $(HOST_EXPORTS) \
5790 for flag in $(EXTRA_HOST_FLAGS) ; do \
5791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5792 done; \
5793 echo "Doing html in bison" ; \
5794 (cd $(HOST_SUBDIR)/bison && \
5795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5797 "RANLIB=$${RANLIB}" \
5798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5799 html) \
5800 || exit 1
5802 @endif bison
5804 .PHONY: maybe-TAGS-bison TAGS-bison
5805 maybe-TAGS-bison:
5806 @if bison
5807 maybe-TAGS-bison: TAGS-bison
5809 TAGS-bison: \
5810 configure-bison
5811 @: $(MAKE); $(unstage)
5812 @[ -f ./bison/Makefile ] || exit 0; \
5813 r=`${PWD_COMMAND}`; export r; \
5814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5815 $(HOST_EXPORTS) \
5816 for flag in $(EXTRA_HOST_FLAGS) ; do \
5817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5818 done; \
5819 echo "Doing TAGS in bison" ; \
5820 (cd $(HOST_SUBDIR)/bison && \
5821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5823 "RANLIB=$${RANLIB}" \
5824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5825 TAGS) \
5826 || exit 1
5828 @endif bison
5830 .PHONY: maybe-install-info-bison install-info-bison
5831 maybe-install-info-bison:
5832 @if bison
5833 maybe-install-info-bison: install-info-bison
5835 install-info-bison: \
5836 configure-bison \
5837 info-bison
5838 @: $(MAKE); $(unstage)
5839 @[ -f ./bison/Makefile ] || exit 0; \
5840 r=`${PWD_COMMAND}`; export r; \
5841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5842 $(HOST_EXPORTS) \
5843 for flag in $(EXTRA_HOST_FLAGS) ; do \
5844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5845 done; \
5846 echo "Doing install-info in bison" ; \
5847 (cd $(HOST_SUBDIR)/bison && \
5848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5850 "RANLIB=$${RANLIB}" \
5851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5852 install-info) \
5853 || exit 1
5855 @endif bison
5857 .PHONY: maybe-install-pdf-bison install-pdf-bison
5858 maybe-install-pdf-bison:
5859 @if bison
5860 maybe-install-pdf-bison: install-pdf-bison
5862 install-pdf-bison: \
5863 configure-bison \
5864 pdf-bison
5865 @: $(MAKE); $(unstage)
5866 @[ -f ./bison/Makefile ] || exit 0; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing install-pdf in bison" ; \
5874 (cd $(HOST_SUBDIR)/bison && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5879 install-pdf) \
5880 || exit 1
5882 @endif bison
5884 .PHONY: maybe-install-html-bison install-html-bison
5885 maybe-install-html-bison:
5886 @if bison
5887 maybe-install-html-bison: install-html-bison
5889 install-html-bison: \
5890 configure-bison \
5891 html-bison
5892 @: $(MAKE); $(unstage)
5893 @[ -f ./bison/Makefile ] || exit 0; \
5894 r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 $(HOST_EXPORTS) \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5899 done; \
5900 echo "Doing install-html in bison" ; \
5901 (cd $(HOST_SUBDIR)/bison && \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5906 install-html) \
5907 || exit 1
5909 @endif bison
5911 .PHONY: maybe-installcheck-bison installcheck-bison
5912 maybe-installcheck-bison:
5913 @if bison
5914 maybe-installcheck-bison: installcheck-bison
5916 installcheck-bison: \
5917 configure-bison
5918 @: $(MAKE); $(unstage)
5919 @[ -f ./bison/Makefile ] || exit 0; \
5920 r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 $(HOST_EXPORTS) \
5923 for flag in $(EXTRA_HOST_FLAGS) ; do \
5924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5925 done; \
5926 echo "Doing installcheck in bison" ; \
5927 (cd $(HOST_SUBDIR)/bison && \
5928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5930 "RANLIB=$${RANLIB}" \
5931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5932 installcheck) \
5933 || exit 1
5935 @endif bison
5937 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5938 maybe-mostlyclean-bison:
5939 @if bison
5940 maybe-mostlyclean-bison: mostlyclean-bison
5942 mostlyclean-bison:
5943 @: $(MAKE); $(unstage)
5944 @[ -f ./bison/Makefile ] || exit 0; \
5945 r=`${PWD_COMMAND}`; export r; \
5946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5947 $(HOST_EXPORTS) \
5948 for flag in $(EXTRA_HOST_FLAGS) ; do \
5949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5950 done; \
5951 echo "Doing mostlyclean in bison" ; \
5952 (cd $(HOST_SUBDIR)/bison && \
5953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5955 "RANLIB=$${RANLIB}" \
5956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5957 mostlyclean) \
5958 || exit 1
5960 @endif bison
5962 .PHONY: maybe-clean-bison clean-bison
5963 maybe-clean-bison:
5964 @if bison
5965 maybe-clean-bison: clean-bison
5967 clean-bison:
5968 @: $(MAKE); $(unstage)
5969 @[ -f ./bison/Makefile ] || exit 0; \
5970 r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 $(HOST_EXPORTS) \
5973 for flag in $(EXTRA_HOST_FLAGS) ; do \
5974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5975 done; \
5976 echo "Doing clean in bison" ; \
5977 (cd $(HOST_SUBDIR)/bison && \
5978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5980 "RANLIB=$${RANLIB}" \
5981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5982 clean) \
5983 || exit 1
5985 @endif bison
5987 .PHONY: maybe-distclean-bison distclean-bison
5988 maybe-distclean-bison:
5989 @if bison
5990 maybe-distclean-bison: distclean-bison
5992 distclean-bison:
5993 @: $(MAKE); $(unstage)
5994 @[ -f ./bison/Makefile ] || exit 0; \
5995 r=`${PWD_COMMAND}`; export r; \
5996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5997 $(HOST_EXPORTS) \
5998 for flag in $(EXTRA_HOST_FLAGS) ; do \
5999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6000 done; \
6001 echo "Doing distclean in bison" ; \
6002 (cd $(HOST_SUBDIR)/bison && \
6003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6005 "RANLIB=$${RANLIB}" \
6006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6007 distclean) \
6008 || exit 1
6010 @endif bison
6012 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6013 maybe-maintainer-clean-bison:
6014 @if bison
6015 maybe-maintainer-clean-bison: maintainer-clean-bison
6017 maintainer-clean-bison:
6018 @: $(MAKE); $(unstage)
6019 @[ -f ./bison/Makefile ] || exit 0; \
6020 r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6022 $(HOST_EXPORTS) \
6023 for flag in $(EXTRA_HOST_FLAGS) ; do \
6024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6025 done; \
6026 echo "Doing maintainer-clean in bison" ; \
6027 (cd $(HOST_SUBDIR)/bison && \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030 "RANLIB=$${RANLIB}" \
6031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6032 maintainer-clean) \
6033 || exit 1
6035 @endif bison
6039 .PHONY: configure-cgen maybe-configure-cgen
6040 maybe-configure-cgen:
6041 @if gcc-bootstrap
6042 configure-cgen: stage_current
6043 @endif gcc-bootstrap
6044 @if cgen
6045 maybe-configure-cgen: configure-cgen
6046 configure-cgen:
6047 @: $(MAKE); $(unstage)
6048 @r=`${PWD_COMMAND}`; export r; \
6049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6052 $(HOST_EXPORTS) \
6053 echo Configuring in $(HOST_SUBDIR)/cgen; \
6054 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6055 case $(srcdir) in \
6056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6057 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6059 esac; \
6060 srcdiroption="--srcdir=$${topdir}/cgen"; \
6061 libsrcdir="$$s/cgen"; \
6062 $(SHELL) $${libsrcdir}/configure \
6063 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6064 --target=${target_alias} $${srcdiroption} \
6065 || exit 1
6066 @endif cgen
6072 .PHONY: all-cgen maybe-all-cgen
6073 maybe-all-cgen:
6074 @if gcc-bootstrap
6075 all-cgen: stage_current
6076 @endif gcc-bootstrap
6077 @if cgen
6078 TARGET-cgen=all
6079 maybe-all-cgen: all-cgen
6080 all-cgen: configure-cgen
6081 @: $(MAKE); $(unstage)
6082 @r=`${PWD_COMMAND}`; export r; \
6083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6084 $(HOST_EXPORTS) \
6085 (cd $(HOST_SUBDIR)/cgen && \
6086 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6087 $(TARGET-cgen))
6088 @endif cgen
6093 .PHONY: check-cgen maybe-check-cgen
6094 maybe-check-cgen:
6095 @if cgen
6096 maybe-check-cgen: check-cgen
6098 check-cgen:
6099 @: $(MAKE); $(unstage)
6100 @r=`${PWD_COMMAND}`; export r; \
6101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6102 $(HOST_EXPORTS) \
6103 (cd $(HOST_SUBDIR)/cgen && \
6104 $(MAKE) $(FLAGS_TO_PASS) check)
6106 @endif cgen
6108 .PHONY: install-cgen maybe-install-cgen
6109 maybe-install-cgen:
6110 @if cgen
6111 maybe-install-cgen: install-cgen
6113 install-cgen: installdirs
6114 @: $(MAKE); $(unstage)
6115 @r=`${PWD_COMMAND}`; export r; \
6116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6117 $(HOST_EXPORTS) \
6118 (cd $(HOST_SUBDIR)/cgen && \
6119 $(MAKE) $(FLAGS_TO_PASS) install)
6121 @endif cgen
6123 .PHONY: install-strip-cgen maybe-install-strip-cgen
6124 maybe-install-strip-cgen:
6125 @if cgen
6126 maybe-install-strip-cgen: install-strip-cgen
6128 install-strip-cgen: installdirs
6129 @: $(MAKE); $(unstage)
6130 @r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6132 $(HOST_EXPORTS) \
6133 (cd $(HOST_SUBDIR)/cgen && \
6134 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6136 @endif cgen
6138 # Other targets (info, dvi, pdf, etc.)
6140 .PHONY: maybe-info-cgen info-cgen
6141 maybe-info-cgen:
6142 @if cgen
6143 maybe-info-cgen: info-cgen
6145 info-cgen: \
6146 configure-cgen
6147 @: $(MAKE); $(unstage)
6148 @[ -f ./cgen/Makefile ] || exit 0; \
6149 r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 $(HOST_EXPORTS) \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 done; \
6155 echo "Doing info in cgen" ; \
6156 (cd $(HOST_SUBDIR)/cgen && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6161 info) \
6162 || exit 1
6164 @endif cgen
6166 .PHONY: maybe-dvi-cgen dvi-cgen
6167 maybe-dvi-cgen:
6168 @if cgen
6169 maybe-dvi-cgen: dvi-cgen
6171 dvi-cgen: \
6172 configure-cgen
6173 @: $(MAKE); $(unstage)
6174 @[ -f ./cgen/Makefile ] || exit 0; \
6175 r=`${PWD_COMMAND}`; export r; \
6176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6177 $(HOST_EXPORTS) \
6178 for flag in $(EXTRA_HOST_FLAGS) ; do \
6179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6180 done; \
6181 echo "Doing dvi in cgen" ; \
6182 (cd $(HOST_SUBDIR)/cgen && \
6183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6185 "RANLIB=$${RANLIB}" \
6186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6187 dvi) \
6188 || exit 1
6190 @endif cgen
6192 .PHONY: maybe-pdf-cgen pdf-cgen
6193 maybe-pdf-cgen:
6194 @if cgen
6195 maybe-pdf-cgen: pdf-cgen
6197 pdf-cgen: \
6198 configure-cgen
6199 @: $(MAKE); $(unstage)
6200 @[ -f ./cgen/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing pdf in cgen" ; \
6208 (cd $(HOST_SUBDIR)/cgen && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6213 pdf) \
6214 || exit 1
6216 @endif cgen
6218 .PHONY: maybe-html-cgen html-cgen
6219 maybe-html-cgen:
6220 @if cgen
6221 maybe-html-cgen: html-cgen
6223 html-cgen: \
6224 configure-cgen
6225 @: $(MAKE); $(unstage)
6226 @[ -f ./cgen/Makefile ] || exit 0; \
6227 r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 for flag in $(EXTRA_HOST_FLAGS) ; do \
6231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6232 done; \
6233 echo "Doing html in cgen" ; \
6234 (cd $(HOST_SUBDIR)/cgen && \
6235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6237 "RANLIB=$${RANLIB}" \
6238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6239 html) \
6240 || exit 1
6242 @endif cgen
6244 .PHONY: maybe-TAGS-cgen TAGS-cgen
6245 maybe-TAGS-cgen:
6246 @if cgen
6247 maybe-TAGS-cgen: TAGS-cgen
6249 TAGS-cgen: \
6250 configure-cgen
6251 @: $(MAKE); $(unstage)
6252 @[ -f ./cgen/Makefile ] || exit 0; \
6253 r=`${PWD_COMMAND}`; export r; \
6254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6255 $(HOST_EXPORTS) \
6256 for flag in $(EXTRA_HOST_FLAGS) ; do \
6257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6258 done; \
6259 echo "Doing TAGS in cgen" ; \
6260 (cd $(HOST_SUBDIR)/cgen && \
6261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6263 "RANLIB=$${RANLIB}" \
6264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6265 TAGS) \
6266 || exit 1
6268 @endif cgen
6270 .PHONY: maybe-install-info-cgen install-info-cgen
6271 maybe-install-info-cgen:
6272 @if cgen
6273 maybe-install-info-cgen: install-info-cgen
6275 install-info-cgen: \
6276 configure-cgen \
6277 info-cgen
6278 @: $(MAKE); $(unstage)
6279 @[ -f ./cgen/Makefile ] || exit 0; \
6280 r=`${PWD_COMMAND}`; export r; \
6281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6282 $(HOST_EXPORTS) \
6283 for flag in $(EXTRA_HOST_FLAGS) ; do \
6284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6285 done; \
6286 echo "Doing install-info in cgen" ; \
6287 (cd $(HOST_SUBDIR)/cgen && \
6288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6290 "RANLIB=$${RANLIB}" \
6291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6292 install-info) \
6293 || exit 1
6295 @endif cgen
6297 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6298 maybe-install-pdf-cgen:
6299 @if cgen
6300 maybe-install-pdf-cgen: install-pdf-cgen
6302 install-pdf-cgen: \
6303 configure-cgen \
6304 pdf-cgen
6305 @: $(MAKE); $(unstage)
6306 @[ -f ./cgen/Makefile ] || exit 0; \
6307 r=`${PWD_COMMAND}`; export r; \
6308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6309 $(HOST_EXPORTS) \
6310 for flag in $(EXTRA_HOST_FLAGS) ; do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312 done; \
6313 echo "Doing install-pdf in cgen" ; \
6314 (cd $(HOST_SUBDIR)/cgen && \
6315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317 "RANLIB=$${RANLIB}" \
6318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6319 install-pdf) \
6320 || exit 1
6322 @endif cgen
6324 .PHONY: maybe-install-html-cgen install-html-cgen
6325 maybe-install-html-cgen:
6326 @if cgen
6327 maybe-install-html-cgen: install-html-cgen
6329 install-html-cgen: \
6330 configure-cgen \
6331 html-cgen
6332 @: $(MAKE); $(unstage)
6333 @[ -f ./cgen/Makefile ] || exit 0; \
6334 r=`${PWD_COMMAND}`; export r; \
6335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6336 $(HOST_EXPORTS) \
6337 for flag in $(EXTRA_HOST_FLAGS) ; do \
6338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6339 done; \
6340 echo "Doing install-html in cgen" ; \
6341 (cd $(HOST_SUBDIR)/cgen && \
6342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6344 "RANLIB=$${RANLIB}" \
6345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6346 install-html) \
6347 || exit 1
6349 @endif cgen
6351 .PHONY: maybe-installcheck-cgen installcheck-cgen
6352 maybe-installcheck-cgen:
6353 @if cgen
6354 maybe-installcheck-cgen: installcheck-cgen
6356 installcheck-cgen: \
6357 configure-cgen
6358 @: $(MAKE); $(unstage)
6359 @[ -f ./cgen/Makefile ] || exit 0; \
6360 r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 $(HOST_EXPORTS) \
6363 for flag in $(EXTRA_HOST_FLAGS) ; do \
6364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6365 done; \
6366 echo "Doing installcheck in cgen" ; \
6367 (cd $(HOST_SUBDIR)/cgen && \
6368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6370 "RANLIB=$${RANLIB}" \
6371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6372 installcheck) \
6373 || exit 1
6375 @endif cgen
6377 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6378 maybe-mostlyclean-cgen:
6379 @if cgen
6380 maybe-mostlyclean-cgen: mostlyclean-cgen
6382 mostlyclean-cgen:
6383 @: $(MAKE); $(unstage)
6384 @[ -f ./cgen/Makefile ] || exit 0; \
6385 r=`${PWD_COMMAND}`; export r; \
6386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6387 $(HOST_EXPORTS) \
6388 for flag in $(EXTRA_HOST_FLAGS) ; do \
6389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6390 done; \
6391 echo "Doing mostlyclean in cgen" ; \
6392 (cd $(HOST_SUBDIR)/cgen && \
6393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6395 "RANLIB=$${RANLIB}" \
6396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6397 mostlyclean) \
6398 || exit 1
6400 @endif cgen
6402 .PHONY: maybe-clean-cgen clean-cgen
6403 maybe-clean-cgen:
6404 @if cgen
6405 maybe-clean-cgen: clean-cgen
6407 clean-cgen:
6408 @: $(MAKE); $(unstage)
6409 @[ -f ./cgen/Makefile ] || exit 0; \
6410 r=`${PWD_COMMAND}`; export r; \
6411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6412 $(HOST_EXPORTS) \
6413 for flag in $(EXTRA_HOST_FLAGS) ; do \
6414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6415 done; \
6416 echo "Doing clean in cgen" ; \
6417 (cd $(HOST_SUBDIR)/cgen && \
6418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6420 "RANLIB=$${RANLIB}" \
6421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6422 clean) \
6423 || exit 1
6425 @endif cgen
6427 .PHONY: maybe-distclean-cgen distclean-cgen
6428 maybe-distclean-cgen:
6429 @if cgen
6430 maybe-distclean-cgen: distclean-cgen
6432 distclean-cgen:
6433 @: $(MAKE); $(unstage)
6434 @[ -f ./cgen/Makefile ] || exit 0; \
6435 r=`${PWD_COMMAND}`; export r; \
6436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 $(HOST_EXPORTS) \
6438 for flag in $(EXTRA_HOST_FLAGS) ; do \
6439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6440 done; \
6441 echo "Doing distclean in cgen" ; \
6442 (cd $(HOST_SUBDIR)/cgen && \
6443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6445 "RANLIB=$${RANLIB}" \
6446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6447 distclean) \
6448 || exit 1
6450 @endif cgen
6452 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6453 maybe-maintainer-clean-cgen:
6454 @if cgen
6455 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6457 maintainer-clean-cgen:
6458 @: $(MAKE); $(unstage)
6459 @[ -f ./cgen/Makefile ] || exit 0; \
6460 r=`${PWD_COMMAND}`; export r; \
6461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6462 $(HOST_EXPORTS) \
6463 for flag in $(EXTRA_HOST_FLAGS) ; do \
6464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6465 done; \
6466 echo "Doing maintainer-clean in cgen" ; \
6467 (cd $(HOST_SUBDIR)/cgen && \
6468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6470 "RANLIB=$${RANLIB}" \
6471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6472 maintainer-clean) \
6473 || exit 1
6475 @endif cgen
6479 .PHONY: configure-dejagnu maybe-configure-dejagnu
6480 maybe-configure-dejagnu:
6481 @if gcc-bootstrap
6482 configure-dejagnu: stage_current
6483 @endif gcc-bootstrap
6484 @if dejagnu
6485 maybe-configure-dejagnu: configure-dejagnu
6486 configure-dejagnu:
6487 @: $(MAKE); $(unstage)
6488 @r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6490 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6492 $(HOST_EXPORTS) \
6493 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6494 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6495 case $(srcdir) in \
6496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6497 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6499 esac; \
6500 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6501 libsrcdir="$$s/dejagnu"; \
6502 $(SHELL) $${libsrcdir}/configure \
6503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6504 --target=${target_alias} $${srcdiroption} \
6505 || exit 1
6506 @endif dejagnu
6512 .PHONY: all-dejagnu maybe-all-dejagnu
6513 maybe-all-dejagnu:
6514 @if gcc-bootstrap
6515 all-dejagnu: stage_current
6516 @endif gcc-bootstrap
6517 @if dejagnu
6518 TARGET-dejagnu=all
6519 maybe-all-dejagnu: all-dejagnu
6520 all-dejagnu: configure-dejagnu
6521 @: $(MAKE); $(unstage)
6522 @r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 (cd $(HOST_SUBDIR)/dejagnu && \
6526 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6527 $(TARGET-dejagnu))
6528 @endif dejagnu
6533 .PHONY: check-dejagnu maybe-check-dejagnu
6534 maybe-check-dejagnu:
6535 @if dejagnu
6536 maybe-check-dejagnu: check-dejagnu
6538 check-dejagnu:
6539 @: $(MAKE); $(unstage)
6540 @r=`${PWD_COMMAND}`; export r; \
6541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6542 $(HOST_EXPORTS) \
6543 (cd $(HOST_SUBDIR)/dejagnu && \
6544 $(MAKE) $(FLAGS_TO_PASS) check)
6546 @endif dejagnu
6548 .PHONY: install-dejagnu maybe-install-dejagnu
6549 maybe-install-dejagnu:
6550 @if dejagnu
6551 maybe-install-dejagnu: install-dejagnu
6553 install-dejagnu: installdirs
6554 @: $(MAKE); $(unstage)
6555 @r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 $(HOST_EXPORTS) \
6558 (cd $(HOST_SUBDIR)/dejagnu && \
6559 $(MAKE) $(FLAGS_TO_PASS) install)
6561 @endif dejagnu
6563 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6564 maybe-install-strip-dejagnu:
6565 @if dejagnu
6566 maybe-install-strip-dejagnu: install-strip-dejagnu
6568 install-strip-dejagnu: installdirs
6569 @: $(MAKE); $(unstage)
6570 @r=`${PWD_COMMAND}`; export r; \
6571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 $(HOST_EXPORTS) \
6573 (cd $(HOST_SUBDIR)/dejagnu && \
6574 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6576 @endif dejagnu
6578 # Other targets (info, dvi, pdf, etc.)
6580 .PHONY: maybe-info-dejagnu info-dejagnu
6581 maybe-info-dejagnu:
6582 @if dejagnu
6583 maybe-info-dejagnu: info-dejagnu
6585 info-dejagnu: \
6586 configure-dejagnu
6587 @: $(MAKE); $(unstage)
6588 @[ -f ./dejagnu/Makefile ] || exit 0; \
6589 r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(HOST_EXPORTS) \
6592 for flag in $(EXTRA_HOST_FLAGS) ; do \
6593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6594 done; \
6595 echo "Doing info in dejagnu" ; \
6596 (cd $(HOST_SUBDIR)/dejagnu && \
6597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6599 "RANLIB=$${RANLIB}" \
6600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6601 info) \
6602 || exit 1
6604 @endif dejagnu
6606 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6607 maybe-dvi-dejagnu:
6608 @if dejagnu
6609 maybe-dvi-dejagnu: dvi-dejagnu
6611 dvi-dejagnu: \
6612 configure-dejagnu
6613 @: $(MAKE); $(unstage)
6614 @[ -f ./dejagnu/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing dvi in dejagnu" ; \
6622 (cd $(HOST_SUBDIR)/dejagnu && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6627 dvi) \
6628 || exit 1
6630 @endif dejagnu
6632 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6633 maybe-pdf-dejagnu:
6634 @if dejagnu
6635 maybe-pdf-dejagnu: pdf-dejagnu
6637 pdf-dejagnu: \
6638 configure-dejagnu
6639 @: $(MAKE); $(unstage)
6640 @[ -f ./dejagnu/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing pdf in dejagnu" ; \
6648 (cd $(HOST_SUBDIR)/dejagnu && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6653 pdf) \
6654 || exit 1
6656 @endif dejagnu
6658 .PHONY: maybe-html-dejagnu html-dejagnu
6659 maybe-html-dejagnu:
6660 @if dejagnu
6661 maybe-html-dejagnu: html-dejagnu
6663 html-dejagnu: \
6664 configure-dejagnu
6665 @: $(MAKE); $(unstage)
6666 @[ -f ./dejagnu/Makefile ] || exit 0; \
6667 r=`${PWD_COMMAND}`; export r; \
6668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6669 $(HOST_EXPORTS) \
6670 for flag in $(EXTRA_HOST_FLAGS) ; do \
6671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6672 done; \
6673 echo "Doing html in dejagnu" ; \
6674 (cd $(HOST_SUBDIR)/dejagnu && \
6675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6677 "RANLIB=$${RANLIB}" \
6678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6679 html) \
6680 || exit 1
6682 @endif dejagnu
6684 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6685 maybe-TAGS-dejagnu:
6686 @if dejagnu
6687 maybe-TAGS-dejagnu: TAGS-dejagnu
6689 TAGS-dejagnu: \
6690 configure-dejagnu
6691 @: $(MAKE); $(unstage)
6692 @[ -f ./dejagnu/Makefile ] || exit 0; \
6693 r=`${PWD_COMMAND}`; export r; \
6694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6695 $(HOST_EXPORTS) \
6696 for flag in $(EXTRA_HOST_FLAGS) ; do \
6697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6698 done; \
6699 echo "Doing TAGS in dejagnu" ; \
6700 (cd $(HOST_SUBDIR)/dejagnu && \
6701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6703 "RANLIB=$${RANLIB}" \
6704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6705 TAGS) \
6706 || exit 1
6708 @endif dejagnu
6710 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6711 maybe-install-info-dejagnu:
6712 @if dejagnu
6713 maybe-install-info-dejagnu: install-info-dejagnu
6715 install-info-dejagnu: \
6716 configure-dejagnu \
6717 info-dejagnu
6718 @: $(MAKE); $(unstage)
6719 @[ -f ./dejagnu/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(HOST_EXPORTS) \
6723 for flag in $(EXTRA_HOST_FLAGS) ; do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing install-info in dejagnu" ; \
6727 (cd $(HOST_SUBDIR)/dejagnu && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6732 install-info) \
6733 || exit 1
6735 @endif dejagnu
6737 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6738 maybe-install-pdf-dejagnu:
6739 @if dejagnu
6740 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6742 install-pdf-dejagnu: \
6743 configure-dejagnu \
6744 pdf-dejagnu
6745 @: $(MAKE); $(unstage)
6746 @[ -f ./dejagnu/Makefile ] || exit 0; \
6747 r=`${PWD_COMMAND}`; export r; \
6748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6749 $(HOST_EXPORTS) \
6750 for flag in $(EXTRA_HOST_FLAGS) ; do \
6751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6752 done; \
6753 echo "Doing install-pdf in dejagnu" ; \
6754 (cd $(HOST_SUBDIR)/dejagnu && \
6755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6757 "RANLIB=$${RANLIB}" \
6758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6759 install-pdf) \
6760 || exit 1
6762 @endif dejagnu
6764 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6765 maybe-install-html-dejagnu:
6766 @if dejagnu
6767 maybe-install-html-dejagnu: install-html-dejagnu
6769 install-html-dejagnu: \
6770 configure-dejagnu \
6771 html-dejagnu
6772 @: $(MAKE); $(unstage)
6773 @[ -f ./dejagnu/Makefile ] || exit 0; \
6774 r=`${PWD_COMMAND}`; export r; \
6775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 $(HOST_EXPORTS) \
6777 for flag in $(EXTRA_HOST_FLAGS) ; do \
6778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6779 done; \
6780 echo "Doing install-html in dejagnu" ; \
6781 (cd $(HOST_SUBDIR)/dejagnu && \
6782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6784 "RANLIB=$${RANLIB}" \
6785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6786 install-html) \
6787 || exit 1
6789 @endif dejagnu
6791 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6792 maybe-installcheck-dejagnu:
6793 @if dejagnu
6794 maybe-installcheck-dejagnu: installcheck-dejagnu
6796 installcheck-dejagnu: \
6797 configure-dejagnu
6798 @: $(MAKE); $(unstage)
6799 @[ -f ./dejagnu/Makefile ] || exit 0; \
6800 r=`${PWD_COMMAND}`; export r; \
6801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6802 $(HOST_EXPORTS) \
6803 for flag in $(EXTRA_HOST_FLAGS) ; do \
6804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6805 done; \
6806 echo "Doing installcheck in dejagnu" ; \
6807 (cd $(HOST_SUBDIR)/dejagnu && \
6808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6810 "RANLIB=$${RANLIB}" \
6811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6812 installcheck) \
6813 || exit 1
6815 @endif dejagnu
6817 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6818 maybe-mostlyclean-dejagnu:
6819 @if dejagnu
6820 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6822 mostlyclean-dejagnu:
6823 @: $(MAKE); $(unstage)
6824 @[ -f ./dejagnu/Makefile ] || exit 0; \
6825 r=`${PWD_COMMAND}`; export r; \
6826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6827 $(HOST_EXPORTS) \
6828 for flag in $(EXTRA_HOST_FLAGS) ; do \
6829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6830 done; \
6831 echo "Doing mostlyclean in dejagnu" ; \
6832 (cd $(HOST_SUBDIR)/dejagnu && \
6833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6835 "RANLIB=$${RANLIB}" \
6836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6837 mostlyclean) \
6838 || exit 1
6840 @endif dejagnu
6842 .PHONY: maybe-clean-dejagnu clean-dejagnu
6843 maybe-clean-dejagnu:
6844 @if dejagnu
6845 maybe-clean-dejagnu: clean-dejagnu
6847 clean-dejagnu:
6848 @: $(MAKE); $(unstage)
6849 @[ -f ./dejagnu/Makefile ] || exit 0; \
6850 r=`${PWD_COMMAND}`; export r; \
6851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6852 $(HOST_EXPORTS) \
6853 for flag in $(EXTRA_HOST_FLAGS) ; do \
6854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6855 done; \
6856 echo "Doing clean in dejagnu" ; \
6857 (cd $(HOST_SUBDIR)/dejagnu && \
6858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6860 "RANLIB=$${RANLIB}" \
6861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6862 clean) \
6863 || exit 1
6865 @endif dejagnu
6867 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6868 maybe-distclean-dejagnu:
6869 @if dejagnu
6870 maybe-distclean-dejagnu: distclean-dejagnu
6872 distclean-dejagnu:
6873 @: $(MAKE); $(unstage)
6874 @[ -f ./dejagnu/Makefile ] || exit 0; \
6875 r=`${PWD_COMMAND}`; export r; \
6876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 $(HOST_EXPORTS) \
6878 for flag in $(EXTRA_HOST_FLAGS) ; do \
6879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6880 done; \
6881 echo "Doing distclean in dejagnu" ; \
6882 (cd $(HOST_SUBDIR)/dejagnu && \
6883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6885 "RANLIB=$${RANLIB}" \
6886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6887 distclean) \
6888 || exit 1
6890 @endif dejagnu
6892 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6893 maybe-maintainer-clean-dejagnu:
6894 @if dejagnu
6895 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6897 maintainer-clean-dejagnu:
6898 @: $(MAKE); $(unstage)
6899 @[ -f ./dejagnu/Makefile ] || exit 0; \
6900 r=`${PWD_COMMAND}`; export r; \
6901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6902 $(HOST_EXPORTS) \
6903 for flag in $(EXTRA_HOST_FLAGS) ; do \
6904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6905 done; \
6906 echo "Doing maintainer-clean in dejagnu" ; \
6907 (cd $(HOST_SUBDIR)/dejagnu && \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6910 "RANLIB=$${RANLIB}" \
6911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6912 maintainer-clean) \
6913 || exit 1
6915 @endif dejagnu
6919 .PHONY: configure-etc maybe-configure-etc
6920 maybe-configure-etc:
6921 @if gcc-bootstrap
6922 configure-etc: stage_current
6923 @endif gcc-bootstrap
6924 @if etc
6925 maybe-configure-etc: configure-etc
6926 configure-etc:
6927 @: $(MAKE); $(unstage)
6928 @r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6930 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6932 $(HOST_EXPORTS) \
6933 echo Configuring in $(HOST_SUBDIR)/etc; \
6934 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6935 case $(srcdir) in \
6936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6937 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6939 esac; \
6940 srcdiroption="--srcdir=$${topdir}/etc"; \
6941 libsrcdir="$$s/etc"; \
6942 $(SHELL) $${libsrcdir}/configure \
6943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6944 --target=${target_alias} $${srcdiroption} \
6945 || exit 1
6946 @endif etc
6952 .PHONY: all-etc maybe-all-etc
6953 maybe-all-etc:
6954 @if gcc-bootstrap
6955 all-etc: stage_current
6956 @endif gcc-bootstrap
6957 @if etc
6958 TARGET-etc=all
6959 maybe-all-etc: all-etc
6960 all-etc: configure-etc
6961 @: $(MAKE); $(unstage)
6962 @r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 $(HOST_EXPORTS) \
6965 (cd $(HOST_SUBDIR)/etc && \
6966 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6967 $(TARGET-etc))
6968 @endif etc
6973 .PHONY: check-etc maybe-check-etc
6974 maybe-check-etc:
6975 @if etc
6976 maybe-check-etc: check-etc
6978 check-etc:
6979 @: $(MAKE); $(unstage)
6980 @r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(HOST_EXPORTS) \
6983 (cd $(HOST_SUBDIR)/etc && \
6984 $(MAKE) $(FLAGS_TO_PASS) check)
6986 @endif etc
6988 .PHONY: install-etc maybe-install-etc
6989 maybe-install-etc:
6990 @if etc
6991 maybe-install-etc: install-etc
6993 install-etc: installdirs
6994 @: $(MAKE); $(unstage)
6995 @r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(HOST_EXPORTS) \
6998 (cd $(HOST_SUBDIR)/etc && \
6999 $(MAKE) $(FLAGS_TO_PASS) install)
7001 @endif etc
7003 .PHONY: install-strip-etc maybe-install-strip-etc
7004 maybe-install-strip-etc:
7005 @if etc
7006 maybe-install-strip-etc: install-strip-etc
7008 install-strip-etc: installdirs
7009 @: $(MAKE); $(unstage)
7010 @r=`${PWD_COMMAND}`; export r; \
7011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7012 $(HOST_EXPORTS) \
7013 (cd $(HOST_SUBDIR)/etc && \
7014 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7016 @endif etc
7018 # Other targets (info, dvi, pdf, etc.)
7020 .PHONY: maybe-info-etc info-etc
7021 maybe-info-etc:
7022 @if etc
7023 maybe-info-etc: info-etc
7025 info-etc: \
7026 configure-etc
7027 @: $(MAKE); $(unstage)
7028 @[ -f ./etc/Makefile ] || exit 0; \
7029 r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031 $(HOST_EXPORTS) \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7034 done; \
7035 echo "Doing info in etc" ; \
7036 (cd $(HOST_SUBDIR)/etc && \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7041 info) \
7042 || exit 1
7044 @endif etc
7046 .PHONY: maybe-dvi-etc dvi-etc
7047 maybe-dvi-etc:
7048 @if etc
7049 maybe-dvi-etc: dvi-etc
7051 dvi-etc: \
7052 configure-etc
7053 @: $(MAKE); $(unstage)
7054 @[ -f ./etc/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 $(HOST_EXPORTS) \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 done; \
7061 echo "Doing dvi in etc" ; \
7062 (cd $(HOST_SUBDIR)/etc && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7067 dvi) \
7068 || exit 1
7070 @endif etc
7072 .PHONY: maybe-pdf-etc pdf-etc
7073 maybe-pdf-etc:
7074 @if etc
7075 maybe-pdf-etc: pdf-etc
7077 pdf-etc: \
7078 configure-etc
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./etc/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing pdf in etc" ; \
7088 (cd $(HOST_SUBDIR)/etc && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7093 pdf) \
7094 || exit 1
7096 @endif etc
7098 .PHONY: maybe-html-etc html-etc
7099 maybe-html-etc:
7100 @if etc
7101 maybe-html-etc: html-etc
7103 html-etc: \
7104 configure-etc
7105 @: $(MAKE); $(unstage)
7106 @[ -f ./etc/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 $(HOST_EXPORTS) \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7112 done; \
7113 echo "Doing html in etc" ; \
7114 (cd $(HOST_SUBDIR)/etc && \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7119 html) \
7120 || exit 1
7122 @endif etc
7124 .PHONY: maybe-TAGS-etc TAGS-etc
7125 maybe-TAGS-etc:
7126 @if etc
7127 maybe-TAGS-etc: TAGS-etc
7129 TAGS-etc: \
7130 configure-etc
7131 @: $(MAKE); $(unstage)
7132 @[ -f ./etc/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(HOST_EXPORTS) \
7136 for flag in $(EXTRA_HOST_FLAGS) ; do \
7137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7138 done; \
7139 echo "Doing TAGS in etc" ; \
7140 (cd $(HOST_SUBDIR)/etc && \
7141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7143 "RANLIB=$${RANLIB}" \
7144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7145 TAGS) \
7146 || exit 1
7148 @endif etc
7150 .PHONY: maybe-install-info-etc install-info-etc
7151 maybe-install-info-etc:
7152 @if etc
7153 maybe-install-info-etc: install-info-etc
7155 install-info-etc: \
7156 configure-etc \
7157 info-etc
7158 @: $(MAKE); $(unstage)
7159 @[ -f ./etc/Makefile ] || exit 0; \
7160 r=`${PWD_COMMAND}`; export r; \
7161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 $(HOST_EXPORTS) \
7163 for flag in $(EXTRA_HOST_FLAGS) ; do \
7164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7165 done; \
7166 echo "Doing install-info in etc" ; \
7167 (cd $(HOST_SUBDIR)/etc && \
7168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7170 "RANLIB=$${RANLIB}" \
7171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7172 install-info) \
7173 || exit 1
7175 @endif etc
7177 .PHONY: maybe-install-pdf-etc install-pdf-etc
7178 maybe-install-pdf-etc:
7179 @if etc
7180 maybe-install-pdf-etc: install-pdf-etc
7182 install-pdf-etc: \
7183 configure-etc \
7184 pdf-etc
7185 @: $(MAKE); $(unstage)
7186 @[ -f ./etc/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189 $(HOST_EXPORTS) \
7190 for flag in $(EXTRA_HOST_FLAGS) ; do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7192 done; \
7193 echo "Doing install-pdf in etc" ; \
7194 (cd $(HOST_SUBDIR)/etc && \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7199 install-pdf) \
7200 || exit 1
7202 @endif etc
7204 .PHONY: maybe-install-html-etc install-html-etc
7205 maybe-install-html-etc:
7206 @if etc
7207 maybe-install-html-etc: install-html-etc
7209 install-html-etc: \
7210 configure-etc \
7211 html-etc
7212 @: $(MAKE); $(unstage)
7213 @[ -f ./etc/Makefile ] || exit 0; \
7214 r=`${PWD_COMMAND}`; export r; \
7215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7216 $(HOST_EXPORTS) \
7217 for flag in $(EXTRA_HOST_FLAGS) ; do \
7218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7219 done; \
7220 echo "Doing install-html in etc" ; \
7221 (cd $(HOST_SUBDIR)/etc && \
7222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7224 "RANLIB=$${RANLIB}" \
7225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7226 install-html) \
7227 || exit 1
7229 @endif etc
7231 .PHONY: maybe-installcheck-etc installcheck-etc
7232 maybe-installcheck-etc:
7233 @if etc
7234 maybe-installcheck-etc: installcheck-etc
7236 installcheck-etc: \
7237 configure-etc
7238 @: $(MAKE); $(unstage)
7239 @[ -f ./etc/Makefile ] || exit 0; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 $(HOST_EXPORTS) \
7243 for flag in $(EXTRA_HOST_FLAGS) ; do \
7244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7245 done; \
7246 echo "Doing installcheck in etc" ; \
7247 (cd $(HOST_SUBDIR)/etc && \
7248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7250 "RANLIB=$${RANLIB}" \
7251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7252 installcheck) \
7253 || exit 1
7255 @endif etc
7257 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7258 maybe-mostlyclean-etc:
7259 @if etc
7260 maybe-mostlyclean-etc: mostlyclean-etc
7262 mostlyclean-etc:
7263 @: $(MAKE); $(unstage)
7264 @[ -f ./etc/Makefile ] || exit 0; \
7265 r=`${PWD_COMMAND}`; export r; \
7266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7267 $(HOST_EXPORTS) \
7268 for flag in $(EXTRA_HOST_FLAGS) ; do \
7269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7270 done; \
7271 echo "Doing mostlyclean in etc" ; \
7272 (cd $(HOST_SUBDIR)/etc && \
7273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7275 "RANLIB=$${RANLIB}" \
7276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7277 mostlyclean) \
7278 || exit 1
7280 @endif etc
7282 .PHONY: maybe-clean-etc clean-etc
7283 maybe-clean-etc:
7284 @if etc
7285 maybe-clean-etc: clean-etc
7287 clean-etc:
7288 @: $(MAKE); $(unstage)
7289 @[ -f ./etc/Makefile ] || exit 0; \
7290 r=`${PWD_COMMAND}`; export r; \
7291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7292 $(HOST_EXPORTS) \
7293 for flag in $(EXTRA_HOST_FLAGS) ; do \
7294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7295 done; \
7296 echo "Doing clean in etc" ; \
7297 (cd $(HOST_SUBDIR)/etc && \
7298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7300 "RANLIB=$${RANLIB}" \
7301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7302 clean) \
7303 || exit 1
7305 @endif etc
7307 .PHONY: maybe-distclean-etc distclean-etc
7308 maybe-distclean-etc:
7309 @if etc
7310 maybe-distclean-etc: distclean-etc
7312 distclean-etc:
7313 @: $(MAKE); $(unstage)
7314 @[ -f ./etc/Makefile ] || exit 0; \
7315 r=`${PWD_COMMAND}`; export r; \
7316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7317 $(HOST_EXPORTS) \
7318 for flag in $(EXTRA_HOST_FLAGS) ; do \
7319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7320 done; \
7321 echo "Doing distclean in etc" ; \
7322 (cd $(HOST_SUBDIR)/etc && \
7323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7325 "RANLIB=$${RANLIB}" \
7326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7327 distclean) \
7328 || exit 1
7330 @endif etc
7332 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7333 maybe-maintainer-clean-etc:
7334 @if etc
7335 maybe-maintainer-clean-etc: maintainer-clean-etc
7337 maintainer-clean-etc:
7338 @: $(MAKE); $(unstage)
7339 @[ -f ./etc/Makefile ] || exit 0; \
7340 r=`${PWD_COMMAND}`; export r; \
7341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 $(HOST_EXPORTS) \
7343 for flag in $(EXTRA_HOST_FLAGS) ; do \
7344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7345 done; \
7346 echo "Doing maintainer-clean in etc" ; \
7347 (cd $(HOST_SUBDIR)/etc && \
7348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7350 "RANLIB=$${RANLIB}" \
7351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7352 maintainer-clean) \
7353 || exit 1
7355 @endif etc
7359 .PHONY: configure-fastjar maybe-configure-fastjar
7360 maybe-configure-fastjar:
7361 @if gcc-bootstrap
7362 configure-fastjar: stage_current
7363 @endif gcc-bootstrap
7364 @if fastjar
7365 maybe-configure-fastjar: configure-fastjar
7366 configure-fastjar:
7367 @: $(MAKE); $(unstage)
7368 @r=`${PWD_COMMAND}`; export r; \
7369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7370 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7372 $(HOST_EXPORTS) \
7373 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7374 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7375 case $(srcdir) in \
7376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7377 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7379 esac; \
7380 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7381 libsrcdir="$$s/fastjar"; \
7382 $(SHELL) $${libsrcdir}/configure \
7383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7384 --target=${target_alias} $${srcdiroption} \
7385 || exit 1
7386 @endif fastjar
7392 .PHONY: all-fastjar maybe-all-fastjar
7393 maybe-all-fastjar:
7394 @if gcc-bootstrap
7395 all-fastjar: stage_current
7396 @endif gcc-bootstrap
7397 @if fastjar
7398 TARGET-fastjar=all
7399 maybe-all-fastjar: all-fastjar
7400 all-fastjar: configure-fastjar
7401 @: $(MAKE); $(unstage)
7402 @r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(HOST_EXPORTS) \
7405 (cd $(HOST_SUBDIR)/fastjar && \
7406 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7407 $(TARGET-fastjar))
7408 @endif fastjar
7413 .PHONY: check-fastjar maybe-check-fastjar
7414 maybe-check-fastjar:
7415 @if fastjar
7416 maybe-check-fastjar: check-fastjar
7418 # This module is only tested in a native toolchain.
7419 check-fastjar:
7420 @: $(MAKE); $(unstage)
7421 @if [ '$(host)' = '$(target)' ] ; then \
7422 r=`${PWD_COMMAND}`; export r; \
7423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7424 $(HOST_EXPORTS) \
7425 (cd $(HOST_SUBDIR)/fastjar && \
7426 $(MAKE) $(FLAGS_TO_PASS) check); \
7429 @endif fastjar
7431 .PHONY: install-fastjar maybe-install-fastjar
7432 maybe-install-fastjar:
7433 @if fastjar
7434 maybe-install-fastjar: install-fastjar
7436 install-fastjar: installdirs
7437 @: $(MAKE); $(unstage)
7438 @r=`${PWD_COMMAND}`; export r; \
7439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7440 $(HOST_EXPORTS) \
7441 (cd $(HOST_SUBDIR)/fastjar && \
7442 $(MAKE) $(FLAGS_TO_PASS) install)
7444 @endif fastjar
7446 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7447 maybe-install-strip-fastjar:
7448 @if fastjar
7449 maybe-install-strip-fastjar: install-strip-fastjar
7451 install-strip-fastjar: installdirs
7452 @: $(MAKE); $(unstage)
7453 @r=`${PWD_COMMAND}`; export r; \
7454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 $(HOST_EXPORTS) \
7456 (cd $(HOST_SUBDIR)/fastjar && \
7457 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7459 @endif fastjar
7461 # Other targets (info, dvi, pdf, etc.)
7463 .PHONY: maybe-info-fastjar info-fastjar
7464 maybe-info-fastjar:
7465 @if fastjar
7466 maybe-info-fastjar: info-fastjar
7468 info-fastjar: \
7469 configure-fastjar
7470 @: $(MAKE); $(unstage)
7471 @[ -f ./fastjar/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 for flag in $(EXTRA_HOST_FLAGS) ; do \
7476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7477 done; \
7478 echo "Doing info in fastjar" ; \
7479 (cd $(HOST_SUBDIR)/fastjar && \
7480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482 "RANLIB=$${RANLIB}" \
7483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7484 info) \
7485 || exit 1
7487 @endif fastjar
7489 .PHONY: maybe-dvi-fastjar dvi-fastjar
7490 maybe-dvi-fastjar:
7491 @if fastjar
7492 maybe-dvi-fastjar: dvi-fastjar
7494 dvi-fastjar: \
7495 configure-fastjar
7496 @: $(MAKE); $(unstage)
7497 @[ -f ./fastjar/Makefile ] || exit 0; \
7498 r=`${PWD_COMMAND}`; export r; \
7499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7500 $(HOST_EXPORTS) \
7501 for flag in $(EXTRA_HOST_FLAGS) ; do \
7502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7503 done; \
7504 echo "Doing dvi in fastjar" ; \
7505 (cd $(HOST_SUBDIR)/fastjar && \
7506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7508 "RANLIB=$${RANLIB}" \
7509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7510 dvi) \
7511 || exit 1
7513 @endif fastjar
7515 .PHONY: maybe-pdf-fastjar pdf-fastjar
7516 maybe-pdf-fastjar:
7517 @if fastjar
7518 maybe-pdf-fastjar: pdf-fastjar
7520 pdf-fastjar: \
7521 configure-fastjar
7522 @: $(MAKE); $(unstage)
7523 @[ -f ./fastjar/Makefile ] || exit 0; \
7524 r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526 $(HOST_EXPORTS) \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7529 done; \
7530 echo "Doing pdf in fastjar" ; \
7531 (cd $(HOST_SUBDIR)/fastjar && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7536 pdf) \
7537 || exit 1
7539 @endif fastjar
7541 .PHONY: maybe-html-fastjar html-fastjar
7542 maybe-html-fastjar:
7543 @if fastjar
7544 maybe-html-fastjar: html-fastjar
7546 html-fastjar: \
7547 configure-fastjar
7548 @: $(MAKE); $(unstage)
7549 @[ -f ./fastjar/Makefile ] || exit 0; \
7550 r=`${PWD_COMMAND}`; export r; \
7551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552 $(HOST_EXPORTS) \
7553 for flag in $(EXTRA_HOST_FLAGS) ; do \
7554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 done; \
7556 echo "Doing html in fastjar" ; \
7557 (cd $(HOST_SUBDIR)/fastjar && \
7558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7560 "RANLIB=$${RANLIB}" \
7561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7562 html) \
7563 || exit 1
7565 @endif fastjar
7567 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7568 maybe-TAGS-fastjar:
7569 @if fastjar
7570 maybe-TAGS-fastjar: TAGS-fastjar
7572 TAGS-fastjar: \
7573 configure-fastjar
7574 @: $(MAKE); $(unstage)
7575 @[ -f ./fastjar/Makefile ] || exit 0; \
7576 r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(HOST_EXPORTS) \
7579 for flag in $(EXTRA_HOST_FLAGS) ; do \
7580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7581 done; \
7582 echo "Doing TAGS in fastjar" ; \
7583 (cd $(HOST_SUBDIR)/fastjar && \
7584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7586 "RANLIB=$${RANLIB}" \
7587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7588 TAGS) \
7589 || exit 1
7591 @endif fastjar
7593 .PHONY: maybe-install-info-fastjar install-info-fastjar
7594 maybe-install-info-fastjar:
7595 @if fastjar
7596 maybe-install-info-fastjar: install-info-fastjar
7598 install-info-fastjar: \
7599 configure-fastjar \
7600 info-fastjar
7601 @: $(MAKE); $(unstage)
7602 @[ -f ./fastjar/Makefile ] || exit 0; \
7603 r=`${PWD_COMMAND}`; export r; \
7604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7605 $(HOST_EXPORTS) \
7606 for flag in $(EXTRA_HOST_FLAGS) ; do \
7607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7608 done; \
7609 echo "Doing install-info in fastjar" ; \
7610 (cd $(HOST_SUBDIR)/fastjar && \
7611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7613 "RANLIB=$${RANLIB}" \
7614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7615 install-info) \
7616 || exit 1
7618 @endif fastjar
7620 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7621 maybe-install-pdf-fastjar:
7622 @if fastjar
7623 maybe-install-pdf-fastjar: install-pdf-fastjar
7625 install-pdf-fastjar: \
7626 configure-fastjar \
7627 pdf-fastjar
7628 @: $(MAKE); $(unstage)
7629 @[ -f ./fastjar/Makefile ] || exit 0; \
7630 r=`${PWD_COMMAND}`; export r; \
7631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7632 $(HOST_EXPORTS) \
7633 for flag in $(EXTRA_HOST_FLAGS) ; do \
7634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7635 done; \
7636 echo "Doing install-pdf in fastjar" ; \
7637 (cd $(HOST_SUBDIR)/fastjar && \
7638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7640 "RANLIB=$${RANLIB}" \
7641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7642 install-pdf) \
7643 || exit 1
7645 @endif fastjar
7647 .PHONY: maybe-install-html-fastjar install-html-fastjar
7648 maybe-install-html-fastjar:
7649 @if fastjar
7650 maybe-install-html-fastjar: install-html-fastjar
7652 install-html-fastjar: \
7653 configure-fastjar \
7654 html-fastjar
7655 @: $(MAKE); $(unstage)
7656 @[ -f ./fastjar/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7659 $(HOST_EXPORTS) \
7660 for flag in $(EXTRA_HOST_FLAGS) ; do \
7661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7662 done; \
7663 echo "Doing install-html in fastjar" ; \
7664 (cd $(HOST_SUBDIR)/fastjar && \
7665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7667 "RANLIB=$${RANLIB}" \
7668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7669 install-html) \
7670 || exit 1
7672 @endif fastjar
7674 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7675 maybe-installcheck-fastjar:
7676 @if fastjar
7677 maybe-installcheck-fastjar: installcheck-fastjar
7679 installcheck-fastjar: \
7680 configure-fastjar
7681 @: $(MAKE); $(unstage)
7682 @[ -f ./fastjar/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 for flag in $(EXTRA_HOST_FLAGS) ; do \
7687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7688 done; \
7689 echo "Doing installcheck in fastjar" ; \
7690 (cd $(HOST_SUBDIR)/fastjar && \
7691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7693 "RANLIB=$${RANLIB}" \
7694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7695 installcheck) \
7696 || exit 1
7698 @endif fastjar
7700 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7701 maybe-mostlyclean-fastjar:
7702 @if fastjar
7703 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7705 mostlyclean-fastjar:
7706 @: $(MAKE); $(unstage)
7707 @[ -f ./fastjar/Makefile ] || exit 0; \
7708 r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7710 $(HOST_EXPORTS) \
7711 for flag in $(EXTRA_HOST_FLAGS) ; do \
7712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7713 done; \
7714 echo "Doing mostlyclean in fastjar" ; \
7715 (cd $(HOST_SUBDIR)/fastjar && \
7716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7718 "RANLIB=$${RANLIB}" \
7719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7720 mostlyclean) \
7721 || exit 1
7723 @endif fastjar
7725 .PHONY: maybe-clean-fastjar clean-fastjar
7726 maybe-clean-fastjar:
7727 @if fastjar
7728 maybe-clean-fastjar: clean-fastjar
7730 clean-fastjar:
7731 @: $(MAKE); $(unstage)
7732 @[ -f ./fastjar/Makefile ] || exit 0; \
7733 r=`${PWD_COMMAND}`; export r; \
7734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7735 $(HOST_EXPORTS) \
7736 for flag in $(EXTRA_HOST_FLAGS) ; do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738 done; \
7739 echo "Doing clean in fastjar" ; \
7740 (cd $(HOST_SUBDIR)/fastjar && \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7745 clean) \
7746 || exit 1
7748 @endif fastjar
7750 .PHONY: maybe-distclean-fastjar distclean-fastjar
7751 maybe-distclean-fastjar:
7752 @if fastjar
7753 maybe-distclean-fastjar: distclean-fastjar
7755 distclean-fastjar:
7756 @: $(MAKE); $(unstage)
7757 @[ -f ./fastjar/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 $(HOST_EXPORTS) \
7761 for flag in $(EXTRA_HOST_FLAGS) ; do \
7762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 done; \
7764 echo "Doing distclean in fastjar" ; \
7765 (cd $(HOST_SUBDIR)/fastjar && \
7766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7768 "RANLIB=$${RANLIB}" \
7769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7770 distclean) \
7771 || exit 1
7773 @endif fastjar
7775 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7776 maybe-maintainer-clean-fastjar:
7777 @if fastjar
7778 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7780 maintainer-clean-fastjar:
7781 @: $(MAKE); $(unstage)
7782 @[ -f ./fastjar/Makefile ] || exit 0; \
7783 r=`${PWD_COMMAND}`; export r; \
7784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7785 $(HOST_EXPORTS) \
7786 for flag in $(EXTRA_HOST_FLAGS) ; do \
7787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7788 done; \
7789 echo "Doing maintainer-clean in fastjar" ; \
7790 (cd $(HOST_SUBDIR)/fastjar && \
7791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7793 "RANLIB=$${RANLIB}" \
7794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7795 maintainer-clean) \
7796 || exit 1
7798 @endif fastjar
7802 .PHONY: configure-fixincludes maybe-configure-fixincludes
7803 maybe-configure-fixincludes:
7804 @if gcc-bootstrap
7805 configure-fixincludes: stage_current
7806 @endif gcc-bootstrap
7807 @if fixincludes
7808 maybe-configure-fixincludes: configure-fixincludes
7809 configure-fixincludes:
7810 @: $(MAKE); $(unstage)
7811 @r=`${PWD_COMMAND}`; export r; \
7812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7813 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7815 $(HOST_EXPORTS) \
7816 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7817 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7818 case $(srcdir) in \
7819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7820 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7822 esac; \
7823 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7824 libsrcdir="$$s/fixincludes"; \
7825 $(SHELL) $${libsrcdir}/configure \
7826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7827 --target=${target_alias} $${srcdiroption} \
7828 || exit 1
7829 @endif fixincludes
7835 .PHONY: all-fixincludes maybe-all-fixincludes
7836 maybe-all-fixincludes:
7837 @if gcc-bootstrap
7838 all-fixincludes: stage_current
7839 @endif gcc-bootstrap
7840 @if fixincludes
7841 TARGET-fixincludes=all
7842 maybe-all-fixincludes: all-fixincludes
7843 all-fixincludes: configure-fixincludes
7844 @: $(MAKE); $(unstage)
7845 @r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 (cd $(HOST_SUBDIR)/fixincludes && \
7849 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7850 $(TARGET-fixincludes))
7851 @endif fixincludes
7856 .PHONY: check-fixincludes maybe-check-fixincludes
7857 maybe-check-fixincludes:
7858 @if fixincludes
7859 maybe-check-fixincludes: check-fixincludes
7861 check-fixincludes:
7862 @: $(MAKE); $(unstage)
7863 @r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(HOST_EXPORTS) \
7866 (cd $(HOST_SUBDIR)/fixincludes && \
7867 $(MAKE) $(FLAGS_TO_PASS) check)
7869 @endif fixincludes
7871 .PHONY: install-fixincludes maybe-install-fixincludes
7872 maybe-install-fixincludes:
7873 @if fixincludes
7874 maybe-install-fixincludes: install-fixincludes
7876 install-fixincludes: installdirs
7877 @: $(MAKE); $(unstage)
7878 @r=`${PWD_COMMAND}`; export r; \
7879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7880 $(HOST_EXPORTS) \
7881 (cd $(HOST_SUBDIR)/fixincludes && \
7882 $(MAKE) $(FLAGS_TO_PASS) install)
7884 @endif fixincludes
7886 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7887 maybe-install-strip-fixincludes:
7888 @if fixincludes
7889 maybe-install-strip-fixincludes: install-strip-fixincludes
7891 install-strip-fixincludes: installdirs
7892 @: $(MAKE); $(unstage)
7893 @r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 $(HOST_EXPORTS) \
7896 (cd $(HOST_SUBDIR)/fixincludes && \
7897 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7899 @endif fixincludes
7901 # Other targets (info, dvi, pdf, etc.)
7903 .PHONY: maybe-info-fixincludes info-fixincludes
7904 maybe-info-fixincludes:
7905 @if fixincludes
7906 maybe-info-fixincludes: info-fixincludes
7908 info-fixincludes: \
7909 configure-fixincludes
7910 @: $(MAKE); $(unstage)
7911 @[ -f ./fixincludes/Makefile ] || exit 0; \
7912 r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 $(HOST_EXPORTS) \
7915 for flag in $(EXTRA_HOST_FLAGS) ; do \
7916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7917 done; \
7918 echo "Doing info in fixincludes" ; \
7919 (cd $(HOST_SUBDIR)/fixincludes && \
7920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7922 "RANLIB=$${RANLIB}" \
7923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7924 info) \
7925 || exit 1
7927 @endif fixincludes
7929 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7930 maybe-dvi-fixincludes:
7931 @if fixincludes
7932 maybe-dvi-fixincludes: dvi-fixincludes
7934 dvi-fixincludes: \
7935 configure-fixincludes
7936 @: $(MAKE); $(unstage)
7937 @[ -f ./fixincludes/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 done; \
7944 echo "Doing dvi in fixincludes" ; \
7945 (cd $(HOST_SUBDIR)/fixincludes && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7950 dvi) \
7951 || exit 1
7953 @endif fixincludes
7955 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7956 maybe-pdf-fixincludes:
7957 @if fixincludes
7958 maybe-pdf-fixincludes: pdf-fixincludes
7960 pdf-fixincludes: \
7961 configure-fixincludes
7962 @: $(MAKE); $(unstage)
7963 @[ -f ./fixincludes/Makefile ] || exit 0; \
7964 r=`${PWD_COMMAND}`; export r; \
7965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 $(HOST_EXPORTS) \
7967 for flag in $(EXTRA_HOST_FLAGS) ; do \
7968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7969 done; \
7970 echo "Doing pdf in fixincludes" ; \
7971 (cd $(HOST_SUBDIR)/fixincludes && \
7972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7974 "RANLIB=$${RANLIB}" \
7975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7976 pdf) \
7977 || exit 1
7979 @endif fixincludes
7981 .PHONY: maybe-html-fixincludes html-fixincludes
7982 maybe-html-fixincludes:
7983 @if fixincludes
7984 maybe-html-fixincludes: html-fixincludes
7986 html-fixincludes: \
7987 configure-fixincludes
7988 @: $(MAKE); $(unstage)
7989 @[ -f ./fixincludes/Makefile ] || exit 0; \
7990 r=`${PWD_COMMAND}`; export r; \
7991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 $(HOST_EXPORTS) \
7993 for flag in $(EXTRA_HOST_FLAGS) ; do \
7994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7995 done; \
7996 echo "Doing html in fixincludes" ; \
7997 (cd $(HOST_SUBDIR)/fixincludes && \
7998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8000 "RANLIB=$${RANLIB}" \
8001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8002 html) \
8003 || exit 1
8005 @endif fixincludes
8007 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8008 maybe-TAGS-fixincludes:
8009 @if fixincludes
8010 maybe-TAGS-fixincludes: TAGS-fixincludes
8012 # fixincludes doesn't support TAGS.
8013 TAGS-fixincludes:
8015 @endif fixincludes
8017 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8018 maybe-install-info-fixincludes:
8019 @if fixincludes
8020 maybe-install-info-fixincludes: install-info-fixincludes
8022 install-info-fixincludes: \
8023 configure-fixincludes \
8024 info-fixincludes
8025 @: $(MAKE); $(unstage)
8026 @[ -f ./fixincludes/Makefile ] || exit 0; \
8027 r=`${PWD_COMMAND}`; export r; \
8028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8029 $(HOST_EXPORTS) \
8030 for flag in $(EXTRA_HOST_FLAGS) ; do \
8031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8032 done; \
8033 echo "Doing install-info in fixincludes" ; \
8034 (cd $(HOST_SUBDIR)/fixincludes && \
8035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8037 "RANLIB=$${RANLIB}" \
8038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8039 install-info) \
8040 || exit 1
8042 @endif fixincludes
8044 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8045 maybe-install-pdf-fixincludes:
8046 @if fixincludes
8047 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8049 install-pdf-fixincludes: \
8050 configure-fixincludes \
8051 pdf-fixincludes
8052 @: $(MAKE); $(unstage)
8053 @[ -f ./fixincludes/Makefile ] || exit 0; \
8054 r=`${PWD_COMMAND}`; export r; \
8055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8056 $(HOST_EXPORTS) \
8057 for flag in $(EXTRA_HOST_FLAGS) ; do \
8058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8059 done; \
8060 echo "Doing install-pdf in fixincludes" ; \
8061 (cd $(HOST_SUBDIR)/fixincludes && \
8062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8064 "RANLIB=$${RANLIB}" \
8065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8066 install-pdf) \
8067 || exit 1
8069 @endif fixincludes
8071 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8072 maybe-install-html-fixincludes:
8073 @if fixincludes
8074 maybe-install-html-fixincludes: install-html-fixincludes
8076 install-html-fixincludes: \
8077 configure-fixincludes \
8078 html-fixincludes
8079 @: $(MAKE); $(unstage)
8080 @[ -f ./fixincludes/Makefile ] || exit 0; \
8081 r=`${PWD_COMMAND}`; export r; \
8082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8083 $(HOST_EXPORTS) \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086 done; \
8087 echo "Doing install-html in fixincludes" ; \
8088 (cd $(HOST_SUBDIR)/fixincludes && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8093 install-html) \
8094 || exit 1
8096 @endif fixincludes
8098 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8099 maybe-installcheck-fixincludes:
8100 @if fixincludes
8101 maybe-installcheck-fixincludes: installcheck-fixincludes
8103 installcheck-fixincludes: \
8104 configure-fixincludes
8105 @: $(MAKE); $(unstage)
8106 @[ -f ./fixincludes/Makefile ] || exit 0; \
8107 r=`${PWD_COMMAND}`; export r; \
8108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8109 $(HOST_EXPORTS) \
8110 for flag in $(EXTRA_HOST_FLAGS) ; do \
8111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8112 done; \
8113 echo "Doing installcheck in fixincludes" ; \
8114 (cd $(HOST_SUBDIR)/fixincludes && \
8115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8117 "RANLIB=$${RANLIB}" \
8118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8119 installcheck) \
8120 || exit 1
8122 @endif fixincludes
8124 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8125 maybe-mostlyclean-fixincludes:
8126 @if fixincludes
8127 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8129 mostlyclean-fixincludes:
8130 @: $(MAKE); $(unstage)
8131 @[ -f ./fixincludes/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 $(HOST_EXPORTS) \
8135 for flag in $(EXTRA_HOST_FLAGS) ; do \
8136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8137 done; \
8138 echo "Doing mostlyclean in fixincludes" ; \
8139 (cd $(HOST_SUBDIR)/fixincludes && \
8140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142 "RANLIB=$${RANLIB}" \
8143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8144 mostlyclean) \
8145 || exit 1
8147 @endif fixincludes
8149 .PHONY: maybe-clean-fixincludes clean-fixincludes
8150 maybe-clean-fixincludes:
8151 @if fixincludes
8152 maybe-clean-fixincludes: clean-fixincludes
8154 clean-fixincludes:
8155 @: $(MAKE); $(unstage)
8156 @[ -f ./fixincludes/Makefile ] || exit 0; \
8157 r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159 $(HOST_EXPORTS) \
8160 for flag in $(EXTRA_HOST_FLAGS) ; do \
8161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8162 done; \
8163 echo "Doing clean in fixincludes" ; \
8164 (cd $(HOST_SUBDIR)/fixincludes && \
8165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8167 "RANLIB=$${RANLIB}" \
8168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8169 clean) \
8170 || exit 1
8172 @endif fixincludes
8174 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8175 maybe-distclean-fixincludes:
8176 @if fixincludes
8177 maybe-distclean-fixincludes: distclean-fixincludes
8179 distclean-fixincludes:
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./fixincludes/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing distclean in fixincludes" ; \
8189 (cd $(HOST_SUBDIR)/fixincludes && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8194 distclean) \
8195 || exit 1
8197 @endif fixincludes
8199 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8200 maybe-maintainer-clean-fixincludes:
8201 @if fixincludes
8202 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8204 maintainer-clean-fixincludes:
8205 @: $(MAKE); $(unstage)
8206 @[ -f ./fixincludes/Makefile ] || exit 0; \
8207 r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing maintainer-clean in fixincludes" ; \
8214 (cd $(HOST_SUBDIR)/fixincludes && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8219 maintainer-clean) \
8220 || exit 1
8222 @endif fixincludes
8226 .PHONY: configure-flex maybe-configure-flex
8227 maybe-configure-flex:
8228 @if gcc-bootstrap
8229 configure-flex: stage_current
8230 @endif gcc-bootstrap
8231 @if flex
8232 maybe-configure-flex: configure-flex
8233 configure-flex:
8234 @: $(MAKE); $(unstage)
8235 @r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8239 $(HOST_EXPORTS) \
8240 echo Configuring in $(HOST_SUBDIR)/flex; \
8241 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8242 case $(srcdir) in \
8243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8244 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8246 esac; \
8247 srcdiroption="--srcdir=$${topdir}/flex"; \
8248 libsrcdir="$$s/flex"; \
8249 $(SHELL) $${libsrcdir}/configure \
8250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8251 --target=${target_alias} $${srcdiroption} \
8252 || exit 1
8253 @endif flex
8259 .PHONY: all-flex maybe-all-flex
8260 maybe-all-flex:
8261 @if gcc-bootstrap
8262 all-flex: stage_current
8263 @endif gcc-bootstrap
8264 @if flex
8265 TARGET-flex=all
8266 maybe-all-flex: all-flex
8267 all-flex: configure-flex
8268 @: $(MAKE); $(unstage)
8269 @r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 (cd $(HOST_SUBDIR)/flex && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8274 $(TARGET-flex))
8275 @endif flex
8280 .PHONY: check-flex maybe-check-flex
8281 maybe-check-flex:
8282 @if flex
8283 maybe-check-flex: check-flex
8285 # This module is only tested in a native toolchain.
8286 check-flex:
8287 @: $(MAKE); $(unstage)
8288 @if [ '$(host)' = '$(target)' ] ; then \
8289 r=`${PWD_COMMAND}`; export r; \
8290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8291 $(HOST_EXPORTS) \
8292 (cd $(HOST_SUBDIR)/flex && \
8293 $(MAKE) $(FLAGS_TO_PASS) check); \
8296 @endif flex
8298 .PHONY: install-flex maybe-install-flex
8299 maybe-install-flex:
8300 @if flex
8301 maybe-install-flex: install-flex
8303 install-flex: installdirs
8304 @: $(MAKE); $(unstage)
8305 @r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 (cd $(HOST_SUBDIR)/flex && \
8309 $(MAKE) $(FLAGS_TO_PASS) install)
8311 @endif flex
8313 .PHONY: install-strip-flex maybe-install-strip-flex
8314 maybe-install-strip-flex:
8315 @if flex
8316 maybe-install-strip-flex: install-strip-flex
8318 install-strip-flex: installdirs
8319 @: $(MAKE); $(unstage)
8320 @r=`${PWD_COMMAND}`; export r; \
8321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8322 $(HOST_EXPORTS) \
8323 (cd $(HOST_SUBDIR)/flex && \
8324 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8326 @endif flex
8328 # Other targets (info, dvi, pdf, etc.)
8330 .PHONY: maybe-info-flex info-flex
8331 maybe-info-flex:
8332 @if flex
8333 maybe-info-flex: info-flex
8335 info-flex: \
8336 configure-flex
8337 @: $(MAKE); $(unstage)
8338 @[ -f ./flex/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(HOST_EXPORTS) \
8342 for flag in $(EXTRA_HOST_FLAGS) ; do \
8343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8344 done; \
8345 echo "Doing info in flex" ; \
8346 (cd $(HOST_SUBDIR)/flex && \
8347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8349 "RANLIB=$${RANLIB}" \
8350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8351 info) \
8352 || exit 1
8354 @endif flex
8356 .PHONY: maybe-dvi-flex dvi-flex
8357 maybe-dvi-flex:
8358 @if flex
8359 maybe-dvi-flex: dvi-flex
8361 dvi-flex: \
8362 configure-flex
8363 @: $(MAKE); $(unstage)
8364 @[ -f ./flex/Makefile ] || exit 0; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8370 done; \
8371 echo "Doing dvi in flex" ; \
8372 (cd $(HOST_SUBDIR)/flex && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8377 dvi) \
8378 || exit 1
8380 @endif flex
8382 .PHONY: maybe-pdf-flex pdf-flex
8383 maybe-pdf-flex:
8384 @if flex
8385 maybe-pdf-flex: pdf-flex
8387 pdf-flex: \
8388 configure-flex
8389 @: $(MAKE); $(unstage)
8390 @[ -f ./flex/Makefile ] || exit 0; \
8391 r=`${PWD_COMMAND}`; export r; \
8392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8393 $(HOST_EXPORTS) \
8394 for flag in $(EXTRA_HOST_FLAGS) ; do \
8395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8396 done; \
8397 echo "Doing pdf in flex" ; \
8398 (cd $(HOST_SUBDIR)/flex && \
8399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8401 "RANLIB=$${RANLIB}" \
8402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8403 pdf) \
8404 || exit 1
8406 @endif flex
8408 .PHONY: maybe-html-flex html-flex
8409 maybe-html-flex:
8410 @if flex
8411 maybe-html-flex: html-flex
8413 html-flex: \
8414 configure-flex
8415 @: $(MAKE); $(unstage)
8416 @[ -f ./flex/Makefile ] || exit 0; \
8417 r=`${PWD_COMMAND}`; export r; \
8418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8419 $(HOST_EXPORTS) \
8420 for flag in $(EXTRA_HOST_FLAGS) ; do \
8421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8422 done; \
8423 echo "Doing html in flex" ; \
8424 (cd $(HOST_SUBDIR)/flex && \
8425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427 "RANLIB=$${RANLIB}" \
8428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8429 html) \
8430 || exit 1
8432 @endif flex
8434 .PHONY: maybe-TAGS-flex TAGS-flex
8435 maybe-TAGS-flex:
8436 @if flex
8437 maybe-TAGS-flex: TAGS-flex
8439 TAGS-flex: \
8440 configure-flex
8441 @: $(MAKE); $(unstage)
8442 @[ -f ./flex/Makefile ] || exit 0; \
8443 r=`${PWD_COMMAND}`; export r; \
8444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8445 $(HOST_EXPORTS) \
8446 for flag in $(EXTRA_HOST_FLAGS) ; do \
8447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8448 done; \
8449 echo "Doing TAGS in flex" ; \
8450 (cd $(HOST_SUBDIR)/flex && \
8451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8453 "RANLIB=$${RANLIB}" \
8454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8455 TAGS) \
8456 || exit 1
8458 @endif flex
8460 .PHONY: maybe-install-info-flex install-info-flex
8461 maybe-install-info-flex:
8462 @if flex
8463 maybe-install-info-flex: install-info-flex
8465 install-info-flex: \
8466 configure-flex \
8467 info-flex
8468 @: $(MAKE); $(unstage)
8469 @[ -f ./flex/Makefile ] || exit 0; \
8470 r=`${PWD_COMMAND}`; export r; \
8471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8472 $(HOST_EXPORTS) \
8473 for flag in $(EXTRA_HOST_FLAGS) ; do \
8474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8475 done; \
8476 echo "Doing install-info in flex" ; \
8477 (cd $(HOST_SUBDIR)/flex && \
8478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8480 "RANLIB=$${RANLIB}" \
8481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8482 install-info) \
8483 || exit 1
8485 @endif flex
8487 .PHONY: maybe-install-pdf-flex install-pdf-flex
8488 maybe-install-pdf-flex:
8489 @if flex
8490 maybe-install-pdf-flex: install-pdf-flex
8492 install-pdf-flex: \
8493 configure-flex \
8494 pdf-flex
8495 @: $(MAKE); $(unstage)
8496 @[ -f ./flex/Makefile ] || exit 0; \
8497 r=`${PWD_COMMAND}`; export r; \
8498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8499 $(HOST_EXPORTS) \
8500 for flag in $(EXTRA_HOST_FLAGS) ; do \
8501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8502 done; \
8503 echo "Doing install-pdf in flex" ; \
8504 (cd $(HOST_SUBDIR)/flex && \
8505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8507 "RANLIB=$${RANLIB}" \
8508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8509 install-pdf) \
8510 || exit 1
8512 @endif flex
8514 .PHONY: maybe-install-html-flex install-html-flex
8515 maybe-install-html-flex:
8516 @if flex
8517 maybe-install-html-flex: install-html-flex
8519 install-html-flex: \
8520 configure-flex \
8521 html-flex
8522 @: $(MAKE); $(unstage)
8523 @[ -f ./flex/Makefile ] || exit 0; \
8524 r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 $(HOST_EXPORTS) \
8527 for flag in $(EXTRA_HOST_FLAGS) ; do \
8528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8529 done; \
8530 echo "Doing install-html in flex" ; \
8531 (cd $(HOST_SUBDIR)/flex && \
8532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8534 "RANLIB=$${RANLIB}" \
8535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8536 install-html) \
8537 || exit 1
8539 @endif flex
8541 .PHONY: maybe-installcheck-flex installcheck-flex
8542 maybe-installcheck-flex:
8543 @if flex
8544 maybe-installcheck-flex: installcheck-flex
8546 installcheck-flex: \
8547 configure-flex
8548 @: $(MAKE); $(unstage)
8549 @[ -f ./flex/Makefile ] || exit 0; \
8550 r=`${PWD_COMMAND}`; export r; \
8551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8552 $(HOST_EXPORTS) \
8553 for flag in $(EXTRA_HOST_FLAGS) ; do \
8554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8555 done; \
8556 echo "Doing installcheck in flex" ; \
8557 (cd $(HOST_SUBDIR)/flex && \
8558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8560 "RANLIB=$${RANLIB}" \
8561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8562 installcheck) \
8563 || exit 1
8565 @endif flex
8567 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8568 maybe-mostlyclean-flex:
8569 @if flex
8570 maybe-mostlyclean-flex: mostlyclean-flex
8572 mostlyclean-flex:
8573 @: $(MAKE); $(unstage)
8574 @[ -f ./flex/Makefile ] || exit 0; \
8575 r=`${PWD_COMMAND}`; export r; \
8576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 $(HOST_EXPORTS) \
8578 for flag in $(EXTRA_HOST_FLAGS) ; do \
8579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8580 done; \
8581 echo "Doing mostlyclean in flex" ; \
8582 (cd $(HOST_SUBDIR)/flex && \
8583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8585 "RANLIB=$${RANLIB}" \
8586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8587 mostlyclean) \
8588 || exit 1
8590 @endif flex
8592 .PHONY: maybe-clean-flex clean-flex
8593 maybe-clean-flex:
8594 @if flex
8595 maybe-clean-flex: clean-flex
8597 clean-flex:
8598 @: $(MAKE); $(unstage)
8599 @[ -f ./flex/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 $(HOST_EXPORTS) \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 done; \
8606 echo "Doing clean in flex" ; \
8607 (cd $(HOST_SUBDIR)/flex && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8612 clean) \
8613 || exit 1
8615 @endif flex
8617 .PHONY: maybe-distclean-flex distclean-flex
8618 maybe-distclean-flex:
8619 @if flex
8620 maybe-distclean-flex: distclean-flex
8622 distclean-flex:
8623 @: $(MAKE); $(unstage)
8624 @[ -f ./flex/Makefile ] || exit 0; \
8625 r=`${PWD_COMMAND}`; export r; \
8626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 $(HOST_EXPORTS) \
8628 for flag in $(EXTRA_HOST_FLAGS) ; do \
8629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 done; \
8631 echo "Doing distclean in flex" ; \
8632 (cd $(HOST_SUBDIR)/flex && \
8633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8635 "RANLIB=$${RANLIB}" \
8636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8637 distclean) \
8638 || exit 1
8640 @endif flex
8642 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8643 maybe-maintainer-clean-flex:
8644 @if flex
8645 maybe-maintainer-clean-flex: maintainer-clean-flex
8647 maintainer-clean-flex:
8648 @: $(MAKE); $(unstage)
8649 @[ -f ./flex/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(HOST_EXPORTS) \
8653 for flag in $(EXTRA_HOST_FLAGS) ; do \
8654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 done; \
8656 echo "Doing maintainer-clean in flex" ; \
8657 (cd $(HOST_SUBDIR)/flex && \
8658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8660 "RANLIB=$${RANLIB}" \
8661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8662 maintainer-clean) \
8663 || exit 1
8665 @endif flex
8669 .PHONY: configure-gas maybe-configure-gas
8670 maybe-configure-gas:
8671 @if gcc-bootstrap
8672 configure-gas: stage_current
8673 @endif gcc-bootstrap
8674 @if gas
8675 maybe-configure-gas: configure-gas
8676 configure-gas:
8677 @r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8681 $(HOST_EXPORTS) \
8682 echo Configuring in $(HOST_SUBDIR)/gas; \
8683 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8684 case $(srcdir) in \
8685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8686 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8688 esac; \
8689 srcdiroption="--srcdir=$${topdir}/gas"; \
8690 libsrcdir="$$s/gas"; \
8691 $(SHELL) $${libsrcdir}/configure \
8692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8693 --target=${target_alias} $${srcdiroption} \
8694 || exit 1
8695 @endif gas
8699 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8700 maybe-configure-stage1-gas:
8701 @if gas-bootstrap
8702 maybe-configure-stage1-gas: configure-stage1-gas
8703 configure-stage1-gas:
8704 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8706 @r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 TFLAGS="$(STAGE1_TFLAGS)"; \
8709 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8710 $(HOST_EXPORTS) \
8711 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8712 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8713 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8714 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8716 cd $(HOST_SUBDIR)/gas || exit 1; \
8717 case $(srcdir) in \
8718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8719 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8721 esac; \
8722 srcdiroption="--srcdir=$${topdir}/gas"; \
8723 libsrcdir="$$s/gas"; \
8724 $(SHELL) $${libsrcdir}/configure \
8725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8726 --target=${target_alias} $${srcdiroption} \
8727 $(STAGE1_CONFIGURE_FLAGS)
8728 @endif gas-bootstrap
8730 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8731 maybe-configure-stage2-gas:
8732 @if gas-bootstrap
8733 maybe-configure-stage2-gas: configure-stage2-gas
8734 configure-stage2-gas:
8735 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8736 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8737 @r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 TFLAGS="$(STAGE2_TFLAGS)"; \
8740 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8741 $(HOST_EXPORTS) \
8742 $(POSTSTAGE1_HOST_EXPORTS) \
8743 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8744 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8745 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8746 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8748 cd $(HOST_SUBDIR)/gas || exit 1; \
8749 case $(srcdir) in \
8750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8751 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8753 esac; \
8754 srcdiroption="--srcdir=$${topdir}/gas"; \
8755 libsrcdir="$$s/gas"; \
8756 $(SHELL) $${libsrcdir}/configure \
8757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8758 --target=${target_alias} $${srcdiroption} \
8759 --with-build-libsubdir=$(HOST_SUBDIR) \
8760 $(STAGE2_CONFIGURE_FLAGS)
8761 @endif gas-bootstrap
8763 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8764 maybe-configure-stage3-gas:
8765 @if gas-bootstrap
8766 maybe-configure-stage3-gas: configure-stage3-gas
8767 configure-stage3-gas:
8768 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8770 @r=`${PWD_COMMAND}`; export r; \
8771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8772 TFLAGS="$(STAGE3_TFLAGS)"; \
8773 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8774 $(HOST_EXPORTS) \
8775 $(POSTSTAGE1_HOST_EXPORTS) \
8776 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8777 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8778 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8779 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8781 cd $(HOST_SUBDIR)/gas || exit 1; \
8782 case $(srcdir) in \
8783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8784 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8786 esac; \
8787 srcdiroption="--srcdir=$${topdir}/gas"; \
8788 libsrcdir="$$s/gas"; \
8789 $(SHELL) $${libsrcdir}/configure \
8790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8791 --target=${target_alias} $${srcdiroption} \
8792 --with-build-libsubdir=$(HOST_SUBDIR) \
8793 $(STAGE3_CONFIGURE_FLAGS)
8794 @endif gas-bootstrap
8796 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8797 maybe-configure-stage4-gas:
8798 @if gas-bootstrap
8799 maybe-configure-stage4-gas: configure-stage4-gas
8800 configure-stage4-gas:
8801 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8803 @r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 TFLAGS="$(STAGE4_TFLAGS)"; \
8806 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8807 $(HOST_EXPORTS) \
8808 $(POSTSTAGE1_HOST_EXPORTS) \
8809 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8810 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8811 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8812 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8814 cd $(HOST_SUBDIR)/gas || exit 1; \
8815 case $(srcdir) in \
8816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8817 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8819 esac; \
8820 srcdiroption="--srcdir=$${topdir}/gas"; \
8821 libsrcdir="$$s/gas"; \
8822 $(SHELL) $${libsrcdir}/configure \
8823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8824 --target=${target_alias} $${srcdiroption} \
8825 --with-build-libsubdir=$(HOST_SUBDIR) \
8826 $(STAGE4_CONFIGURE_FLAGS)
8827 @endif gas-bootstrap
8829 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8830 maybe-configure-stageprofile-gas:
8831 @if gas-bootstrap
8832 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8833 configure-stageprofile-gas:
8834 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8836 @r=`${PWD_COMMAND}`; export r; \
8837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8838 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8839 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8840 $(HOST_EXPORTS) \
8841 $(POSTSTAGE1_HOST_EXPORTS) \
8842 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8843 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8844 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8845 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8847 cd $(HOST_SUBDIR)/gas || exit 1; \
8848 case $(srcdir) in \
8849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8850 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8852 esac; \
8853 srcdiroption="--srcdir=$${topdir}/gas"; \
8854 libsrcdir="$$s/gas"; \
8855 $(SHELL) $${libsrcdir}/configure \
8856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8857 --target=${target_alias} $${srcdiroption} \
8858 --with-build-libsubdir=$(HOST_SUBDIR) \
8859 $(STAGEprofile_CONFIGURE_FLAGS)
8860 @endif gas-bootstrap
8862 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8863 maybe-configure-stagefeedback-gas:
8864 @if gas-bootstrap
8865 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8866 configure-stagefeedback-gas:
8867 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8868 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8869 @r=`${PWD_COMMAND}`; export r; \
8870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8871 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8872 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8873 $(HOST_EXPORTS) \
8874 $(POSTSTAGE1_HOST_EXPORTS) \
8875 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8876 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8877 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8878 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8880 cd $(HOST_SUBDIR)/gas || exit 1; \
8881 case $(srcdir) in \
8882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8883 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8885 esac; \
8886 srcdiroption="--srcdir=$${topdir}/gas"; \
8887 libsrcdir="$$s/gas"; \
8888 $(SHELL) $${libsrcdir}/configure \
8889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8890 --target=${target_alias} $${srcdiroption} \
8891 --with-build-libsubdir=$(HOST_SUBDIR) \
8892 $(STAGEfeedback_CONFIGURE_FLAGS)
8893 @endif gas-bootstrap
8899 .PHONY: all-gas maybe-all-gas
8900 maybe-all-gas:
8901 @if gcc-bootstrap
8902 all-gas: stage_current
8903 @endif gcc-bootstrap
8904 @if gas
8905 TARGET-gas=all
8906 maybe-all-gas: all-gas
8907 all-gas: configure-gas
8908 @r=`${PWD_COMMAND}`; export r; \
8909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8910 $(HOST_EXPORTS) \
8911 (cd $(HOST_SUBDIR)/gas && \
8912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8913 $(TARGET-gas))
8914 @endif gas
8918 .PHONY: all-stage1-gas maybe-all-stage1-gas
8919 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8920 maybe-all-stage1-gas:
8921 maybe-clean-stage1-gas:
8922 @if gas-bootstrap
8923 maybe-all-stage1-gas: all-stage1-gas
8924 all-stage1: all-stage1-gas
8925 TARGET-stage1-gas = $(TARGET-gas)
8926 all-stage1-gas: configure-stage1-gas
8927 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8928 @r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 TFLAGS="$(STAGE1_TFLAGS)"; \
8931 $(HOST_EXPORTS) \
8932 cd $(HOST_SUBDIR)/gas && \
8933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8934 CFLAGS="$(STAGE1_CFLAGS)" \
8935 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8936 LIBCFLAGS="$(LIBCFLAGS)" \
8937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8940 $(EXTRA_HOST_FLAGS) \
8941 $(STAGE1_FLAGS_TO_PASS) \
8942 TFLAGS="$(STAGE1_TFLAGS)" \
8943 $(TARGET-stage1-gas)
8945 maybe-clean-stage1-gas: clean-stage1-gas
8946 clean-stage1: clean-stage1-gas
8947 clean-stage1-gas:
8948 @if [ $(current_stage) = stage1 ]; then \
8949 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8950 else \
8951 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8952 $(MAKE) stage1-start; \
8953 fi; \
8954 cd $(HOST_SUBDIR)/gas && \
8955 $(MAKE) $(EXTRA_HOST_FLAGS) \
8956 $(STAGE1_FLAGS_TO_PASS) clean
8957 @endif gas-bootstrap
8960 .PHONY: all-stage2-gas maybe-all-stage2-gas
8961 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8962 maybe-all-stage2-gas:
8963 maybe-clean-stage2-gas:
8964 @if gas-bootstrap
8965 maybe-all-stage2-gas: all-stage2-gas
8966 all-stage2: all-stage2-gas
8967 TARGET-stage2-gas = $(TARGET-gas)
8968 all-stage2-gas: configure-stage2-gas
8969 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8970 @r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8972 TFLAGS="$(STAGE2_TFLAGS)"; \
8973 $(HOST_EXPORTS) \
8974 $(POSTSTAGE1_HOST_EXPORTS) \
8975 cd $(HOST_SUBDIR)/gas && \
8976 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8977 CFLAGS="$(STAGE2_CFLAGS)" \
8978 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8979 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8980 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8981 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8982 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8983 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8984 TFLAGS="$(STAGE2_TFLAGS)" \
8985 $(TARGET-stage2-gas)
8987 maybe-clean-stage2-gas: clean-stage2-gas
8988 clean-stage2: clean-stage2-gas
8989 clean-stage2-gas:
8990 @if [ $(current_stage) = stage2 ]; then \
8991 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8992 else \
8993 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8994 $(MAKE) stage2-start; \
8995 fi; \
8996 cd $(HOST_SUBDIR)/gas && \
8997 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8998 @endif gas-bootstrap
9001 .PHONY: all-stage3-gas maybe-all-stage3-gas
9002 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9003 maybe-all-stage3-gas:
9004 maybe-clean-stage3-gas:
9005 @if gas-bootstrap
9006 maybe-all-stage3-gas: all-stage3-gas
9007 all-stage3: all-stage3-gas
9008 TARGET-stage3-gas = $(TARGET-gas)
9009 all-stage3-gas: configure-stage3-gas
9010 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9011 @r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013 TFLAGS="$(STAGE3_TFLAGS)"; \
9014 $(HOST_EXPORTS) \
9015 $(POSTSTAGE1_HOST_EXPORTS) \
9016 cd $(HOST_SUBDIR)/gas && \
9017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9018 CFLAGS="$(STAGE3_CFLAGS)" \
9019 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9020 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9024 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9025 TFLAGS="$(STAGE3_TFLAGS)" \
9026 $(TARGET-stage3-gas)
9028 maybe-clean-stage3-gas: clean-stage3-gas
9029 clean-stage3: clean-stage3-gas
9030 clean-stage3-gas:
9031 @if [ $(current_stage) = stage3 ]; then \
9032 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9033 else \
9034 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9035 $(MAKE) stage3-start; \
9036 fi; \
9037 cd $(HOST_SUBDIR)/gas && \
9038 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9039 @endif gas-bootstrap
9042 .PHONY: all-stage4-gas maybe-all-stage4-gas
9043 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9044 maybe-all-stage4-gas:
9045 maybe-clean-stage4-gas:
9046 @if gas-bootstrap
9047 maybe-all-stage4-gas: all-stage4-gas
9048 all-stage4: all-stage4-gas
9049 TARGET-stage4-gas = $(TARGET-gas)
9050 all-stage4-gas: configure-stage4-gas
9051 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9052 @r=`${PWD_COMMAND}`; export r; \
9053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9054 TFLAGS="$(STAGE4_TFLAGS)"; \
9055 $(HOST_EXPORTS) \
9056 $(POSTSTAGE1_HOST_EXPORTS) \
9057 cd $(HOST_SUBDIR)/gas && \
9058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9059 CFLAGS="$(STAGE4_CFLAGS)" \
9060 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9061 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9065 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9066 TFLAGS="$(STAGE4_TFLAGS)" \
9067 $(TARGET-stage4-gas)
9069 maybe-clean-stage4-gas: clean-stage4-gas
9070 clean-stage4: clean-stage4-gas
9071 clean-stage4-gas:
9072 @if [ $(current_stage) = stage4 ]; then \
9073 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9074 else \
9075 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9076 $(MAKE) stage4-start; \
9077 fi; \
9078 cd $(HOST_SUBDIR)/gas && \
9079 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9080 @endif gas-bootstrap
9083 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9084 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9085 maybe-all-stageprofile-gas:
9086 maybe-clean-stageprofile-gas:
9087 @if gas-bootstrap
9088 maybe-all-stageprofile-gas: all-stageprofile-gas
9089 all-stageprofile: all-stageprofile-gas
9090 TARGET-stageprofile-gas = $(TARGET-gas)
9091 all-stageprofile-gas: configure-stageprofile-gas
9092 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9093 @r=`${PWD_COMMAND}`; export r; \
9094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9095 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9096 $(HOST_EXPORTS) \
9097 $(POSTSTAGE1_HOST_EXPORTS) \
9098 cd $(HOST_SUBDIR)/gas && \
9099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9100 CFLAGS="$(STAGEprofile_CFLAGS)" \
9101 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9102 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9107 TFLAGS="$(STAGEprofile_TFLAGS)" \
9108 $(TARGET-stageprofile-gas)
9110 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9111 clean-stageprofile: clean-stageprofile-gas
9112 clean-stageprofile-gas:
9113 @if [ $(current_stage) = stageprofile ]; then \
9114 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9115 else \
9116 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9117 $(MAKE) stageprofile-start; \
9118 fi; \
9119 cd $(HOST_SUBDIR)/gas && \
9120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9121 @endif gas-bootstrap
9124 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9125 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9126 maybe-all-stagefeedback-gas:
9127 maybe-clean-stagefeedback-gas:
9128 @if gas-bootstrap
9129 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9130 all-stagefeedback: all-stagefeedback-gas
9131 TARGET-stagefeedback-gas = $(TARGET-gas)
9132 all-stagefeedback-gas: configure-stagefeedback-gas
9133 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9134 @r=`${PWD_COMMAND}`; export r; \
9135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9136 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9137 $(HOST_EXPORTS) \
9138 $(POSTSTAGE1_HOST_EXPORTS) \
9139 cd $(HOST_SUBDIR)/gas && \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9141 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9142 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9143 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9148 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9149 $(TARGET-stagefeedback-gas)
9151 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9152 clean-stagefeedback: clean-stagefeedback-gas
9153 clean-stagefeedback-gas:
9154 @if [ $(current_stage) = stagefeedback ]; then \
9155 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9156 else \
9157 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9158 $(MAKE) stagefeedback-start; \
9159 fi; \
9160 cd $(HOST_SUBDIR)/gas && \
9161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9162 @endif gas-bootstrap
9168 .PHONY: check-gas maybe-check-gas
9169 maybe-check-gas:
9170 @if gas
9171 maybe-check-gas: check-gas
9173 check-gas:
9174 @: $(MAKE); $(unstage)
9175 @r=`${PWD_COMMAND}`; export r; \
9176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177 $(HOST_EXPORTS) \
9178 (cd $(HOST_SUBDIR)/gas && \
9179 $(MAKE) $(FLAGS_TO_PASS) check)
9181 @endif gas
9183 .PHONY: install-gas maybe-install-gas
9184 maybe-install-gas:
9185 @if gas
9186 maybe-install-gas: install-gas
9188 install-gas: installdirs
9189 @: $(MAKE); $(unstage)
9190 @r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9192 $(HOST_EXPORTS) \
9193 (cd $(HOST_SUBDIR)/gas && \
9194 $(MAKE) $(FLAGS_TO_PASS) install)
9196 @endif gas
9198 .PHONY: install-strip-gas maybe-install-strip-gas
9199 maybe-install-strip-gas:
9200 @if gas
9201 maybe-install-strip-gas: install-strip-gas
9203 install-strip-gas: installdirs
9204 @: $(MAKE); $(unstage)
9205 @r=`${PWD_COMMAND}`; export r; \
9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207 $(HOST_EXPORTS) \
9208 (cd $(HOST_SUBDIR)/gas && \
9209 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9211 @endif gas
9213 # Other targets (info, dvi, pdf, etc.)
9215 .PHONY: maybe-info-gas info-gas
9216 maybe-info-gas:
9217 @if gas
9218 maybe-info-gas: info-gas
9220 info-gas: \
9221 configure-gas
9222 @[ -f ./gas/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing info in gas" ; \
9230 (cd $(HOST_SUBDIR)/gas && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9235 info) \
9236 || exit 1
9238 @endif gas
9240 .PHONY: maybe-dvi-gas dvi-gas
9241 maybe-dvi-gas:
9242 @if gas
9243 maybe-dvi-gas: dvi-gas
9245 dvi-gas: \
9246 configure-gas
9247 @[ -f ./gas/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing dvi in gas" ; \
9255 (cd $(HOST_SUBDIR)/gas && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9260 dvi) \
9261 || exit 1
9263 @endif gas
9265 .PHONY: maybe-pdf-gas pdf-gas
9266 maybe-pdf-gas:
9267 @if gas
9268 maybe-pdf-gas: pdf-gas
9270 pdf-gas: \
9271 configure-gas
9272 @[ -f ./gas/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(HOST_EXPORTS) \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 done; \
9279 echo "Doing pdf in gas" ; \
9280 (cd $(HOST_SUBDIR)/gas && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9285 pdf) \
9286 || exit 1
9288 @endif gas
9290 .PHONY: maybe-html-gas html-gas
9291 maybe-html-gas:
9292 @if gas
9293 maybe-html-gas: html-gas
9295 html-gas: \
9296 configure-gas
9297 @[ -f ./gas/Makefile ] || exit 0; \
9298 r=`${PWD_COMMAND}`; export r; \
9299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 $(HOST_EXPORTS) \
9301 for flag in $(EXTRA_HOST_FLAGS) ; do \
9302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9303 done; \
9304 echo "Doing html in gas" ; \
9305 (cd $(HOST_SUBDIR)/gas && \
9306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9308 "RANLIB=$${RANLIB}" \
9309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9310 html) \
9311 || exit 1
9313 @endif gas
9315 .PHONY: maybe-TAGS-gas TAGS-gas
9316 maybe-TAGS-gas:
9317 @if gas
9318 maybe-TAGS-gas: TAGS-gas
9320 TAGS-gas: \
9321 configure-gas
9322 @[ -f ./gas/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(HOST_EXPORTS) \
9326 for flag in $(EXTRA_HOST_FLAGS) ; do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9328 done; \
9329 echo "Doing TAGS in gas" ; \
9330 (cd $(HOST_SUBDIR)/gas && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9335 TAGS) \
9336 || exit 1
9338 @endif gas
9340 .PHONY: maybe-install-info-gas install-info-gas
9341 maybe-install-info-gas:
9342 @if gas
9343 maybe-install-info-gas: install-info-gas
9345 install-info-gas: \
9346 configure-gas \
9347 info-gas
9348 @[ -f ./gas/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 $(HOST_EXPORTS) \
9352 for flag in $(EXTRA_HOST_FLAGS) ; do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9354 done; \
9355 echo "Doing install-info in gas" ; \
9356 (cd $(HOST_SUBDIR)/gas && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9361 install-info) \
9362 || exit 1
9364 @endif gas
9366 .PHONY: maybe-install-pdf-gas install-pdf-gas
9367 maybe-install-pdf-gas:
9368 @if gas
9369 maybe-install-pdf-gas: install-pdf-gas
9371 install-pdf-gas: \
9372 configure-gas \
9373 pdf-gas
9374 @[ -f ./gas/Makefile ] || exit 0; \
9375 r=`${PWD_COMMAND}`; export r; \
9376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9377 $(HOST_EXPORTS) \
9378 for flag in $(EXTRA_HOST_FLAGS) ; do \
9379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9380 done; \
9381 echo "Doing install-pdf in gas" ; \
9382 (cd $(HOST_SUBDIR)/gas && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9385 "RANLIB=$${RANLIB}" \
9386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9387 install-pdf) \
9388 || exit 1
9390 @endif gas
9392 .PHONY: maybe-install-html-gas install-html-gas
9393 maybe-install-html-gas:
9394 @if gas
9395 maybe-install-html-gas: install-html-gas
9397 install-html-gas: \
9398 configure-gas \
9399 html-gas
9400 @[ -f ./gas/Makefile ] || exit 0; \
9401 r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 $(HOST_EXPORTS) \
9404 for flag in $(EXTRA_HOST_FLAGS) ; do \
9405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 done; \
9407 echo "Doing install-html in gas" ; \
9408 (cd $(HOST_SUBDIR)/gas && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9411 "RANLIB=$${RANLIB}" \
9412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9413 install-html) \
9414 || exit 1
9416 @endif gas
9418 .PHONY: maybe-installcheck-gas installcheck-gas
9419 maybe-installcheck-gas:
9420 @if gas
9421 maybe-installcheck-gas: installcheck-gas
9423 installcheck-gas: \
9424 configure-gas
9425 @[ -f ./gas/Makefile ] || exit 0; \
9426 r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 for flag in $(EXTRA_HOST_FLAGS) ; do \
9430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9431 done; \
9432 echo "Doing installcheck in gas" ; \
9433 (cd $(HOST_SUBDIR)/gas && \
9434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9436 "RANLIB=$${RANLIB}" \
9437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9438 installcheck) \
9439 || exit 1
9441 @endif gas
9443 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9444 maybe-mostlyclean-gas:
9445 @if gas
9446 maybe-mostlyclean-gas: mostlyclean-gas
9448 mostlyclean-gas:
9449 @[ -f ./gas/Makefile ] || exit 0; \
9450 r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 $(HOST_EXPORTS) \
9453 for flag in $(EXTRA_HOST_FLAGS) ; do \
9454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9455 done; \
9456 echo "Doing mostlyclean in gas" ; \
9457 (cd $(HOST_SUBDIR)/gas && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9460 "RANLIB=$${RANLIB}" \
9461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9462 mostlyclean) \
9463 || exit 1
9465 @endif gas
9467 .PHONY: maybe-clean-gas clean-gas
9468 maybe-clean-gas:
9469 @if gas
9470 maybe-clean-gas: clean-gas
9472 clean-gas:
9473 @[ -f ./gas/Makefile ] || exit 0; \
9474 r=`${PWD_COMMAND}`; export r; \
9475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9476 $(HOST_EXPORTS) \
9477 for flag in $(EXTRA_HOST_FLAGS) ; do \
9478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9479 done; \
9480 echo "Doing clean in gas" ; \
9481 (cd $(HOST_SUBDIR)/gas && \
9482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9484 "RANLIB=$${RANLIB}" \
9485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9486 clean) \
9487 || exit 1
9489 @endif gas
9491 .PHONY: maybe-distclean-gas distclean-gas
9492 maybe-distclean-gas:
9493 @if gas
9494 maybe-distclean-gas: distclean-gas
9496 distclean-gas:
9497 @[ -f ./gas/Makefile ] || exit 0; \
9498 r=`${PWD_COMMAND}`; export r; \
9499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500 $(HOST_EXPORTS) \
9501 for flag in $(EXTRA_HOST_FLAGS) ; do \
9502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9503 done; \
9504 echo "Doing distclean in gas" ; \
9505 (cd $(HOST_SUBDIR)/gas && \
9506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9508 "RANLIB=$${RANLIB}" \
9509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9510 distclean) \
9511 || exit 1
9513 @endif gas
9515 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9516 maybe-maintainer-clean-gas:
9517 @if gas
9518 maybe-maintainer-clean-gas: maintainer-clean-gas
9520 maintainer-clean-gas:
9521 @[ -f ./gas/Makefile ] || exit 0; \
9522 r=`${PWD_COMMAND}`; export r; \
9523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9524 $(HOST_EXPORTS) \
9525 for flag in $(EXTRA_HOST_FLAGS) ; do \
9526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9527 done; \
9528 echo "Doing maintainer-clean in gas" ; \
9529 (cd $(HOST_SUBDIR)/gas && \
9530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9532 "RANLIB=$${RANLIB}" \
9533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9534 maintainer-clean) \
9535 || exit 1
9537 @endif gas
9541 .PHONY: configure-gcc maybe-configure-gcc
9542 maybe-configure-gcc:
9543 @if gcc-bootstrap
9544 configure-gcc: stage_current
9545 @endif gcc-bootstrap
9546 @if gcc
9547 maybe-configure-gcc: configure-gcc
9548 configure-gcc:
9549 @r=`${PWD_COMMAND}`; export r; \
9550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9551 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9553 $(HOST_EXPORTS) \
9554 echo Configuring in $(HOST_SUBDIR)/gcc; \
9555 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9556 case $(srcdir) in \
9557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9558 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9560 esac; \
9561 srcdiroption="--srcdir=$${topdir}/gcc"; \
9562 libsrcdir="$$s/gcc"; \
9563 $(SHELL) $${libsrcdir}/configure \
9564 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9565 --target=${target_alias} $${srcdiroption} \
9566 || exit 1
9567 @endif gcc
9571 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9572 maybe-configure-stage1-gcc:
9573 @if gcc-bootstrap
9574 maybe-configure-stage1-gcc: configure-stage1-gcc
9575 configure-stage1-gcc:
9576 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9578 @r=`${PWD_COMMAND}`; export r; \
9579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9580 TFLAGS="$(STAGE1_TFLAGS)"; \
9581 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9582 $(HOST_EXPORTS) \
9583 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9584 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9585 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9586 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9588 cd $(HOST_SUBDIR)/gcc || exit 1; \
9589 case $(srcdir) in \
9590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9591 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9593 esac; \
9594 srcdiroption="--srcdir=$${topdir}/gcc"; \
9595 libsrcdir="$$s/gcc"; \
9596 $(SHELL) $${libsrcdir}/configure \
9597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9598 --target=${target_alias} $${srcdiroption} \
9599 $(STAGE1_CONFIGURE_FLAGS)
9600 @endif gcc-bootstrap
9602 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9603 maybe-configure-stage2-gcc:
9604 @if gcc-bootstrap
9605 maybe-configure-stage2-gcc: configure-stage2-gcc
9606 configure-stage2-gcc:
9607 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9609 @r=`${PWD_COMMAND}`; export r; \
9610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9611 TFLAGS="$(STAGE2_TFLAGS)"; \
9612 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9613 $(HOST_EXPORTS) \
9614 $(POSTSTAGE1_HOST_EXPORTS) \
9615 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9616 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9617 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9618 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9620 cd $(HOST_SUBDIR)/gcc || exit 1; \
9621 case $(srcdir) in \
9622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9623 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9625 esac; \
9626 srcdiroption="--srcdir=$${topdir}/gcc"; \
9627 libsrcdir="$$s/gcc"; \
9628 $(SHELL) $${libsrcdir}/configure \
9629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9630 --target=${target_alias} $${srcdiroption} \
9631 --with-build-libsubdir=$(HOST_SUBDIR) \
9632 $(STAGE2_CONFIGURE_FLAGS)
9633 @endif gcc-bootstrap
9635 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9636 maybe-configure-stage3-gcc:
9637 @if gcc-bootstrap
9638 maybe-configure-stage3-gcc: configure-stage3-gcc
9639 configure-stage3-gcc:
9640 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9642 @r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 TFLAGS="$(STAGE3_TFLAGS)"; \
9645 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9646 $(HOST_EXPORTS) \
9647 $(POSTSTAGE1_HOST_EXPORTS) \
9648 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9649 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9650 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9651 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9653 cd $(HOST_SUBDIR)/gcc || exit 1; \
9654 case $(srcdir) in \
9655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9656 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9658 esac; \
9659 srcdiroption="--srcdir=$${topdir}/gcc"; \
9660 libsrcdir="$$s/gcc"; \
9661 $(SHELL) $${libsrcdir}/configure \
9662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9663 --target=${target_alias} $${srcdiroption} \
9664 --with-build-libsubdir=$(HOST_SUBDIR) \
9665 $(STAGE3_CONFIGURE_FLAGS)
9666 @endif gcc-bootstrap
9668 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9669 maybe-configure-stage4-gcc:
9670 @if gcc-bootstrap
9671 maybe-configure-stage4-gcc: configure-stage4-gcc
9672 configure-stage4-gcc:
9673 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9675 @r=`${PWD_COMMAND}`; export r; \
9676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9677 TFLAGS="$(STAGE4_TFLAGS)"; \
9678 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9679 $(HOST_EXPORTS) \
9680 $(POSTSTAGE1_HOST_EXPORTS) \
9681 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9682 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9683 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9684 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9686 cd $(HOST_SUBDIR)/gcc || exit 1; \
9687 case $(srcdir) in \
9688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9689 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9691 esac; \
9692 srcdiroption="--srcdir=$${topdir}/gcc"; \
9693 libsrcdir="$$s/gcc"; \
9694 $(SHELL) $${libsrcdir}/configure \
9695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9696 --target=${target_alias} $${srcdiroption} \
9697 --with-build-libsubdir=$(HOST_SUBDIR) \
9698 $(STAGE4_CONFIGURE_FLAGS)
9699 @endif gcc-bootstrap
9701 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9702 maybe-configure-stageprofile-gcc:
9703 @if gcc-bootstrap
9704 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9705 configure-stageprofile-gcc:
9706 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9708 @r=`${PWD_COMMAND}`; export r; \
9709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9710 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9711 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9712 $(HOST_EXPORTS) \
9713 $(POSTSTAGE1_HOST_EXPORTS) \
9714 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9715 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9716 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9717 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9719 cd $(HOST_SUBDIR)/gcc || exit 1; \
9720 case $(srcdir) in \
9721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9722 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9724 esac; \
9725 srcdiroption="--srcdir=$${topdir}/gcc"; \
9726 libsrcdir="$$s/gcc"; \
9727 $(SHELL) $${libsrcdir}/configure \
9728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9729 --target=${target_alias} $${srcdiroption} \
9730 --with-build-libsubdir=$(HOST_SUBDIR) \
9731 $(STAGEprofile_CONFIGURE_FLAGS)
9732 @endif gcc-bootstrap
9734 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9735 maybe-configure-stagefeedback-gcc:
9736 @if gcc-bootstrap
9737 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9738 configure-stagefeedback-gcc:
9739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9741 @r=`${PWD_COMMAND}`; export r; \
9742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9744 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9745 $(HOST_EXPORTS) \
9746 $(POSTSTAGE1_HOST_EXPORTS) \
9747 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9750 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9752 cd $(HOST_SUBDIR)/gcc || exit 1; \
9753 case $(srcdir) in \
9754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9755 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9757 esac; \
9758 srcdiroption="--srcdir=$${topdir}/gcc"; \
9759 libsrcdir="$$s/gcc"; \
9760 $(SHELL) $${libsrcdir}/configure \
9761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9762 --target=${target_alias} $${srcdiroption} \
9763 --with-build-libsubdir=$(HOST_SUBDIR) \
9764 $(STAGEfeedback_CONFIGURE_FLAGS)
9765 @endif gcc-bootstrap
9771 .PHONY: all-gcc maybe-all-gcc
9772 maybe-all-gcc:
9773 @if gcc-bootstrap
9774 all-gcc: stage_current
9775 @endif gcc-bootstrap
9776 @if gcc
9777 TARGET-gcc=all
9778 maybe-all-gcc: all-gcc
9779 all-gcc: configure-gcc
9780 @r=`${PWD_COMMAND}`; export r; \
9781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9782 $(HOST_EXPORTS) \
9783 (cd $(HOST_SUBDIR)/gcc && \
9784 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9785 $(TARGET-gcc))
9786 @endif gcc
9790 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9791 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9792 maybe-all-stage1-gcc:
9793 maybe-clean-stage1-gcc:
9794 @if gcc-bootstrap
9795 maybe-all-stage1-gcc: all-stage1-gcc
9796 all-stage1: all-stage1-gcc
9797 TARGET-stage1-gcc = $(TARGET-gcc)
9798 all-stage1-gcc: configure-stage1-gcc
9799 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9800 @r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 TFLAGS="$(STAGE1_TFLAGS)"; \
9803 $(HOST_EXPORTS) \
9804 cd $(HOST_SUBDIR)/gcc && \
9805 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9806 CFLAGS="$(STAGE1_CFLAGS)" \
9807 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9808 LIBCFLAGS="$(LIBCFLAGS)" \
9809 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9810 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9811 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9812 $(EXTRA_HOST_FLAGS) \
9813 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9814 TFLAGS="$(STAGE1_TFLAGS)" \
9815 $(TARGET-stage1-gcc)
9817 maybe-clean-stage1-gcc: clean-stage1-gcc
9818 clean-stage1: clean-stage1-gcc
9819 clean-stage1-gcc:
9820 @if [ $(current_stage) = stage1 ]; then \
9821 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9822 else \
9823 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9824 $(MAKE) stage1-start; \
9825 fi; \
9826 cd $(HOST_SUBDIR)/gcc && \
9827 $(MAKE) $(EXTRA_HOST_FLAGS) \
9828 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9829 @endif gcc-bootstrap
9832 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9833 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9834 maybe-all-stage2-gcc:
9835 maybe-clean-stage2-gcc:
9836 @if gcc-bootstrap
9837 maybe-all-stage2-gcc: all-stage2-gcc
9838 all-stage2: all-stage2-gcc
9839 TARGET-stage2-gcc = $(TARGET-gcc)
9840 all-stage2-gcc: configure-stage2-gcc
9841 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9842 @r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9844 TFLAGS="$(STAGE2_TFLAGS)"; \
9845 $(HOST_EXPORTS) \
9846 $(POSTSTAGE1_HOST_EXPORTS) \
9847 cd $(HOST_SUBDIR)/gcc && \
9848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9849 CFLAGS="$(STAGE2_CFLAGS)" \
9850 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9851 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9852 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9853 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9854 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9855 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9856 TFLAGS="$(STAGE2_TFLAGS)" \
9857 $(TARGET-stage2-gcc)
9859 maybe-clean-stage2-gcc: clean-stage2-gcc
9860 clean-stage2: clean-stage2-gcc
9861 clean-stage2-gcc:
9862 @if [ $(current_stage) = stage2 ]; then \
9863 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9864 else \
9865 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9866 $(MAKE) stage2-start; \
9867 fi; \
9868 cd $(HOST_SUBDIR)/gcc && \
9869 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9870 @endif gcc-bootstrap
9873 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9874 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9875 maybe-all-stage3-gcc:
9876 maybe-clean-stage3-gcc:
9877 @if gcc-bootstrap
9878 maybe-all-stage3-gcc: all-stage3-gcc
9879 all-stage3: all-stage3-gcc
9880 TARGET-stage3-gcc = $(TARGET-gcc)
9881 all-stage3-gcc: configure-stage3-gcc
9882 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9883 @r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9885 TFLAGS="$(STAGE3_TFLAGS)"; \
9886 $(HOST_EXPORTS) \
9887 $(POSTSTAGE1_HOST_EXPORTS) \
9888 cd $(HOST_SUBDIR)/gcc && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9890 CFLAGS="$(STAGE3_CFLAGS)" \
9891 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9892 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9896 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9897 TFLAGS="$(STAGE3_TFLAGS)" \
9898 $(TARGET-stage3-gcc)
9900 maybe-clean-stage3-gcc: clean-stage3-gcc
9901 clean-stage3: clean-stage3-gcc
9902 clean-stage3-gcc:
9903 @if [ $(current_stage) = stage3 ]; then \
9904 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9905 else \
9906 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9907 $(MAKE) stage3-start; \
9908 fi; \
9909 cd $(HOST_SUBDIR)/gcc && \
9910 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9911 @endif gcc-bootstrap
9914 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9915 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9916 maybe-all-stage4-gcc:
9917 maybe-clean-stage4-gcc:
9918 @if gcc-bootstrap
9919 maybe-all-stage4-gcc: all-stage4-gcc
9920 all-stage4: all-stage4-gcc
9921 TARGET-stage4-gcc = $(TARGET-gcc)
9922 all-stage4-gcc: configure-stage4-gcc
9923 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9924 @r=`${PWD_COMMAND}`; export r; \
9925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9926 TFLAGS="$(STAGE4_TFLAGS)"; \
9927 $(HOST_EXPORTS) \
9928 $(POSTSTAGE1_HOST_EXPORTS) \
9929 cd $(HOST_SUBDIR)/gcc && \
9930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9931 CFLAGS="$(STAGE4_CFLAGS)" \
9932 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9933 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9938 TFLAGS="$(STAGE4_TFLAGS)" \
9939 $(TARGET-stage4-gcc)
9941 maybe-clean-stage4-gcc: clean-stage4-gcc
9942 clean-stage4: clean-stage4-gcc
9943 clean-stage4-gcc:
9944 @if [ $(current_stage) = stage4 ]; then \
9945 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9946 else \
9947 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9948 $(MAKE) stage4-start; \
9949 fi; \
9950 cd $(HOST_SUBDIR)/gcc && \
9951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9952 @endif gcc-bootstrap
9955 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9956 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9957 maybe-all-stageprofile-gcc:
9958 maybe-clean-stageprofile-gcc:
9959 @if gcc-bootstrap
9960 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9961 all-stageprofile: all-stageprofile-gcc
9962 TARGET-stageprofile-gcc = $(TARGET-gcc)
9963 all-stageprofile-gcc: configure-stageprofile-gcc
9964 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9965 @r=`${PWD_COMMAND}`; export r; \
9966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9967 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9968 $(HOST_EXPORTS) \
9969 $(POSTSTAGE1_HOST_EXPORTS) \
9970 cd $(HOST_SUBDIR)/gcc && \
9971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9972 CFLAGS="$(STAGEprofile_CFLAGS)" \
9973 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9974 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9979 TFLAGS="$(STAGEprofile_TFLAGS)" \
9980 $(TARGET-stageprofile-gcc)
9982 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9983 clean-stageprofile: clean-stageprofile-gcc
9984 clean-stageprofile-gcc:
9985 @if [ $(current_stage) = stageprofile ]; then \
9986 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9987 else \
9988 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9989 $(MAKE) stageprofile-start; \
9990 fi; \
9991 cd $(HOST_SUBDIR)/gcc && \
9992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9993 @endif gcc-bootstrap
9996 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9997 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9998 maybe-all-stagefeedback-gcc:
9999 maybe-clean-stagefeedback-gcc:
10000 @if gcc-bootstrap
10001 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10002 all-stagefeedback: all-stagefeedback-gcc
10003 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10004 all-stagefeedback-gcc: configure-stagefeedback-gcc
10005 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10006 @r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10008 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10009 $(HOST_EXPORTS) \
10010 $(POSTSTAGE1_HOST_EXPORTS) \
10011 cd $(HOST_SUBDIR)/gcc && \
10012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10013 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10014 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10015 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10020 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10021 $(TARGET-stagefeedback-gcc)
10023 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10024 clean-stagefeedback: clean-stagefeedback-gcc
10025 clean-stagefeedback-gcc:
10026 @if [ $(current_stage) = stagefeedback ]; then \
10027 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10028 else \
10029 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10030 $(MAKE) stagefeedback-start; \
10031 fi; \
10032 cd $(HOST_SUBDIR)/gcc && \
10033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10034 @endif gcc-bootstrap
10040 .PHONY: check-gcc maybe-check-gcc
10041 maybe-check-gcc:
10042 @if gcc
10043 maybe-check-gcc: check-gcc
10045 check-gcc:
10046 @: $(MAKE); $(unstage)
10047 @r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(HOST_EXPORTS) \
10050 (cd $(HOST_SUBDIR)/gcc && \
10051 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10053 @endif gcc
10055 .PHONY: install-gcc maybe-install-gcc
10056 maybe-install-gcc:
10057 @if gcc
10058 maybe-install-gcc: install-gcc
10060 install-gcc: installdirs
10061 @: $(MAKE); $(unstage)
10062 @r=`${PWD_COMMAND}`; export r; \
10063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10064 $(HOST_EXPORTS) \
10065 (cd $(HOST_SUBDIR)/gcc && \
10066 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10068 @endif gcc
10070 .PHONY: install-strip-gcc maybe-install-strip-gcc
10071 maybe-install-strip-gcc:
10072 @if gcc
10073 maybe-install-strip-gcc: install-strip-gcc
10075 install-strip-gcc: installdirs
10076 @: $(MAKE); $(unstage)
10077 @r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10079 $(HOST_EXPORTS) \
10080 (cd $(HOST_SUBDIR)/gcc && \
10081 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10083 @endif gcc
10085 # Other targets (info, dvi, pdf, etc.)
10087 .PHONY: maybe-info-gcc info-gcc
10088 maybe-info-gcc:
10089 @if gcc
10090 maybe-info-gcc: info-gcc
10092 info-gcc: \
10093 configure-gcc
10094 @[ -f ./gcc/Makefile ] || exit 0; \
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 $(HOST_EXPORTS) \
10098 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10100 done; \
10101 echo "Doing info in gcc" ; \
10102 (cd $(HOST_SUBDIR)/gcc && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10107 info) \
10108 || exit 1
10110 @endif gcc
10112 .PHONY: maybe-dvi-gcc dvi-gcc
10113 maybe-dvi-gcc:
10114 @if gcc
10115 maybe-dvi-gcc: dvi-gcc
10117 dvi-gcc: \
10118 configure-gcc
10119 @[ -f ./gcc/Makefile ] || exit 0; \
10120 r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 $(HOST_EXPORTS) \
10123 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 done; \
10126 echo "Doing dvi in gcc" ; \
10127 (cd $(HOST_SUBDIR)/gcc && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10132 dvi) \
10133 || exit 1
10135 @endif gcc
10137 .PHONY: maybe-pdf-gcc pdf-gcc
10138 maybe-pdf-gcc:
10139 @if gcc
10140 maybe-pdf-gcc: pdf-gcc
10142 pdf-gcc: \
10143 configure-gcc
10144 @[ -f ./gcc/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 $(HOST_EXPORTS) \
10148 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 done; \
10151 echo "Doing pdf in gcc" ; \
10152 (cd $(HOST_SUBDIR)/gcc && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10157 pdf) \
10158 || exit 1
10160 @endif gcc
10162 .PHONY: maybe-html-gcc html-gcc
10163 maybe-html-gcc:
10164 @if gcc
10165 maybe-html-gcc: html-gcc
10167 html-gcc: \
10168 configure-gcc
10169 @[ -f ./gcc/Makefile ] || exit 0; \
10170 r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 $(HOST_EXPORTS) \
10173 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10175 done; \
10176 echo "Doing html in gcc" ; \
10177 (cd $(HOST_SUBDIR)/gcc && \
10178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10180 "RANLIB=$${RANLIB}" \
10181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10182 html) \
10183 || exit 1
10185 @endif gcc
10187 .PHONY: maybe-TAGS-gcc TAGS-gcc
10188 maybe-TAGS-gcc:
10189 @if gcc
10190 maybe-TAGS-gcc: TAGS-gcc
10192 TAGS-gcc: \
10193 configure-gcc
10194 @[ -f ./gcc/Makefile ] || exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing TAGS in gcc" ; \
10202 (cd $(HOST_SUBDIR)/gcc && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10207 TAGS) \
10208 || exit 1
10210 @endif gcc
10212 .PHONY: maybe-install-info-gcc install-info-gcc
10213 maybe-install-info-gcc:
10214 @if gcc
10215 maybe-install-info-gcc: install-info-gcc
10217 install-info-gcc: \
10218 configure-gcc \
10219 info-gcc
10220 @[ -f ./gcc/Makefile ] || exit 0; \
10221 r=`${PWD_COMMAND}`; export r; \
10222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10223 $(HOST_EXPORTS) \
10224 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10226 done; \
10227 echo "Doing install-info in gcc" ; \
10228 (cd $(HOST_SUBDIR)/gcc && \
10229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10231 "RANLIB=$${RANLIB}" \
10232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10233 install-info) \
10234 || exit 1
10236 @endif gcc
10238 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10239 maybe-install-pdf-gcc:
10240 @if gcc
10241 maybe-install-pdf-gcc: install-pdf-gcc
10243 install-pdf-gcc: \
10244 configure-gcc \
10245 pdf-gcc
10246 @[ -f ./gcc/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 $(HOST_EXPORTS) \
10250 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252 done; \
10253 echo "Doing install-pdf in gcc" ; \
10254 (cd $(HOST_SUBDIR)/gcc && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10259 install-pdf) \
10260 || exit 1
10262 @endif gcc
10264 .PHONY: maybe-install-html-gcc install-html-gcc
10265 maybe-install-html-gcc:
10266 @if gcc
10267 maybe-install-html-gcc: install-html-gcc
10269 install-html-gcc: \
10270 configure-gcc \
10271 html-gcc
10272 @[ -f ./gcc/Makefile ] || exit 0; \
10273 r=`${PWD_COMMAND}`; export r; \
10274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275 $(HOST_EXPORTS) \
10276 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278 done; \
10279 echo "Doing install-html in gcc" ; \
10280 (cd $(HOST_SUBDIR)/gcc && \
10281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283 "RANLIB=$${RANLIB}" \
10284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10285 install-html) \
10286 || exit 1
10288 @endif gcc
10290 .PHONY: maybe-installcheck-gcc installcheck-gcc
10291 maybe-installcheck-gcc:
10292 @if gcc
10293 maybe-installcheck-gcc: installcheck-gcc
10295 installcheck-gcc: \
10296 configure-gcc
10297 @[ -f ./gcc/Makefile ] || exit 0; \
10298 r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(HOST_EXPORTS) \
10301 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10303 done; \
10304 echo "Doing installcheck in gcc" ; \
10305 (cd $(HOST_SUBDIR)/gcc && \
10306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10308 "RANLIB=$${RANLIB}" \
10309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10310 installcheck) \
10311 || exit 1
10313 @endif gcc
10315 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10316 maybe-mostlyclean-gcc:
10317 @if gcc
10318 maybe-mostlyclean-gcc: mostlyclean-gcc
10320 mostlyclean-gcc:
10321 @[ -f ./gcc/Makefile ] || exit 0; \
10322 r=`${PWD_COMMAND}`; export r; \
10323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324 $(HOST_EXPORTS) \
10325 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10327 done; \
10328 echo "Doing mostlyclean in gcc" ; \
10329 (cd $(HOST_SUBDIR)/gcc && \
10330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10332 "RANLIB=$${RANLIB}" \
10333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10334 mostlyclean) \
10335 || exit 1
10337 @endif gcc
10339 .PHONY: maybe-clean-gcc clean-gcc
10340 maybe-clean-gcc:
10341 @if gcc
10342 maybe-clean-gcc: clean-gcc
10344 clean-gcc:
10345 @[ -f ./gcc/Makefile ] || exit 0; \
10346 r=`${PWD_COMMAND}`; export r; \
10347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10348 $(HOST_EXPORTS) \
10349 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10351 done; \
10352 echo "Doing clean in gcc" ; \
10353 (cd $(HOST_SUBDIR)/gcc && \
10354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10356 "RANLIB=$${RANLIB}" \
10357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10358 clean) \
10359 || exit 1
10361 @endif gcc
10363 .PHONY: maybe-distclean-gcc distclean-gcc
10364 maybe-distclean-gcc:
10365 @if gcc
10366 maybe-distclean-gcc: distclean-gcc
10368 distclean-gcc:
10369 @[ -f ./gcc/Makefile ] || exit 0; \
10370 r=`${PWD_COMMAND}`; export r; \
10371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10372 $(HOST_EXPORTS) \
10373 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10375 done; \
10376 echo "Doing distclean in gcc" ; \
10377 (cd $(HOST_SUBDIR)/gcc && \
10378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10380 "RANLIB=$${RANLIB}" \
10381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10382 distclean) \
10383 || exit 1
10385 @endif gcc
10387 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10388 maybe-maintainer-clean-gcc:
10389 @if gcc
10390 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10392 maintainer-clean-gcc:
10393 @[ -f ./gcc/Makefile ] || exit 0; \
10394 r=`${PWD_COMMAND}`; export r; \
10395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10396 $(HOST_EXPORTS) \
10397 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10399 done; \
10400 echo "Doing maintainer-clean in gcc" ; \
10401 (cd $(HOST_SUBDIR)/gcc && \
10402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10404 "RANLIB=$${RANLIB}" \
10405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10406 maintainer-clean) \
10407 || exit 1
10409 @endif gcc
10413 .PHONY: configure-gmp maybe-configure-gmp
10414 maybe-configure-gmp:
10415 @if gcc-bootstrap
10416 configure-gmp: stage_current
10417 @endif gcc-bootstrap
10418 @if gmp
10419 maybe-configure-gmp: configure-gmp
10420 configure-gmp:
10421 @r=`${PWD_COMMAND}`; export r; \
10422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10423 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10425 $(HOST_EXPORTS) \
10426 echo Configuring in $(HOST_SUBDIR)/gmp; \
10427 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10428 case $(srcdir) in \
10429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10430 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10432 esac; \
10433 srcdiroption="--srcdir=$${topdir}/gmp"; \
10434 libsrcdir="$$s/gmp"; \
10435 $(SHELL) $${libsrcdir}/configure \
10436 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10437 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10438 || exit 1
10439 @endif gmp
10443 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10444 maybe-configure-stage1-gmp:
10445 @if gmp-bootstrap
10446 maybe-configure-stage1-gmp: configure-stage1-gmp
10447 configure-stage1-gmp:
10448 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10450 @r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 TFLAGS="$(STAGE1_TFLAGS)"; \
10453 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10454 $(HOST_EXPORTS) \
10455 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10456 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10457 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10458 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10460 cd $(HOST_SUBDIR)/gmp || exit 1; \
10461 case $(srcdir) in \
10462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10463 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10465 esac; \
10466 srcdiroption="--srcdir=$${topdir}/gmp"; \
10467 libsrcdir="$$s/gmp"; \
10468 $(SHELL) $${libsrcdir}/configure \
10469 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10470 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10471 $(STAGE1_CONFIGURE_FLAGS) \
10472 --disable-shared
10473 @endif gmp-bootstrap
10475 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10476 maybe-configure-stage2-gmp:
10477 @if gmp-bootstrap
10478 maybe-configure-stage2-gmp: configure-stage2-gmp
10479 configure-stage2-gmp:
10480 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10482 @r=`${PWD_COMMAND}`; export r; \
10483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10484 TFLAGS="$(STAGE2_TFLAGS)"; \
10485 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10486 $(HOST_EXPORTS) \
10487 $(POSTSTAGE1_HOST_EXPORTS) \
10488 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10489 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10490 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10491 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10493 cd $(HOST_SUBDIR)/gmp || exit 1; \
10494 case $(srcdir) in \
10495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10496 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10498 esac; \
10499 srcdiroption="--srcdir=$${topdir}/gmp"; \
10500 libsrcdir="$$s/gmp"; \
10501 $(SHELL) $${libsrcdir}/configure \
10502 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10503 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10504 --with-build-libsubdir=$(HOST_SUBDIR) \
10505 $(STAGE2_CONFIGURE_FLAGS) \
10506 --disable-shared
10507 @endif gmp-bootstrap
10509 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10510 maybe-configure-stage3-gmp:
10511 @if gmp-bootstrap
10512 maybe-configure-stage3-gmp: configure-stage3-gmp
10513 configure-stage3-gmp:
10514 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10516 @r=`${PWD_COMMAND}`; export r; \
10517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 TFLAGS="$(STAGE3_TFLAGS)"; \
10519 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10520 $(HOST_EXPORTS) \
10521 $(POSTSTAGE1_HOST_EXPORTS) \
10522 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10523 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10524 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10525 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10527 cd $(HOST_SUBDIR)/gmp || exit 1; \
10528 case $(srcdir) in \
10529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10530 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10532 esac; \
10533 srcdiroption="--srcdir=$${topdir}/gmp"; \
10534 libsrcdir="$$s/gmp"; \
10535 $(SHELL) $${libsrcdir}/configure \
10536 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10537 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10538 --with-build-libsubdir=$(HOST_SUBDIR) \
10539 $(STAGE3_CONFIGURE_FLAGS) \
10540 --disable-shared
10541 @endif gmp-bootstrap
10543 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10544 maybe-configure-stage4-gmp:
10545 @if gmp-bootstrap
10546 maybe-configure-stage4-gmp: configure-stage4-gmp
10547 configure-stage4-gmp:
10548 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10550 @r=`${PWD_COMMAND}`; export r; \
10551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10552 TFLAGS="$(STAGE4_TFLAGS)"; \
10553 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10554 $(HOST_EXPORTS) \
10555 $(POSTSTAGE1_HOST_EXPORTS) \
10556 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10557 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10558 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10559 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10561 cd $(HOST_SUBDIR)/gmp || exit 1; \
10562 case $(srcdir) in \
10563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10564 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10566 esac; \
10567 srcdiroption="--srcdir=$${topdir}/gmp"; \
10568 libsrcdir="$$s/gmp"; \
10569 $(SHELL) $${libsrcdir}/configure \
10570 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10571 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10572 --with-build-libsubdir=$(HOST_SUBDIR) \
10573 $(STAGE4_CONFIGURE_FLAGS) \
10574 --disable-shared
10575 @endif gmp-bootstrap
10577 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10578 maybe-configure-stageprofile-gmp:
10579 @if gmp-bootstrap
10580 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10581 configure-stageprofile-gmp:
10582 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10584 @r=`${PWD_COMMAND}`; export r; \
10585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10587 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10588 $(HOST_EXPORTS) \
10589 $(POSTSTAGE1_HOST_EXPORTS) \
10590 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10591 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10592 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10593 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10595 cd $(HOST_SUBDIR)/gmp || exit 1; \
10596 case $(srcdir) in \
10597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10598 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10600 esac; \
10601 srcdiroption="--srcdir=$${topdir}/gmp"; \
10602 libsrcdir="$$s/gmp"; \
10603 $(SHELL) $${libsrcdir}/configure \
10604 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10605 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10606 --with-build-libsubdir=$(HOST_SUBDIR) \
10607 $(STAGEprofile_CONFIGURE_FLAGS) \
10608 --disable-shared
10609 @endif gmp-bootstrap
10611 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10612 maybe-configure-stagefeedback-gmp:
10613 @if gmp-bootstrap
10614 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10615 configure-stagefeedback-gmp:
10616 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10618 @r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10620 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10621 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10622 $(HOST_EXPORTS) \
10623 $(POSTSTAGE1_HOST_EXPORTS) \
10624 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10625 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10626 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10627 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10629 cd $(HOST_SUBDIR)/gmp || exit 1; \
10630 case $(srcdir) in \
10631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10632 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10634 esac; \
10635 srcdiroption="--srcdir=$${topdir}/gmp"; \
10636 libsrcdir="$$s/gmp"; \
10637 $(SHELL) $${libsrcdir}/configure \
10638 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10639 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10640 --with-build-libsubdir=$(HOST_SUBDIR) \
10641 $(STAGEfeedback_CONFIGURE_FLAGS) \
10642 --disable-shared
10643 @endif gmp-bootstrap
10649 .PHONY: all-gmp maybe-all-gmp
10650 maybe-all-gmp:
10651 @if gcc-bootstrap
10652 all-gmp: stage_current
10653 @endif gcc-bootstrap
10654 @if gmp
10655 TARGET-gmp=all
10656 maybe-all-gmp: all-gmp
10657 all-gmp: configure-gmp
10658 @r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(HOST_EXPORTS) \
10661 (cd $(HOST_SUBDIR)/gmp && \
10662 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10663 $(TARGET-gmp))
10664 @endif gmp
10668 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10669 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10670 maybe-all-stage1-gmp:
10671 maybe-clean-stage1-gmp:
10672 @if gmp-bootstrap
10673 maybe-all-stage1-gmp: all-stage1-gmp
10674 all-stage1: all-stage1-gmp
10675 TARGET-stage1-gmp = $(TARGET-gmp)
10676 all-stage1-gmp: configure-stage1-gmp
10677 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10678 @r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10680 TFLAGS="$(STAGE1_TFLAGS)"; \
10681 $(HOST_EXPORTS) \
10682 cd $(HOST_SUBDIR)/gmp && \
10683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10684 CFLAGS="$(STAGE1_CFLAGS)" \
10685 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10686 LIBCFLAGS="$(LIBCFLAGS)" \
10687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10690 $(EXTRA_HOST_FLAGS) \
10691 $(STAGE1_FLAGS_TO_PASS) \
10692 TFLAGS="$(STAGE1_TFLAGS)" \
10693 $(TARGET-stage1-gmp)
10695 maybe-clean-stage1-gmp: clean-stage1-gmp
10696 clean-stage1: clean-stage1-gmp
10697 clean-stage1-gmp:
10698 @if [ $(current_stage) = stage1 ]; then \
10699 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10700 else \
10701 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10702 $(MAKE) stage1-start; \
10703 fi; \
10704 cd $(HOST_SUBDIR)/gmp && \
10705 $(MAKE) $(EXTRA_HOST_FLAGS) \
10706 $(STAGE1_FLAGS_TO_PASS) clean
10707 @endif gmp-bootstrap
10710 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10711 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10712 maybe-all-stage2-gmp:
10713 maybe-clean-stage2-gmp:
10714 @if gmp-bootstrap
10715 maybe-all-stage2-gmp: all-stage2-gmp
10716 all-stage2: all-stage2-gmp
10717 TARGET-stage2-gmp = $(TARGET-gmp)
10718 all-stage2-gmp: configure-stage2-gmp
10719 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10720 @r=`${PWD_COMMAND}`; export r; \
10721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10722 TFLAGS="$(STAGE2_TFLAGS)"; \
10723 $(HOST_EXPORTS) \
10724 $(POSTSTAGE1_HOST_EXPORTS) \
10725 cd $(HOST_SUBDIR)/gmp && \
10726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10727 CFLAGS="$(STAGE2_CFLAGS)" \
10728 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10729 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10734 TFLAGS="$(STAGE2_TFLAGS)" \
10735 $(TARGET-stage2-gmp)
10737 maybe-clean-stage2-gmp: clean-stage2-gmp
10738 clean-stage2: clean-stage2-gmp
10739 clean-stage2-gmp:
10740 @if [ $(current_stage) = stage2 ]; then \
10741 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10742 else \
10743 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10744 $(MAKE) stage2-start; \
10745 fi; \
10746 cd $(HOST_SUBDIR)/gmp && \
10747 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10748 @endif gmp-bootstrap
10751 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10752 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10753 maybe-all-stage3-gmp:
10754 maybe-clean-stage3-gmp:
10755 @if gmp-bootstrap
10756 maybe-all-stage3-gmp: all-stage3-gmp
10757 all-stage3: all-stage3-gmp
10758 TARGET-stage3-gmp = $(TARGET-gmp)
10759 all-stage3-gmp: configure-stage3-gmp
10760 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10761 @r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10763 TFLAGS="$(STAGE3_TFLAGS)"; \
10764 $(HOST_EXPORTS) \
10765 $(POSTSTAGE1_HOST_EXPORTS) \
10766 cd $(HOST_SUBDIR)/gmp && \
10767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10768 CFLAGS="$(STAGE3_CFLAGS)" \
10769 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10770 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10771 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10772 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10773 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10774 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10775 TFLAGS="$(STAGE3_TFLAGS)" \
10776 $(TARGET-stage3-gmp)
10778 maybe-clean-stage3-gmp: clean-stage3-gmp
10779 clean-stage3: clean-stage3-gmp
10780 clean-stage3-gmp:
10781 @if [ $(current_stage) = stage3 ]; then \
10782 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10783 else \
10784 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10785 $(MAKE) stage3-start; \
10786 fi; \
10787 cd $(HOST_SUBDIR)/gmp && \
10788 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10789 @endif gmp-bootstrap
10792 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10793 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10794 maybe-all-stage4-gmp:
10795 maybe-clean-stage4-gmp:
10796 @if gmp-bootstrap
10797 maybe-all-stage4-gmp: all-stage4-gmp
10798 all-stage4: all-stage4-gmp
10799 TARGET-stage4-gmp = $(TARGET-gmp)
10800 all-stage4-gmp: configure-stage4-gmp
10801 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10802 @r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 TFLAGS="$(STAGE4_TFLAGS)"; \
10805 $(HOST_EXPORTS) \
10806 $(POSTSTAGE1_HOST_EXPORTS) \
10807 cd $(HOST_SUBDIR)/gmp && \
10808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10809 CFLAGS="$(STAGE4_CFLAGS)" \
10810 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10811 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10812 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10813 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10814 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10815 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10816 TFLAGS="$(STAGE4_TFLAGS)" \
10817 $(TARGET-stage4-gmp)
10819 maybe-clean-stage4-gmp: clean-stage4-gmp
10820 clean-stage4: clean-stage4-gmp
10821 clean-stage4-gmp:
10822 @if [ $(current_stage) = stage4 ]; then \
10823 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10824 else \
10825 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10826 $(MAKE) stage4-start; \
10827 fi; \
10828 cd $(HOST_SUBDIR)/gmp && \
10829 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10830 @endif gmp-bootstrap
10833 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10834 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10835 maybe-all-stageprofile-gmp:
10836 maybe-clean-stageprofile-gmp:
10837 @if gmp-bootstrap
10838 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10839 all-stageprofile: all-stageprofile-gmp
10840 TARGET-stageprofile-gmp = $(TARGET-gmp)
10841 all-stageprofile-gmp: configure-stageprofile-gmp
10842 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10843 @r=`${PWD_COMMAND}`; export r; \
10844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10845 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10846 $(HOST_EXPORTS) \
10847 $(POSTSTAGE1_HOST_EXPORTS) \
10848 cd $(HOST_SUBDIR)/gmp && \
10849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10850 CFLAGS="$(STAGEprofile_CFLAGS)" \
10851 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10852 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10857 TFLAGS="$(STAGEprofile_TFLAGS)" \
10858 $(TARGET-stageprofile-gmp)
10860 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10861 clean-stageprofile: clean-stageprofile-gmp
10862 clean-stageprofile-gmp:
10863 @if [ $(current_stage) = stageprofile ]; then \
10864 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10865 else \
10866 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10867 $(MAKE) stageprofile-start; \
10868 fi; \
10869 cd $(HOST_SUBDIR)/gmp && \
10870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10871 @endif gmp-bootstrap
10874 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10875 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10876 maybe-all-stagefeedback-gmp:
10877 maybe-clean-stagefeedback-gmp:
10878 @if gmp-bootstrap
10879 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10880 all-stagefeedback: all-stagefeedback-gmp
10881 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10882 all-stagefeedback-gmp: configure-stagefeedback-gmp
10883 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10884 @r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10887 $(HOST_EXPORTS) \
10888 $(POSTSTAGE1_HOST_EXPORTS) \
10889 cd $(HOST_SUBDIR)/gmp && \
10890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10891 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10892 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10893 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10898 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10899 $(TARGET-stagefeedback-gmp)
10901 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10902 clean-stagefeedback: clean-stagefeedback-gmp
10903 clean-stagefeedback-gmp:
10904 @if [ $(current_stage) = stagefeedback ]; then \
10905 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10906 else \
10907 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10908 $(MAKE) stagefeedback-start; \
10909 fi; \
10910 cd $(HOST_SUBDIR)/gmp && \
10911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10912 @endif gmp-bootstrap
10918 .PHONY: check-gmp maybe-check-gmp
10919 maybe-check-gmp:
10920 @if gmp
10921 maybe-check-gmp: check-gmp
10923 check-gmp:
10924 @: $(MAKE); $(unstage)
10925 @r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10927 $(HOST_EXPORTS) \
10928 (cd $(HOST_SUBDIR)/gmp && \
10929 $(MAKE) $(FLAGS_TO_PASS) check)
10931 @endif gmp
10933 .PHONY: install-gmp maybe-install-gmp
10934 maybe-install-gmp:
10935 @if gmp
10936 maybe-install-gmp: install-gmp
10938 install-gmp:
10940 @endif gmp
10942 .PHONY: install-strip-gmp maybe-install-strip-gmp
10943 maybe-install-strip-gmp:
10944 @if gmp
10945 maybe-install-strip-gmp: install-strip-gmp
10947 install-strip-gmp:
10949 @endif gmp
10951 # Other targets (info, dvi, pdf, etc.)
10953 .PHONY: maybe-info-gmp info-gmp
10954 maybe-info-gmp:
10955 @if gmp
10956 maybe-info-gmp: info-gmp
10958 info-gmp: \
10959 configure-gmp
10960 @[ -f ./gmp/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(HOST_EXPORTS) \
10964 for flag in $(EXTRA_HOST_FLAGS) ; do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 done; \
10967 echo "Doing info in gmp" ; \
10968 (cd $(HOST_SUBDIR)/gmp && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10973 info) \
10974 || exit 1
10976 @endif gmp
10978 .PHONY: maybe-dvi-gmp dvi-gmp
10979 maybe-dvi-gmp:
10980 @if gmp
10981 maybe-dvi-gmp: dvi-gmp
10983 dvi-gmp: \
10984 configure-gmp
10985 @[ -f ./gmp/Makefile ] || exit 0; \
10986 r=`${PWD_COMMAND}`; export r; \
10987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10988 $(HOST_EXPORTS) \
10989 for flag in $(EXTRA_HOST_FLAGS) ; do \
10990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10991 done; \
10992 echo "Doing dvi in gmp" ; \
10993 (cd $(HOST_SUBDIR)/gmp && \
10994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10996 "RANLIB=$${RANLIB}" \
10997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10998 dvi) \
10999 || exit 1
11001 @endif gmp
11003 .PHONY: maybe-pdf-gmp pdf-gmp
11004 maybe-pdf-gmp:
11005 @if gmp
11006 maybe-pdf-gmp: pdf-gmp
11008 pdf-gmp: \
11009 configure-gmp
11010 @[ -f ./gmp/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(HOST_EXPORTS) \
11014 for flag in $(EXTRA_HOST_FLAGS) ; do \
11015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11016 done; \
11017 echo "Doing pdf in gmp" ; \
11018 (cd $(HOST_SUBDIR)/gmp && \
11019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11021 "RANLIB=$${RANLIB}" \
11022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11023 pdf) \
11024 || exit 1
11026 @endif gmp
11028 .PHONY: maybe-html-gmp html-gmp
11029 maybe-html-gmp:
11030 @if gmp
11031 maybe-html-gmp: html-gmp
11033 html-gmp: \
11034 configure-gmp
11035 @[ -f ./gmp/Makefile ] || exit 0; \
11036 r=`${PWD_COMMAND}`; export r; \
11037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11038 $(HOST_EXPORTS) \
11039 for flag in $(EXTRA_HOST_FLAGS) ; do \
11040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11041 done; \
11042 echo "Doing html in gmp" ; \
11043 (cd $(HOST_SUBDIR)/gmp && \
11044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11046 "RANLIB=$${RANLIB}" \
11047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11048 html) \
11049 || exit 1
11051 @endif gmp
11053 .PHONY: maybe-TAGS-gmp TAGS-gmp
11054 maybe-TAGS-gmp:
11055 @if gmp
11056 maybe-TAGS-gmp: TAGS-gmp
11058 TAGS-gmp: \
11059 configure-gmp
11060 @[ -f ./gmp/Makefile ] || exit 0; \
11061 r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11063 $(HOST_EXPORTS) \
11064 for flag in $(EXTRA_HOST_FLAGS) ; do \
11065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11066 done; \
11067 echo "Doing TAGS in gmp" ; \
11068 (cd $(HOST_SUBDIR)/gmp && \
11069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11071 "RANLIB=$${RANLIB}" \
11072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11073 TAGS) \
11074 || exit 1
11076 @endif gmp
11078 .PHONY: maybe-install-info-gmp install-info-gmp
11079 maybe-install-info-gmp:
11080 @if gmp
11081 maybe-install-info-gmp: install-info-gmp
11083 install-info-gmp: \
11084 configure-gmp \
11085 info-gmp
11086 @[ -f ./gmp/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11089 $(HOST_EXPORTS) \
11090 for flag in $(EXTRA_HOST_FLAGS) ; do \
11091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11092 done; \
11093 echo "Doing install-info in gmp" ; \
11094 (cd $(HOST_SUBDIR)/gmp && \
11095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11097 "RANLIB=$${RANLIB}" \
11098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11099 install-info) \
11100 || exit 1
11102 @endif gmp
11104 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11105 maybe-install-pdf-gmp:
11106 @if gmp
11107 maybe-install-pdf-gmp: install-pdf-gmp
11109 install-pdf-gmp: \
11110 configure-gmp \
11111 pdf-gmp
11112 @[ -f ./gmp/Makefile ] || exit 0; \
11113 r=`${PWD_COMMAND}`; export r; \
11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11115 $(HOST_EXPORTS) \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing install-pdf in gmp" ; \
11120 (cd $(HOST_SUBDIR)/gmp && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11125 install-pdf) \
11126 || exit 1
11128 @endif gmp
11130 .PHONY: maybe-install-html-gmp install-html-gmp
11131 maybe-install-html-gmp:
11132 @if gmp
11133 maybe-install-html-gmp: install-html-gmp
11135 install-html-gmp: \
11136 configure-gmp \
11137 html-gmp
11138 @[ -f ./gmp/Makefile ] || exit 0; \
11139 r=`${PWD_COMMAND}`; export r; \
11140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11141 $(HOST_EXPORTS) \
11142 for flag in $(EXTRA_HOST_FLAGS) ; do \
11143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11144 done; \
11145 echo "Doing install-html in gmp" ; \
11146 (cd $(HOST_SUBDIR)/gmp && \
11147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11149 "RANLIB=$${RANLIB}" \
11150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11151 install-html) \
11152 || exit 1
11154 @endif gmp
11156 .PHONY: maybe-installcheck-gmp installcheck-gmp
11157 maybe-installcheck-gmp:
11158 @if gmp
11159 maybe-installcheck-gmp: installcheck-gmp
11161 installcheck-gmp: \
11162 configure-gmp
11163 @[ -f ./gmp/Makefile ] || exit 0; \
11164 r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 $(HOST_EXPORTS) \
11167 for flag in $(EXTRA_HOST_FLAGS) ; do \
11168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11169 done; \
11170 echo "Doing installcheck in gmp" ; \
11171 (cd $(HOST_SUBDIR)/gmp && \
11172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11174 "RANLIB=$${RANLIB}" \
11175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11176 installcheck) \
11177 || exit 1
11179 @endif gmp
11181 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11182 maybe-mostlyclean-gmp:
11183 @if gmp
11184 maybe-mostlyclean-gmp: mostlyclean-gmp
11186 mostlyclean-gmp:
11187 @[ -f ./gmp/Makefile ] || exit 0; \
11188 r=`${PWD_COMMAND}`; export r; \
11189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11190 $(HOST_EXPORTS) \
11191 for flag in $(EXTRA_HOST_FLAGS) ; do \
11192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11193 done; \
11194 echo "Doing mostlyclean in gmp" ; \
11195 (cd $(HOST_SUBDIR)/gmp && \
11196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11198 "RANLIB=$${RANLIB}" \
11199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11200 mostlyclean) \
11201 || exit 1
11203 @endif gmp
11205 .PHONY: maybe-clean-gmp clean-gmp
11206 maybe-clean-gmp:
11207 @if gmp
11208 maybe-clean-gmp: clean-gmp
11210 clean-gmp:
11211 @[ -f ./gmp/Makefile ] || exit 0; \
11212 r=`${PWD_COMMAND}`; export r; \
11213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11214 $(HOST_EXPORTS) \
11215 for flag in $(EXTRA_HOST_FLAGS) ; do \
11216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11217 done; \
11218 echo "Doing clean in gmp" ; \
11219 (cd $(HOST_SUBDIR)/gmp && \
11220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11222 "RANLIB=$${RANLIB}" \
11223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11224 clean) \
11225 || exit 1
11227 @endif gmp
11229 .PHONY: maybe-distclean-gmp distclean-gmp
11230 maybe-distclean-gmp:
11231 @if gmp
11232 maybe-distclean-gmp: distclean-gmp
11234 distclean-gmp:
11235 @[ -f ./gmp/Makefile ] || exit 0; \
11236 r=`${PWD_COMMAND}`; export r; \
11237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11238 $(HOST_EXPORTS) \
11239 for flag in $(EXTRA_HOST_FLAGS) ; do \
11240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11241 done; \
11242 echo "Doing distclean in gmp" ; \
11243 (cd $(HOST_SUBDIR)/gmp && \
11244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11246 "RANLIB=$${RANLIB}" \
11247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11248 distclean) \
11249 || exit 1
11251 @endif gmp
11253 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11254 maybe-maintainer-clean-gmp:
11255 @if gmp
11256 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11258 maintainer-clean-gmp:
11259 @[ -f ./gmp/Makefile ] || exit 0; \
11260 r=`${PWD_COMMAND}`; export r; \
11261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11262 $(HOST_EXPORTS) \
11263 for flag in $(EXTRA_HOST_FLAGS) ; do \
11264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11265 done; \
11266 echo "Doing maintainer-clean in gmp" ; \
11267 (cd $(HOST_SUBDIR)/gmp && \
11268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11270 "RANLIB=$${RANLIB}" \
11271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11272 maintainer-clean) \
11273 || exit 1
11275 @endif gmp
11279 .PHONY: configure-mpfr maybe-configure-mpfr
11280 maybe-configure-mpfr:
11281 @if gcc-bootstrap
11282 configure-mpfr: stage_current
11283 @endif gcc-bootstrap
11284 @if mpfr
11285 maybe-configure-mpfr: configure-mpfr
11286 configure-mpfr:
11287 @r=`${PWD_COMMAND}`; export r; \
11288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11289 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11291 $(HOST_EXPORTS) \
11292 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11293 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11294 case $(srcdir) in \
11295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11296 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11298 esac; \
11299 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11300 libsrcdir="$$s/mpfr"; \
11301 $(SHELL) $${libsrcdir}/configure \
11302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11303 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11304 || exit 1
11305 @endif mpfr
11309 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11310 maybe-configure-stage1-mpfr:
11311 @if mpfr-bootstrap
11312 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11313 configure-stage1-mpfr:
11314 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11316 @r=`${PWD_COMMAND}`; export r; \
11317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11318 TFLAGS="$(STAGE1_TFLAGS)"; \
11319 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11320 $(HOST_EXPORTS) \
11321 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11322 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11323 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11324 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11326 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11327 case $(srcdir) in \
11328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11329 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11331 esac; \
11332 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11333 libsrcdir="$$s/mpfr"; \
11334 $(SHELL) $${libsrcdir}/configure \
11335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11336 --target=${target_alias} $${srcdiroption} \
11337 $(STAGE1_CONFIGURE_FLAGS) \
11338 --disable-shared @extra_mpfr_configure_flags@
11339 @endif mpfr-bootstrap
11341 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11342 maybe-configure-stage2-mpfr:
11343 @if mpfr-bootstrap
11344 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11345 configure-stage2-mpfr:
11346 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11348 @r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350 TFLAGS="$(STAGE2_TFLAGS)"; \
11351 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11352 $(HOST_EXPORTS) \
11353 $(POSTSTAGE1_HOST_EXPORTS) \
11354 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11355 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11356 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11357 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11359 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11360 case $(srcdir) in \
11361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11362 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11364 esac; \
11365 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11366 libsrcdir="$$s/mpfr"; \
11367 $(SHELL) $${libsrcdir}/configure \
11368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11369 --target=${target_alias} $${srcdiroption} \
11370 --with-build-libsubdir=$(HOST_SUBDIR) \
11371 $(STAGE2_CONFIGURE_FLAGS) \
11372 --disable-shared @extra_mpfr_configure_flags@
11373 @endif mpfr-bootstrap
11375 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11376 maybe-configure-stage3-mpfr:
11377 @if mpfr-bootstrap
11378 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11379 configure-stage3-mpfr:
11380 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11382 @r=`${PWD_COMMAND}`; export r; \
11383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11384 TFLAGS="$(STAGE3_TFLAGS)"; \
11385 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11386 $(HOST_EXPORTS) \
11387 $(POSTSTAGE1_HOST_EXPORTS) \
11388 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11389 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11390 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11391 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11393 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11394 case $(srcdir) in \
11395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11396 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11398 esac; \
11399 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11400 libsrcdir="$$s/mpfr"; \
11401 $(SHELL) $${libsrcdir}/configure \
11402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11403 --target=${target_alias} $${srcdiroption} \
11404 --with-build-libsubdir=$(HOST_SUBDIR) \
11405 $(STAGE3_CONFIGURE_FLAGS) \
11406 --disable-shared @extra_mpfr_configure_flags@
11407 @endif mpfr-bootstrap
11409 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11410 maybe-configure-stage4-mpfr:
11411 @if mpfr-bootstrap
11412 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11413 configure-stage4-mpfr:
11414 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11416 @r=`${PWD_COMMAND}`; export r; \
11417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11418 TFLAGS="$(STAGE4_TFLAGS)"; \
11419 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11420 $(HOST_EXPORTS) \
11421 $(POSTSTAGE1_HOST_EXPORTS) \
11422 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11423 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11424 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11425 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11427 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11428 case $(srcdir) in \
11429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11430 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11432 esac; \
11433 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11434 libsrcdir="$$s/mpfr"; \
11435 $(SHELL) $${libsrcdir}/configure \
11436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11437 --target=${target_alias} $${srcdiroption} \
11438 --with-build-libsubdir=$(HOST_SUBDIR) \
11439 $(STAGE4_CONFIGURE_FLAGS) \
11440 --disable-shared @extra_mpfr_configure_flags@
11441 @endif mpfr-bootstrap
11443 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11444 maybe-configure-stageprofile-mpfr:
11445 @if mpfr-bootstrap
11446 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11447 configure-stageprofile-mpfr:
11448 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11450 @r=`${PWD_COMMAND}`; export r; \
11451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11452 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11453 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11454 $(HOST_EXPORTS) \
11455 $(POSTSTAGE1_HOST_EXPORTS) \
11456 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11457 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11458 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11459 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11461 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11462 case $(srcdir) in \
11463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11464 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11466 esac; \
11467 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11468 libsrcdir="$$s/mpfr"; \
11469 $(SHELL) $${libsrcdir}/configure \
11470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11471 --target=${target_alias} $${srcdiroption} \
11472 --with-build-libsubdir=$(HOST_SUBDIR) \
11473 $(STAGEprofile_CONFIGURE_FLAGS) \
11474 --disable-shared @extra_mpfr_configure_flags@
11475 @endif mpfr-bootstrap
11477 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11478 maybe-configure-stagefeedback-mpfr:
11479 @if mpfr-bootstrap
11480 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11481 configure-stagefeedback-mpfr:
11482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11483 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11484 @r=`${PWD_COMMAND}`; export r; \
11485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11486 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11487 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11488 $(HOST_EXPORTS) \
11489 $(POSTSTAGE1_HOST_EXPORTS) \
11490 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11491 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11492 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11493 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11495 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11496 case $(srcdir) in \
11497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11498 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11500 esac; \
11501 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11502 libsrcdir="$$s/mpfr"; \
11503 $(SHELL) $${libsrcdir}/configure \
11504 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11505 --target=${target_alias} $${srcdiroption} \
11506 --with-build-libsubdir=$(HOST_SUBDIR) \
11507 $(STAGEfeedback_CONFIGURE_FLAGS) \
11508 --disable-shared @extra_mpfr_configure_flags@
11509 @endif mpfr-bootstrap
11515 .PHONY: all-mpfr maybe-all-mpfr
11516 maybe-all-mpfr:
11517 @if gcc-bootstrap
11518 all-mpfr: stage_current
11519 @endif gcc-bootstrap
11520 @if mpfr
11521 TARGET-mpfr=all
11522 maybe-all-mpfr: all-mpfr
11523 all-mpfr: configure-mpfr
11524 @r=`${PWD_COMMAND}`; export r; \
11525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11526 $(HOST_EXPORTS) \
11527 (cd $(HOST_SUBDIR)/mpfr && \
11528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11529 $(TARGET-mpfr))
11530 @endif mpfr
11534 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11535 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11536 maybe-all-stage1-mpfr:
11537 maybe-clean-stage1-mpfr:
11538 @if mpfr-bootstrap
11539 maybe-all-stage1-mpfr: all-stage1-mpfr
11540 all-stage1: all-stage1-mpfr
11541 TARGET-stage1-mpfr = $(TARGET-mpfr)
11542 all-stage1-mpfr: configure-stage1-mpfr
11543 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11544 @r=`${PWD_COMMAND}`; export r; \
11545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11546 TFLAGS="$(STAGE1_TFLAGS)"; \
11547 $(HOST_EXPORTS) \
11548 cd $(HOST_SUBDIR)/mpfr && \
11549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11550 CFLAGS="$(STAGE1_CFLAGS)" \
11551 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11552 LIBCFLAGS="$(LIBCFLAGS)" \
11553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11556 $(EXTRA_HOST_FLAGS) \
11557 $(STAGE1_FLAGS_TO_PASS) \
11558 TFLAGS="$(STAGE1_TFLAGS)" \
11559 $(TARGET-stage1-mpfr)
11561 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11562 clean-stage1: clean-stage1-mpfr
11563 clean-stage1-mpfr:
11564 @if [ $(current_stage) = stage1 ]; then \
11565 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11566 else \
11567 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11568 $(MAKE) stage1-start; \
11569 fi; \
11570 cd $(HOST_SUBDIR)/mpfr && \
11571 $(MAKE) $(EXTRA_HOST_FLAGS) \
11572 $(STAGE1_FLAGS_TO_PASS) clean
11573 @endif mpfr-bootstrap
11576 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11577 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11578 maybe-all-stage2-mpfr:
11579 maybe-clean-stage2-mpfr:
11580 @if mpfr-bootstrap
11581 maybe-all-stage2-mpfr: all-stage2-mpfr
11582 all-stage2: all-stage2-mpfr
11583 TARGET-stage2-mpfr = $(TARGET-mpfr)
11584 all-stage2-mpfr: configure-stage2-mpfr
11585 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11586 @r=`${PWD_COMMAND}`; export r; \
11587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11588 TFLAGS="$(STAGE2_TFLAGS)"; \
11589 $(HOST_EXPORTS) \
11590 $(POSTSTAGE1_HOST_EXPORTS) \
11591 cd $(HOST_SUBDIR)/mpfr && \
11592 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11593 CFLAGS="$(STAGE2_CFLAGS)" \
11594 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11595 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11600 TFLAGS="$(STAGE2_TFLAGS)" \
11601 $(TARGET-stage2-mpfr)
11603 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11604 clean-stage2: clean-stage2-mpfr
11605 clean-stage2-mpfr:
11606 @if [ $(current_stage) = stage2 ]; then \
11607 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11608 else \
11609 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11610 $(MAKE) stage2-start; \
11611 fi; \
11612 cd $(HOST_SUBDIR)/mpfr && \
11613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11614 @endif mpfr-bootstrap
11617 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11618 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11619 maybe-all-stage3-mpfr:
11620 maybe-clean-stage3-mpfr:
11621 @if mpfr-bootstrap
11622 maybe-all-stage3-mpfr: all-stage3-mpfr
11623 all-stage3: all-stage3-mpfr
11624 TARGET-stage3-mpfr = $(TARGET-mpfr)
11625 all-stage3-mpfr: configure-stage3-mpfr
11626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11627 @r=`${PWD_COMMAND}`; export r; \
11628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11629 TFLAGS="$(STAGE3_TFLAGS)"; \
11630 $(HOST_EXPORTS) \
11631 $(POSTSTAGE1_HOST_EXPORTS) \
11632 cd $(HOST_SUBDIR)/mpfr && \
11633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11634 CFLAGS="$(STAGE3_CFLAGS)" \
11635 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11636 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11640 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11641 TFLAGS="$(STAGE3_TFLAGS)" \
11642 $(TARGET-stage3-mpfr)
11644 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11645 clean-stage3: clean-stage3-mpfr
11646 clean-stage3-mpfr:
11647 @if [ $(current_stage) = stage3 ]; then \
11648 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11649 else \
11650 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11651 $(MAKE) stage3-start; \
11652 fi; \
11653 cd $(HOST_SUBDIR)/mpfr && \
11654 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11655 @endif mpfr-bootstrap
11658 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11659 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11660 maybe-all-stage4-mpfr:
11661 maybe-clean-stage4-mpfr:
11662 @if mpfr-bootstrap
11663 maybe-all-stage4-mpfr: all-stage4-mpfr
11664 all-stage4: all-stage4-mpfr
11665 TARGET-stage4-mpfr = $(TARGET-mpfr)
11666 all-stage4-mpfr: configure-stage4-mpfr
11667 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11668 @r=`${PWD_COMMAND}`; export r; \
11669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11670 TFLAGS="$(STAGE4_TFLAGS)"; \
11671 $(HOST_EXPORTS) \
11672 $(POSTSTAGE1_HOST_EXPORTS) \
11673 cd $(HOST_SUBDIR)/mpfr && \
11674 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11675 CFLAGS="$(STAGE4_CFLAGS)" \
11676 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11677 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11678 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11679 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11680 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11681 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11682 TFLAGS="$(STAGE4_TFLAGS)" \
11683 $(TARGET-stage4-mpfr)
11685 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11686 clean-stage4: clean-stage4-mpfr
11687 clean-stage4-mpfr:
11688 @if [ $(current_stage) = stage4 ]; then \
11689 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11690 else \
11691 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11692 $(MAKE) stage4-start; \
11693 fi; \
11694 cd $(HOST_SUBDIR)/mpfr && \
11695 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11696 @endif mpfr-bootstrap
11699 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11700 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11701 maybe-all-stageprofile-mpfr:
11702 maybe-clean-stageprofile-mpfr:
11703 @if mpfr-bootstrap
11704 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11705 all-stageprofile: all-stageprofile-mpfr
11706 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11707 all-stageprofile-mpfr: configure-stageprofile-mpfr
11708 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11709 @r=`${PWD_COMMAND}`; export r; \
11710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11711 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11712 $(HOST_EXPORTS) \
11713 $(POSTSTAGE1_HOST_EXPORTS) \
11714 cd $(HOST_SUBDIR)/mpfr && \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11716 CFLAGS="$(STAGEprofile_CFLAGS)" \
11717 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11718 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11719 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11720 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11721 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11722 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11723 TFLAGS="$(STAGEprofile_TFLAGS)" \
11724 $(TARGET-stageprofile-mpfr)
11726 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11727 clean-stageprofile: clean-stageprofile-mpfr
11728 clean-stageprofile-mpfr:
11729 @if [ $(current_stage) = stageprofile ]; then \
11730 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11731 else \
11732 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11733 $(MAKE) stageprofile-start; \
11734 fi; \
11735 cd $(HOST_SUBDIR)/mpfr && \
11736 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11737 @endif mpfr-bootstrap
11740 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11741 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11742 maybe-all-stagefeedback-mpfr:
11743 maybe-clean-stagefeedback-mpfr:
11744 @if mpfr-bootstrap
11745 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11746 all-stagefeedback: all-stagefeedback-mpfr
11747 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11748 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11749 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11750 @r=`${PWD_COMMAND}`; export r; \
11751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11753 $(HOST_EXPORTS) \
11754 $(POSTSTAGE1_HOST_EXPORTS) \
11755 cd $(HOST_SUBDIR)/mpfr && \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11757 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11758 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11759 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11763 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11764 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11765 $(TARGET-stagefeedback-mpfr)
11767 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11768 clean-stagefeedback: clean-stagefeedback-mpfr
11769 clean-stagefeedback-mpfr:
11770 @if [ $(current_stage) = stagefeedback ]; then \
11771 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11772 else \
11773 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11774 $(MAKE) stagefeedback-start; \
11775 fi; \
11776 cd $(HOST_SUBDIR)/mpfr && \
11777 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11778 @endif mpfr-bootstrap
11784 .PHONY: check-mpfr maybe-check-mpfr
11785 maybe-check-mpfr:
11786 @if mpfr
11787 maybe-check-mpfr: check-mpfr
11789 check-mpfr:
11790 @: $(MAKE); $(unstage)
11791 @r=`${PWD_COMMAND}`; export r; \
11792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11793 $(HOST_EXPORTS) \
11794 (cd $(HOST_SUBDIR)/mpfr && \
11795 $(MAKE) $(FLAGS_TO_PASS) check)
11797 @endif mpfr
11799 .PHONY: install-mpfr maybe-install-mpfr
11800 maybe-install-mpfr:
11801 @if mpfr
11802 maybe-install-mpfr: install-mpfr
11804 install-mpfr:
11806 @endif mpfr
11808 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11809 maybe-install-strip-mpfr:
11810 @if mpfr
11811 maybe-install-strip-mpfr: install-strip-mpfr
11813 install-strip-mpfr:
11815 @endif mpfr
11817 # Other targets (info, dvi, pdf, etc.)
11819 .PHONY: maybe-info-mpfr info-mpfr
11820 maybe-info-mpfr:
11821 @if mpfr
11822 maybe-info-mpfr: info-mpfr
11824 info-mpfr: \
11825 configure-mpfr
11826 @[ -f ./mpfr/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 $(HOST_EXPORTS) \
11830 for flag in $(EXTRA_HOST_FLAGS) ; do \
11831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11832 done; \
11833 echo "Doing info in mpfr" ; \
11834 (cd $(HOST_SUBDIR)/mpfr && \
11835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11837 "RANLIB=$${RANLIB}" \
11838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11839 info) \
11840 || exit 1
11842 @endif mpfr
11844 .PHONY: maybe-dvi-mpfr dvi-mpfr
11845 maybe-dvi-mpfr:
11846 @if mpfr
11847 maybe-dvi-mpfr: dvi-mpfr
11849 dvi-mpfr: \
11850 configure-mpfr
11851 @[ -f ./mpfr/Makefile ] || exit 0; \
11852 r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 $(HOST_EXPORTS) \
11855 for flag in $(EXTRA_HOST_FLAGS) ; do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 done; \
11858 echo "Doing dvi in mpfr" ; \
11859 (cd $(HOST_SUBDIR)/mpfr && \
11860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11862 "RANLIB=$${RANLIB}" \
11863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11864 dvi) \
11865 || exit 1
11867 @endif mpfr
11869 .PHONY: maybe-pdf-mpfr pdf-mpfr
11870 maybe-pdf-mpfr:
11871 @if mpfr
11872 maybe-pdf-mpfr: pdf-mpfr
11874 pdf-mpfr: \
11875 configure-mpfr
11876 @[ -f ./mpfr/Makefile ] || exit 0; \
11877 r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 $(HOST_EXPORTS) \
11880 for flag in $(EXTRA_HOST_FLAGS) ; do \
11881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11882 done; \
11883 echo "Doing pdf in mpfr" ; \
11884 (cd $(HOST_SUBDIR)/mpfr && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11889 pdf) \
11890 || exit 1
11892 @endif mpfr
11894 .PHONY: maybe-html-mpfr html-mpfr
11895 maybe-html-mpfr:
11896 @if mpfr
11897 maybe-html-mpfr: html-mpfr
11899 html-mpfr: \
11900 configure-mpfr
11901 @[ -f ./mpfr/Makefile ] || exit 0; \
11902 r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 $(HOST_EXPORTS) \
11905 for flag in $(EXTRA_HOST_FLAGS) ; do \
11906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11907 done; \
11908 echo "Doing html in mpfr" ; \
11909 (cd $(HOST_SUBDIR)/mpfr && \
11910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11912 "RANLIB=$${RANLIB}" \
11913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11914 html) \
11915 || exit 1
11917 @endif mpfr
11919 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11920 maybe-TAGS-mpfr:
11921 @if mpfr
11922 maybe-TAGS-mpfr: TAGS-mpfr
11924 TAGS-mpfr: \
11925 configure-mpfr
11926 @[ -f ./mpfr/Makefile ] || exit 0; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 for flag in $(EXTRA_HOST_FLAGS) ; do \
11931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11932 done; \
11933 echo "Doing TAGS in mpfr" ; \
11934 (cd $(HOST_SUBDIR)/mpfr && \
11935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11937 "RANLIB=$${RANLIB}" \
11938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11939 TAGS) \
11940 || exit 1
11942 @endif mpfr
11944 .PHONY: maybe-install-info-mpfr install-info-mpfr
11945 maybe-install-info-mpfr:
11946 @if mpfr
11947 maybe-install-info-mpfr: install-info-mpfr
11949 install-info-mpfr: \
11950 configure-mpfr \
11951 info-mpfr
11952 @[ -f ./mpfr/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(HOST_EXPORTS) \
11956 for flag in $(EXTRA_HOST_FLAGS) ; do \
11957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11958 done; \
11959 echo "Doing install-info in mpfr" ; \
11960 (cd $(HOST_SUBDIR)/mpfr && \
11961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11963 "RANLIB=$${RANLIB}" \
11964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11965 install-info) \
11966 || exit 1
11968 @endif mpfr
11970 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11971 maybe-install-pdf-mpfr:
11972 @if mpfr
11973 maybe-install-pdf-mpfr: install-pdf-mpfr
11975 install-pdf-mpfr: \
11976 configure-mpfr \
11977 pdf-mpfr
11978 @[ -f ./mpfr/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing install-pdf in mpfr" ; \
11986 (cd $(HOST_SUBDIR)/mpfr && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11991 install-pdf) \
11992 || exit 1
11994 @endif mpfr
11996 .PHONY: maybe-install-html-mpfr install-html-mpfr
11997 maybe-install-html-mpfr:
11998 @if mpfr
11999 maybe-install-html-mpfr: install-html-mpfr
12001 install-html-mpfr: \
12002 configure-mpfr \
12003 html-mpfr
12004 @[ -f ./mpfr/Makefile ] || exit 0; \
12005 r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 $(HOST_EXPORTS) \
12008 for flag in $(EXTRA_HOST_FLAGS) ; do \
12009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12010 done; \
12011 echo "Doing install-html in mpfr" ; \
12012 (cd $(HOST_SUBDIR)/mpfr && \
12013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12015 "RANLIB=$${RANLIB}" \
12016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12017 install-html) \
12018 || exit 1
12020 @endif mpfr
12022 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12023 maybe-installcheck-mpfr:
12024 @if mpfr
12025 maybe-installcheck-mpfr: installcheck-mpfr
12027 installcheck-mpfr: \
12028 configure-mpfr
12029 @[ -f ./mpfr/Makefile ] || exit 0; \
12030 r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 $(HOST_EXPORTS) \
12033 for flag in $(EXTRA_HOST_FLAGS) ; do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing installcheck in mpfr" ; \
12037 (cd $(HOST_SUBDIR)/mpfr && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12042 installcheck) \
12043 || exit 1
12045 @endif mpfr
12047 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12048 maybe-mostlyclean-mpfr:
12049 @if mpfr
12050 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12052 mostlyclean-mpfr:
12053 @[ -f ./mpfr/Makefile ] || exit 0; \
12054 r=`${PWD_COMMAND}`; export r; \
12055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12056 $(HOST_EXPORTS) \
12057 for flag in $(EXTRA_HOST_FLAGS) ; do \
12058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12059 done; \
12060 echo "Doing mostlyclean in mpfr" ; \
12061 (cd $(HOST_SUBDIR)/mpfr && \
12062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12064 "RANLIB=$${RANLIB}" \
12065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12066 mostlyclean) \
12067 || exit 1
12069 @endif mpfr
12071 .PHONY: maybe-clean-mpfr clean-mpfr
12072 maybe-clean-mpfr:
12073 @if mpfr
12074 maybe-clean-mpfr: clean-mpfr
12076 clean-mpfr:
12077 @[ -f ./mpfr/Makefile ] || exit 0; \
12078 r=`${PWD_COMMAND}`; export r; \
12079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 $(HOST_EXPORTS) \
12081 for flag in $(EXTRA_HOST_FLAGS) ; do \
12082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 done; \
12084 echo "Doing clean in mpfr" ; \
12085 (cd $(HOST_SUBDIR)/mpfr && \
12086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12088 "RANLIB=$${RANLIB}" \
12089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12090 clean) \
12091 || exit 1
12093 @endif mpfr
12095 .PHONY: maybe-distclean-mpfr distclean-mpfr
12096 maybe-distclean-mpfr:
12097 @if mpfr
12098 maybe-distclean-mpfr: distclean-mpfr
12100 distclean-mpfr:
12101 @[ -f ./mpfr/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(HOST_EXPORTS) \
12105 for flag in $(EXTRA_HOST_FLAGS) ; do \
12106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12107 done; \
12108 echo "Doing distclean in mpfr" ; \
12109 (cd $(HOST_SUBDIR)/mpfr && \
12110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12112 "RANLIB=$${RANLIB}" \
12113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12114 distclean) \
12115 || exit 1
12117 @endif mpfr
12119 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12120 maybe-maintainer-clean-mpfr:
12121 @if mpfr
12122 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12124 maintainer-clean-mpfr:
12125 @[ -f ./mpfr/Makefile ] || exit 0; \
12126 r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(HOST_EXPORTS) \
12129 for flag in $(EXTRA_HOST_FLAGS) ; do \
12130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12131 done; \
12132 echo "Doing maintainer-clean in mpfr" ; \
12133 (cd $(HOST_SUBDIR)/mpfr && \
12134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12136 "RANLIB=$${RANLIB}" \
12137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12138 maintainer-clean) \
12139 || exit 1
12141 @endif mpfr
12145 .PHONY: configure-mpc maybe-configure-mpc
12146 maybe-configure-mpc:
12147 @if gcc-bootstrap
12148 configure-mpc: stage_current
12149 @endif gcc-bootstrap
12150 @if mpc
12151 maybe-configure-mpc: configure-mpc
12152 configure-mpc:
12153 @r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12157 $(HOST_EXPORTS) \
12158 echo Configuring in $(HOST_SUBDIR)/mpc; \
12159 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12160 case $(srcdir) in \
12161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12162 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12164 esac; \
12165 srcdiroption="--srcdir=$${topdir}/mpc"; \
12166 libsrcdir="$$s/mpc"; \
12167 $(SHELL) $${libsrcdir}/configure \
12168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12169 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12170 || exit 1
12171 @endif mpc
12175 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12176 maybe-configure-stage1-mpc:
12177 @if mpc-bootstrap
12178 maybe-configure-stage1-mpc: configure-stage1-mpc
12179 configure-stage1-mpc:
12180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12182 @r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 TFLAGS="$(STAGE1_TFLAGS)"; \
12185 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12186 $(HOST_EXPORTS) \
12187 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12188 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12189 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12190 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12192 cd $(HOST_SUBDIR)/mpc || exit 1; \
12193 case $(srcdir) in \
12194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12195 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12197 esac; \
12198 srcdiroption="--srcdir=$${topdir}/mpc"; \
12199 libsrcdir="$$s/mpc"; \
12200 $(SHELL) $${libsrcdir}/configure \
12201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12202 --target=${target_alias} $${srcdiroption} \
12203 $(STAGE1_CONFIGURE_FLAGS) \
12204 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12205 @endif mpc-bootstrap
12207 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12208 maybe-configure-stage2-mpc:
12209 @if mpc-bootstrap
12210 maybe-configure-stage2-mpc: configure-stage2-mpc
12211 configure-stage2-mpc:
12212 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12214 @r=`${PWD_COMMAND}`; export r; \
12215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12216 TFLAGS="$(STAGE2_TFLAGS)"; \
12217 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12218 $(HOST_EXPORTS) \
12219 $(POSTSTAGE1_HOST_EXPORTS) \
12220 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12221 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12222 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12223 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12225 cd $(HOST_SUBDIR)/mpc || exit 1; \
12226 case $(srcdir) in \
12227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12228 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12230 esac; \
12231 srcdiroption="--srcdir=$${topdir}/mpc"; \
12232 libsrcdir="$$s/mpc"; \
12233 $(SHELL) $${libsrcdir}/configure \
12234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12235 --target=${target_alias} $${srcdiroption} \
12236 --with-build-libsubdir=$(HOST_SUBDIR) \
12237 $(STAGE2_CONFIGURE_FLAGS) \
12238 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12239 @endif mpc-bootstrap
12241 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12242 maybe-configure-stage3-mpc:
12243 @if mpc-bootstrap
12244 maybe-configure-stage3-mpc: configure-stage3-mpc
12245 configure-stage3-mpc:
12246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12248 @r=`${PWD_COMMAND}`; export r; \
12249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12250 TFLAGS="$(STAGE3_TFLAGS)"; \
12251 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12252 $(HOST_EXPORTS) \
12253 $(POSTSTAGE1_HOST_EXPORTS) \
12254 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12255 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12256 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12257 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12259 cd $(HOST_SUBDIR)/mpc || exit 1; \
12260 case $(srcdir) in \
12261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12262 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12264 esac; \
12265 srcdiroption="--srcdir=$${topdir}/mpc"; \
12266 libsrcdir="$$s/mpc"; \
12267 $(SHELL) $${libsrcdir}/configure \
12268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12269 --target=${target_alias} $${srcdiroption} \
12270 --with-build-libsubdir=$(HOST_SUBDIR) \
12271 $(STAGE3_CONFIGURE_FLAGS) \
12272 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12273 @endif mpc-bootstrap
12275 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12276 maybe-configure-stage4-mpc:
12277 @if mpc-bootstrap
12278 maybe-configure-stage4-mpc: configure-stage4-mpc
12279 configure-stage4-mpc:
12280 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12282 @r=`${PWD_COMMAND}`; export r; \
12283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12284 TFLAGS="$(STAGE4_TFLAGS)"; \
12285 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12286 $(HOST_EXPORTS) \
12287 $(POSTSTAGE1_HOST_EXPORTS) \
12288 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12289 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12290 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12291 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12293 cd $(HOST_SUBDIR)/mpc || exit 1; \
12294 case $(srcdir) in \
12295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12296 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12298 esac; \
12299 srcdiroption="--srcdir=$${topdir}/mpc"; \
12300 libsrcdir="$$s/mpc"; \
12301 $(SHELL) $${libsrcdir}/configure \
12302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12303 --target=${target_alias} $${srcdiroption} \
12304 --with-build-libsubdir=$(HOST_SUBDIR) \
12305 $(STAGE4_CONFIGURE_FLAGS) \
12306 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12307 @endif mpc-bootstrap
12309 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12310 maybe-configure-stageprofile-mpc:
12311 @if mpc-bootstrap
12312 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12313 configure-stageprofile-mpc:
12314 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12316 @r=`${PWD_COMMAND}`; export r; \
12317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12318 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12319 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12320 $(HOST_EXPORTS) \
12321 $(POSTSTAGE1_HOST_EXPORTS) \
12322 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12323 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12324 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12325 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12327 cd $(HOST_SUBDIR)/mpc || exit 1; \
12328 case $(srcdir) in \
12329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12330 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12332 esac; \
12333 srcdiroption="--srcdir=$${topdir}/mpc"; \
12334 libsrcdir="$$s/mpc"; \
12335 $(SHELL) $${libsrcdir}/configure \
12336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12337 --target=${target_alias} $${srcdiroption} \
12338 --with-build-libsubdir=$(HOST_SUBDIR) \
12339 $(STAGEprofile_CONFIGURE_FLAGS) \
12340 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12341 @endif mpc-bootstrap
12343 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12344 maybe-configure-stagefeedback-mpc:
12345 @if mpc-bootstrap
12346 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12347 configure-stagefeedback-mpc:
12348 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12350 @r=`${PWD_COMMAND}`; export r; \
12351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12352 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12353 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12354 $(HOST_EXPORTS) \
12355 $(POSTSTAGE1_HOST_EXPORTS) \
12356 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12357 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12358 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12359 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12361 cd $(HOST_SUBDIR)/mpc || exit 1; \
12362 case $(srcdir) in \
12363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12364 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12366 esac; \
12367 srcdiroption="--srcdir=$${topdir}/mpc"; \
12368 libsrcdir="$$s/mpc"; \
12369 $(SHELL) $${libsrcdir}/configure \
12370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12371 --target=${target_alias} $${srcdiroption} \
12372 --with-build-libsubdir=$(HOST_SUBDIR) \
12373 $(STAGEfeedback_CONFIGURE_FLAGS) \
12374 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12375 @endif mpc-bootstrap
12381 .PHONY: all-mpc maybe-all-mpc
12382 maybe-all-mpc:
12383 @if gcc-bootstrap
12384 all-mpc: stage_current
12385 @endif gcc-bootstrap
12386 @if mpc
12387 TARGET-mpc=all
12388 maybe-all-mpc: all-mpc
12389 all-mpc: configure-mpc
12390 @r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 $(HOST_EXPORTS) \
12393 (cd $(HOST_SUBDIR)/mpc && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12395 $(TARGET-mpc))
12396 @endif mpc
12400 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12401 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12402 maybe-all-stage1-mpc:
12403 maybe-clean-stage1-mpc:
12404 @if mpc-bootstrap
12405 maybe-all-stage1-mpc: all-stage1-mpc
12406 all-stage1: all-stage1-mpc
12407 TARGET-stage1-mpc = $(TARGET-mpc)
12408 all-stage1-mpc: configure-stage1-mpc
12409 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12410 @r=`${PWD_COMMAND}`; export r; \
12411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12412 TFLAGS="$(STAGE1_TFLAGS)"; \
12413 $(HOST_EXPORTS) \
12414 cd $(HOST_SUBDIR)/mpc && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12416 CFLAGS="$(STAGE1_CFLAGS)" \
12417 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12418 LIBCFLAGS="$(LIBCFLAGS)" \
12419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12422 $(EXTRA_HOST_FLAGS) \
12423 $(STAGE1_FLAGS_TO_PASS) \
12424 TFLAGS="$(STAGE1_TFLAGS)" \
12425 $(TARGET-stage1-mpc)
12427 maybe-clean-stage1-mpc: clean-stage1-mpc
12428 clean-stage1: clean-stage1-mpc
12429 clean-stage1-mpc:
12430 @if [ $(current_stage) = stage1 ]; then \
12431 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12432 else \
12433 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12434 $(MAKE) stage1-start; \
12435 fi; \
12436 cd $(HOST_SUBDIR)/mpc && \
12437 $(MAKE) $(EXTRA_HOST_FLAGS) \
12438 $(STAGE1_FLAGS_TO_PASS) clean
12439 @endif mpc-bootstrap
12442 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12443 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12444 maybe-all-stage2-mpc:
12445 maybe-clean-stage2-mpc:
12446 @if mpc-bootstrap
12447 maybe-all-stage2-mpc: all-stage2-mpc
12448 all-stage2: all-stage2-mpc
12449 TARGET-stage2-mpc = $(TARGET-mpc)
12450 all-stage2-mpc: configure-stage2-mpc
12451 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12452 @r=`${PWD_COMMAND}`; export r; \
12453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12454 TFLAGS="$(STAGE2_TFLAGS)"; \
12455 $(HOST_EXPORTS) \
12456 $(POSTSTAGE1_HOST_EXPORTS) \
12457 cd $(HOST_SUBDIR)/mpc && \
12458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12459 CFLAGS="$(STAGE2_CFLAGS)" \
12460 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12461 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12466 TFLAGS="$(STAGE2_TFLAGS)" \
12467 $(TARGET-stage2-mpc)
12469 maybe-clean-stage2-mpc: clean-stage2-mpc
12470 clean-stage2: clean-stage2-mpc
12471 clean-stage2-mpc:
12472 @if [ $(current_stage) = stage2 ]; then \
12473 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12474 else \
12475 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12476 $(MAKE) stage2-start; \
12477 fi; \
12478 cd $(HOST_SUBDIR)/mpc && \
12479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12480 @endif mpc-bootstrap
12483 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12484 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12485 maybe-all-stage3-mpc:
12486 maybe-clean-stage3-mpc:
12487 @if mpc-bootstrap
12488 maybe-all-stage3-mpc: all-stage3-mpc
12489 all-stage3: all-stage3-mpc
12490 TARGET-stage3-mpc = $(TARGET-mpc)
12491 all-stage3-mpc: configure-stage3-mpc
12492 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12493 @r=`${PWD_COMMAND}`; export r; \
12494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12495 TFLAGS="$(STAGE3_TFLAGS)"; \
12496 $(HOST_EXPORTS) \
12497 $(POSTSTAGE1_HOST_EXPORTS) \
12498 cd $(HOST_SUBDIR)/mpc && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12500 CFLAGS="$(STAGE3_CFLAGS)" \
12501 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12502 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12506 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12507 TFLAGS="$(STAGE3_TFLAGS)" \
12508 $(TARGET-stage3-mpc)
12510 maybe-clean-stage3-mpc: clean-stage3-mpc
12511 clean-stage3: clean-stage3-mpc
12512 clean-stage3-mpc:
12513 @if [ $(current_stage) = stage3 ]; then \
12514 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12515 else \
12516 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12517 $(MAKE) stage3-start; \
12518 fi; \
12519 cd $(HOST_SUBDIR)/mpc && \
12520 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12521 @endif mpc-bootstrap
12524 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12525 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12526 maybe-all-stage4-mpc:
12527 maybe-clean-stage4-mpc:
12528 @if mpc-bootstrap
12529 maybe-all-stage4-mpc: all-stage4-mpc
12530 all-stage4: all-stage4-mpc
12531 TARGET-stage4-mpc = $(TARGET-mpc)
12532 all-stage4-mpc: configure-stage4-mpc
12533 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12534 @r=`${PWD_COMMAND}`; export r; \
12535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12536 TFLAGS="$(STAGE4_TFLAGS)"; \
12537 $(HOST_EXPORTS) \
12538 $(POSTSTAGE1_HOST_EXPORTS) \
12539 cd $(HOST_SUBDIR)/mpc && \
12540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12541 CFLAGS="$(STAGE4_CFLAGS)" \
12542 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12543 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12548 TFLAGS="$(STAGE4_TFLAGS)" \
12549 $(TARGET-stage4-mpc)
12551 maybe-clean-stage4-mpc: clean-stage4-mpc
12552 clean-stage4: clean-stage4-mpc
12553 clean-stage4-mpc:
12554 @if [ $(current_stage) = stage4 ]; then \
12555 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12556 else \
12557 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12558 $(MAKE) stage4-start; \
12559 fi; \
12560 cd $(HOST_SUBDIR)/mpc && \
12561 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12562 @endif mpc-bootstrap
12565 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12566 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12567 maybe-all-stageprofile-mpc:
12568 maybe-clean-stageprofile-mpc:
12569 @if mpc-bootstrap
12570 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12571 all-stageprofile: all-stageprofile-mpc
12572 TARGET-stageprofile-mpc = $(TARGET-mpc)
12573 all-stageprofile-mpc: configure-stageprofile-mpc
12574 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12575 @r=`${PWD_COMMAND}`; export r; \
12576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12577 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12578 $(HOST_EXPORTS) \
12579 $(POSTSTAGE1_HOST_EXPORTS) \
12580 cd $(HOST_SUBDIR)/mpc && \
12581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12582 CFLAGS="$(STAGEprofile_CFLAGS)" \
12583 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12584 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12589 TFLAGS="$(STAGEprofile_TFLAGS)" \
12590 $(TARGET-stageprofile-mpc)
12592 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12593 clean-stageprofile: clean-stageprofile-mpc
12594 clean-stageprofile-mpc:
12595 @if [ $(current_stage) = stageprofile ]; then \
12596 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12597 else \
12598 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12599 $(MAKE) stageprofile-start; \
12600 fi; \
12601 cd $(HOST_SUBDIR)/mpc && \
12602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12603 @endif mpc-bootstrap
12606 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12607 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12608 maybe-all-stagefeedback-mpc:
12609 maybe-clean-stagefeedback-mpc:
12610 @if mpc-bootstrap
12611 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12612 all-stagefeedback: all-stagefeedback-mpc
12613 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12614 all-stagefeedback-mpc: configure-stagefeedback-mpc
12615 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12616 @r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12619 $(HOST_EXPORTS) \
12620 $(POSTSTAGE1_HOST_EXPORTS) \
12621 cd $(HOST_SUBDIR)/mpc && \
12622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12623 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12624 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12625 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12630 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12631 $(TARGET-stagefeedback-mpc)
12633 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12634 clean-stagefeedback: clean-stagefeedback-mpc
12635 clean-stagefeedback-mpc:
12636 @if [ $(current_stage) = stagefeedback ]; then \
12637 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12638 else \
12639 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12640 $(MAKE) stagefeedback-start; \
12641 fi; \
12642 cd $(HOST_SUBDIR)/mpc && \
12643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12644 @endif mpc-bootstrap
12650 .PHONY: check-mpc maybe-check-mpc
12651 maybe-check-mpc:
12652 @if mpc
12653 maybe-check-mpc: check-mpc
12655 check-mpc:
12656 @: $(MAKE); $(unstage)
12657 @r=`${PWD_COMMAND}`; export r; \
12658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12659 $(HOST_EXPORTS) \
12660 (cd $(HOST_SUBDIR)/mpc && \
12661 $(MAKE) $(FLAGS_TO_PASS) check)
12663 @endif mpc
12665 .PHONY: install-mpc maybe-install-mpc
12666 maybe-install-mpc:
12667 @if mpc
12668 maybe-install-mpc: install-mpc
12670 install-mpc:
12672 @endif mpc
12674 .PHONY: install-strip-mpc maybe-install-strip-mpc
12675 maybe-install-strip-mpc:
12676 @if mpc
12677 maybe-install-strip-mpc: install-strip-mpc
12679 install-strip-mpc:
12681 @endif mpc
12683 # Other targets (info, dvi, pdf, etc.)
12685 .PHONY: maybe-info-mpc info-mpc
12686 maybe-info-mpc:
12687 @if mpc
12688 maybe-info-mpc: info-mpc
12690 info-mpc: \
12691 configure-mpc
12692 @[ -f ./mpc/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 $(HOST_EXPORTS) \
12696 for flag in $(EXTRA_HOST_FLAGS) ; do \
12697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12698 done; \
12699 echo "Doing info in mpc" ; \
12700 (cd $(HOST_SUBDIR)/mpc && \
12701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703 "RANLIB=$${RANLIB}" \
12704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12705 info) \
12706 || exit 1
12708 @endif mpc
12710 .PHONY: maybe-dvi-mpc dvi-mpc
12711 maybe-dvi-mpc:
12712 @if mpc
12713 maybe-dvi-mpc: dvi-mpc
12715 dvi-mpc: \
12716 configure-mpc
12717 @[ -f ./mpc/Makefile ] || exit 0; \
12718 r=`${PWD_COMMAND}`; export r; \
12719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12720 $(HOST_EXPORTS) \
12721 for flag in $(EXTRA_HOST_FLAGS) ; do \
12722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12723 done; \
12724 echo "Doing dvi in mpc" ; \
12725 (cd $(HOST_SUBDIR)/mpc && \
12726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12728 "RANLIB=$${RANLIB}" \
12729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12730 dvi) \
12731 || exit 1
12733 @endif mpc
12735 .PHONY: maybe-pdf-mpc pdf-mpc
12736 maybe-pdf-mpc:
12737 @if mpc
12738 maybe-pdf-mpc: pdf-mpc
12740 pdf-mpc: \
12741 configure-mpc
12742 @[ -f ./mpc/Makefile ] || exit 0; \
12743 r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745 $(HOST_EXPORTS) \
12746 for flag in $(EXTRA_HOST_FLAGS) ; do \
12747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12748 done; \
12749 echo "Doing pdf in mpc" ; \
12750 (cd $(HOST_SUBDIR)/mpc && \
12751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12753 "RANLIB=$${RANLIB}" \
12754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12755 pdf) \
12756 || exit 1
12758 @endif mpc
12760 .PHONY: maybe-html-mpc html-mpc
12761 maybe-html-mpc:
12762 @if mpc
12763 maybe-html-mpc: html-mpc
12765 html-mpc: \
12766 configure-mpc
12767 @[ -f ./mpc/Makefile ] || exit 0; \
12768 r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 $(HOST_EXPORTS) \
12771 for flag in $(EXTRA_HOST_FLAGS) ; do \
12772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12773 done; \
12774 echo "Doing html in mpc" ; \
12775 (cd $(HOST_SUBDIR)/mpc && \
12776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12778 "RANLIB=$${RANLIB}" \
12779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12780 html) \
12781 || exit 1
12783 @endif mpc
12785 .PHONY: maybe-TAGS-mpc TAGS-mpc
12786 maybe-TAGS-mpc:
12787 @if mpc
12788 maybe-TAGS-mpc: TAGS-mpc
12790 TAGS-mpc: \
12791 configure-mpc
12792 @[ -f ./mpc/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 $(HOST_EXPORTS) \
12796 for flag in $(EXTRA_HOST_FLAGS) ; do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12798 done; \
12799 echo "Doing TAGS in mpc" ; \
12800 (cd $(HOST_SUBDIR)/mpc && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12805 TAGS) \
12806 || exit 1
12808 @endif mpc
12810 .PHONY: maybe-install-info-mpc install-info-mpc
12811 maybe-install-info-mpc:
12812 @if mpc
12813 maybe-install-info-mpc: install-info-mpc
12815 install-info-mpc: \
12816 configure-mpc \
12817 info-mpc
12818 @[ -f ./mpc/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 $(HOST_EXPORTS) \
12822 for flag in $(EXTRA_HOST_FLAGS) ; do \
12823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12824 done; \
12825 echo "Doing install-info in mpc" ; \
12826 (cd $(HOST_SUBDIR)/mpc && \
12827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12829 "RANLIB=$${RANLIB}" \
12830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12831 install-info) \
12832 || exit 1
12834 @endif mpc
12836 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12837 maybe-install-pdf-mpc:
12838 @if mpc
12839 maybe-install-pdf-mpc: install-pdf-mpc
12841 install-pdf-mpc: \
12842 configure-mpc \
12843 pdf-mpc
12844 @[ -f ./mpc/Makefile ] || exit 0; \
12845 r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 $(HOST_EXPORTS) \
12848 for flag in $(EXTRA_HOST_FLAGS) ; do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 done; \
12851 echo "Doing install-pdf in mpc" ; \
12852 (cd $(HOST_SUBDIR)/mpc && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12857 install-pdf) \
12858 || exit 1
12860 @endif mpc
12862 .PHONY: maybe-install-html-mpc install-html-mpc
12863 maybe-install-html-mpc:
12864 @if mpc
12865 maybe-install-html-mpc: install-html-mpc
12867 install-html-mpc: \
12868 configure-mpc \
12869 html-mpc
12870 @[ -f ./mpc/Makefile ] || exit 0; \
12871 r=`${PWD_COMMAND}`; export r; \
12872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12873 $(HOST_EXPORTS) \
12874 for flag in $(EXTRA_HOST_FLAGS) ; do \
12875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12876 done; \
12877 echo "Doing install-html in mpc" ; \
12878 (cd $(HOST_SUBDIR)/mpc && \
12879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12881 "RANLIB=$${RANLIB}" \
12882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12883 install-html) \
12884 || exit 1
12886 @endif mpc
12888 .PHONY: maybe-installcheck-mpc installcheck-mpc
12889 maybe-installcheck-mpc:
12890 @if mpc
12891 maybe-installcheck-mpc: installcheck-mpc
12893 installcheck-mpc: \
12894 configure-mpc
12895 @[ -f ./mpc/Makefile ] || exit 0; \
12896 r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 for flag in $(EXTRA_HOST_FLAGS) ; do \
12900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12901 done; \
12902 echo "Doing installcheck in mpc" ; \
12903 (cd $(HOST_SUBDIR)/mpc && \
12904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906 "RANLIB=$${RANLIB}" \
12907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12908 installcheck) \
12909 || exit 1
12911 @endif mpc
12913 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12914 maybe-mostlyclean-mpc:
12915 @if mpc
12916 maybe-mostlyclean-mpc: mostlyclean-mpc
12918 mostlyclean-mpc:
12919 @[ -f ./mpc/Makefile ] || exit 0; \
12920 r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 $(HOST_EXPORTS) \
12923 for flag in $(EXTRA_HOST_FLAGS) ; do \
12924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12925 done; \
12926 echo "Doing mostlyclean in mpc" ; \
12927 (cd $(HOST_SUBDIR)/mpc && \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930 "RANLIB=$${RANLIB}" \
12931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12932 mostlyclean) \
12933 || exit 1
12935 @endif mpc
12937 .PHONY: maybe-clean-mpc clean-mpc
12938 maybe-clean-mpc:
12939 @if mpc
12940 maybe-clean-mpc: clean-mpc
12942 clean-mpc:
12943 @[ -f ./mpc/Makefile ] || exit 0; \
12944 r=`${PWD_COMMAND}`; export r; \
12945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12946 $(HOST_EXPORTS) \
12947 for flag in $(EXTRA_HOST_FLAGS) ; do \
12948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12949 done; \
12950 echo "Doing clean in mpc" ; \
12951 (cd $(HOST_SUBDIR)/mpc && \
12952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12954 "RANLIB=$${RANLIB}" \
12955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12956 clean) \
12957 || exit 1
12959 @endif mpc
12961 .PHONY: maybe-distclean-mpc distclean-mpc
12962 maybe-distclean-mpc:
12963 @if mpc
12964 maybe-distclean-mpc: distclean-mpc
12966 distclean-mpc:
12967 @[ -f ./mpc/Makefile ] || exit 0; \
12968 r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 $(HOST_EXPORTS) \
12971 for flag in $(EXTRA_HOST_FLAGS) ; do \
12972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12973 done; \
12974 echo "Doing distclean in mpc" ; \
12975 (cd $(HOST_SUBDIR)/mpc && \
12976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978 "RANLIB=$${RANLIB}" \
12979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12980 distclean) \
12981 || exit 1
12983 @endif mpc
12985 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12986 maybe-maintainer-clean-mpc:
12987 @if mpc
12988 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12990 maintainer-clean-mpc:
12991 @[ -f ./mpc/Makefile ] || exit 0; \
12992 r=`${PWD_COMMAND}`; export r; \
12993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12994 $(HOST_EXPORTS) \
12995 for flag in $(EXTRA_HOST_FLAGS) ; do \
12996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12997 done; \
12998 echo "Doing maintainer-clean in mpc" ; \
12999 (cd $(HOST_SUBDIR)/mpc && \
13000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13002 "RANLIB=$${RANLIB}" \
13003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13004 maintainer-clean) \
13005 || exit 1
13007 @endif mpc
13011 .PHONY: configure-isl maybe-configure-isl
13012 maybe-configure-isl:
13013 @if gcc-bootstrap
13014 configure-isl: stage_current
13015 @endif gcc-bootstrap
13016 @if isl
13017 maybe-configure-isl: configure-isl
13018 configure-isl:
13019 @r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13023 $(HOST_EXPORTS) \
13024 echo Configuring in $(HOST_SUBDIR)/isl; \
13025 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13026 case $(srcdir) in \
13027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13028 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13030 esac; \
13031 srcdiroption="--srcdir=$${topdir}/isl"; \
13032 libsrcdir="$$s/isl"; \
13033 $(SHELL) $${libsrcdir}/configure \
13034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13035 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13036 || exit 1
13037 @endif isl
13041 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13042 maybe-configure-stage1-isl:
13043 @if isl-bootstrap
13044 maybe-configure-stage1-isl: configure-stage1-isl
13045 configure-stage1-isl:
13046 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13048 @r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 TFLAGS="$(STAGE1_TFLAGS)"; \
13051 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13052 $(HOST_EXPORTS) \
13053 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13054 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13055 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13056 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13058 cd $(HOST_SUBDIR)/isl || exit 1; \
13059 case $(srcdir) in \
13060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13061 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13063 esac; \
13064 srcdiroption="--srcdir=$${topdir}/isl"; \
13065 libsrcdir="$$s/isl"; \
13066 $(SHELL) $${libsrcdir}/configure \
13067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13068 --target=${target_alias} $${srcdiroption} \
13069 $(STAGE1_CONFIGURE_FLAGS) \
13070 --disable-shared @extra_isl_gmp_configure_flags@
13071 @endif isl-bootstrap
13073 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13074 maybe-configure-stage2-isl:
13075 @if isl-bootstrap
13076 maybe-configure-stage2-isl: configure-stage2-isl
13077 configure-stage2-isl:
13078 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13080 @r=`${PWD_COMMAND}`; export r; \
13081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13082 TFLAGS="$(STAGE2_TFLAGS)"; \
13083 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13084 $(HOST_EXPORTS) \
13085 $(POSTSTAGE1_HOST_EXPORTS) \
13086 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13087 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13088 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13089 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13091 cd $(HOST_SUBDIR)/isl || exit 1; \
13092 case $(srcdir) in \
13093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13094 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13096 esac; \
13097 srcdiroption="--srcdir=$${topdir}/isl"; \
13098 libsrcdir="$$s/isl"; \
13099 $(SHELL) $${libsrcdir}/configure \
13100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13101 --target=${target_alias} $${srcdiroption} \
13102 --with-build-libsubdir=$(HOST_SUBDIR) \
13103 $(STAGE2_CONFIGURE_FLAGS) \
13104 --disable-shared @extra_isl_gmp_configure_flags@
13105 @endif isl-bootstrap
13107 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13108 maybe-configure-stage3-isl:
13109 @if isl-bootstrap
13110 maybe-configure-stage3-isl: configure-stage3-isl
13111 configure-stage3-isl:
13112 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13114 @r=`${PWD_COMMAND}`; export r; \
13115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13116 TFLAGS="$(STAGE3_TFLAGS)"; \
13117 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13118 $(HOST_EXPORTS) \
13119 $(POSTSTAGE1_HOST_EXPORTS) \
13120 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13121 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13122 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13123 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13125 cd $(HOST_SUBDIR)/isl || exit 1; \
13126 case $(srcdir) in \
13127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13128 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13130 esac; \
13131 srcdiroption="--srcdir=$${topdir}/isl"; \
13132 libsrcdir="$$s/isl"; \
13133 $(SHELL) $${libsrcdir}/configure \
13134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13135 --target=${target_alias} $${srcdiroption} \
13136 --with-build-libsubdir=$(HOST_SUBDIR) \
13137 $(STAGE3_CONFIGURE_FLAGS) \
13138 --disable-shared @extra_isl_gmp_configure_flags@
13139 @endif isl-bootstrap
13141 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13142 maybe-configure-stage4-isl:
13143 @if isl-bootstrap
13144 maybe-configure-stage4-isl: configure-stage4-isl
13145 configure-stage4-isl:
13146 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13148 @r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 TFLAGS="$(STAGE4_TFLAGS)"; \
13151 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13152 $(HOST_EXPORTS) \
13153 $(POSTSTAGE1_HOST_EXPORTS) \
13154 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13155 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13156 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13157 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13159 cd $(HOST_SUBDIR)/isl || exit 1; \
13160 case $(srcdir) in \
13161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13162 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13164 esac; \
13165 srcdiroption="--srcdir=$${topdir}/isl"; \
13166 libsrcdir="$$s/isl"; \
13167 $(SHELL) $${libsrcdir}/configure \
13168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13169 --target=${target_alias} $${srcdiroption} \
13170 --with-build-libsubdir=$(HOST_SUBDIR) \
13171 $(STAGE4_CONFIGURE_FLAGS) \
13172 --disable-shared @extra_isl_gmp_configure_flags@
13173 @endif isl-bootstrap
13175 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13176 maybe-configure-stageprofile-isl:
13177 @if isl-bootstrap
13178 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13179 configure-stageprofile-isl:
13180 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13182 @r=`${PWD_COMMAND}`; export r; \
13183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13185 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13186 $(HOST_EXPORTS) \
13187 $(POSTSTAGE1_HOST_EXPORTS) \
13188 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13189 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13190 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13191 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13193 cd $(HOST_SUBDIR)/isl || exit 1; \
13194 case $(srcdir) in \
13195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13196 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13198 esac; \
13199 srcdiroption="--srcdir=$${topdir}/isl"; \
13200 libsrcdir="$$s/isl"; \
13201 $(SHELL) $${libsrcdir}/configure \
13202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13203 --target=${target_alias} $${srcdiroption} \
13204 --with-build-libsubdir=$(HOST_SUBDIR) \
13205 $(STAGEprofile_CONFIGURE_FLAGS) \
13206 --disable-shared @extra_isl_gmp_configure_flags@
13207 @endif isl-bootstrap
13209 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13210 maybe-configure-stagefeedback-isl:
13211 @if isl-bootstrap
13212 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13213 configure-stagefeedback-isl:
13214 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13216 @r=`${PWD_COMMAND}`; export r; \
13217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13218 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13219 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13220 $(HOST_EXPORTS) \
13221 $(POSTSTAGE1_HOST_EXPORTS) \
13222 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13223 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13224 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13225 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13227 cd $(HOST_SUBDIR)/isl || exit 1; \
13228 case $(srcdir) in \
13229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13230 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13232 esac; \
13233 srcdiroption="--srcdir=$${topdir}/isl"; \
13234 libsrcdir="$$s/isl"; \
13235 $(SHELL) $${libsrcdir}/configure \
13236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13237 --target=${target_alias} $${srcdiroption} \
13238 --with-build-libsubdir=$(HOST_SUBDIR) \
13239 $(STAGEfeedback_CONFIGURE_FLAGS) \
13240 --disable-shared @extra_isl_gmp_configure_flags@
13241 @endif isl-bootstrap
13247 .PHONY: all-isl maybe-all-isl
13248 maybe-all-isl:
13249 @if gcc-bootstrap
13250 all-isl: stage_current
13251 @endif gcc-bootstrap
13252 @if isl
13253 TARGET-isl=all
13254 maybe-all-isl: all-isl
13255 all-isl: configure-isl
13256 @r=`${PWD_COMMAND}`; export r; \
13257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13258 $(HOST_EXPORTS) \
13259 (cd $(HOST_SUBDIR)/isl && \
13260 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13261 $(TARGET-isl))
13262 @endif isl
13266 .PHONY: all-stage1-isl maybe-all-stage1-isl
13267 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13268 maybe-all-stage1-isl:
13269 maybe-clean-stage1-isl:
13270 @if isl-bootstrap
13271 maybe-all-stage1-isl: all-stage1-isl
13272 all-stage1: all-stage1-isl
13273 TARGET-stage1-isl = $(TARGET-isl)
13274 all-stage1-isl: configure-stage1-isl
13275 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 TFLAGS="$(STAGE1_TFLAGS)"; \
13279 $(HOST_EXPORTS) \
13280 cd $(HOST_SUBDIR)/isl && \
13281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13282 CFLAGS="$(STAGE1_CFLAGS)" \
13283 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13284 LIBCFLAGS="$(LIBCFLAGS)" \
13285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13288 $(EXTRA_HOST_FLAGS) \
13289 $(STAGE1_FLAGS_TO_PASS) V=1 \
13290 TFLAGS="$(STAGE1_TFLAGS)" \
13291 $(TARGET-stage1-isl)
13293 maybe-clean-stage1-isl: clean-stage1-isl
13294 clean-stage1: clean-stage1-isl
13295 clean-stage1-isl:
13296 @if [ $(current_stage) = stage1 ]; then \
13297 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13298 else \
13299 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13300 $(MAKE) stage1-start; \
13301 fi; \
13302 cd $(HOST_SUBDIR)/isl && \
13303 $(MAKE) $(EXTRA_HOST_FLAGS) \
13304 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13305 @endif isl-bootstrap
13308 .PHONY: all-stage2-isl maybe-all-stage2-isl
13309 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13310 maybe-all-stage2-isl:
13311 maybe-clean-stage2-isl:
13312 @if isl-bootstrap
13313 maybe-all-stage2-isl: all-stage2-isl
13314 all-stage2: all-stage2-isl
13315 TARGET-stage2-isl = $(TARGET-isl)
13316 all-stage2-isl: configure-stage2-isl
13317 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13318 @r=`${PWD_COMMAND}`; export r; \
13319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13320 TFLAGS="$(STAGE2_TFLAGS)"; \
13321 $(HOST_EXPORTS) \
13322 $(POSTSTAGE1_HOST_EXPORTS) \
13323 cd $(HOST_SUBDIR)/isl && \
13324 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13325 CFLAGS="$(STAGE2_CFLAGS)" \
13326 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13327 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13331 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13332 TFLAGS="$(STAGE2_TFLAGS)" \
13333 $(TARGET-stage2-isl)
13335 maybe-clean-stage2-isl: clean-stage2-isl
13336 clean-stage2: clean-stage2-isl
13337 clean-stage2-isl:
13338 @if [ $(current_stage) = stage2 ]; then \
13339 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13340 else \
13341 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13342 $(MAKE) stage2-start; \
13343 fi; \
13344 cd $(HOST_SUBDIR)/isl && \
13345 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13346 @endif isl-bootstrap
13349 .PHONY: all-stage3-isl maybe-all-stage3-isl
13350 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13351 maybe-all-stage3-isl:
13352 maybe-clean-stage3-isl:
13353 @if isl-bootstrap
13354 maybe-all-stage3-isl: all-stage3-isl
13355 all-stage3: all-stage3-isl
13356 TARGET-stage3-isl = $(TARGET-isl)
13357 all-stage3-isl: configure-stage3-isl
13358 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13359 @r=`${PWD_COMMAND}`; export r; \
13360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13361 TFLAGS="$(STAGE3_TFLAGS)"; \
13362 $(HOST_EXPORTS) \
13363 $(POSTSTAGE1_HOST_EXPORTS) \
13364 cd $(HOST_SUBDIR)/isl && \
13365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13366 CFLAGS="$(STAGE3_CFLAGS)" \
13367 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13368 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13372 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13373 TFLAGS="$(STAGE3_TFLAGS)" \
13374 $(TARGET-stage3-isl)
13376 maybe-clean-stage3-isl: clean-stage3-isl
13377 clean-stage3: clean-stage3-isl
13378 clean-stage3-isl:
13379 @if [ $(current_stage) = stage3 ]; then \
13380 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13381 else \
13382 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13383 $(MAKE) stage3-start; \
13384 fi; \
13385 cd $(HOST_SUBDIR)/isl && \
13386 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13387 @endif isl-bootstrap
13390 .PHONY: all-stage4-isl maybe-all-stage4-isl
13391 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13392 maybe-all-stage4-isl:
13393 maybe-clean-stage4-isl:
13394 @if isl-bootstrap
13395 maybe-all-stage4-isl: all-stage4-isl
13396 all-stage4: all-stage4-isl
13397 TARGET-stage4-isl = $(TARGET-isl)
13398 all-stage4-isl: configure-stage4-isl
13399 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13400 @r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402 TFLAGS="$(STAGE4_TFLAGS)"; \
13403 $(HOST_EXPORTS) \
13404 $(POSTSTAGE1_HOST_EXPORTS) \
13405 cd $(HOST_SUBDIR)/isl && \
13406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13407 CFLAGS="$(STAGE4_CFLAGS)" \
13408 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13409 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13414 TFLAGS="$(STAGE4_TFLAGS)" \
13415 $(TARGET-stage4-isl)
13417 maybe-clean-stage4-isl: clean-stage4-isl
13418 clean-stage4: clean-stage4-isl
13419 clean-stage4-isl:
13420 @if [ $(current_stage) = stage4 ]; then \
13421 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13422 else \
13423 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13424 $(MAKE) stage4-start; \
13425 fi; \
13426 cd $(HOST_SUBDIR)/isl && \
13427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13428 @endif isl-bootstrap
13431 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13432 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13433 maybe-all-stageprofile-isl:
13434 maybe-clean-stageprofile-isl:
13435 @if isl-bootstrap
13436 maybe-all-stageprofile-isl: all-stageprofile-isl
13437 all-stageprofile: all-stageprofile-isl
13438 TARGET-stageprofile-isl = $(TARGET-isl)
13439 all-stageprofile-isl: configure-stageprofile-isl
13440 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13441 @r=`${PWD_COMMAND}`; export r; \
13442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13444 $(HOST_EXPORTS) \
13445 $(POSTSTAGE1_HOST_EXPORTS) \
13446 cd $(HOST_SUBDIR)/isl && \
13447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13448 CFLAGS="$(STAGEprofile_CFLAGS)" \
13449 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13450 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13455 TFLAGS="$(STAGEprofile_TFLAGS)" \
13456 $(TARGET-stageprofile-isl)
13458 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13459 clean-stageprofile: clean-stageprofile-isl
13460 clean-stageprofile-isl:
13461 @if [ $(current_stage) = stageprofile ]; then \
13462 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13463 else \
13464 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13465 $(MAKE) stageprofile-start; \
13466 fi; \
13467 cd $(HOST_SUBDIR)/isl && \
13468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13469 @endif isl-bootstrap
13472 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13473 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13474 maybe-all-stagefeedback-isl:
13475 maybe-clean-stagefeedback-isl:
13476 @if isl-bootstrap
13477 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13478 all-stagefeedback: all-stagefeedback-isl
13479 TARGET-stagefeedback-isl = $(TARGET-isl)
13480 all-stagefeedback-isl: configure-stagefeedback-isl
13481 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13482 @r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13485 $(HOST_EXPORTS) \
13486 $(POSTSTAGE1_HOST_EXPORTS) \
13487 cd $(HOST_SUBDIR)/isl && \
13488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13489 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13490 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13491 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13496 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13497 $(TARGET-stagefeedback-isl)
13499 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13500 clean-stagefeedback: clean-stagefeedback-isl
13501 clean-stagefeedback-isl:
13502 @if [ $(current_stage) = stagefeedback ]; then \
13503 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13504 else \
13505 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13506 $(MAKE) stagefeedback-start; \
13507 fi; \
13508 cd $(HOST_SUBDIR)/isl && \
13509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13510 @endif isl-bootstrap
13516 .PHONY: check-isl maybe-check-isl
13517 maybe-check-isl:
13518 @if isl
13519 maybe-check-isl: check-isl
13521 check-isl:
13522 @: $(MAKE); $(unstage)
13523 @r=`${PWD_COMMAND}`; export r; \
13524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13525 $(HOST_EXPORTS) \
13526 (cd $(HOST_SUBDIR)/isl && \
13527 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13529 @endif isl
13531 .PHONY: install-isl maybe-install-isl
13532 maybe-install-isl:
13533 @if isl
13534 maybe-install-isl: install-isl
13536 install-isl:
13538 @endif isl
13540 .PHONY: install-strip-isl maybe-install-strip-isl
13541 maybe-install-strip-isl:
13542 @if isl
13543 maybe-install-strip-isl: install-strip-isl
13545 install-strip-isl:
13547 @endif isl
13549 # Other targets (info, dvi, pdf, etc.)
13551 .PHONY: maybe-info-isl info-isl
13552 maybe-info-isl:
13553 @if isl
13554 maybe-info-isl: info-isl
13556 info-isl: \
13557 configure-isl
13558 @[ -f ./isl/Makefile ] || exit 0; \
13559 r=`${PWD_COMMAND}`; export r; \
13560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13561 $(HOST_EXPORTS) \
13562 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13564 done; \
13565 echo "Doing info in isl" ; \
13566 (cd $(HOST_SUBDIR)/isl && \
13567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13569 "RANLIB=$${RANLIB}" \
13570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13571 info) \
13572 || exit 1
13574 @endif isl
13576 .PHONY: maybe-dvi-isl dvi-isl
13577 maybe-dvi-isl:
13578 @if isl
13579 maybe-dvi-isl: dvi-isl
13581 dvi-isl: \
13582 configure-isl
13583 @[ -f ./isl/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13586 $(HOST_EXPORTS) \
13587 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13589 done; \
13590 echo "Doing dvi in isl" ; \
13591 (cd $(HOST_SUBDIR)/isl && \
13592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13594 "RANLIB=$${RANLIB}" \
13595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13596 dvi) \
13597 || exit 1
13599 @endif isl
13601 .PHONY: maybe-pdf-isl pdf-isl
13602 maybe-pdf-isl:
13603 @if isl
13604 maybe-pdf-isl: pdf-isl
13606 pdf-isl: \
13607 configure-isl
13608 @[ -f ./isl/Makefile ] || exit 0; \
13609 r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 $(HOST_EXPORTS) \
13612 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13614 done; \
13615 echo "Doing pdf in isl" ; \
13616 (cd $(HOST_SUBDIR)/isl && \
13617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13619 "RANLIB=$${RANLIB}" \
13620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13621 pdf) \
13622 || exit 1
13624 @endif isl
13626 .PHONY: maybe-html-isl html-isl
13627 maybe-html-isl:
13628 @if isl
13629 maybe-html-isl: html-isl
13631 html-isl: \
13632 configure-isl
13633 @[ -f ./isl/Makefile ] || exit 0; \
13634 r=`${PWD_COMMAND}`; export r; \
13635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13636 $(HOST_EXPORTS) \
13637 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13639 done; \
13640 echo "Doing html in isl" ; \
13641 (cd $(HOST_SUBDIR)/isl && \
13642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13644 "RANLIB=$${RANLIB}" \
13645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13646 html) \
13647 || exit 1
13649 @endif isl
13651 .PHONY: maybe-TAGS-isl TAGS-isl
13652 maybe-TAGS-isl:
13653 @if isl
13654 maybe-TAGS-isl: TAGS-isl
13656 TAGS-isl: \
13657 configure-isl
13658 @[ -f ./isl/Makefile ] || exit 0; \
13659 r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13664 done; \
13665 echo "Doing TAGS in isl" ; \
13666 (cd $(HOST_SUBDIR)/isl && \
13667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13669 "RANLIB=$${RANLIB}" \
13670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13671 TAGS) \
13672 || exit 1
13674 @endif isl
13676 .PHONY: maybe-install-info-isl install-info-isl
13677 maybe-install-info-isl:
13678 @if isl
13679 maybe-install-info-isl: install-info-isl
13681 install-info-isl: \
13682 configure-isl \
13683 info-isl
13684 @[ -f ./isl/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(HOST_EXPORTS) \
13688 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 echo "Doing install-info in isl" ; \
13692 (cd $(HOST_SUBDIR)/isl && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13697 install-info) \
13698 || exit 1
13700 @endif isl
13702 .PHONY: maybe-install-pdf-isl install-pdf-isl
13703 maybe-install-pdf-isl:
13704 @if isl
13705 maybe-install-pdf-isl: install-pdf-isl
13707 install-pdf-isl: \
13708 configure-isl \
13709 pdf-isl
13710 @[ -f ./isl/Makefile ] || exit 0; \
13711 r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 $(HOST_EXPORTS) \
13714 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13716 done; \
13717 echo "Doing install-pdf in isl" ; \
13718 (cd $(HOST_SUBDIR)/isl && \
13719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13721 "RANLIB=$${RANLIB}" \
13722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13723 install-pdf) \
13724 || exit 1
13726 @endif isl
13728 .PHONY: maybe-install-html-isl install-html-isl
13729 maybe-install-html-isl:
13730 @if isl
13731 maybe-install-html-isl: install-html-isl
13733 install-html-isl: \
13734 configure-isl \
13735 html-isl
13736 @[ -f ./isl/Makefile ] || exit 0; \
13737 r=`${PWD_COMMAND}`; export r; \
13738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13739 $(HOST_EXPORTS) \
13740 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13742 done; \
13743 echo "Doing install-html in isl" ; \
13744 (cd $(HOST_SUBDIR)/isl && \
13745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13747 "RANLIB=$${RANLIB}" \
13748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13749 install-html) \
13750 || exit 1
13752 @endif isl
13754 .PHONY: maybe-installcheck-isl installcheck-isl
13755 maybe-installcheck-isl:
13756 @if isl
13757 maybe-installcheck-isl: installcheck-isl
13759 installcheck-isl: \
13760 configure-isl
13761 @[ -f ./isl/Makefile ] || exit 0; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764 $(HOST_EXPORTS) \
13765 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13767 done; \
13768 echo "Doing installcheck in isl" ; \
13769 (cd $(HOST_SUBDIR)/isl && \
13770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772 "RANLIB=$${RANLIB}" \
13773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13774 installcheck) \
13775 || exit 1
13777 @endif isl
13779 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13780 maybe-mostlyclean-isl:
13781 @if isl
13782 maybe-mostlyclean-isl: mostlyclean-isl
13784 mostlyclean-isl:
13785 @[ -f ./isl/Makefile ] || exit 0; \
13786 r=`${PWD_COMMAND}`; export r; \
13787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13788 $(HOST_EXPORTS) \
13789 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13791 done; \
13792 echo "Doing mostlyclean in isl" ; \
13793 (cd $(HOST_SUBDIR)/isl && \
13794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13796 "RANLIB=$${RANLIB}" \
13797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13798 mostlyclean) \
13799 || exit 1
13801 @endif isl
13803 .PHONY: maybe-clean-isl clean-isl
13804 maybe-clean-isl:
13805 @if isl
13806 maybe-clean-isl: clean-isl
13808 clean-isl:
13809 @[ -f ./isl/Makefile ] || exit 0; \
13810 r=`${PWD_COMMAND}`; export r; \
13811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 $(HOST_EXPORTS) \
13813 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 done; \
13816 echo "Doing clean in isl" ; \
13817 (cd $(HOST_SUBDIR)/isl && \
13818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13820 "RANLIB=$${RANLIB}" \
13821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13822 clean) \
13823 || exit 1
13825 @endif isl
13827 .PHONY: maybe-distclean-isl distclean-isl
13828 maybe-distclean-isl:
13829 @if isl
13830 maybe-distclean-isl: distclean-isl
13832 distclean-isl:
13833 @[ -f ./isl/Makefile ] || exit 0; \
13834 r=`${PWD_COMMAND}`; export r; \
13835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13836 $(HOST_EXPORTS) \
13837 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13839 done; \
13840 echo "Doing distclean in isl" ; \
13841 (cd $(HOST_SUBDIR)/isl && \
13842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13844 "RANLIB=$${RANLIB}" \
13845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13846 distclean) \
13847 || exit 1
13849 @endif isl
13851 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13852 maybe-maintainer-clean-isl:
13853 @if isl
13854 maybe-maintainer-clean-isl: maintainer-clean-isl
13856 maintainer-clean-isl:
13857 @[ -f ./isl/Makefile ] || exit 0; \
13858 r=`${PWD_COMMAND}`; export r; \
13859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13860 $(HOST_EXPORTS) \
13861 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13863 done; \
13864 echo "Doing maintainer-clean in isl" ; \
13865 (cd $(HOST_SUBDIR)/isl && \
13866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13868 "RANLIB=$${RANLIB}" \
13869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13870 maintainer-clean) \
13871 || exit 1
13873 @endif isl
13877 .PHONY: configure-cloog maybe-configure-cloog
13878 maybe-configure-cloog:
13879 @if gcc-bootstrap
13880 configure-cloog: stage_current
13881 @endif gcc-bootstrap
13882 @if cloog
13883 maybe-configure-cloog: configure-cloog
13884 configure-cloog:
13885 @r=`${PWD_COMMAND}`; export r; \
13886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13887 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13889 $(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; \
13890 echo Configuring in $(HOST_SUBDIR)/cloog; \
13891 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13892 case $(srcdir) in \
13893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13894 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13896 esac; \
13897 srcdiroption="--srcdir=$${topdir}/cloog"; \
13898 libsrcdir="$$s/cloog"; \
13899 $(SHELL) $${libsrcdir}/configure \
13900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13901 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13902 || exit 1
13903 @endif cloog
13907 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13908 maybe-configure-stage1-cloog:
13909 @if cloog-bootstrap
13910 maybe-configure-stage1-cloog: configure-stage1-cloog
13911 configure-stage1-cloog:
13912 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13914 @r=`${PWD_COMMAND}`; export r; \
13915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13916 TFLAGS="$(STAGE1_TFLAGS)"; \
13917 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13918 $(HOST_EXPORTS) \
13919 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13920 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13921 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; \
13922 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13924 cd $(HOST_SUBDIR)/cloog || exit 1; \
13925 case $(srcdir) in \
13926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13927 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13929 esac; \
13930 srcdiroption="--srcdir=$${topdir}/cloog"; \
13931 libsrcdir="$$s/cloog"; \
13932 $(SHELL) $${libsrcdir}/configure \
13933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13934 --target=${target_alias} $${srcdiroption} \
13935 $(STAGE1_CONFIGURE_FLAGS) \
13936 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13937 @endif cloog-bootstrap
13939 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13940 maybe-configure-stage2-cloog:
13941 @if cloog-bootstrap
13942 maybe-configure-stage2-cloog: configure-stage2-cloog
13943 configure-stage2-cloog:
13944 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13945 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13946 @r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948 TFLAGS="$(STAGE2_TFLAGS)"; \
13949 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13950 $(HOST_EXPORTS) \
13951 $(POSTSTAGE1_HOST_EXPORTS) \
13952 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13953 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13954 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; \
13955 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13957 cd $(HOST_SUBDIR)/cloog || exit 1; \
13958 case $(srcdir) in \
13959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13960 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13962 esac; \
13963 srcdiroption="--srcdir=$${topdir}/cloog"; \
13964 libsrcdir="$$s/cloog"; \
13965 $(SHELL) $${libsrcdir}/configure \
13966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13967 --target=${target_alias} $${srcdiroption} \
13968 --with-build-libsubdir=$(HOST_SUBDIR) \
13969 $(STAGE2_CONFIGURE_FLAGS) \
13970 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13971 @endif cloog-bootstrap
13973 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13974 maybe-configure-stage3-cloog:
13975 @if cloog-bootstrap
13976 maybe-configure-stage3-cloog: configure-stage3-cloog
13977 configure-stage3-cloog:
13978 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13980 @r=`${PWD_COMMAND}`; export r; \
13981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13982 TFLAGS="$(STAGE3_TFLAGS)"; \
13983 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13984 $(HOST_EXPORTS) \
13985 $(POSTSTAGE1_HOST_EXPORTS) \
13986 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13987 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13988 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; \
13989 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13991 cd $(HOST_SUBDIR)/cloog || exit 1; \
13992 case $(srcdir) in \
13993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13994 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13996 esac; \
13997 srcdiroption="--srcdir=$${topdir}/cloog"; \
13998 libsrcdir="$$s/cloog"; \
13999 $(SHELL) $${libsrcdir}/configure \
14000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14001 --target=${target_alias} $${srcdiroption} \
14002 --with-build-libsubdir=$(HOST_SUBDIR) \
14003 $(STAGE3_CONFIGURE_FLAGS) \
14004 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14005 @endif cloog-bootstrap
14007 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14008 maybe-configure-stage4-cloog:
14009 @if cloog-bootstrap
14010 maybe-configure-stage4-cloog: configure-stage4-cloog
14011 configure-stage4-cloog:
14012 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14014 @r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 TFLAGS="$(STAGE4_TFLAGS)"; \
14017 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14018 $(HOST_EXPORTS) \
14019 $(POSTSTAGE1_HOST_EXPORTS) \
14020 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14021 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14022 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; \
14023 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14025 cd $(HOST_SUBDIR)/cloog || exit 1; \
14026 case $(srcdir) in \
14027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14028 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14030 esac; \
14031 srcdiroption="--srcdir=$${topdir}/cloog"; \
14032 libsrcdir="$$s/cloog"; \
14033 $(SHELL) $${libsrcdir}/configure \
14034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14035 --target=${target_alias} $${srcdiroption} \
14036 --with-build-libsubdir=$(HOST_SUBDIR) \
14037 $(STAGE4_CONFIGURE_FLAGS) \
14038 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14039 @endif cloog-bootstrap
14041 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14042 maybe-configure-stageprofile-cloog:
14043 @if cloog-bootstrap
14044 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14045 configure-stageprofile-cloog:
14046 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14048 @r=`${PWD_COMMAND}`; export r; \
14049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14051 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14052 $(HOST_EXPORTS) \
14053 $(POSTSTAGE1_HOST_EXPORTS) \
14054 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14055 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14056 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; \
14057 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14059 cd $(HOST_SUBDIR)/cloog || exit 1; \
14060 case $(srcdir) in \
14061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14062 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14064 esac; \
14065 srcdiroption="--srcdir=$${topdir}/cloog"; \
14066 libsrcdir="$$s/cloog"; \
14067 $(SHELL) $${libsrcdir}/configure \
14068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14069 --target=${target_alias} $${srcdiroption} \
14070 --with-build-libsubdir=$(HOST_SUBDIR) \
14071 $(STAGEprofile_CONFIGURE_FLAGS) \
14072 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14073 @endif cloog-bootstrap
14075 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14076 maybe-configure-stagefeedback-cloog:
14077 @if cloog-bootstrap
14078 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14079 configure-stagefeedback-cloog:
14080 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14081 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14082 @r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14085 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14086 $(HOST_EXPORTS) \
14087 $(POSTSTAGE1_HOST_EXPORTS) \
14088 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14089 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14090 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; \
14091 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14093 cd $(HOST_SUBDIR)/cloog || exit 1; \
14094 case $(srcdir) in \
14095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14096 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14098 esac; \
14099 srcdiroption="--srcdir=$${topdir}/cloog"; \
14100 libsrcdir="$$s/cloog"; \
14101 $(SHELL) $${libsrcdir}/configure \
14102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14103 --target=${target_alias} $${srcdiroption} \
14104 --with-build-libsubdir=$(HOST_SUBDIR) \
14105 $(STAGEfeedback_CONFIGURE_FLAGS) \
14106 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14107 @endif cloog-bootstrap
14113 .PHONY: all-cloog maybe-all-cloog
14114 maybe-all-cloog:
14115 @if gcc-bootstrap
14116 all-cloog: stage_current
14117 @endif gcc-bootstrap
14118 @if cloog
14119 TARGET-cloog=all
14120 maybe-all-cloog: all-cloog
14121 all-cloog: configure-cloog
14122 @r=`${PWD_COMMAND}`; export r; \
14123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14124 $(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; \
14125 (cd $(HOST_SUBDIR)/cloog && \
14126 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14127 $(TARGET-cloog))
14128 @endif cloog
14132 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14133 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14134 maybe-all-stage1-cloog:
14135 maybe-clean-stage1-cloog:
14136 @if cloog-bootstrap
14137 maybe-all-stage1-cloog: all-stage1-cloog
14138 all-stage1: all-stage1-cloog
14139 TARGET-stage1-cloog = $(TARGET-cloog)
14140 all-stage1-cloog: configure-stage1-cloog
14141 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14142 @r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 TFLAGS="$(STAGE1_TFLAGS)"; \
14145 $(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; \
14146 cd $(HOST_SUBDIR)/cloog && \
14147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14148 CFLAGS="$(STAGE1_CFLAGS)" \
14149 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14150 LIBCFLAGS="$(LIBCFLAGS)" \
14151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14154 $(EXTRA_HOST_FLAGS) \
14155 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14156 TFLAGS="$(STAGE1_TFLAGS)" \
14157 $(TARGET-stage1-cloog)
14159 maybe-clean-stage1-cloog: clean-stage1-cloog
14160 clean-stage1: clean-stage1-cloog
14161 clean-stage1-cloog:
14162 @if [ $(current_stage) = stage1 ]; then \
14163 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14164 else \
14165 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14166 $(MAKE) stage1-start; \
14167 fi; \
14168 cd $(HOST_SUBDIR)/cloog && \
14169 $(MAKE) $(EXTRA_HOST_FLAGS) \
14170 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14171 @endif cloog-bootstrap
14174 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14175 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14176 maybe-all-stage2-cloog:
14177 maybe-clean-stage2-cloog:
14178 @if cloog-bootstrap
14179 maybe-all-stage2-cloog: all-stage2-cloog
14180 all-stage2: all-stage2-cloog
14181 TARGET-stage2-cloog = $(TARGET-cloog)
14182 all-stage2-cloog: configure-stage2-cloog
14183 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14184 @r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 TFLAGS="$(STAGE2_TFLAGS)"; \
14187 $(HOST_EXPORTS) \
14188 $(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; \
14189 cd $(HOST_SUBDIR)/cloog && \
14190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14191 CFLAGS="$(STAGE2_CFLAGS)" \
14192 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14193 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14198 TFLAGS="$(STAGE2_TFLAGS)" \
14199 $(TARGET-stage2-cloog)
14201 maybe-clean-stage2-cloog: clean-stage2-cloog
14202 clean-stage2: clean-stage2-cloog
14203 clean-stage2-cloog:
14204 @if [ $(current_stage) = stage2 ]; then \
14205 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14206 else \
14207 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14208 $(MAKE) stage2-start; \
14209 fi; \
14210 cd $(HOST_SUBDIR)/cloog && \
14211 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14212 @endif cloog-bootstrap
14215 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14216 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14217 maybe-all-stage3-cloog:
14218 maybe-clean-stage3-cloog:
14219 @if cloog-bootstrap
14220 maybe-all-stage3-cloog: all-stage3-cloog
14221 all-stage3: all-stage3-cloog
14222 TARGET-stage3-cloog = $(TARGET-cloog)
14223 all-stage3-cloog: configure-stage3-cloog
14224 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14225 @r=`${PWD_COMMAND}`; export r; \
14226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14227 TFLAGS="$(STAGE3_TFLAGS)"; \
14228 $(HOST_EXPORTS) \
14229 $(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; \
14230 cd $(HOST_SUBDIR)/cloog && \
14231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14232 CFLAGS="$(STAGE3_CFLAGS)" \
14233 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14234 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14239 TFLAGS="$(STAGE3_TFLAGS)" \
14240 $(TARGET-stage3-cloog)
14242 maybe-clean-stage3-cloog: clean-stage3-cloog
14243 clean-stage3: clean-stage3-cloog
14244 clean-stage3-cloog:
14245 @if [ $(current_stage) = stage3 ]; then \
14246 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14247 else \
14248 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14249 $(MAKE) stage3-start; \
14250 fi; \
14251 cd $(HOST_SUBDIR)/cloog && \
14252 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14253 @endif cloog-bootstrap
14256 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14257 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14258 maybe-all-stage4-cloog:
14259 maybe-clean-stage4-cloog:
14260 @if cloog-bootstrap
14261 maybe-all-stage4-cloog: all-stage4-cloog
14262 all-stage4: all-stage4-cloog
14263 TARGET-stage4-cloog = $(TARGET-cloog)
14264 all-stage4-cloog: configure-stage4-cloog
14265 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14266 @r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 TFLAGS="$(STAGE4_TFLAGS)"; \
14269 $(HOST_EXPORTS) \
14270 $(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; \
14271 cd $(HOST_SUBDIR)/cloog && \
14272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14273 CFLAGS="$(STAGE4_CFLAGS)" \
14274 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14275 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14280 TFLAGS="$(STAGE4_TFLAGS)" \
14281 $(TARGET-stage4-cloog)
14283 maybe-clean-stage4-cloog: clean-stage4-cloog
14284 clean-stage4: clean-stage4-cloog
14285 clean-stage4-cloog:
14286 @if [ $(current_stage) = stage4 ]; then \
14287 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14288 else \
14289 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14290 $(MAKE) stage4-start; \
14291 fi; \
14292 cd $(HOST_SUBDIR)/cloog && \
14293 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14294 @endif cloog-bootstrap
14297 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14298 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14299 maybe-all-stageprofile-cloog:
14300 maybe-clean-stageprofile-cloog:
14301 @if cloog-bootstrap
14302 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14303 all-stageprofile: all-stageprofile-cloog
14304 TARGET-stageprofile-cloog = $(TARGET-cloog)
14305 all-stageprofile-cloog: configure-stageprofile-cloog
14306 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14307 @r=`${PWD_COMMAND}`; export r; \
14308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14309 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14310 $(HOST_EXPORTS) \
14311 $(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; \
14312 cd $(HOST_SUBDIR)/cloog && \
14313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14314 CFLAGS="$(STAGEprofile_CFLAGS)" \
14315 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14316 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14321 TFLAGS="$(STAGEprofile_TFLAGS)" \
14322 $(TARGET-stageprofile-cloog)
14324 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14325 clean-stageprofile: clean-stageprofile-cloog
14326 clean-stageprofile-cloog:
14327 @if [ $(current_stage) = stageprofile ]; then \
14328 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14329 else \
14330 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14331 $(MAKE) stageprofile-start; \
14332 fi; \
14333 cd $(HOST_SUBDIR)/cloog && \
14334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14335 @endif cloog-bootstrap
14338 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14339 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14340 maybe-all-stagefeedback-cloog:
14341 maybe-clean-stagefeedback-cloog:
14342 @if cloog-bootstrap
14343 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14344 all-stagefeedback: all-stagefeedback-cloog
14345 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14346 all-stagefeedback-cloog: configure-stagefeedback-cloog
14347 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14348 @r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14351 $(HOST_EXPORTS) \
14352 $(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; \
14353 cd $(HOST_SUBDIR)/cloog && \
14354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14355 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14356 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14357 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14362 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14363 $(TARGET-stagefeedback-cloog)
14365 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14366 clean-stagefeedback: clean-stagefeedback-cloog
14367 clean-stagefeedback-cloog:
14368 @if [ $(current_stage) = stagefeedback ]; then \
14369 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14370 else \
14371 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14372 $(MAKE) stagefeedback-start; \
14373 fi; \
14374 cd $(HOST_SUBDIR)/cloog && \
14375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14376 @endif cloog-bootstrap
14382 .PHONY: check-cloog maybe-check-cloog
14383 maybe-check-cloog:
14384 @if cloog
14385 maybe-check-cloog: check-cloog
14387 check-cloog:
14388 @: $(MAKE); $(unstage)
14389 @r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14391 $(HOST_EXPORTS) \
14392 (cd $(HOST_SUBDIR)/cloog && \
14393 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14395 @endif cloog
14397 .PHONY: install-cloog maybe-install-cloog
14398 maybe-install-cloog:
14399 @if cloog
14400 maybe-install-cloog: install-cloog
14402 install-cloog:
14404 @endif cloog
14406 .PHONY: install-strip-cloog maybe-install-strip-cloog
14407 maybe-install-strip-cloog:
14408 @if cloog
14409 maybe-install-strip-cloog: install-strip-cloog
14411 install-strip-cloog:
14413 @endif cloog
14415 # Other targets (info, dvi, pdf, etc.)
14417 .PHONY: maybe-info-cloog info-cloog
14418 maybe-info-cloog:
14419 @if cloog
14420 maybe-info-cloog: info-cloog
14422 info-cloog: \
14423 configure-cloog
14424 @[ -f ./cloog/Makefile ] || exit 0; \
14425 r=`${PWD_COMMAND}`; export r; \
14426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14427 $(HOST_EXPORTS) \
14428 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14430 done; \
14431 echo "Doing info in cloog" ; \
14432 (cd $(HOST_SUBDIR)/cloog && \
14433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14435 "RANLIB=$${RANLIB}" \
14436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14437 info) \
14438 || exit 1
14440 @endif cloog
14442 .PHONY: maybe-dvi-cloog dvi-cloog
14443 maybe-dvi-cloog:
14444 @if cloog
14445 maybe-dvi-cloog: dvi-cloog
14447 dvi-cloog: \
14448 configure-cloog
14449 @[ -f ./cloog/Makefile ] || exit 0; \
14450 r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 $(HOST_EXPORTS) \
14453 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14455 done; \
14456 echo "Doing dvi in cloog" ; \
14457 (cd $(HOST_SUBDIR)/cloog && \
14458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14460 "RANLIB=$${RANLIB}" \
14461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14462 dvi) \
14463 || exit 1
14465 @endif cloog
14467 .PHONY: maybe-pdf-cloog pdf-cloog
14468 maybe-pdf-cloog:
14469 @if cloog
14470 maybe-pdf-cloog: pdf-cloog
14472 pdf-cloog: \
14473 configure-cloog
14474 @[ -f ./cloog/Makefile ] || exit 0; \
14475 r=`${PWD_COMMAND}`; export r; \
14476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477 $(HOST_EXPORTS) \
14478 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14480 done; \
14481 echo "Doing pdf in cloog" ; \
14482 (cd $(HOST_SUBDIR)/cloog && \
14483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14485 "RANLIB=$${RANLIB}" \
14486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14487 pdf) \
14488 || exit 1
14490 @endif cloog
14492 .PHONY: maybe-html-cloog html-cloog
14493 maybe-html-cloog:
14494 @if cloog
14495 maybe-html-cloog: html-cloog
14497 html-cloog: \
14498 configure-cloog
14499 @[ -f ./cloog/Makefile ] || exit 0; \
14500 r=`${PWD_COMMAND}`; export r; \
14501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14502 $(HOST_EXPORTS) \
14503 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14505 done; \
14506 echo "Doing html in cloog" ; \
14507 (cd $(HOST_SUBDIR)/cloog && \
14508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14510 "RANLIB=$${RANLIB}" \
14511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14512 html) \
14513 || exit 1
14515 @endif cloog
14517 .PHONY: maybe-TAGS-cloog TAGS-cloog
14518 maybe-TAGS-cloog:
14519 @if cloog
14520 maybe-TAGS-cloog: TAGS-cloog
14522 TAGS-cloog: \
14523 configure-cloog
14524 @[ -f ./cloog/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527 $(HOST_EXPORTS) \
14528 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14530 done; \
14531 echo "Doing TAGS in cloog" ; \
14532 (cd $(HOST_SUBDIR)/cloog && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14537 TAGS) \
14538 || exit 1
14540 @endif cloog
14542 .PHONY: maybe-install-info-cloog install-info-cloog
14543 maybe-install-info-cloog:
14544 @if cloog
14545 maybe-install-info-cloog: install-info-cloog
14547 install-info-cloog: \
14548 configure-cloog \
14549 info-cloog
14550 @[ -f ./cloog/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(HOST_EXPORTS) \
14554 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556 done; \
14557 echo "Doing install-info in cloog" ; \
14558 (cd $(HOST_SUBDIR)/cloog && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14563 install-info) \
14564 || exit 1
14566 @endif cloog
14568 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14569 maybe-install-pdf-cloog:
14570 @if cloog
14571 maybe-install-pdf-cloog: install-pdf-cloog
14573 install-pdf-cloog: \
14574 configure-cloog \
14575 pdf-cloog
14576 @[ -f ./cloog/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(HOST_EXPORTS) \
14580 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 done; \
14583 echo "Doing install-pdf in cloog" ; \
14584 (cd $(HOST_SUBDIR)/cloog && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14589 install-pdf) \
14590 || exit 1
14592 @endif cloog
14594 .PHONY: maybe-install-html-cloog install-html-cloog
14595 maybe-install-html-cloog:
14596 @if cloog
14597 maybe-install-html-cloog: install-html-cloog
14599 install-html-cloog: \
14600 configure-cloog \
14601 html-cloog
14602 @[ -f ./cloog/Makefile ] || exit 0; \
14603 r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14608 done; \
14609 echo "Doing install-html in cloog" ; \
14610 (cd $(HOST_SUBDIR)/cloog && \
14611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14613 "RANLIB=$${RANLIB}" \
14614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14615 install-html) \
14616 || exit 1
14618 @endif cloog
14620 .PHONY: maybe-installcheck-cloog installcheck-cloog
14621 maybe-installcheck-cloog:
14622 @if cloog
14623 maybe-installcheck-cloog: installcheck-cloog
14625 installcheck-cloog: \
14626 configure-cloog
14627 @[ -f ./cloog/Makefile ] || exit 0; \
14628 r=`${PWD_COMMAND}`; export r; \
14629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14630 $(HOST_EXPORTS) \
14631 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14633 done; \
14634 echo "Doing installcheck in cloog" ; \
14635 (cd $(HOST_SUBDIR)/cloog && \
14636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14638 "RANLIB=$${RANLIB}" \
14639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14640 installcheck) \
14641 || exit 1
14643 @endif cloog
14645 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14646 maybe-mostlyclean-cloog:
14647 @if cloog
14648 maybe-mostlyclean-cloog: mostlyclean-cloog
14650 mostlyclean-cloog:
14651 @[ -f ./cloog/Makefile ] || exit 0; \
14652 r=`${PWD_COMMAND}`; export r; \
14653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 $(HOST_EXPORTS) \
14655 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 done; \
14658 echo "Doing mostlyclean in cloog" ; \
14659 (cd $(HOST_SUBDIR)/cloog && \
14660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14662 "RANLIB=$${RANLIB}" \
14663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14664 mostlyclean) \
14665 || exit 1
14667 @endif cloog
14669 .PHONY: maybe-clean-cloog clean-cloog
14670 maybe-clean-cloog:
14671 @if cloog
14672 maybe-clean-cloog: clean-cloog
14674 clean-cloog:
14675 @[ -f ./cloog/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing clean in cloog" ; \
14683 (cd $(HOST_SUBDIR)/cloog && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14688 clean) \
14689 || exit 1
14691 @endif cloog
14693 .PHONY: maybe-distclean-cloog distclean-cloog
14694 maybe-distclean-cloog:
14695 @if cloog
14696 maybe-distclean-cloog: distclean-cloog
14698 distclean-cloog:
14699 @[ -f ./cloog/Makefile ] || exit 0; \
14700 r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702 $(HOST_EXPORTS) \
14703 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14705 done; \
14706 echo "Doing distclean in cloog" ; \
14707 (cd $(HOST_SUBDIR)/cloog && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14710 "RANLIB=$${RANLIB}" \
14711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14712 distclean) \
14713 || exit 1
14715 @endif cloog
14717 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14718 maybe-maintainer-clean-cloog:
14719 @if cloog
14720 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14722 maintainer-clean-cloog:
14723 @[ -f ./cloog/Makefile ] || exit 0; \
14724 r=`${PWD_COMMAND}`; export r; \
14725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14726 $(HOST_EXPORTS) \
14727 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14729 done; \
14730 echo "Doing maintainer-clean in cloog" ; \
14731 (cd $(HOST_SUBDIR)/cloog && \
14732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14734 "RANLIB=$${RANLIB}" \
14735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14736 maintainer-clean) \
14737 || exit 1
14739 @endif cloog
14743 .PHONY: configure-libelf maybe-configure-libelf
14744 maybe-configure-libelf:
14745 @if gcc-bootstrap
14746 configure-libelf: stage_current
14747 @endif gcc-bootstrap
14748 @if libelf
14749 maybe-configure-libelf: configure-libelf
14750 configure-libelf:
14751 @r=`${PWD_COMMAND}`; export r; \
14752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14755 $(HOST_EXPORTS) \
14756 echo Configuring in $(HOST_SUBDIR)/libelf; \
14757 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14758 case $(srcdir) in \
14759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14760 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14762 esac; \
14763 srcdiroption="--srcdir=$${topdir}/libelf"; \
14764 libsrcdir="$$s/libelf"; \
14765 $(SHELL) $${libsrcdir}/configure \
14766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14767 --target=${target_alias} $${srcdiroption} --disable-shared \
14768 || exit 1
14769 @endif libelf
14773 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14774 maybe-configure-stage1-libelf:
14775 @if libelf-bootstrap
14776 maybe-configure-stage1-libelf: configure-stage1-libelf
14777 configure-stage1-libelf:
14778 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14780 @r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 TFLAGS="$(STAGE1_TFLAGS)"; \
14783 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14784 $(HOST_EXPORTS) \
14785 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14786 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14787 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14788 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14790 cd $(HOST_SUBDIR)/libelf || exit 1; \
14791 case $(srcdir) in \
14792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14793 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14795 esac; \
14796 srcdiroption="--srcdir=$${topdir}/libelf"; \
14797 libsrcdir="$$s/libelf"; \
14798 $(SHELL) $${libsrcdir}/configure \
14799 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14800 --target=${target_alias} $${srcdiroption} \
14801 $(STAGE1_CONFIGURE_FLAGS) \
14802 --disable-shared
14803 @endif libelf-bootstrap
14805 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14806 maybe-configure-stage2-libelf:
14807 @if libelf-bootstrap
14808 maybe-configure-stage2-libelf: configure-stage2-libelf
14809 configure-stage2-libelf:
14810 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14811 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14812 @r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814 TFLAGS="$(STAGE2_TFLAGS)"; \
14815 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14816 $(HOST_EXPORTS) \
14817 $(POSTSTAGE1_HOST_EXPORTS) \
14818 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14819 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14820 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14821 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14823 cd $(HOST_SUBDIR)/libelf || exit 1; \
14824 case $(srcdir) in \
14825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14826 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14828 esac; \
14829 srcdiroption="--srcdir=$${topdir}/libelf"; \
14830 libsrcdir="$$s/libelf"; \
14831 $(SHELL) $${libsrcdir}/configure \
14832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14833 --target=${target_alias} $${srcdiroption} \
14834 --with-build-libsubdir=$(HOST_SUBDIR) \
14835 $(STAGE2_CONFIGURE_FLAGS) \
14836 --disable-shared
14837 @endif libelf-bootstrap
14839 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14840 maybe-configure-stage3-libelf:
14841 @if libelf-bootstrap
14842 maybe-configure-stage3-libelf: configure-stage3-libelf
14843 configure-stage3-libelf:
14844 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14846 @r=`${PWD_COMMAND}`; export r; \
14847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14848 TFLAGS="$(STAGE3_TFLAGS)"; \
14849 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14850 $(HOST_EXPORTS) \
14851 $(POSTSTAGE1_HOST_EXPORTS) \
14852 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14853 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14854 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14855 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14857 cd $(HOST_SUBDIR)/libelf || exit 1; \
14858 case $(srcdir) in \
14859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14860 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14862 esac; \
14863 srcdiroption="--srcdir=$${topdir}/libelf"; \
14864 libsrcdir="$$s/libelf"; \
14865 $(SHELL) $${libsrcdir}/configure \
14866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14867 --target=${target_alias} $${srcdiroption} \
14868 --with-build-libsubdir=$(HOST_SUBDIR) \
14869 $(STAGE3_CONFIGURE_FLAGS) \
14870 --disable-shared
14871 @endif libelf-bootstrap
14873 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14874 maybe-configure-stage4-libelf:
14875 @if libelf-bootstrap
14876 maybe-configure-stage4-libelf: configure-stage4-libelf
14877 configure-stage4-libelf:
14878 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14880 @r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 TFLAGS="$(STAGE4_TFLAGS)"; \
14883 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14884 $(HOST_EXPORTS) \
14885 $(POSTSTAGE1_HOST_EXPORTS) \
14886 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14887 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14888 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14889 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14891 cd $(HOST_SUBDIR)/libelf || exit 1; \
14892 case $(srcdir) in \
14893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14894 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14896 esac; \
14897 srcdiroption="--srcdir=$${topdir}/libelf"; \
14898 libsrcdir="$$s/libelf"; \
14899 $(SHELL) $${libsrcdir}/configure \
14900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14901 --target=${target_alias} $${srcdiroption} \
14902 --with-build-libsubdir=$(HOST_SUBDIR) \
14903 $(STAGE4_CONFIGURE_FLAGS) \
14904 --disable-shared
14905 @endif libelf-bootstrap
14907 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14908 maybe-configure-stageprofile-libelf:
14909 @if libelf-bootstrap
14910 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14911 configure-stageprofile-libelf:
14912 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14914 @r=`${PWD_COMMAND}`; export r; \
14915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14916 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14917 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14918 $(HOST_EXPORTS) \
14919 $(POSTSTAGE1_HOST_EXPORTS) \
14920 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14921 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14922 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14923 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14925 cd $(HOST_SUBDIR)/libelf || exit 1; \
14926 case $(srcdir) in \
14927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14928 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14930 esac; \
14931 srcdiroption="--srcdir=$${topdir}/libelf"; \
14932 libsrcdir="$$s/libelf"; \
14933 $(SHELL) $${libsrcdir}/configure \
14934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14935 --target=${target_alias} $${srcdiroption} \
14936 --with-build-libsubdir=$(HOST_SUBDIR) \
14937 $(STAGEprofile_CONFIGURE_FLAGS) \
14938 --disable-shared
14939 @endif libelf-bootstrap
14941 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14942 maybe-configure-stagefeedback-libelf:
14943 @if libelf-bootstrap
14944 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14945 configure-stagefeedback-libelf:
14946 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14948 @r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14951 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14952 $(HOST_EXPORTS) \
14953 $(POSTSTAGE1_HOST_EXPORTS) \
14954 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14955 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14956 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14957 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14959 cd $(HOST_SUBDIR)/libelf || exit 1; \
14960 case $(srcdir) in \
14961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14962 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14964 esac; \
14965 srcdiroption="--srcdir=$${topdir}/libelf"; \
14966 libsrcdir="$$s/libelf"; \
14967 $(SHELL) $${libsrcdir}/configure \
14968 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14969 --target=${target_alias} $${srcdiroption} \
14970 --with-build-libsubdir=$(HOST_SUBDIR) \
14971 $(STAGEfeedback_CONFIGURE_FLAGS) \
14972 --disable-shared
14973 @endif libelf-bootstrap
14979 .PHONY: all-libelf maybe-all-libelf
14980 maybe-all-libelf:
14981 @if gcc-bootstrap
14982 all-libelf: stage_current
14983 @endif gcc-bootstrap
14984 @if libelf
14985 TARGET-libelf=all
14986 maybe-all-libelf: all-libelf
14987 all-libelf: configure-libelf
14988 @r=`${PWD_COMMAND}`; export r; \
14989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14990 $(HOST_EXPORTS) \
14991 (cd $(HOST_SUBDIR)/libelf && \
14992 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14993 $(TARGET-libelf))
14994 @endif libelf
14998 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14999 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15000 maybe-all-stage1-libelf:
15001 maybe-clean-stage1-libelf:
15002 @if libelf-bootstrap
15003 maybe-all-stage1-libelf: all-stage1-libelf
15004 all-stage1: all-stage1-libelf
15005 TARGET-stage1-libelf = $(TARGET-libelf)
15006 all-stage1-libelf: configure-stage1-libelf
15007 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15008 @r=`${PWD_COMMAND}`; export r; \
15009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15010 TFLAGS="$(STAGE1_TFLAGS)"; \
15011 $(HOST_EXPORTS) \
15012 cd $(HOST_SUBDIR)/libelf && \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15014 CFLAGS="$(STAGE1_CFLAGS)" \
15015 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15016 LIBCFLAGS="$(LIBCFLAGS)" \
15017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15020 $(EXTRA_HOST_FLAGS) \
15021 $(STAGE1_FLAGS_TO_PASS) \
15022 TFLAGS="$(STAGE1_TFLAGS)" \
15023 $(TARGET-stage1-libelf)
15025 maybe-clean-stage1-libelf: clean-stage1-libelf
15026 clean-stage1: clean-stage1-libelf
15027 clean-stage1-libelf:
15028 @if [ $(current_stage) = stage1 ]; then \
15029 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15030 else \
15031 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15032 $(MAKE) stage1-start; \
15033 fi; \
15034 cd $(HOST_SUBDIR)/libelf && \
15035 $(MAKE) $(EXTRA_HOST_FLAGS) \
15036 $(STAGE1_FLAGS_TO_PASS) clean
15037 @endif libelf-bootstrap
15040 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15041 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15042 maybe-all-stage2-libelf:
15043 maybe-clean-stage2-libelf:
15044 @if libelf-bootstrap
15045 maybe-all-stage2-libelf: all-stage2-libelf
15046 all-stage2: all-stage2-libelf
15047 TARGET-stage2-libelf = $(TARGET-libelf)
15048 all-stage2-libelf: configure-stage2-libelf
15049 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15050 @r=`${PWD_COMMAND}`; export r; \
15051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15052 TFLAGS="$(STAGE2_TFLAGS)"; \
15053 $(HOST_EXPORTS) \
15054 $(POSTSTAGE1_HOST_EXPORTS) \
15055 cd $(HOST_SUBDIR)/libelf && \
15056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15057 CFLAGS="$(STAGE2_CFLAGS)" \
15058 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15059 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15064 TFLAGS="$(STAGE2_TFLAGS)" \
15065 $(TARGET-stage2-libelf)
15067 maybe-clean-stage2-libelf: clean-stage2-libelf
15068 clean-stage2: clean-stage2-libelf
15069 clean-stage2-libelf:
15070 @if [ $(current_stage) = stage2 ]; then \
15071 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15072 else \
15073 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15074 $(MAKE) stage2-start; \
15075 fi; \
15076 cd $(HOST_SUBDIR)/libelf && \
15077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15078 @endif libelf-bootstrap
15081 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15082 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15083 maybe-all-stage3-libelf:
15084 maybe-clean-stage3-libelf:
15085 @if libelf-bootstrap
15086 maybe-all-stage3-libelf: all-stage3-libelf
15087 all-stage3: all-stage3-libelf
15088 TARGET-stage3-libelf = $(TARGET-libelf)
15089 all-stage3-libelf: configure-stage3-libelf
15090 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15091 @r=`${PWD_COMMAND}`; export r; \
15092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15093 TFLAGS="$(STAGE3_TFLAGS)"; \
15094 $(HOST_EXPORTS) \
15095 $(POSTSTAGE1_HOST_EXPORTS) \
15096 cd $(HOST_SUBDIR)/libelf && \
15097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15098 CFLAGS="$(STAGE3_CFLAGS)" \
15099 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15100 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15105 TFLAGS="$(STAGE3_TFLAGS)" \
15106 $(TARGET-stage3-libelf)
15108 maybe-clean-stage3-libelf: clean-stage3-libelf
15109 clean-stage3: clean-stage3-libelf
15110 clean-stage3-libelf:
15111 @if [ $(current_stage) = stage3 ]; then \
15112 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15113 else \
15114 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15115 $(MAKE) stage3-start; \
15116 fi; \
15117 cd $(HOST_SUBDIR)/libelf && \
15118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15119 @endif libelf-bootstrap
15122 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15123 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15124 maybe-all-stage4-libelf:
15125 maybe-clean-stage4-libelf:
15126 @if libelf-bootstrap
15127 maybe-all-stage4-libelf: all-stage4-libelf
15128 all-stage4: all-stage4-libelf
15129 TARGET-stage4-libelf = $(TARGET-libelf)
15130 all-stage4-libelf: configure-stage4-libelf
15131 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15132 @r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15134 TFLAGS="$(STAGE4_TFLAGS)"; \
15135 $(HOST_EXPORTS) \
15136 $(POSTSTAGE1_HOST_EXPORTS) \
15137 cd $(HOST_SUBDIR)/libelf && \
15138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15139 CFLAGS="$(STAGE4_CFLAGS)" \
15140 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15141 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15146 TFLAGS="$(STAGE4_TFLAGS)" \
15147 $(TARGET-stage4-libelf)
15149 maybe-clean-stage4-libelf: clean-stage4-libelf
15150 clean-stage4: clean-stage4-libelf
15151 clean-stage4-libelf:
15152 @if [ $(current_stage) = stage4 ]; then \
15153 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15154 else \
15155 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15156 $(MAKE) stage4-start; \
15157 fi; \
15158 cd $(HOST_SUBDIR)/libelf && \
15159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15160 @endif libelf-bootstrap
15163 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15164 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15165 maybe-all-stageprofile-libelf:
15166 maybe-clean-stageprofile-libelf:
15167 @if libelf-bootstrap
15168 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15169 all-stageprofile: all-stageprofile-libelf
15170 TARGET-stageprofile-libelf = $(TARGET-libelf)
15171 all-stageprofile-libelf: configure-stageprofile-libelf
15172 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15176 $(HOST_EXPORTS) \
15177 $(POSTSTAGE1_HOST_EXPORTS) \
15178 cd $(HOST_SUBDIR)/libelf && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15180 CFLAGS="$(STAGEprofile_CFLAGS)" \
15181 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15182 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15187 TFLAGS="$(STAGEprofile_TFLAGS)" \
15188 $(TARGET-stageprofile-libelf)
15190 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15191 clean-stageprofile: clean-stageprofile-libelf
15192 clean-stageprofile-libelf:
15193 @if [ $(current_stage) = stageprofile ]; then \
15194 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15195 else \
15196 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15197 $(MAKE) stageprofile-start; \
15198 fi; \
15199 cd $(HOST_SUBDIR)/libelf && \
15200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15201 @endif libelf-bootstrap
15204 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15205 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15206 maybe-all-stagefeedback-libelf:
15207 maybe-clean-stagefeedback-libelf:
15208 @if libelf-bootstrap
15209 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15210 all-stagefeedback: all-stagefeedback-libelf
15211 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15212 all-stagefeedback-libelf: configure-stagefeedback-libelf
15213 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15214 @r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15217 $(HOST_EXPORTS) \
15218 $(POSTSTAGE1_HOST_EXPORTS) \
15219 cd $(HOST_SUBDIR)/libelf && \
15220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15221 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15222 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15223 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15228 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15229 $(TARGET-stagefeedback-libelf)
15231 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15232 clean-stagefeedback: clean-stagefeedback-libelf
15233 clean-stagefeedback-libelf:
15234 @if [ $(current_stage) = stagefeedback ]; then \
15235 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15236 else \
15237 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15238 $(MAKE) stagefeedback-start; \
15239 fi; \
15240 cd $(HOST_SUBDIR)/libelf && \
15241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15242 @endif libelf-bootstrap
15248 .PHONY: check-libelf maybe-check-libelf
15249 maybe-check-libelf:
15250 @if libelf
15251 maybe-check-libelf: check-libelf
15253 check-libelf:
15254 @: $(MAKE); $(unstage)
15255 @r=`${PWD_COMMAND}`; export r; \
15256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15257 $(HOST_EXPORTS) \
15258 (cd $(HOST_SUBDIR)/libelf && \
15259 $(MAKE) $(FLAGS_TO_PASS) check)
15261 @endif libelf
15263 .PHONY: install-libelf maybe-install-libelf
15264 maybe-install-libelf:
15265 @if libelf
15266 maybe-install-libelf: install-libelf
15268 install-libelf:
15270 @endif libelf
15272 .PHONY: install-strip-libelf maybe-install-strip-libelf
15273 maybe-install-strip-libelf:
15274 @if libelf
15275 maybe-install-strip-libelf: install-strip-libelf
15277 install-strip-libelf:
15279 @endif libelf
15281 # Other targets (info, dvi, pdf, etc.)
15283 .PHONY: maybe-info-libelf info-libelf
15284 maybe-info-libelf:
15285 @if libelf
15286 maybe-info-libelf: info-libelf
15288 info-libelf: \
15289 configure-libelf
15290 @[ -f ./libelf/Makefile ] || exit 0; \
15291 r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 $(HOST_EXPORTS) \
15294 for flag in $(EXTRA_HOST_FLAGS) ; do \
15295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15296 done; \
15297 echo "Doing info in libelf" ; \
15298 (cd $(HOST_SUBDIR)/libelf && \
15299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15301 "RANLIB=$${RANLIB}" \
15302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15303 info) \
15304 || exit 1
15306 @endif libelf
15308 .PHONY: maybe-dvi-libelf dvi-libelf
15309 maybe-dvi-libelf:
15310 @if libelf
15311 maybe-dvi-libelf: dvi-libelf
15313 dvi-libelf: \
15314 configure-libelf
15315 @[ -f ./libelf/Makefile ] || exit 0; \
15316 r=`${PWD_COMMAND}`; export r; \
15317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15318 $(HOST_EXPORTS) \
15319 for flag in $(EXTRA_HOST_FLAGS) ; do \
15320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15321 done; \
15322 echo "Doing dvi in libelf" ; \
15323 (cd $(HOST_SUBDIR)/libelf && \
15324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15326 "RANLIB=$${RANLIB}" \
15327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15328 dvi) \
15329 || exit 1
15331 @endif libelf
15333 .PHONY: maybe-pdf-libelf pdf-libelf
15334 maybe-pdf-libelf:
15335 @if libelf
15336 maybe-pdf-libelf: pdf-libelf
15338 pdf-libelf: \
15339 configure-libelf
15340 @[ -f ./libelf/Makefile ] || exit 0; \
15341 r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 $(HOST_EXPORTS) \
15344 for flag in $(EXTRA_HOST_FLAGS) ; do \
15345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15346 done; \
15347 echo "Doing pdf in libelf" ; \
15348 (cd $(HOST_SUBDIR)/libelf && \
15349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15351 "RANLIB=$${RANLIB}" \
15352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15353 pdf) \
15354 || exit 1
15356 @endif libelf
15358 .PHONY: maybe-html-libelf html-libelf
15359 maybe-html-libelf:
15360 @if libelf
15361 maybe-html-libelf: html-libelf
15363 html-libelf: \
15364 configure-libelf
15365 @[ -f ./libelf/Makefile ] || exit 0; \
15366 r=`${PWD_COMMAND}`; export r; \
15367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15368 $(HOST_EXPORTS) \
15369 for flag in $(EXTRA_HOST_FLAGS) ; do \
15370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15371 done; \
15372 echo "Doing html in libelf" ; \
15373 (cd $(HOST_SUBDIR)/libelf && \
15374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15376 "RANLIB=$${RANLIB}" \
15377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15378 html) \
15379 || exit 1
15381 @endif libelf
15383 .PHONY: maybe-TAGS-libelf TAGS-libelf
15384 maybe-TAGS-libelf:
15385 @if libelf
15386 maybe-TAGS-libelf: TAGS-libelf
15388 TAGS-libelf: \
15389 configure-libelf
15390 @[ -f ./libelf/Makefile ] || exit 0; \
15391 r=`${PWD_COMMAND}`; export r; \
15392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15393 $(HOST_EXPORTS) \
15394 for flag in $(EXTRA_HOST_FLAGS) ; do \
15395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15396 done; \
15397 echo "Doing TAGS in libelf" ; \
15398 (cd $(HOST_SUBDIR)/libelf && \
15399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15401 "RANLIB=$${RANLIB}" \
15402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15403 TAGS) \
15404 || exit 1
15406 @endif libelf
15408 .PHONY: maybe-install-info-libelf install-info-libelf
15409 maybe-install-info-libelf:
15410 @if libelf
15411 maybe-install-info-libelf: install-info-libelf
15413 install-info-libelf: \
15414 configure-libelf \
15415 info-libelf
15416 @[ -f ./libelf/Makefile ] || exit 0; \
15417 r=`${PWD_COMMAND}`; export r; \
15418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15419 $(HOST_EXPORTS) \
15420 for flag in $(EXTRA_HOST_FLAGS) ; do \
15421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15422 done; \
15423 echo "Doing install-info in libelf" ; \
15424 (cd $(HOST_SUBDIR)/libelf && \
15425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15427 "RANLIB=$${RANLIB}" \
15428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15429 install-info) \
15430 || exit 1
15432 @endif libelf
15434 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15435 maybe-install-pdf-libelf:
15436 @if libelf
15437 maybe-install-pdf-libelf: install-pdf-libelf
15439 install-pdf-libelf: \
15440 configure-libelf \
15441 pdf-libelf
15442 @[ -f ./libelf/Makefile ] || exit 0; \
15443 r=`${PWD_COMMAND}`; export r; \
15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15445 $(HOST_EXPORTS) \
15446 for flag in $(EXTRA_HOST_FLAGS) ; do \
15447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15448 done; \
15449 echo "Doing install-pdf in libelf" ; \
15450 (cd $(HOST_SUBDIR)/libelf && \
15451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15453 "RANLIB=$${RANLIB}" \
15454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15455 install-pdf) \
15456 || exit 1
15458 @endif libelf
15460 .PHONY: maybe-install-html-libelf install-html-libelf
15461 maybe-install-html-libelf:
15462 @if libelf
15463 maybe-install-html-libelf: install-html-libelf
15465 install-html-libelf: \
15466 configure-libelf \
15467 html-libelf
15468 @[ -f ./libelf/Makefile ] || exit 0; \
15469 r=`${PWD_COMMAND}`; export r; \
15470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 $(HOST_EXPORTS) \
15472 for flag in $(EXTRA_HOST_FLAGS) ; do \
15473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15474 done; \
15475 echo "Doing install-html in libelf" ; \
15476 (cd $(HOST_SUBDIR)/libelf && \
15477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15479 "RANLIB=$${RANLIB}" \
15480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15481 install-html) \
15482 || exit 1
15484 @endif libelf
15486 .PHONY: maybe-installcheck-libelf installcheck-libelf
15487 maybe-installcheck-libelf:
15488 @if libelf
15489 maybe-installcheck-libelf: installcheck-libelf
15491 installcheck-libelf: \
15492 configure-libelf
15493 @[ -f ./libelf/Makefile ] || exit 0; \
15494 r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(HOST_EXPORTS) \
15497 for flag in $(EXTRA_HOST_FLAGS) ; do \
15498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15499 done; \
15500 echo "Doing installcheck in libelf" ; \
15501 (cd $(HOST_SUBDIR)/libelf && \
15502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15504 "RANLIB=$${RANLIB}" \
15505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15506 installcheck) \
15507 || exit 1
15509 @endif libelf
15511 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15512 maybe-mostlyclean-libelf:
15513 @if libelf
15514 maybe-mostlyclean-libelf: mostlyclean-libelf
15516 mostlyclean-libelf:
15517 @[ -f ./libelf/Makefile ] || exit 0; \
15518 r=`${PWD_COMMAND}`; export r; \
15519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15520 $(HOST_EXPORTS) \
15521 for flag in $(EXTRA_HOST_FLAGS) ; do \
15522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15523 done; \
15524 echo "Doing mostlyclean in libelf" ; \
15525 (cd $(HOST_SUBDIR)/libelf && \
15526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15528 "RANLIB=$${RANLIB}" \
15529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15530 mostlyclean) \
15531 || exit 1
15533 @endif libelf
15535 .PHONY: maybe-clean-libelf clean-libelf
15536 maybe-clean-libelf:
15537 @if libelf
15538 maybe-clean-libelf: clean-libelf
15540 clean-libelf:
15541 @[ -f ./libelf/Makefile ] || exit 0; \
15542 r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(HOST_EXPORTS) \
15545 for flag in $(EXTRA_HOST_FLAGS) ; do \
15546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15547 done; \
15548 echo "Doing clean in libelf" ; \
15549 (cd $(HOST_SUBDIR)/libelf && \
15550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15552 "RANLIB=$${RANLIB}" \
15553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15554 clean) \
15555 || exit 1
15557 @endif libelf
15559 .PHONY: maybe-distclean-libelf distclean-libelf
15560 maybe-distclean-libelf:
15561 @if libelf
15562 maybe-distclean-libelf: distclean-libelf
15564 distclean-libelf:
15565 @[ -f ./libelf/Makefile ] || exit 0; \
15566 r=`${PWD_COMMAND}`; export r; \
15567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15568 $(HOST_EXPORTS) \
15569 for flag in $(EXTRA_HOST_FLAGS) ; do \
15570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15571 done; \
15572 echo "Doing distclean in libelf" ; \
15573 (cd $(HOST_SUBDIR)/libelf && \
15574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15576 "RANLIB=$${RANLIB}" \
15577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15578 distclean) \
15579 || exit 1
15581 @endif libelf
15583 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15584 maybe-maintainer-clean-libelf:
15585 @if libelf
15586 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15588 maintainer-clean-libelf:
15589 @[ -f ./libelf/Makefile ] || exit 0; \
15590 r=`${PWD_COMMAND}`; export r; \
15591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15592 $(HOST_EXPORTS) \
15593 for flag in $(EXTRA_HOST_FLAGS) ; do \
15594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15595 done; \
15596 echo "Doing maintainer-clean in libelf" ; \
15597 (cd $(HOST_SUBDIR)/libelf && \
15598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15600 "RANLIB=$${RANLIB}" \
15601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15602 maintainer-clean) \
15603 || exit 1
15605 @endif libelf
15609 .PHONY: configure-gold maybe-configure-gold
15610 maybe-configure-gold:
15611 @if gcc-bootstrap
15612 configure-gold: stage_current
15613 @endif gcc-bootstrap
15614 @if gold
15615 maybe-configure-gold: configure-gold
15616 configure-gold:
15617 @r=`${PWD_COMMAND}`; export r; \
15618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15619 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15621 $(HOST_EXPORTS) \
15622 echo Configuring in $(HOST_SUBDIR)/gold; \
15623 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15624 case $(srcdir) in \
15625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15626 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15628 esac; \
15629 srcdiroption="--srcdir=$${topdir}/gold"; \
15630 libsrcdir="$$s/gold"; \
15631 $(SHELL) $${libsrcdir}/configure \
15632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15633 --target=${target_alias} $${srcdiroption} \
15634 || exit 1
15635 @endif gold
15639 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15640 maybe-configure-stage1-gold:
15641 @if gold-bootstrap
15642 maybe-configure-stage1-gold: configure-stage1-gold
15643 configure-stage1-gold:
15644 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15646 @r=`${PWD_COMMAND}`; export r; \
15647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15648 TFLAGS="$(STAGE1_TFLAGS)"; \
15649 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15650 $(HOST_EXPORTS) \
15651 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15652 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15653 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15654 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15656 cd $(HOST_SUBDIR)/gold || exit 1; \
15657 case $(srcdir) in \
15658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15659 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15661 esac; \
15662 srcdiroption="--srcdir=$${topdir}/gold"; \
15663 libsrcdir="$$s/gold"; \
15664 $(SHELL) $${libsrcdir}/configure \
15665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15666 --target=${target_alias} $${srcdiroption} \
15667 $(STAGE1_CONFIGURE_FLAGS)
15668 @endif gold-bootstrap
15670 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15671 maybe-configure-stage2-gold:
15672 @if gold-bootstrap
15673 maybe-configure-stage2-gold: configure-stage2-gold
15674 configure-stage2-gold:
15675 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15677 @r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 TFLAGS="$(STAGE2_TFLAGS)"; \
15680 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15681 $(HOST_EXPORTS) \
15682 $(POSTSTAGE1_HOST_EXPORTS) \
15683 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15684 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15685 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15686 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15688 cd $(HOST_SUBDIR)/gold || exit 1; \
15689 case $(srcdir) in \
15690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15691 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15693 esac; \
15694 srcdiroption="--srcdir=$${topdir}/gold"; \
15695 libsrcdir="$$s/gold"; \
15696 $(SHELL) $${libsrcdir}/configure \
15697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15698 --target=${target_alias} $${srcdiroption} \
15699 --with-build-libsubdir=$(HOST_SUBDIR) \
15700 $(STAGE2_CONFIGURE_FLAGS)
15701 @endif gold-bootstrap
15703 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15704 maybe-configure-stage3-gold:
15705 @if gold-bootstrap
15706 maybe-configure-stage3-gold: configure-stage3-gold
15707 configure-stage3-gold:
15708 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15709 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15710 @r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 TFLAGS="$(STAGE3_TFLAGS)"; \
15713 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15714 $(HOST_EXPORTS) \
15715 $(POSTSTAGE1_HOST_EXPORTS) \
15716 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15717 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15718 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15719 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15721 cd $(HOST_SUBDIR)/gold || exit 1; \
15722 case $(srcdir) in \
15723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15724 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15726 esac; \
15727 srcdiroption="--srcdir=$${topdir}/gold"; \
15728 libsrcdir="$$s/gold"; \
15729 $(SHELL) $${libsrcdir}/configure \
15730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15731 --target=${target_alias} $${srcdiroption} \
15732 --with-build-libsubdir=$(HOST_SUBDIR) \
15733 $(STAGE3_CONFIGURE_FLAGS)
15734 @endif gold-bootstrap
15736 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15737 maybe-configure-stage4-gold:
15738 @if gold-bootstrap
15739 maybe-configure-stage4-gold: configure-stage4-gold
15740 configure-stage4-gold:
15741 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15743 @r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 TFLAGS="$(STAGE4_TFLAGS)"; \
15746 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15747 $(HOST_EXPORTS) \
15748 $(POSTSTAGE1_HOST_EXPORTS) \
15749 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15750 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15751 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15752 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15754 cd $(HOST_SUBDIR)/gold || exit 1; \
15755 case $(srcdir) in \
15756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15757 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15759 esac; \
15760 srcdiroption="--srcdir=$${topdir}/gold"; \
15761 libsrcdir="$$s/gold"; \
15762 $(SHELL) $${libsrcdir}/configure \
15763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15764 --target=${target_alias} $${srcdiroption} \
15765 --with-build-libsubdir=$(HOST_SUBDIR) \
15766 $(STAGE4_CONFIGURE_FLAGS)
15767 @endif gold-bootstrap
15769 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15770 maybe-configure-stageprofile-gold:
15771 @if gold-bootstrap
15772 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15773 configure-stageprofile-gold:
15774 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15776 @r=`${PWD_COMMAND}`; export r; \
15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15778 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15779 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15780 $(HOST_EXPORTS) \
15781 $(POSTSTAGE1_HOST_EXPORTS) \
15782 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15783 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15784 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15785 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15787 cd $(HOST_SUBDIR)/gold || exit 1; \
15788 case $(srcdir) in \
15789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15790 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15792 esac; \
15793 srcdiroption="--srcdir=$${topdir}/gold"; \
15794 libsrcdir="$$s/gold"; \
15795 $(SHELL) $${libsrcdir}/configure \
15796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15797 --target=${target_alias} $${srcdiroption} \
15798 --with-build-libsubdir=$(HOST_SUBDIR) \
15799 $(STAGEprofile_CONFIGURE_FLAGS)
15800 @endif gold-bootstrap
15802 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15803 maybe-configure-stagefeedback-gold:
15804 @if gold-bootstrap
15805 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15806 configure-stagefeedback-gold:
15807 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15809 @r=`${PWD_COMMAND}`; export r; \
15810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15812 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15813 $(HOST_EXPORTS) \
15814 $(POSTSTAGE1_HOST_EXPORTS) \
15815 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15816 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15817 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15818 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15820 cd $(HOST_SUBDIR)/gold || exit 1; \
15821 case $(srcdir) in \
15822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15823 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15825 esac; \
15826 srcdiroption="--srcdir=$${topdir}/gold"; \
15827 libsrcdir="$$s/gold"; \
15828 $(SHELL) $${libsrcdir}/configure \
15829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15830 --target=${target_alias} $${srcdiroption} \
15831 --with-build-libsubdir=$(HOST_SUBDIR) \
15832 $(STAGEfeedback_CONFIGURE_FLAGS)
15833 @endif gold-bootstrap
15839 .PHONY: all-gold maybe-all-gold
15840 maybe-all-gold:
15841 @if gcc-bootstrap
15842 all-gold: stage_current
15843 @endif gcc-bootstrap
15844 @if gold
15845 TARGET-gold=all
15846 maybe-all-gold: all-gold
15847 all-gold: configure-gold
15848 @r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(HOST_EXPORTS) \
15851 (cd $(HOST_SUBDIR)/gold && \
15852 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15853 $(TARGET-gold))
15854 @endif gold
15858 .PHONY: all-stage1-gold maybe-all-stage1-gold
15859 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15860 maybe-all-stage1-gold:
15861 maybe-clean-stage1-gold:
15862 @if gold-bootstrap
15863 maybe-all-stage1-gold: all-stage1-gold
15864 all-stage1: all-stage1-gold
15865 TARGET-stage1-gold = $(TARGET-gold)
15866 all-stage1-gold: configure-stage1-gold
15867 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15868 @r=`${PWD_COMMAND}`; export r; \
15869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15870 TFLAGS="$(STAGE1_TFLAGS)"; \
15871 $(HOST_EXPORTS) \
15872 cd $(HOST_SUBDIR)/gold && \
15873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15874 CFLAGS="$(STAGE1_CFLAGS)" \
15875 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15876 LIBCFLAGS="$(LIBCFLAGS)" \
15877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15880 $(EXTRA_HOST_FLAGS) \
15881 $(STAGE1_FLAGS_TO_PASS) \
15882 TFLAGS="$(STAGE1_TFLAGS)" \
15883 $(TARGET-stage1-gold)
15885 maybe-clean-stage1-gold: clean-stage1-gold
15886 clean-stage1: clean-stage1-gold
15887 clean-stage1-gold:
15888 @if [ $(current_stage) = stage1 ]; then \
15889 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15890 else \
15891 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15892 $(MAKE) stage1-start; \
15893 fi; \
15894 cd $(HOST_SUBDIR)/gold && \
15895 $(MAKE) $(EXTRA_HOST_FLAGS) \
15896 $(STAGE1_FLAGS_TO_PASS) clean
15897 @endif gold-bootstrap
15900 .PHONY: all-stage2-gold maybe-all-stage2-gold
15901 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15902 maybe-all-stage2-gold:
15903 maybe-clean-stage2-gold:
15904 @if gold-bootstrap
15905 maybe-all-stage2-gold: all-stage2-gold
15906 all-stage2: all-stage2-gold
15907 TARGET-stage2-gold = $(TARGET-gold)
15908 all-stage2-gold: configure-stage2-gold
15909 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15910 @r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 TFLAGS="$(STAGE2_TFLAGS)"; \
15913 $(HOST_EXPORTS) \
15914 $(POSTSTAGE1_HOST_EXPORTS) \
15915 cd $(HOST_SUBDIR)/gold && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15917 CFLAGS="$(STAGE2_CFLAGS)" \
15918 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15919 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15923 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15924 TFLAGS="$(STAGE2_TFLAGS)" \
15925 $(TARGET-stage2-gold)
15927 maybe-clean-stage2-gold: clean-stage2-gold
15928 clean-stage2: clean-stage2-gold
15929 clean-stage2-gold:
15930 @if [ $(current_stage) = stage2 ]; then \
15931 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15932 else \
15933 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15934 $(MAKE) stage2-start; \
15935 fi; \
15936 cd $(HOST_SUBDIR)/gold && \
15937 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15938 @endif gold-bootstrap
15941 .PHONY: all-stage3-gold maybe-all-stage3-gold
15942 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15943 maybe-all-stage3-gold:
15944 maybe-clean-stage3-gold:
15945 @if gold-bootstrap
15946 maybe-all-stage3-gold: all-stage3-gold
15947 all-stage3: all-stage3-gold
15948 TARGET-stage3-gold = $(TARGET-gold)
15949 all-stage3-gold: configure-stage3-gold
15950 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15951 @r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953 TFLAGS="$(STAGE3_TFLAGS)"; \
15954 $(HOST_EXPORTS) \
15955 $(POSTSTAGE1_HOST_EXPORTS) \
15956 cd $(HOST_SUBDIR)/gold && \
15957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15958 CFLAGS="$(STAGE3_CFLAGS)" \
15959 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15960 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15964 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15965 TFLAGS="$(STAGE3_TFLAGS)" \
15966 $(TARGET-stage3-gold)
15968 maybe-clean-stage3-gold: clean-stage3-gold
15969 clean-stage3: clean-stage3-gold
15970 clean-stage3-gold:
15971 @if [ $(current_stage) = stage3 ]; then \
15972 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15973 else \
15974 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15975 $(MAKE) stage3-start; \
15976 fi; \
15977 cd $(HOST_SUBDIR)/gold && \
15978 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15979 @endif gold-bootstrap
15982 .PHONY: all-stage4-gold maybe-all-stage4-gold
15983 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15984 maybe-all-stage4-gold:
15985 maybe-clean-stage4-gold:
15986 @if gold-bootstrap
15987 maybe-all-stage4-gold: all-stage4-gold
15988 all-stage4: all-stage4-gold
15989 TARGET-stage4-gold = $(TARGET-gold)
15990 all-stage4-gold: configure-stage4-gold
15991 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15992 @r=`${PWD_COMMAND}`; export r; \
15993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15994 TFLAGS="$(STAGE4_TFLAGS)"; \
15995 $(HOST_EXPORTS) \
15996 $(POSTSTAGE1_HOST_EXPORTS) \
15997 cd $(HOST_SUBDIR)/gold && \
15998 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15999 CFLAGS="$(STAGE4_CFLAGS)" \
16000 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16001 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16002 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16003 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16004 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16005 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16006 TFLAGS="$(STAGE4_TFLAGS)" \
16007 $(TARGET-stage4-gold)
16009 maybe-clean-stage4-gold: clean-stage4-gold
16010 clean-stage4: clean-stage4-gold
16011 clean-stage4-gold:
16012 @if [ $(current_stage) = stage4 ]; then \
16013 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16014 else \
16015 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16016 $(MAKE) stage4-start; \
16017 fi; \
16018 cd $(HOST_SUBDIR)/gold && \
16019 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16020 @endif gold-bootstrap
16023 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16024 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16025 maybe-all-stageprofile-gold:
16026 maybe-clean-stageprofile-gold:
16027 @if gold-bootstrap
16028 maybe-all-stageprofile-gold: all-stageprofile-gold
16029 all-stageprofile: all-stageprofile-gold
16030 TARGET-stageprofile-gold = $(TARGET-gold)
16031 all-stageprofile-gold: configure-stageprofile-gold
16032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16033 @r=`${PWD_COMMAND}`; export r; \
16034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16035 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16036 $(HOST_EXPORTS) \
16037 $(POSTSTAGE1_HOST_EXPORTS) \
16038 cd $(HOST_SUBDIR)/gold && \
16039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16040 CFLAGS="$(STAGEprofile_CFLAGS)" \
16041 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16042 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16046 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16047 TFLAGS="$(STAGEprofile_TFLAGS)" \
16048 $(TARGET-stageprofile-gold)
16050 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16051 clean-stageprofile: clean-stageprofile-gold
16052 clean-stageprofile-gold:
16053 @if [ $(current_stage) = stageprofile ]; then \
16054 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16055 else \
16056 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16057 $(MAKE) stageprofile-start; \
16058 fi; \
16059 cd $(HOST_SUBDIR)/gold && \
16060 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16061 @endif gold-bootstrap
16064 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16065 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16066 maybe-all-stagefeedback-gold:
16067 maybe-clean-stagefeedback-gold:
16068 @if gold-bootstrap
16069 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16070 all-stagefeedback: all-stagefeedback-gold
16071 TARGET-stagefeedback-gold = $(TARGET-gold)
16072 all-stagefeedback-gold: configure-stagefeedback-gold
16073 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16074 @r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16077 $(HOST_EXPORTS) \
16078 $(POSTSTAGE1_HOST_EXPORTS) \
16079 cd $(HOST_SUBDIR)/gold && \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16081 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16082 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16083 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16084 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16085 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16086 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16087 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16088 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16089 $(TARGET-stagefeedback-gold)
16091 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16092 clean-stagefeedback: clean-stagefeedback-gold
16093 clean-stagefeedback-gold:
16094 @if [ $(current_stage) = stagefeedback ]; then \
16095 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16096 else \
16097 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16098 $(MAKE) stagefeedback-start; \
16099 fi; \
16100 cd $(HOST_SUBDIR)/gold && \
16101 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16102 @endif gold-bootstrap
16108 .PHONY: check-gold maybe-check-gold
16109 maybe-check-gold:
16110 @if gold
16111 maybe-check-gold: check-gold
16113 check-gold:
16114 @: $(MAKE); $(unstage)
16115 @r=`${PWD_COMMAND}`; export r; \
16116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 $(HOST_EXPORTS) \
16118 (cd $(HOST_SUBDIR)/gold && \
16119 $(MAKE) $(FLAGS_TO_PASS) check)
16121 @endif gold
16123 .PHONY: install-gold maybe-install-gold
16124 maybe-install-gold:
16125 @if gold
16126 maybe-install-gold: install-gold
16128 install-gold: installdirs
16129 @: $(MAKE); $(unstage)
16130 @r=`${PWD_COMMAND}`; export r; \
16131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16132 $(HOST_EXPORTS) \
16133 (cd $(HOST_SUBDIR)/gold && \
16134 $(MAKE) $(FLAGS_TO_PASS) install)
16136 @endif gold
16138 .PHONY: install-strip-gold maybe-install-strip-gold
16139 maybe-install-strip-gold:
16140 @if gold
16141 maybe-install-strip-gold: install-strip-gold
16143 install-strip-gold: installdirs
16144 @: $(MAKE); $(unstage)
16145 @r=`${PWD_COMMAND}`; export r; \
16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16147 $(HOST_EXPORTS) \
16148 (cd $(HOST_SUBDIR)/gold && \
16149 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16151 @endif gold
16153 # Other targets (info, dvi, pdf, etc.)
16155 .PHONY: maybe-info-gold info-gold
16156 maybe-info-gold:
16157 @if gold
16158 maybe-info-gold: info-gold
16160 info-gold: \
16161 configure-gold
16162 @[ -f ./gold/Makefile ] || exit 0; \
16163 r=`${PWD_COMMAND}`; export r; \
16164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16165 $(HOST_EXPORTS) \
16166 for flag in $(EXTRA_HOST_FLAGS) ; do \
16167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16168 done; \
16169 echo "Doing info in gold" ; \
16170 (cd $(HOST_SUBDIR)/gold && \
16171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16173 "RANLIB=$${RANLIB}" \
16174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16175 info) \
16176 || exit 1
16178 @endif gold
16180 .PHONY: maybe-dvi-gold dvi-gold
16181 maybe-dvi-gold:
16182 @if gold
16183 maybe-dvi-gold: dvi-gold
16185 dvi-gold: \
16186 configure-gold
16187 @[ -f ./gold/Makefile ] || exit 0; \
16188 r=`${PWD_COMMAND}`; export r; \
16189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16190 $(HOST_EXPORTS) \
16191 for flag in $(EXTRA_HOST_FLAGS) ; do \
16192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16193 done; \
16194 echo "Doing dvi in gold" ; \
16195 (cd $(HOST_SUBDIR)/gold && \
16196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16198 "RANLIB=$${RANLIB}" \
16199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16200 dvi) \
16201 || exit 1
16203 @endif gold
16205 .PHONY: maybe-pdf-gold pdf-gold
16206 maybe-pdf-gold:
16207 @if gold
16208 maybe-pdf-gold: pdf-gold
16210 pdf-gold: \
16211 configure-gold
16212 @[ -f ./gold/Makefile ] || exit 0; \
16213 r=`${PWD_COMMAND}`; export r; \
16214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16215 $(HOST_EXPORTS) \
16216 for flag in $(EXTRA_HOST_FLAGS) ; do \
16217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16218 done; \
16219 echo "Doing pdf in gold" ; \
16220 (cd $(HOST_SUBDIR)/gold && \
16221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16223 "RANLIB=$${RANLIB}" \
16224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16225 pdf) \
16226 || exit 1
16228 @endif gold
16230 .PHONY: maybe-html-gold html-gold
16231 maybe-html-gold:
16232 @if gold
16233 maybe-html-gold: html-gold
16235 html-gold: \
16236 configure-gold
16237 @[ -f ./gold/Makefile ] || exit 0; \
16238 r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 $(HOST_EXPORTS) \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 done; \
16244 echo "Doing html in gold" ; \
16245 (cd $(HOST_SUBDIR)/gold && \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16250 html) \
16251 || exit 1
16253 @endif gold
16255 .PHONY: maybe-TAGS-gold TAGS-gold
16256 maybe-TAGS-gold:
16257 @if gold
16258 maybe-TAGS-gold: TAGS-gold
16260 TAGS-gold: \
16261 configure-gold
16262 @[ -f ./gold/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(HOST_EXPORTS) \
16266 for flag in $(EXTRA_HOST_FLAGS) ; do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16268 done; \
16269 echo "Doing TAGS in gold" ; \
16270 (cd $(HOST_SUBDIR)/gold && \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16275 TAGS) \
16276 || exit 1
16278 @endif gold
16280 .PHONY: maybe-install-info-gold install-info-gold
16281 maybe-install-info-gold:
16282 @if gold
16283 maybe-install-info-gold: install-info-gold
16285 install-info-gold: \
16286 configure-gold \
16287 info-gold
16288 @[ -f ./gold/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing install-info in gold" ; \
16296 (cd $(HOST_SUBDIR)/gold && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16301 install-info) \
16302 || exit 1
16304 @endif gold
16306 .PHONY: maybe-install-pdf-gold install-pdf-gold
16307 maybe-install-pdf-gold:
16308 @if gold
16309 maybe-install-pdf-gold: install-pdf-gold
16311 install-pdf-gold: \
16312 configure-gold \
16313 pdf-gold
16314 @[ -f ./gold/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(HOST_EXPORTS) \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16320 done; \
16321 echo "Doing install-pdf in gold" ; \
16322 (cd $(HOST_SUBDIR)/gold && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16327 install-pdf) \
16328 || exit 1
16330 @endif gold
16332 .PHONY: maybe-install-html-gold install-html-gold
16333 maybe-install-html-gold:
16334 @if gold
16335 maybe-install-html-gold: install-html-gold
16337 install-html-gold: \
16338 configure-gold \
16339 html-gold
16340 @[ -f ./gold/Makefile ] || exit 0; \
16341 r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing install-html in gold" ; \
16348 (cd $(HOST_SUBDIR)/gold && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16353 install-html) \
16354 || exit 1
16356 @endif gold
16358 .PHONY: maybe-installcheck-gold installcheck-gold
16359 maybe-installcheck-gold:
16360 @if gold
16361 maybe-installcheck-gold: installcheck-gold
16363 installcheck-gold: \
16364 configure-gold
16365 @[ -f ./gold/Makefile ] || exit 0; \
16366 r=`${PWD_COMMAND}`; export r; \
16367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 $(HOST_EXPORTS) \
16369 for flag in $(EXTRA_HOST_FLAGS) ; do \
16370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 done; \
16372 echo "Doing installcheck in gold" ; \
16373 (cd $(HOST_SUBDIR)/gold && \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16376 "RANLIB=$${RANLIB}" \
16377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16378 installcheck) \
16379 || exit 1
16381 @endif gold
16383 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16384 maybe-mostlyclean-gold:
16385 @if gold
16386 maybe-mostlyclean-gold: mostlyclean-gold
16388 mostlyclean-gold:
16389 @[ -f ./gold/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(HOST_EXPORTS) \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 done; \
16396 echo "Doing mostlyclean in gold" ; \
16397 (cd $(HOST_SUBDIR)/gold && \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16402 mostlyclean) \
16403 || exit 1
16405 @endif gold
16407 .PHONY: maybe-clean-gold clean-gold
16408 maybe-clean-gold:
16409 @if gold
16410 maybe-clean-gold: clean-gold
16412 clean-gold:
16413 @[ -f ./gold/Makefile ] || exit 0; \
16414 r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 $(HOST_EXPORTS) \
16417 for flag in $(EXTRA_HOST_FLAGS) ; do \
16418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16419 done; \
16420 echo "Doing clean in gold" ; \
16421 (cd $(HOST_SUBDIR)/gold && \
16422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16424 "RANLIB=$${RANLIB}" \
16425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16426 clean) \
16427 || exit 1
16429 @endif gold
16431 .PHONY: maybe-distclean-gold distclean-gold
16432 maybe-distclean-gold:
16433 @if gold
16434 maybe-distclean-gold: distclean-gold
16436 distclean-gold:
16437 @[ -f ./gold/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16440 $(HOST_EXPORTS) \
16441 for flag in $(EXTRA_HOST_FLAGS) ; do \
16442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16443 done; \
16444 echo "Doing distclean in gold" ; \
16445 (cd $(HOST_SUBDIR)/gold && \
16446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16448 "RANLIB=$${RANLIB}" \
16449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16450 distclean) \
16451 || exit 1
16453 @endif gold
16455 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16456 maybe-maintainer-clean-gold:
16457 @if gold
16458 maybe-maintainer-clean-gold: maintainer-clean-gold
16460 maintainer-clean-gold:
16461 @[ -f ./gold/Makefile ] || exit 0; \
16462 r=`${PWD_COMMAND}`; export r; \
16463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16464 $(HOST_EXPORTS) \
16465 for flag in $(EXTRA_HOST_FLAGS) ; do \
16466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16467 done; \
16468 echo "Doing maintainer-clean in gold" ; \
16469 (cd $(HOST_SUBDIR)/gold && \
16470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16472 "RANLIB=$${RANLIB}" \
16473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16474 maintainer-clean) \
16475 || exit 1
16477 @endif gold
16481 .PHONY: configure-gprof maybe-configure-gprof
16482 maybe-configure-gprof:
16483 @if gcc-bootstrap
16484 configure-gprof: stage_current
16485 @endif gcc-bootstrap
16486 @if gprof
16487 maybe-configure-gprof: configure-gprof
16488 configure-gprof:
16489 @: $(MAKE); $(unstage)
16490 @r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16494 $(HOST_EXPORTS) \
16495 echo Configuring in $(HOST_SUBDIR)/gprof; \
16496 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16497 case $(srcdir) in \
16498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16499 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16501 esac; \
16502 srcdiroption="--srcdir=$${topdir}/gprof"; \
16503 libsrcdir="$$s/gprof"; \
16504 $(SHELL) $${libsrcdir}/configure \
16505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16506 --target=${target_alias} $${srcdiroption} \
16507 || exit 1
16508 @endif gprof
16514 .PHONY: all-gprof maybe-all-gprof
16515 maybe-all-gprof:
16516 @if gcc-bootstrap
16517 all-gprof: stage_current
16518 @endif gcc-bootstrap
16519 @if gprof
16520 TARGET-gprof=all
16521 maybe-all-gprof: all-gprof
16522 all-gprof: configure-gprof
16523 @: $(MAKE); $(unstage)
16524 @r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526 $(HOST_EXPORTS) \
16527 (cd $(HOST_SUBDIR)/gprof && \
16528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16529 $(TARGET-gprof))
16530 @endif gprof
16535 .PHONY: check-gprof maybe-check-gprof
16536 maybe-check-gprof:
16537 @if gprof
16538 maybe-check-gprof: check-gprof
16540 check-gprof:
16541 @: $(MAKE); $(unstage)
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 $(HOST_EXPORTS) \
16545 (cd $(HOST_SUBDIR)/gprof && \
16546 $(MAKE) $(FLAGS_TO_PASS) check)
16548 @endif gprof
16550 .PHONY: install-gprof maybe-install-gprof
16551 maybe-install-gprof:
16552 @if gprof
16553 maybe-install-gprof: install-gprof
16555 install-gprof: installdirs
16556 @: $(MAKE); $(unstage)
16557 @r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559 $(HOST_EXPORTS) \
16560 (cd $(HOST_SUBDIR)/gprof && \
16561 $(MAKE) $(FLAGS_TO_PASS) install)
16563 @endif gprof
16565 .PHONY: install-strip-gprof maybe-install-strip-gprof
16566 maybe-install-strip-gprof:
16567 @if gprof
16568 maybe-install-strip-gprof: install-strip-gprof
16570 install-strip-gprof: installdirs
16571 @: $(MAKE); $(unstage)
16572 @r=`${PWD_COMMAND}`; export r; \
16573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16574 $(HOST_EXPORTS) \
16575 (cd $(HOST_SUBDIR)/gprof && \
16576 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16578 @endif gprof
16580 # Other targets (info, dvi, pdf, etc.)
16582 .PHONY: maybe-info-gprof info-gprof
16583 maybe-info-gprof:
16584 @if gprof
16585 maybe-info-gprof: info-gprof
16587 info-gprof: \
16588 configure-gprof
16589 @: $(MAKE); $(unstage)
16590 @[ -f ./gprof/Makefile ] || exit 0; \
16591 r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16593 $(HOST_EXPORTS) \
16594 for flag in $(EXTRA_HOST_FLAGS) ; do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16596 done; \
16597 echo "Doing info in gprof" ; \
16598 (cd $(HOST_SUBDIR)/gprof && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16603 info) \
16604 || exit 1
16606 @endif gprof
16608 .PHONY: maybe-dvi-gprof dvi-gprof
16609 maybe-dvi-gprof:
16610 @if gprof
16611 maybe-dvi-gprof: dvi-gprof
16613 dvi-gprof: \
16614 configure-gprof
16615 @: $(MAKE); $(unstage)
16616 @[ -f ./gprof/Makefile ] || exit 0; \
16617 r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16619 $(HOST_EXPORTS) \
16620 for flag in $(EXTRA_HOST_FLAGS) ; do \
16621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16622 done; \
16623 echo "Doing dvi in gprof" ; \
16624 (cd $(HOST_SUBDIR)/gprof && \
16625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16627 "RANLIB=$${RANLIB}" \
16628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16629 dvi) \
16630 || exit 1
16632 @endif gprof
16634 .PHONY: maybe-pdf-gprof pdf-gprof
16635 maybe-pdf-gprof:
16636 @if gprof
16637 maybe-pdf-gprof: pdf-gprof
16639 pdf-gprof: \
16640 configure-gprof
16641 @: $(MAKE); $(unstage)
16642 @[ -f ./gprof/Makefile ] || exit 0; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(HOST_EXPORTS) \
16646 for flag in $(EXTRA_HOST_FLAGS) ; do \
16647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16648 done; \
16649 echo "Doing pdf in gprof" ; \
16650 (cd $(HOST_SUBDIR)/gprof && \
16651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16653 "RANLIB=$${RANLIB}" \
16654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16655 pdf) \
16656 || exit 1
16658 @endif gprof
16660 .PHONY: maybe-html-gprof html-gprof
16661 maybe-html-gprof:
16662 @if gprof
16663 maybe-html-gprof: html-gprof
16665 html-gprof: \
16666 configure-gprof
16667 @: $(MAKE); $(unstage)
16668 @[ -f ./gprof/Makefile ] || exit 0; \
16669 r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 $(HOST_EXPORTS) \
16672 for flag in $(EXTRA_HOST_FLAGS) ; do \
16673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16674 done; \
16675 echo "Doing html in gprof" ; \
16676 (cd $(HOST_SUBDIR)/gprof && \
16677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16679 "RANLIB=$${RANLIB}" \
16680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16681 html) \
16682 || exit 1
16684 @endif gprof
16686 .PHONY: maybe-TAGS-gprof TAGS-gprof
16687 maybe-TAGS-gprof:
16688 @if gprof
16689 maybe-TAGS-gprof: TAGS-gprof
16691 TAGS-gprof: \
16692 configure-gprof
16693 @: $(MAKE); $(unstage)
16694 @[ -f ./gprof/Makefile ] || exit 0; \
16695 r=`${PWD_COMMAND}`; export r; \
16696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16697 $(HOST_EXPORTS) \
16698 for flag in $(EXTRA_HOST_FLAGS) ; do \
16699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16700 done; \
16701 echo "Doing TAGS in gprof" ; \
16702 (cd $(HOST_SUBDIR)/gprof && \
16703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16705 "RANLIB=$${RANLIB}" \
16706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16707 TAGS) \
16708 || exit 1
16710 @endif gprof
16712 .PHONY: maybe-install-info-gprof install-info-gprof
16713 maybe-install-info-gprof:
16714 @if gprof
16715 maybe-install-info-gprof: install-info-gprof
16717 install-info-gprof: \
16718 configure-gprof \
16719 info-gprof
16720 @: $(MAKE); $(unstage)
16721 @[ -f ./gprof/Makefile ] || exit 0; \
16722 r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 $(HOST_EXPORTS) \
16725 for flag in $(EXTRA_HOST_FLAGS) ; do \
16726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16727 done; \
16728 echo "Doing install-info in gprof" ; \
16729 (cd $(HOST_SUBDIR)/gprof && \
16730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16732 "RANLIB=$${RANLIB}" \
16733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16734 install-info) \
16735 || exit 1
16737 @endif gprof
16739 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16740 maybe-install-pdf-gprof:
16741 @if gprof
16742 maybe-install-pdf-gprof: install-pdf-gprof
16744 install-pdf-gprof: \
16745 configure-gprof \
16746 pdf-gprof
16747 @: $(MAKE); $(unstage)
16748 @[ -f ./gprof/Makefile ] || exit 0; \
16749 r=`${PWD_COMMAND}`; export r; \
16750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16751 $(HOST_EXPORTS) \
16752 for flag in $(EXTRA_HOST_FLAGS) ; do \
16753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16754 done; \
16755 echo "Doing install-pdf in gprof" ; \
16756 (cd $(HOST_SUBDIR)/gprof && \
16757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16759 "RANLIB=$${RANLIB}" \
16760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16761 install-pdf) \
16762 || exit 1
16764 @endif gprof
16766 .PHONY: maybe-install-html-gprof install-html-gprof
16767 maybe-install-html-gprof:
16768 @if gprof
16769 maybe-install-html-gprof: install-html-gprof
16771 install-html-gprof: \
16772 configure-gprof \
16773 html-gprof
16774 @: $(MAKE); $(unstage)
16775 @[ -f ./gprof/Makefile ] || exit 0; \
16776 r=`${PWD_COMMAND}`; export r; \
16777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16778 $(HOST_EXPORTS) \
16779 for flag in $(EXTRA_HOST_FLAGS) ; do \
16780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16781 done; \
16782 echo "Doing install-html in gprof" ; \
16783 (cd $(HOST_SUBDIR)/gprof && \
16784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16786 "RANLIB=$${RANLIB}" \
16787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16788 install-html) \
16789 || exit 1
16791 @endif gprof
16793 .PHONY: maybe-installcheck-gprof installcheck-gprof
16794 maybe-installcheck-gprof:
16795 @if gprof
16796 maybe-installcheck-gprof: installcheck-gprof
16798 installcheck-gprof: \
16799 configure-gprof
16800 @: $(MAKE); $(unstage)
16801 @[ -f ./gprof/Makefile ] || exit 0; \
16802 r=`${PWD_COMMAND}`; export r; \
16803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 $(HOST_EXPORTS) \
16805 for flag in $(EXTRA_HOST_FLAGS) ; do \
16806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16807 done; \
16808 echo "Doing installcheck in gprof" ; \
16809 (cd $(HOST_SUBDIR)/gprof && \
16810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16812 "RANLIB=$${RANLIB}" \
16813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16814 installcheck) \
16815 || exit 1
16817 @endif gprof
16819 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16820 maybe-mostlyclean-gprof:
16821 @if gprof
16822 maybe-mostlyclean-gprof: mostlyclean-gprof
16824 mostlyclean-gprof:
16825 @: $(MAKE); $(unstage)
16826 @[ -f ./gprof/Makefile ] || exit 0; \
16827 r=`${PWD_COMMAND}`; export r; \
16828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16829 $(HOST_EXPORTS) \
16830 for flag in $(EXTRA_HOST_FLAGS) ; do \
16831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16832 done; \
16833 echo "Doing mostlyclean in gprof" ; \
16834 (cd $(HOST_SUBDIR)/gprof && \
16835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16837 "RANLIB=$${RANLIB}" \
16838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16839 mostlyclean) \
16840 || exit 1
16842 @endif gprof
16844 .PHONY: maybe-clean-gprof clean-gprof
16845 maybe-clean-gprof:
16846 @if gprof
16847 maybe-clean-gprof: clean-gprof
16849 clean-gprof:
16850 @: $(MAKE); $(unstage)
16851 @[ -f ./gprof/Makefile ] || exit 0; \
16852 r=`${PWD_COMMAND}`; export r; \
16853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16854 $(HOST_EXPORTS) \
16855 for flag in $(EXTRA_HOST_FLAGS) ; do \
16856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16857 done; \
16858 echo "Doing clean in gprof" ; \
16859 (cd $(HOST_SUBDIR)/gprof && \
16860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16862 "RANLIB=$${RANLIB}" \
16863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16864 clean) \
16865 || exit 1
16867 @endif gprof
16869 .PHONY: maybe-distclean-gprof distclean-gprof
16870 maybe-distclean-gprof:
16871 @if gprof
16872 maybe-distclean-gprof: distclean-gprof
16874 distclean-gprof:
16875 @: $(MAKE); $(unstage)
16876 @[ -f ./gprof/Makefile ] || exit 0; \
16877 r=`${PWD_COMMAND}`; export r; \
16878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16879 $(HOST_EXPORTS) \
16880 for flag in $(EXTRA_HOST_FLAGS) ; do \
16881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16882 done; \
16883 echo "Doing distclean in gprof" ; \
16884 (cd $(HOST_SUBDIR)/gprof && \
16885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16887 "RANLIB=$${RANLIB}" \
16888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16889 distclean) \
16890 || exit 1
16892 @endif gprof
16894 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16895 maybe-maintainer-clean-gprof:
16896 @if gprof
16897 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16899 maintainer-clean-gprof:
16900 @: $(MAKE); $(unstage)
16901 @[ -f ./gprof/Makefile ] || exit 0; \
16902 r=`${PWD_COMMAND}`; export r; \
16903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16904 $(HOST_EXPORTS) \
16905 for flag in $(EXTRA_HOST_FLAGS) ; do \
16906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16907 done; \
16908 echo "Doing maintainer-clean in gprof" ; \
16909 (cd $(HOST_SUBDIR)/gprof && \
16910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16912 "RANLIB=$${RANLIB}" \
16913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16914 maintainer-clean) \
16915 || exit 1
16917 @endif gprof
16921 .PHONY: configure-intl maybe-configure-intl
16922 maybe-configure-intl:
16923 @if gcc-bootstrap
16924 configure-intl: stage_current
16925 @endif gcc-bootstrap
16926 @if intl
16927 maybe-configure-intl: configure-intl
16928 configure-intl:
16929 @r=`${PWD_COMMAND}`; export r; \
16930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16931 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16933 $(HOST_EXPORTS) \
16934 echo Configuring in $(HOST_SUBDIR)/intl; \
16935 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16936 case $(srcdir) in \
16937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16938 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16940 esac; \
16941 srcdiroption="--srcdir=$${topdir}/intl"; \
16942 libsrcdir="$$s/intl"; \
16943 $(SHELL) $${libsrcdir}/configure \
16944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16945 --target=${target_alias} $${srcdiroption} \
16946 || exit 1
16947 @endif intl
16951 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16952 maybe-configure-stage1-intl:
16953 @if intl-bootstrap
16954 maybe-configure-stage1-intl: configure-stage1-intl
16955 configure-stage1-intl:
16956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16957 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16958 @r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 TFLAGS="$(STAGE1_TFLAGS)"; \
16961 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16962 $(HOST_EXPORTS) \
16963 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16964 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16965 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16966 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16968 cd $(HOST_SUBDIR)/intl || exit 1; \
16969 case $(srcdir) in \
16970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16971 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16973 esac; \
16974 srcdiroption="--srcdir=$${topdir}/intl"; \
16975 libsrcdir="$$s/intl"; \
16976 $(SHELL) $${libsrcdir}/configure \
16977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16978 --target=${target_alias} $${srcdiroption} \
16979 $(STAGE1_CONFIGURE_FLAGS)
16980 @endif intl-bootstrap
16982 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16983 maybe-configure-stage2-intl:
16984 @if intl-bootstrap
16985 maybe-configure-stage2-intl: configure-stage2-intl
16986 configure-stage2-intl:
16987 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16989 @r=`${PWD_COMMAND}`; export r; \
16990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16991 TFLAGS="$(STAGE2_TFLAGS)"; \
16992 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16993 $(HOST_EXPORTS) \
16994 $(POSTSTAGE1_HOST_EXPORTS) \
16995 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16996 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16997 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16998 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17000 cd $(HOST_SUBDIR)/intl || exit 1; \
17001 case $(srcdir) in \
17002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17003 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17005 esac; \
17006 srcdiroption="--srcdir=$${topdir}/intl"; \
17007 libsrcdir="$$s/intl"; \
17008 $(SHELL) $${libsrcdir}/configure \
17009 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17010 --target=${target_alias} $${srcdiroption} \
17011 --with-build-libsubdir=$(HOST_SUBDIR) \
17012 $(STAGE2_CONFIGURE_FLAGS)
17013 @endif intl-bootstrap
17015 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17016 maybe-configure-stage3-intl:
17017 @if intl-bootstrap
17018 maybe-configure-stage3-intl: configure-stage3-intl
17019 configure-stage3-intl:
17020 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17022 @r=`${PWD_COMMAND}`; export r; \
17023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17024 TFLAGS="$(STAGE3_TFLAGS)"; \
17025 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17026 $(HOST_EXPORTS) \
17027 $(POSTSTAGE1_HOST_EXPORTS) \
17028 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17029 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17030 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17031 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17033 cd $(HOST_SUBDIR)/intl || exit 1; \
17034 case $(srcdir) in \
17035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17036 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17038 esac; \
17039 srcdiroption="--srcdir=$${topdir}/intl"; \
17040 libsrcdir="$$s/intl"; \
17041 $(SHELL) $${libsrcdir}/configure \
17042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17043 --target=${target_alias} $${srcdiroption} \
17044 --with-build-libsubdir=$(HOST_SUBDIR) \
17045 $(STAGE3_CONFIGURE_FLAGS)
17046 @endif intl-bootstrap
17048 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17049 maybe-configure-stage4-intl:
17050 @if intl-bootstrap
17051 maybe-configure-stage4-intl: configure-stage4-intl
17052 configure-stage4-intl:
17053 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17055 @r=`${PWD_COMMAND}`; export r; \
17056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17057 TFLAGS="$(STAGE4_TFLAGS)"; \
17058 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17059 $(HOST_EXPORTS) \
17060 $(POSTSTAGE1_HOST_EXPORTS) \
17061 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17062 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17063 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17064 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17066 cd $(HOST_SUBDIR)/intl || exit 1; \
17067 case $(srcdir) in \
17068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17069 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17071 esac; \
17072 srcdiroption="--srcdir=$${topdir}/intl"; \
17073 libsrcdir="$$s/intl"; \
17074 $(SHELL) $${libsrcdir}/configure \
17075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17076 --target=${target_alias} $${srcdiroption} \
17077 --with-build-libsubdir=$(HOST_SUBDIR) \
17078 $(STAGE4_CONFIGURE_FLAGS)
17079 @endif intl-bootstrap
17081 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17082 maybe-configure-stageprofile-intl:
17083 @if intl-bootstrap
17084 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17085 configure-stageprofile-intl:
17086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17088 @r=`${PWD_COMMAND}`; export r; \
17089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17090 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17091 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17092 $(HOST_EXPORTS) \
17093 $(POSTSTAGE1_HOST_EXPORTS) \
17094 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17095 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17096 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17097 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17099 cd $(HOST_SUBDIR)/intl || exit 1; \
17100 case $(srcdir) in \
17101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17102 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17104 esac; \
17105 srcdiroption="--srcdir=$${topdir}/intl"; \
17106 libsrcdir="$$s/intl"; \
17107 $(SHELL) $${libsrcdir}/configure \
17108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17109 --target=${target_alias} $${srcdiroption} \
17110 --with-build-libsubdir=$(HOST_SUBDIR) \
17111 $(STAGEprofile_CONFIGURE_FLAGS)
17112 @endif intl-bootstrap
17114 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17115 maybe-configure-stagefeedback-intl:
17116 @if intl-bootstrap
17117 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17118 configure-stagefeedback-intl:
17119 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17121 @r=`${PWD_COMMAND}`; export r; \
17122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17124 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17125 $(HOST_EXPORTS) \
17126 $(POSTSTAGE1_HOST_EXPORTS) \
17127 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17128 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17129 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17130 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17132 cd $(HOST_SUBDIR)/intl || exit 1; \
17133 case $(srcdir) in \
17134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17135 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17137 esac; \
17138 srcdiroption="--srcdir=$${topdir}/intl"; \
17139 libsrcdir="$$s/intl"; \
17140 $(SHELL) $${libsrcdir}/configure \
17141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17142 --target=${target_alias} $${srcdiroption} \
17143 --with-build-libsubdir=$(HOST_SUBDIR) \
17144 $(STAGEfeedback_CONFIGURE_FLAGS)
17145 @endif intl-bootstrap
17151 .PHONY: all-intl maybe-all-intl
17152 maybe-all-intl:
17153 @if gcc-bootstrap
17154 all-intl: stage_current
17155 @endif gcc-bootstrap
17156 @if intl
17157 TARGET-intl=all
17158 maybe-all-intl: all-intl
17159 all-intl: configure-intl
17160 @r=`${PWD_COMMAND}`; export r; \
17161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17162 $(HOST_EXPORTS) \
17163 (cd $(HOST_SUBDIR)/intl && \
17164 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17165 $(TARGET-intl))
17166 @endif intl
17170 .PHONY: all-stage1-intl maybe-all-stage1-intl
17171 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17172 maybe-all-stage1-intl:
17173 maybe-clean-stage1-intl:
17174 @if intl-bootstrap
17175 maybe-all-stage1-intl: all-stage1-intl
17176 all-stage1: all-stage1-intl
17177 TARGET-stage1-intl = $(TARGET-intl)
17178 all-stage1-intl: configure-stage1-intl
17179 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17180 @r=`${PWD_COMMAND}`; export r; \
17181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17182 TFLAGS="$(STAGE1_TFLAGS)"; \
17183 $(HOST_EXPORTS) \
17184 cd $(HOST_SUBDIR)/intl && \
17185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17186 CFLAGS="$(STAGE1_CFLAGS)" \
17187 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17188 LIBCFLAGS="$(LIBCFLAGS)" \
17189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17192 $(EXTRA_HOST_FLAGS) \
17193 $(STAGE1_FLAGS_TO_PASS) \
17194 TFLAGS="$(STAGE1_TFLAGS)" \
17195 $(TARGET-stage1-intl)
17197 maybe-clean-stage1-intl: clean-stage1-intl
17198 clean-stage1: clean-stage1-intl
17199 clean-stage1-intl:
17200 @if [ $(current_stage) = stage1 ]; then \
17201 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17202 else \
17203 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17204 $(MAKE) stage1-start; \
17205 fi; \
17206 cd $(HOST_SUBDIR)/intl && \
17207 $(MAKE) $(EXTRA_HOST_FLAGS) \
17208 $(STAGE1_FLAGS_TO_PASS) clean
17209 @endif intl-bootstrap
17212 .PHONY: all-stage2-intl maybe-all-stage2-intl
17213 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17214 maybe-all-stage2-intl:
17215 maybe-clean-stage2-intl:
17216 @if intl-bootstrap
17217 maybe-all-stage2-intl: all-stage2-intl
17218 all-stage2: all-stage2-intl
17219 TARGET-stage2-intl = $(TARGET-intl)
17220 all-stage2-intl: configure-stage2-intl
17221 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17222 @r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 TFLAGS="$(STAGE2_TFLAGS)"; \
17225 $(HOST_EXPORTS) \
17226 $(POSTSTAGE1_HOST_EXPORTS) \
17227 cd $(HOST_SUBDIR)/intl && \
17228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17229 CFLAGS="$(STAGE2_CFLAGS)" \
17230 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17231 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17236 TFLAGS="$(STAGE2_TFLAGS)" \
17237 $(TARGET-stage2-intl)
17239 maybe-clean-stage2-intl: clean-stage2-intl
17240 clean-stage2: clean-stage2-intl
17241 clean-stage2-intl:
17242 @if [ $(current_stage) = stage2 ]; then \
17243 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17244 else \
17245 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17246 $(MAKE) stage2-start; \
17247 fi; \
17248 cd $(HOST_SUBDIR)/intl && \
17249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17250 @endif intl-bootstrap
17253 .PHONY: all-stage3-intl maybe-all-stage3-intl
17254 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17255 maybe-all-stage3-intl:
17256 maybe-clean-stage3-intl:
17257 @if intl-bootstrap
17258 maybe-all-stage3-intl: all-stage3-intl
17259 all-stage3: all-stage3-intl
17260 TARGET-stage3-intl = $(TARGET-intl)
17261 all-stage3-intl: configure-stage3-intl
17262 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17263 @r=`${PWD_COMMAND}`; export r; \
17264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17265 TFLAGS="$(STAGE3_TFLAGS)"; \
17266 $(HOST_EXPORTS) \
17267 $(POSTSTAGE1_HOST_EXPORTS) \
17268 cd $(HOST_SUBDIR)/intl && \
17269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17270 CFLAGS="$(STAGE3_CFLAGS)" \
17271 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17272 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17276 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17277 TFLAGS="$(STAGE3_TFLAGS)" \
17278 $(TARGET-stage3-intl)
17280 maybe-clean-stage3-intl: clean-stage3-intl
17281 clean-stage3: clean-stage3-intl
17282 clean-stage3-intl:
17283 @if [ $(current_stage) = stage3 ]; then \
17284 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17285 else \
17286 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17287 $(MAKE) stage3-start; \
17288 fi; \
17289 cd $(HOST_SUBDIR)/intl && \
17290 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17291 @endif intl-bootstrap
17294 .PHONY: all-stage4-intl maybe-all-stage4-intl
17295 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17296 maybe-all-stage4-intl:
17297 maybe-clean-stage4-intl:
17298 @if intl-bootstrap
17299 maybe-all-stage4-intl: all-stage4-intl
17300 all-stage4: all-stage4-intl
17301 TARGET-stage4-intl = $(TARGET-intl)
17302 all-stage4-intl: configure-stage4-intl
17303 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17304 @r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17306 TFLAGS="$(STAGE4_TFLAGS)"; \
17307 $(HOST_EXPORTS) \
17308 $(POSTSTAGE1_HOST_EXPORTS) \
17309 cd $(HOST_SUBDIR)/intl && \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17311 CFLAGS="$(STAGE4_CFLAGS)" \
17312 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17313 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17318 TFLAGS="$(STAGE4_TFLAGS)" \
17319 $(TARGET-stage4-intl)
17321 maybe-clean-stage4-intl: clean-stage4-intl
17322 clean-stage4: clean-stage4-intl
17323 clean-stage4-intl:
17324 @if [ $(current_stage) = stage4 ]; then \
17325 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17326 else \
17327 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17328 $(MAKE) stage4-start; \
17329 fi; \
17330 cd $(HOST_SUBDIR)/intl && \
17331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17332 @endif intl-bootstrap
17335 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17336 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17337 maybe-all-stageprofile-intl:
17338 maybe-clean-stageprofile-intl:
17339 @if intl-bootstrap
17340 maybe-all-stageprofile-intl: all-stageprofile-intl
17341 all-stageprofile: all-stageprofile-intl
17342 TARGET-stageprofile-intl = $(TARGET-intl)
17343 all-stageprofile-intl: configure-stageprofile-intl
17344 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17345 @r=`${PWD_COMMAND}`; export r; \
17346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17347 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17348 $(HOST_EXPORTS) \
17349 $(POSTSTAGE1_HOST_EXPORTS) \
17350 cd $(HOST_SUBDIR)/intl && \
17351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17352 CFLAGS="$(STAGEprofile_CFLAGS)" \
17353 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17354 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17359 TFLAGS="$(STAGEprofile_TFLAGS)" \
17360 $(TARGET-stageprofile-intl)
17362 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17363 clean-stageprofile: clean-stageprofile-intl
17364 clean-stageprofile-intl:
17365 @if [ $(current_stage) = stageprofile ]; then \
17366 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17367 else \
17368 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17369 $(MAKE) stageprofile-start; \
17370 fi; \
17371 cd $(HOST_SUBDIR)/intl && \
17372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17373 @endif intl-bootstrap
17376 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17377 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17378 maybe-all-stagefeedback-intl:
17379 maybe-clean-stagefeedback-intl:
17380 @if intl-bootstrap
17381 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17382 all-stagefeedback: all-stagefeedback-intl
17383 TARGET-stagefeedback-intl = $(TARGET-intl)
17384 all-stagefeedback-intl: configure-stagefeedback-intl
17385 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17386 @r=`${PWD_COMMAND}`; export r; \
17387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17388 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17389 $(HOST_EXPORTS) \
17390 $(POSTSTAGE1_HOST_EXPORTS) \
17391 cd $(HOST_SUBDIR)/intl && \
17392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17393 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17394 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17395 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17400 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17401 $(TARGET-stagefeedback-intl)
17403 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17404 clean-stagefeedback: clean-stagefeedback-intl
17405 clean-stagefeedback-intl:
17406 @if [ $(current_stage) = stagefeedback ]; then \
17407 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17408 else \
17409 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17410 $(MAKE) stagefeedback-start; \
17411 fi; \
17412 cd $(HOST_SUBDIR)/intl && \
17413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17414 @endif intl-bootstrap
17420 .PHONY: check-intl maybe-check-intl
17421 maybe-check-intl:
17422 @if intl
17423 maybe-check-intl: check-intl
17425 check-intl:
17426 @: $(MAKE); $(unstage)
17427 @r=`${PWD_COMMAND}`; export r; \
17428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17429 $(HOST_EXPORTS) \
17430 (cd $(HOST_SUBDIR)/intl && \
17431 $(MAKE) $(FLAGS_TO_PASS) check)
17433 @endif intl
17435 .PHONY: install-intl maybe-install-intl
17436 maybe-install-intl:
17437 @if intl
17438 maybe-install-intl: install-intl
17440 install-intl: installdirs
17441 @: $(MAKE); $(unstage)
17442 @r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 (cd $(HOST_SUBDIR)/intl && \
17446 $(MAKE) $(FLAGS_TO_PASS) install)
17448 @endif intl
17450 .PHONY: install-strip-intl maybe-install-strip-intl
17451 maybe-install-strip-intl:
17452 @if intl
17453 maybe-install-strip-intl: install-strip-intl
17455 install-strip-intl: installdirs
17456 @: $(MAKE); $(unstage)
17457 @r=`${PWD_COMMAND}`; export r; \
17458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17459 $(HOST_EXPORTS) \
17460 (cd $(HOST_SUBDIR)/intl && \
17461 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17463 @endif intl
17465 # Other targets (info, dvi, pdf, etc.)
17467 .PHONY: maybe-info-intl info-intl
17468 maybe-info-intl:
17469 @if intl
17470 maybe-info-intl: info-intl
17472 info-intl: \
17473 configure-intl
17474 @[ -f ./intl/Makefile ] || exit 0; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 for flag in $(EXTRA_HOST_FLAGS) ; do \
17479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17480 done; \
17481 echo "Doing info in intl" ; \
17482 (cd $(HOST_SUBDIR)/intl && \
17483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17485 "RANLIB=$${RANLIB}" \
17486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17487 info) \
17488 || exit 1
17490 @endif intl
17492 .PHONY: maybe-dvi-intl dvi-intl
17493 maybe-dvi-intl:
17494 @if intl
17495 maybe-dvi-intl: dvi-intl
17497 dvi-intl: \
17498 configure-intl
17499 @[ -f ./intl/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 $(HOST_EXPORTS) \
17503 for flag in $(EXTRA_HOST_FLAGS) ; do \
17504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17505 done; \
17506 echo "Doing dvi in intl" ; \
17507 (cd $(HOST_SUBDIR)/intl && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17510 "RANLIB=$${RANLIB}" \
17511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17512 dvi) \
17513 || exit 1
17515 @endif intl
17517 .PHONY: maybe-pdf-intl pdf-intl
17518 maybe-pdf-intl:
17519 @if intl
17520 maybe-pdf-intl: pdf-intl
17522 pdf-intl: \
17523 configure-intl
17524 @[ -f ./intl/Makefile ] || exit 0; \
17525 r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 $(HOST_EXPORTS) \
17528 for flag in $(EXTRA_HOST_FLAGS) ; do \
17529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 done; \
17531 echo "Doing pdf in intl" ; \
17532 (cd $(HOST_SUBDIR)/intl && \
17533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17535 "RANLIB=$${RANLIB}" \
17536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17537 pdf) \
17538 || exit 1
17540 @endif intl
17542 .PHONY: maybe-html-intl html-intl
17543 maybe-html-intl:
17544 @if intl
17545 maybe-html-intl: html-intl
17547 html-intl: \
17548 configure-intl
17549 @[ -f ./intl/Makefile ] || exit 0; \
17550 r=`${PWD_COMMAND}`; export r; \
17551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17552 $(HOST_EXPORTS) \
17553 for flag in $(EXTRA_HOST_FLAGS) ; do \
17554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17555 done; \
17556 echo "Doing html in intl" ; \
17557 (cd $(HOST_SUBDIR)/intl && \
17558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17560 "RANLIB=$${RANLIB}" \
17561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17562 html) \
17563 || exit 1
17565 @endif intl
17567 .PHONY: maybe-TAGS-intl TAGS-intl
17568 maybe-TAGS-intl:
17569 @if intl
17570 maybe-TAGS-intl: TAGS-intl
17572 TAGS-intl: \
17573 configure-intl
17574 @[ -f ./intl/Makefile ] || exit 0; \
17575 r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 $(HOST_EXPORTS) \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 done; \
17581 echo "Doing TAGS in intl" ; \
17582 (cd $(HOST_SUBDIR)/intl && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17587 TAGS) \
17588 || exit 1
17590 @endif intl
17592 .PHONY: maybe-install-info-intl install-info-intl
17593 maybe-install-info-intl:
17594 @if intl
17595 maybe-install-info-intl: install-info-intl
17597 install-info-intl: \
17598 configure-intl \
17599 info-intl
17600 @[ -f ./intl/Makefile ] || exit 0; \
17601 r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(HOST_EXPORTS) \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606 done; \
17607 echo "Doing install-info in intl" ; \
17608 (cd $(HOST_SUBDIR)/intl && \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17613 install-info) \
17614 || exit 1
17616 @endif intl
17618 .PHONY: maybe-install-pdf-intl install-pdf-intl
17619 maybe-install-pdf-intl:
17620 @if intl
17621 maybe-install-pdf-intl: install-pdf-intl
17623 install-pdf-intl: \
17624 configure-intl \
17625 pdf-intl
17626 @[ -f ./intl/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 done; \
17633 echo "Doing install-pdf in intl" ; \
17634 (cd $(HOST_SUBDIR)/intl && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17639 install-pdf) \
17640 || exit 1
17642 @endif intl
17644 .PHONY: maybe-install-html-intl install-html-intl
17645 maybe-install-html-intl:
17646 @if intl
17647 maybe-install-html-intl: install-html-intl
17649 install-html-intl: \
17650 configure-intl \
17651 html-intl
17652 @[ -f ./intl/Makefile ] || exit 0; \
17653 r=`${PWD_COMMAND}`; export r; \
17654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17655 $(HOST_EXPORTS) \
17656 for flag in $(EXTRA_HOST_FLAGS) ; do \
17657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17658 done; \
17659 echo "Doing install-html in intl" ; \
17660 (cd $(HOST_SUBDIR)/intl && \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17663 "RANLIB=$${RANLIB}" \
17664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17665 install-html) \
17666 || exit 1
17668 @endif intl
17670 .PHONY: maybe-installcheck-intl installcheck-intl
17671 maybe-installcheck-intl:
17672 @if intl
17673 maybe-installcheck-intl: installcheck-intl
17675 installcheck-intl: \
17676 configure-intl
17677 @[ -f ./intl/Makefile ] || exit 0; \
17678 r=`${PWD_COMMAND}`; export r; \
17679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17680 $(HOST_EXPORTS) \
17681 for flag in $(EXTRA_HOST_FLAGS) ; do \
17682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17683 done; \
17684 echo "Doing installcheck in intl" ; \
17685 (cd $(HOST_SUBDIR)/intl && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17688 "RANLIB=$${RANLIB}" \
17689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17690 installcheck) \
17691 || exit 1
17693 @endif intl
17695 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17696 maybe-mostlyclean-intl:
17697 @if intl
17698 maybe-mostlyclean-intl: mostlyclean-intl
17700 mostlyclean-intl:
17701 @[ -f ./intl/Makefile ] || exit 0; \
17702 r=`${PWD_COMMAND}`; export r; \
17703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 $(HOST_EXPORTS) \
17705 for flag in $(EXTRA_HOST_FLAGS) ; do \
17706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17707 done; \
17708 echo "Doing mostlyclean in intl" ; \
17709 (cd $(HOST_SUBDIR)/intl && \
17710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17712 "RANLIB=$${RANLIB}" \
17713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17714 mostlyclean) \
17715 || exit 1
17717 @endif intl
17719 .PHONY: maybe-clean-intl clean-intl
17720 maybe-clean-intl:
17721 @if intl
17722 maybe-clean-intl: clean-intl
17724 clean-intl:
17725 @[ -f ./intl/Makefile ] || exit 0; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 for flag in $(EXTRA_HOST_FLAGS) ; do \
17730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17731 done; \
17732 echo "Doing clean in intl" ; \
17733 (cd $(HOST_SUBDIR)/intl && \
17734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17736 "RANLIB=$${RANLIB}" \
17737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17738 clean) \
17739 || exit 1
17741 @endif intl
17743 .PHONY: maybe-distclean-intl distclean-intl
17744 maybe-distclean-intl:
17745 @if intl
17746 maybe-distclean-intl: distclean-intl
17748 distclean-intl:
17749 @[ -f ./intl/Makefile ] || exit 0; \
17750 r=`${PWD_COMMAND}`; export r; \
17751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17752 $(HOST_EXPORTS) \
17753 for flag in $(EXTRA_HOST_FLAGS) ; do \
17754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17755 done; \
17756 echo "Doing distclean in intl" ; \
17757 (cd $(HOST_SUBDIR)/intl && \
17758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17760 "RANLIB=$${RANLIB}" \
17761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17762 distclean) \
17763 || exit 1
17765 @endif intl
17767 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17768 maybe-maintainer-clean-intl:
17769 @if intl
17770 maybe-maintainer-clean-intl: maintainer-clean-intl
17772 maintainer-clean-intl:
17773 @[ -f ./intl/Makefile ] || exit 0; \
17774 r=`${PWD_COMMAND}`; export r; \
17775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 $(HOST_EXPORTS) \
17777 for flag in $(EXTRA_HOST_FLAGS) ; do \
17778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17779 done; \
17780 echo "Doing maintainer-clean in intl" ; \
17781 (cd $(HOST_SUBDIR)/intl && \
17782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17784 "RANLIB=$${RANLIB}" \
17785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17786 maintainer-clean) \
17787 || exit 1
17789 @endif intl
17793 .PHONY: configure-tcl maybe-configure-tcl
17794 maybe-configure-tcl:
17795 @if gcc-bootstrap
17796 configure-tcl: stage_current
17797 @endif gcc-bootstrap
17798 @if tcl
17799 maybe-configure-tcl: configure-tcl
17800 configure-tcl:
17801 @: $(MAKE); $(unstage)
17802 @r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17804 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17806 $(HOST_EXPORTS) \
17807 echo Configuring in $(HOST_SUBDIR)/tcl; \
17808 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17809 case $(srcdir) in \
17810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17811 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17813 esac; \
17814 srcdiroption="--srcdir=$${topdir}/tcl"; \
17815 libsrcdir="$$s/tcl"; \
17816 $(SHELL) $${libsrcdir}/configure \
17817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17818 --target=${target_alias} $${srcdiroption} \
17819 || exit 1
17820 @endif tcl
17826 .PHONY: all-tcl maybe-all-tcl
17827 maybe-all-tcl:
17828 @if gcc-bootstrap
17829 all-tcl: stage_current
17830 @endif gcc-bootstrap
17831 @if tcl
17832 TARGET-tcl=all
17833 maybe-all-tcl: all-tcl
17834 all-tcl: configure-tcl
17835 @: $(MAKE); $(unstage)
17836 @r=`${PWD_COMMAND}`; export r; \
17837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17838 $(HOST_EXPORTS) \
17839 (cd $(HOST_SUBDIR)/tcl && \
17840 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17841 $(TARGET-tcl))
17842 @endif tcl
17847 .PHONY: check-tcl maybe-check-tcl
17848 maybe-check-tcl:
17849 @if tcl
17850 maybe-check-tcl: check-tcl
17852 check-tcl:
17853 @: $(MAKE); $(unstage)
17854 @r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 $(HOST_EXPORTS) \
17857 (cd $(HOST_SUBDIR)/tcl && \
17858 $(MAKE) $(FLAGS_TO_PASS) check)
17860 @endif tcl
17862 .PHONY: install-tcl maybe-install-tcl
17863 maybe-install-tcl:
17864 @if tcl
17865 maybe-install-tcl: install-tcl
17867 install-tcl: installdirs
17868 @: $(MAKE); $(unstage)
17869 @r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 $(HOST_EXPORTS) \
17872 (cd $(HOST_SUBDIR)/tcl && \
17873 $(MAKE) $(FLAGS_TO_PASS) install)
17875 @endif tcl
17877 .PHONY: install-strip-tcl maybe-install-strip-tcl
17878 maybe-install-strip-tcl:
17879 @if tcl
17880 maybe-install-strip-tcl: install-strip-tcl
17882 install-strip-tcl: installdirs
17883 @: $(MAKE); $(unstage)
17884 @r=`${PWD_COMMAND}`; export r; \
17885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17886 $(HOST_EXPORTS) \
17887 (cd $(HOST_SUBDIR)/tcl && \
17888 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17890 @endif tcl
17892 # Other targets (info, dvi, pdf, etc.)
17894 .PHONY: maybe-info-tcl info-tcl
17895 maybe-info-tcl:
17896 @if tcl
17897 maybe-info-tcl: info-tcl
17899 info-tcl: \
17900 configure-tcl
17901 @: $(MAKE); $(unstage)
17902 @[ -f ./tcl/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17908 done; \
17909 echo "Doing info in tcl" ; \
17910 (cd $(HOST_SUBDIR)/tcl && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17915 info) \
17916 || exit 1
17918 @endif tcl
17920 .PHONY: maybe-dvi-tcl dvi-tcl
17921 maybe-dvi-tcl:
17922 @if tcl
17923 maybe-dvi-tcl: dvi-tcl
17925 dvi-tcl: \
17926 configure-tcl
17927 @: $(MAKE); $(unstage)
17928 @[ -f ./tcl/Makefile ] || exit 0; \
17929 r=`${PWD_COMMAND}`; export r; \
17930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17931 $(HOST_EXPORTS) \
17932 for flag in $(EXTRA_HOST_FLAGS) ; do \
17933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17934 done; \
17935 echo "Doing dvi in tcl" ; \
17936 (cd $(HOST_SUBDIR)/tcl && \
17937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17939 "RANLIB=$${RANLIB}" \
17940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17941 dvi) \
17942 || exit 1
17944 @endif tcl
17946 .PHONY: maybe-pdf-tcl pdf-tcl
17947 maybe-pdf-tcl:
17948 @if tcl
17949 maybe-pdf-tcl: pdf-tcl
17951 pdf-tcl: \
17952 configure-tcl
17953 @: $(MAKE); $(unstage)
17954 @[ -f ./tcl/Makefile ] || exit 0; \
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 $(HOST_EXPORTS) \
17958 for flag in $(EXTRA_HOST_FLAGS) ; do \
17959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17960 done; \
17961 echo "Doing pdf in tcl" ; \
17962 (cd $(HOST_SUBDIR)/tcl && \
17963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17965 "RANLIB=$${RANLIB}" \
17966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17967 pdf) \
17968 || exit 1
17970 @endif tcl
17972 .PHONY: maybe-html-tcl html-tcl
17973 maybe-html-tcl:
17974 @if tcl
17975 maybe-html-tcl: html-tcl
17977 html-tcl: \
17978 configure-tcl
17979 @: $(MAKE); $(unstage)
17980 @[ -f ./tcl/Makefile ] || exit 0; \
17981 r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 $(HOST_EXPORTS) \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17986 done; \
17987 echo "Doing html in tcl" ; \
17988 (cd $(HOST_SUBDIR)/tcl && \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17993 html) \
17994 || exit 1
17996 @endif tcl
17998 .PHONY: maybe-TAGS-tcl TAGS-tcl
17999 maybe-TAGS-tcl:
18000 @if tcl
18001 maybe-TAGS-tcl: TAGS-tcl
18003 TAGS-tcl: \
18004 configure-tcl
18005 @: $(MAKE); $(unstage)
18006 @[ -f ./tcl/Makefile ] || exit 0; \
18007 r=`${PWD_COMMAND}`; export r; \
18008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18009 $(HOST_EXPORTS) \
18010 for flag in $(EXTRA_HOST_FLAGS) ; do \
18011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18012 done; \
18013 echo "Doing TAGS in tcl" ; \
18014 (cd $(HOST_SUBDIR)/tcl && \
18015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18017 "RANLIB=$${RANLIB}" \
18018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18019 TAGS) \
18020 || exit 1
18022 @endif tcl
18024 .PHONY: maybe-install-info-tcl install-info-tcl
18025 maybe-install-info-tcl:
18026 @if tcl
18027 maybe-install-info-tcl: install-info-tcl
18029 install-info-tcl: \
18030 configure-tcl \
18031 info-tcl
18032 @: $(MAKE); $(unstage)
18033 @[ -f ./tcl/Makefile ] || exit 0; \
18034 r=`${PWD_COMMAND}`; export r; \
18035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18036 $(HOST_EXPORTS) \
18037 for flag in $(EXTRA_HOST_FLAGS) ; do \
18038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18039 done; \
18040 echo "Doing install-info in tcl" ; \
18041 (cd $(HOST_SUBDIR)/tcl && \
18042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18044 "RANLIB=$${RANLIB}" \
18045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18046 install-info) \
18047 || exit 1
18049 @endif tcl
18051 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18052 maybe-install-pdf-tcl:
18053 @if tcl
18054 maybe-install-pdf-tcl: install-pdf-tcl
18056 install-pdf-tcl: \
18057 configure-tcl \
18058 pdf-tcl
18059 @: $(MAKE); $(unstage)
18060 @[ -f ./tcl/Makefile ] || exit 0; \
18061 r=`${PWD_COMMAND}`; export r; \
18062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18063 $(HOST_EXPORTS) \
18064 for flag in $(EXTRA_HOST_FLAGS) ; do \
18065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18066 done; \
18067 echo "Doing install-pdf in tcl" ; \
18068 (cd $(HOST_SUBDIR)/tcl && \
18069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18071 "RANLIB=$${RANLIB}" \
18072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18073 install-pdf) \
18074 || exit 1
18076 @endif tcl
18078 .PHONY: maybe-install-html-tcl install-html-tcl
18079 maybe-install-html-tcl:
18080 @if tcl
18081 maybe-install-html-tcl: install-html-tcl
18083 install-html-tcl: \
18084 configure-tcl \
18085 html-tcl
18086 @: $(MAKE); $(unstage)
18087 @[ -f ./tcl/Makefile ] || exit 0; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 $(HOST_EXPORTS) \
18091 for flag in $(EXTRA_HOST_FLAGS) ; do \
18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18093 done; \
18094 echo "Doing install-html in tcl" ; \
18095 (cd $(HOST_SUBDIR)/tcl && \
18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18098 "RANLIB=$${RANLIB}" \
18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18100 install-html) \
18101 || exit 1
18103 @endif tcl
18105 .PHONY: maybe-installcheck-tcl installcheck-tcl
18106 maybe-installcheck-tcl:
18107 @if tcl
18108 maybe-installcheck-tcl: installcheck-tcl
18110 installcheck-tcl: \
18111 configure-tcl
18112 @: $(MAKE); $(unstage)
18113 @[ -f ./tcl/Makefile ] || exit 0; \
18114 r=`${PWD_COMMAND}`; export r; \
18115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18116 $(HOST_EXPORTS) \
18117 for flag in $(EXTRA_HOST_FLAGS) ; do \
18118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18119 done; \
18120 echo "Doing installcheck in tcl" ; \
18121 (cd $(HOST_SUBDIR)/tcl && \
18122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18124 "RANLIB=$${RANLIB}" \
18125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18126 installcheck) \
18127 || exit 1
18129 @endif tcl
18131 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18132 maybe-mostlyclean-tcl:
18133 @if tcl
18134 maybe-mostlyclean-tcl: mostlyclean-tcl
18136 # tcl doesn't support mostlyclean.
18137 mostlyclean-tcl:
18139 @endif tcl
18141 .PHONY: maybe-clean-tcl clean-tcl
18142 maybe-clean-tcl:
18143 @if tcl
18144 maybe-clean-tcl: clean-tcl
18146 clean-tcl:
18147 @: $(MAKE); $(unstage)
18148 @[ -f ./tcl/Makefile ] || exit 0; \
18149 r=`${PWD_COMMAND}`; export r; \
18150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18151 $(HOST_EXPORTS) \
18152 for flag in $(EXTRA_HOST_FLAGS) ; do \
18153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18154 done; \
18155 echo "Doing clean in tcl" ; \
18156 (cd $(HOST_SUBDIR)/tcl && \
18157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18159 "RANLIB=$${RANLIB}" \
18160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18161 clean) \
18162 || exit 1
18164 @endif tcl
18166 .PHONY: maybe-distclean-tcl distclean-tcl
18167 maybe-distclean-tcl:
18168 @if tcl
18169 maybe-distclean-tcl: distclean-tcl
18171 distclean-tcl:
18172 @: $(MAKE); $(unstage)
18173 @[ -f ./tcl/Makefile ] || exit 0; \
18174 r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 $(HOST_EXPORTS) \
18177 for flag in $(EXTRA_HOST_FLAGS) ; do \
18178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179 done; \
18180 echo "Doing distclean in tcl" ; \
18181 (cd $(HOST_SUBDIR)/tcl && \
18182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184 "RANLIB=$${RANLIB}" \
18185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18186 distclean) \
18187 || exit 1
18189 @endif tcl
18191 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18192 maybe-maintainer-clean-tcl:
18193 @if tcl
18194 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18196 maintainer-clean-tcl:
18197 @: $(MAKE); $(unstage)
18198 @[ -f ./tcl/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 $(HOST_EXPORTS) \
18202 for flag in $(EXTRA_HOST_FLAGS) ; do \
18203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18204 done; \
18205 echo "Doing maintainer-clean in tcl" ; \
18206 (cd $(HOST_SUBDIR)/tcl && \
18207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18209 "RANLIB=$${RANLIB}" \
18210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18211 maintainer-clean) \
18212 || exit 1
18214 @endif tcl
18218 .PHONY: configure-itcl maybe-configure-itcl
18219 maybe-configure-itcl:
18220 @if gcc-bootstrap
18221 configure-itcl: stage_current
18222 @endif gcc-bootstrap
18223 @if itcl
18224 maybe-configure-itcl: configure-itcl
18225 configure-itcl:
18226 @: $(MAKE); $(unstage)
18227 @r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18231 $(HOST_EXPORTS) \
18232 echo Configuring in $(HOST_SUBDIR)/itcl; \
18233 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18234 case $(srcdir) in \
18235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18236 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18238 esac; \
18239 srcdiroption="--srcdir=$${topdir}/itcl"; \
18240 libsrcdir="$$s/itcl"; \
18241 $(SHELL) $${libsrcdir}/configure \
18242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18243 --target=${target_alias} $${srcdiroption} \
18244 || exit 1
18245 @endif itcl
18251 .PHONY: all-itcl maybe-all-itcl
18252 maybe-all-itcl:
18253 @if gcc-bootstrap
18254 all-itcl: stage_current
18255 @endif gcc-bootstrap
18256 @if itcl
18257 TARGET-itcl=all
18258 maybe-all-itcl: all-itcl
18259 all-itcl: configure-itcl
18260 @: $(MAKE); $(unstage)
18261 @r=`${PWD_COMMAND}`; export r; \
18262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 $(HOST_EXPORTS) \
18264 (cd $(HOST_SUBDIR)/itcl && \
18265 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18266 $(TARGET-itcl))
18267 @endif itcl
18272 .PHONY: check-itcl maybe-check-itcl
18273 maybe-check-itcl:
18274 @if itcl
18275 maybe-check-itcl: check-itcl
18277 check-itcl:
18278 @: $(MAKE); $(unstage)
18279 @r=`${PWD_COMMAND}`; export r; \
18280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18281 $(HOST_EXPORTS) \
18282 (cd $(HOST_SUBDIR)/itcl && \
18283 $(MAKE) $(FLAGS_TO_PASS) check)
18285 @endif itcl
18287 .PHONY: install-itcl maybe-install-itcl
18288 maybe-install-itcl:
18289 @if itcl
18290 maybe-install-itcl: install-itcl
18292 install-itcl: installdirs
18293 @: $(MAKE); $(unstage)
18294 @r=`${PWD_COMMAND}`; export r; \
18295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18296 $(HOST_EXPORTS) \
18297 (cd $(HOST_SUBDIR)/itcl && \
18298 $(MAKE) $(FLAGS_TO_PASS) install)
18300 @endif itcl
18302 .PHONY: install-strip-itcl maybe-install-strip-itcl
18303 maybe-install-strip-itcl:
18304 @if itcl
18305 maybe-install-strip-itcl: install-strip-itcl
18307 install-strip-itcl: installdirs
18308 @: $(MAKE); $(unstage)
18309 @r=`${PWD_COMMAND}`; export r; \
18310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18311 $(HOST_EXPORTS) \
18312 (cd $(HOST_SUBDIR)/itcl && \
18313 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18315 @endif itcl
18317 # Other targets (info, dvi, pdf, etc.)
18319 .PHONY: maybe-info-itcl info-itcl
18320 maybe-info-itcl:
18321 @if itcl
18322 maybe-info-itcl: info-itcl
18324 info-itcl: \
18325 configure-itcl
18326 @: $(MAKE); $(unstage)
18327 @[ -f ./itcl/Makefile ] || exit 0; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing info in itcl" ; \
18335 (cd $(HOST_SUBDIR)/itcl && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18340 info) \
18341 || exit 1
18343 @endif itcl
18345 .PHONY: maybe-dvi-itcl dvi-itcl
18346 maybe-dvi-itcl:
18347 @if itcl
18348 maybe-dvi-itcl: dvi-itcl
18350 dvi-itcl: \
18351 configure-itcl
18352 @: $(MAKE); $(unstage)
18353 @[ -f ./itcl/Makefile ] || exit 0; \
18354 r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 $(HOST_EXPORTS) \
18357 for flag in $(EXTRA_HOST_FLAGS) ; do \
18358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18359 done; \
18360 echo "Doing dvi in itcl" ; \
18361 (cd $(HOST_SUBDIR)/itcl && \
18362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18364 "RANLIB=$${RANLIB}" \
18365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18366 dvi) \
18367 || exit 1
18369 @endif itcl
18371 .PHONY: maybe-pdf-itcl pdf-itcl
18372 maybe-pdf-itcl:
18373 @if itcl
18374 maybe-pdf-itcl: pdf-itcl
18376 pdf-itcl: \
18377 configure-itcl
18378 @: $(MAKE); $(unstage)
18379 @[ -f ./itcl/Makefile ] || exit 0; \
18380 r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 $(HOST_EXPORTS) \
18383 for flag in $(EXTRA_HOST_FLAGS) ; do \
18384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18385 done; \
18386 echo "Doing pdf in itcl" ; \
18387 (cd $(HOST_SUBDIR)/itcl && \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18390 "RANLIB=$${RANLIB}" \
18391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18392 pdf) \
18393 || exit 1
18395 @endif itcl
18397 .PHONY: maybe-html-itcl html-itcl
18398 maybe-html-itcl:
18399 @if itcl
18400 maybe-html-itcl: html-itcl
18402 html-itcl: \
18403 configure-itcl
18404 @: $(MAKE); $(unstage)
18405 @[ -f ./itcl/Makefile ] || exit 0; \
18406 r=`${PWD_COMMAND}`; export r; \
18407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18408 $(HOST_EXPORTS) \
18409 for flag in $(EXTRA_HOST_FLAGS) ; do \
18410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18411 done; \
18412 echo "Doing html in itcl" ; \
18413 (cd $(HOST_SUBDIR)/itcl && \
18414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18416 "RANLIB=$${RANLIB}" \
18417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18418 html) \
18419 || exit 1
18421 @endif itcl
18423 .PHONY: maybe-TAGS-itcl TAGS-itcl
18424 maybe-TAGS-itcl:
18425 @if itcl
18426 maybe-TAGS-itcl: TAGS-itcl
18428 TAGS-itcl: \
18429 configure-itcl
18430 @: $(MAKE); $(unstage)
18431 @[ -f ./itcl/Makefile ] || exit 0; \
18432 r=`${PWD_COMMAND}`; export r; \
18433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18434 $(HOST_EXPORTS) \
18435 for flag in $(EXTRA_HOST_FLAGS) ; do \
18436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18437 done; \
18438 echo "Doing TAGS in itcl" ; \
18439 (cd $(HOST_SUBDIR)/itcl && \
18440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18442 "RANLIB=$${RANLIB}" \
18443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18444 TAGS) \
18445 || exit 1
18447 @endif itcl
18449 .PHONY: maybe-install-info-itcl install-info-itcl
18450 maybe-install-info-itcl:
18451 @if itcl
18452 maybe-install-info-itcl: install-info-itcl
18454 install-info-itcl: \
18455 configure-itcl \
18456 info-itcl
18457 @: $(MAKE); $(unstage)
18458 @[ -f ./itcl/Makefile ] || exit 0; \
18459 r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18461 $(HOST_EXPORTS) \
18462 for flag in $(EXTRA_HOST_FLAGS) ; do \
18463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18464 done; \
18465 echo "Doing install-info in itcl" ; \
18466 (cd $(HOST_SUBDIR)/itcl && \
18467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18469 "RANLIB=$${RANLIB}" \
18470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18471 install-info) \
18472 || exit 1
18474 @endif itcl
18476 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18477 maybe-install-pdf-itcl:
18478 @if itcl
18479 maybe-install-pdf-itcl: install-pdf-itcl
18481 install-pdf-itcl: \
18482 configure-itcl \
18483 pdf-itcl
18484 @: $(MAKE); $(unstage)
18485 @[ -f ./itcl/Makefile ] || exit 0; \
18486 r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 $(HOST_EXPORTS) \
18489 for flag in $(EXTRA_HOST_FLAGS) ; do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491 done; \
18492 echo "Doing install-pdf in itcl" ; \
18493 (cd $(HOST_SUBDIR)/itcl && \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18498 install-pdf) \
18499 || exit 1
18501 @endif itcl
18503 .PHONY: maybe-install-html-itcl install-html-itcl
18504 maybe-install-html-itcl:
18505 @if itcl
18506 maybe-install-html-itcl: install-html-itcl
18508 install-html-itcl: \
18509 configure-itcl \
18510 html-itcl
18511 @: $(MAKE); $(unstage)
18512 @[ -f ./itcl/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 $(HOST_EXPORTS) \
18516 for flag in $(EXTRA_HOST_FLAGS) ; do \
18517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18518 done; \
18519 echo "Doing install-html in itcl" ; \
18520 (cd $(HOST_SUBDIR)/itcl && \
18521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18523 "RANLIB=$${RANLIB}" \
18524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18525 install-html) \
18526 || exit 1
18528 @endif itcl
18530 .PHONY: maybe-installcheck-itcl installcheck-itcl
18531 maybe-installcheck-itcl:
18532 @if itcl
18533 maybe-installcheck-itcl: installcheck-itcl
18535 installcheck-itcl: \
18536 configure-itcl
18537 @: $(MAKE); $(unstage)
18538 @[ -f ./itcl/Makefile ] || exit 0; \
18539 r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(HOST_EXPORTS) \
18542 for flag in $(EXTRA_HOST_FLAGS) ; do \
18543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18544 done; \
18545 echo "Doing installcheck in itcl" ; \
18546 (cd $(HOST_SUBDIR)/itcl && \
18547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18549 "RANLIB=$${RANLIB}" \
18550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18551 installcheck) \
18552 || exit 1
18554 @endif itcl
18556 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18557 maybe-mostlyclean-itcl:
18558 @if itcl
18559 maybe-mostlyclean-itcl: mostlyclean-itcl
18561 mostlyclean-itcl:
18562 @: $(MAKE); $(unstage)
18563 @[ -f ./itcl/Makefile ] || exit 0; \
18564 r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18566 $(HOST_EXPORTS) \
18567 for flag in $(EXTRA_HOST_FLAGS) ; do \
18568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18569 done; \
18570 echo "Doing mostlyclean in itcl" ; \
18571 (cd $(HOST_SUBDIR)/itcl && \
18572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18574 "RANLIB=$${RANLIB}" \
18575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18576 mostlyclean) \
18577 || exit 1
18579 @endif itcl
18581 .PHONY: maybe-clean-itcl clean-itcl
18582 maybe-clean-itcl:
18583 @if itcl
18584 maybe-clean-itcl: clean-itcl
18586 clean-itcl:
18587 @: $(MAKE); $(unstage)
18588 @[ -f ./itcl/Makefile ] || exit 0; \
18589 r=`${PWD_COMMAND}`; export r; \
18590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 $(HOST_EXPORTS) \
18592 for flag in $(EXTRA_HOST_FLAGS) ; do \
18593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18594 done; \
18595 echo "Doing clean in itcl" ; \
18596 (cd $(HOST_SUBDIR)/itcl && \
18597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18599 "RANLIB=$${RANLIB}" \
18600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18601 clean) \
18602 || exit 1
18604 @endif itcl
18606 .PHONY: maybe-distclean-itcl distclean-itcl
18607 maybe-distclean-itcl:
18608 @if itcl
18609 maybe-distclean-itcl: distclean-itcl
18611 distclean-itcl:
18612 @: $(MAKE); $(unstage)
18613 @[ -f ./itcl/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing distclean in itcl" ; \
18621 (cd $(HOST_SUBDIR)/itcl && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18626 distclean) \
18627 || exit 1
18629 @endif itcl
18631 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18632 maybe-maintainer-clean-itcl:
18633 @if itcl
18634 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18636 maintainer-clean-itcl:
18637 @: $(MAKE); $(unstage)
18638 @[ -f ./itcl/Makefile ] || exit 0; \
18639 r=`${PWD_COMMAND}`; export r; \
18640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18641 $(HOST_EXPORTS) \
18642 for flag in $(EXTRA_HOST_FLAGS) ; do \
18643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18644 done; \
18645 echo "Doing maintainer-clean in itcl" ; \
18646 (cd $(HOST_SUBDIR)/itcl && \
18647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18649 "RANLIB=$${RANLIB}" \
18650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18651 maintainer-clean) \
18652 || exit 1
18654 @endif itcl
18658 .PHONY: configure-ld maybe-configure-ld
18659 maybe-configure-ld:
18660 @if gcc-bootstrap
18661 configure-ld: stage_current
18662 @endif gcc-bootstrap
18663 @if ld
18664 maybe-configure-ld: configure-ld
18665 configure-ld:
18666 @r=`${PWD_COMMAND}`; export r; \
18667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18670 $(HOST_EXPORTS) \
18671 echo Configuring in $(HOST_SUBDIR)/ld; \
18672 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18673 case $(srcdir) in \
18674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18675 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18677 esac; \
18678 srcdiroption="--srcdir=$${topdir}/ld"; \
18679 libsrcdir="$$s/ld"; \
18680 $(SHELL) $${libsrcdir}/configure \
18681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18682 --target=${target_alias} $${srcdiroption} \
18683 || exit 1
18684 @endif ld
18688 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18689 maybe-configure-stage1-ld:
18690 @if ld-bootstrap
18691 maybe-configure-stage1-ld: configure-stage1-ld
18692 configure-stage1-ld:
18693 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18695 @r=`${PWD_COMMAND}`; export r; \
18696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 TFLAGS="$(STAGE1_TFLAGS)"; \
18698 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18699 $(HOST_EXPORTS) \
18700 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18701 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18702 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18703 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18705 cd $(HOST_SUBDIR)/ld || exit 1; \
18706 case $(srcdir) in \
18707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18708 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18710 esac; \
18711 srcdiroption="--srcdir=$${topdir}/ld"; \
18712 libsrcdir="$$s/ld"; \
18713 $(SHELL) $${libsrcdir}/configure \
18714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18715 --target=${target_alias} $${srcdiroption} \
18716 $(STAGE1_CONFIGURE_FLAGS)
18717 @endif ld-bootstrap
18719 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18720 maybe-configure-stage2-ld:
18721 @if ld-bootstrap
18722 maybe-configure-stage2-ld: configure-stage2-ld
18723 configure-stage2-ld:
18724 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18726 @r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18728 TFLAGS="$(STAGE2_TFLAGS)"; \
18729 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18730 $(HOST_EXPORTS) \
18731 $(POSTSTAGE1_HOST_EXPORTS) \
18732 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18733 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18734 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18735 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18737 cd $(HOST_SUBDIR)/ld || exit 1; \
18738 case $(srcdir) in \
18739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18740 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18742 esac; \
18743 srcdiroption="--srcdir=$${topdir}/ld"; \
18744 libsrcdir="$$s/ld"; \
18745 $(SHELL) $${libsrcdir}/configure \
18746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18747 --target=${target_alias} $${srcdiroption} \
18748 --with-build-libsubdir=$(HOST_SUBDIR) \
18749 $(STAGE2_CONFIGURE_FLAGS)
18750 @endif ld-bootstrap
18752 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18753 maybe-configure-stage3-ld:
18754 @if ld-bootstrap
18755 maybe-configure-stage3-ld: configure-stage3-ld
18756 configure-stage3-ld:
18757 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18759 @r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 TFLAGS="$(STAGE3_TFLAGS)"; \
18762 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18763 $(HOST_EXPORTS) \
18764 $(POSTSTAGE1_HOST_EXPORTS) \
18765 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18766 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18767 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18768 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18770 cd $(HOST_SUBDIR)/ld || exit 1; \
18771 case $(srcdir) in \
18772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18773 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18775 esac; \
18776 srcdiroption="--srcdir=$${topdir}/ld"; \
18777 libsrcdir="$$s/ld"; \
18778 $(SHELL) $${libsrcdir}/configure \
18779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18780 --target=${target_alias} $${srcdiroption} \
18781 --with-build-libsubdir=$(HOST_SUBDIR) \
18782 $(STAGE3_CONFIGURE_FLAGS)
18783 @endif ld-bootstrap
18785 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18786 maybe-configure-stage4-ld:
18787 @if ld-bootstrap
18788 maybe-configure-stage4-ld: configure-stage4-ld
18789 configure-stage4-ld:
18790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18792 @r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 TFLAGS="$(STAGE4_TFLAGS)"; \
18795 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18796 $(HOST_EXPORTS) \
18797 $(POSTSTAGE1_HOST_EXPORTS) \
18798 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18799 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18800 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18801 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18803 cd $(HOST_SUBDIR)/ld || exit 1; \
18804 case $(srcdir) in \
18805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18806 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18808 esac; \
18809 srcdiroption="--srcdir=$${topdir}/ld"; \
18810 libsrcdir="$$s/ld"; \
18811 $(SHELL) $${libsrcdir}/configure \
18812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18813 --target=${target_alias} $${srcdiroption} \
18814 --with-build-libsubdir=$(HOST_SUBDIR) \
18815 $(STAGE4_CONFIGURE_FLAGS)
18816 @endif ld-bootstrap
18818 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18819 maybe-configure-stageprofile-ld:
18820 @if ld-bootstrap
18821 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18822 configure-stageprofile-ld:
18823 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18825 @r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18828 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18829 $(HOST_EXPORTS) \
18830 $(POSTSTAGE1_HOST_EXPORTS) \
18831 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18832 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18833 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18834 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18836 cd $(HOST_SUBDIR)/ld || exit 1; \
18837 case $(srcdir) in \
18838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18839 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18841 esac; \
18842 srcdiroption="--srcdir=$${topdir}/ld"; \
18843 libsrcdir="$$s/ld"; \
18844 $(SHELL) $${libsrcdir}/configure \
18845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18846 --target=${target_alias} $${srcdiroption} \
18847 --with-build-libsubdir=$(HOST_SUBDIR) \
18848 $(STAGEprofile_CONFIGURE_FLAGS)
18849 @endif ld-bootstrap
18851 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18852 maybe-configure-stagefeedback-ld:
18853 @if ld-bootstrap
18854 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18855 configure-stagefeedback-ld:
18856 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18858 @r=`${PWD_COMMAND}`; export r; \
18859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18861 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18862 $(HOST_EXPORTS) \
18863 $(POSTSTAGE1_HOST_EXPORTS) \
18864 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18865 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18866 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18867 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18869 cd $(HOST_SUBDIR)/ld || exit 1; \
18870 case $(srcdir) in \
18871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18872 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18874 esac; \
18875 srcdiroption="--srcdir=$${topdir}/ld"; \
18876 libsrcdir="$$s/ld"; \
18877 $(SHELL) $${libsrcdir}/configure \
18878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18879 --target=${target_alias} $${srcdiroption} \
18880 --with-build-libsubdir=$(HOST_SUBDIR) \
18881 $(STAGEfeedback_CONFIGURE_FLAGS)
18882 @endif ld-bootstrap
18888 .PHONY: all-ld maybe-all-ld
18889 maybe-all-ld:
18890 @if gcc-bootstrap
18891 all-ld: stage_current
18892 @endif gcc-bootstrap
18893 @if ld
18894 TARGET-ld=all
18895 maybe-all-ld: all-ld
18896 all-ld: configure-ld
18897 @r=`${PWD_COMMAND}`; export r; \
18898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18899 $(HOST_EXPORTS) \
18900 (cd $(HOST_SUBDIR)/ld && \
18901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18902 $(TARGET-ld))
18903 @endif ld
18907 .PHONY: all-stage1-ld maybe-all-stage1-ld
18908 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18909 maybe-all-stage1-ld:
18910 maybe-clean-stage1-ld:
18911 @if ld-bootstrap
18912 maybe-all-stage1-ld: all-stage1-ld
18913 all-stage1: all-stage1-ld
18914 TARGET-stage1-ld = $(TARGET-ld)
18915 all-stage1-ld: configure-stage1-ld
18916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18917 @r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 TFLAGS="$(STAGE1_TFLAGS)"; \
18920 $(HOST_EXPORTS) \
18921 cd $(HOST_SUBDIR)/ld && \
18922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18923 CFLAGS="$(STAGE1_CFLAGS)" \
18924 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18925 LIBCFLAGS="$(LIBCFLAGS)" \
18926 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18927 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18928 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18929 $(EXTRA_HOST_FLAGS) \
18930 $(STAGE1_FLAGS_TO_PASS) \
18931 TFLAGS="$(STAGE1_TFLAGS)" \
18932 $(TARGET-stage1-ld)
18934 maybe-clean-stage1-ld: clean-stage1-ld
18935 clean-stage1: clean-stage1-ld
18936 clean-stage1-ld:
18937 @if [ $(current_stage) = stage1 ]; then \
18938 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18939 else \
18940 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18941 $(MAKE) stage1-start; \
18942 fi; \
18943 cd $(HOST_SUBDIR)/ld && \
18944 $(MAKE) $(EXTRA_HOST_FLAGS) \
18945 $(STAGE1_FLAGS_TO_PASS) clean
18946 @endif ld-bootstrap
18949 .PHONY: all-stage2-ld maybe-all-stage2-ld
18950 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18951 maybe-all-stage2-ld:
18952 maybe-clean-stage2-ld:
18953 @if ld-bootstrap
18954 maybe-all-stage2-ld: all-stage2-ld
18955 all-stage2: all-stage2-ld
18956 TARGET-stage2-ld = $(TARGET-ld)
18957 all-stage2-ld: configure-stage2-ld
18958 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18959 @r=`${PWD_COMMAND}`; export r; \
18960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18961 TFLAGS="$(STAGE2_TFLAGS)"; \
18962 $(HOST_EXPORTS) \
18963 $(POSTSTAGE1_HOST_EXPORTS) \
18964 cd $(HOST_SUBDIR)/ld && \
18965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18966 CFLAGS="$(STAGE2_CFLAGS)" \
18967 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18968 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18972 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18973 TFLAGS="$(STAGE2_TFLAGS)" \
18974 $(TARGET-stage2-ld)
18976 maybe-clean-stage2-ld: clean-stage2-ld
18977 clean-stage2: clean-stage2-ld
18978 clean-stage2-ld:
18979 @if [ $(current_stage) = stage2 ]; then \
18980 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18981 else \
18982 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18983 $(MAKE) stage2-start; \
18984 fi; \
18985 cd $(HOST_SUBDIR)/ld && \
18986 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18987 @endif ld-bootstrap
18990 .PHONY: all-stage3-ld maybe-all-stage3-ld
18991 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18992 maybe-all-stage3-ld:
18993 maybe-clean-stage3-ld:
18994 @if ld-bootstrap
18995 maybe-all-stage3-ld: all-stage3-ld
18996 all-stage3: all-stage3-ld
18997 TARGET-stage3-ld = $(TARGET-ld)
18998 all-stage3-ld: configure-stage3-ld
18999 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19000 @r=`${PWD_COMMAND}`; export r; \
19001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19002 TFLAGS="$(STAGE3_TFLAGS)"; \
19003 $(HOST_EXPORTS) \
19004 $(POSTSTAGE1_HOST_EXPORTS) \
19005 cd $(HOST_SUBDIR)/ld && \
19006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19007 CFLAGS="$(STAGE3_CFLAGS)" \
19008 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19009 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19014 TFLAGS="$(STAGE3_TFLAGS)" \
19015 $(TARGET-stage3-ld)
19017 maybe-clean-stage3-ld: clean-stage3-ld
19018 clean-stage3: clean-stage3-ld
19019 clean-stage3-ld:
19020 @if [ $(current_stage) = stage3 ]; then \
19021 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19022 else \
19023 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19024 $(MAKE) stage3-start; \
19025 fi; \
19026 cd $(HOST_SUBDIR)/ld && \
19027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19028 @endif ld-bootstrap
19031 .PHONY: all-stage4-ld maybe-all-stage4-ld
19032 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19033 maybe-all-stage4-ld:
19034 maybe-clean-stage4-ld:
19035 @if ld-bootstrap
19036 maybe-all-stage4-ld: all-stage4-ld
19037 all-stage4: all-stage4-ld
19038 TARGET-stage4-ld = $(TARGET-ld)
19039 all-stage4-ld: configure-stage4-ld
19040 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19041 @r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 TFLAGS="$(STAGE4_TFLAGS)"; \
19044 $(HOST_EXPORTS) \
19045 $(POSTSTAGE1_HOST_EXPORTS) \
19046 cd $(HOST_SUBDIR)/ld && \
19047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19048 CFLAGS="$(STAGE4_CFLAGS)" \
19049 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19050 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19055 TFLAGS="$(STAGE4_TFLAGS)" \
19056 $(TARGET-stage4-ld)
19058 maybe-clean-stage4-ld: clean-stage4-ld
19059 clean-stage4: clean-stage4-ld
19060 clean-stage4-ld:
19061 @if [ $(current_stage) = stage4 ]; then \
19062 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19063 else \
19064 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19065 $(MAKE) stage4-start; \
19066 fi; \
19067 cd $(HOST_SUBDIR)/ld && \
19068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19069 @endif ld-bootstrap
19072 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19073 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19074 maybe-all-stageprofile-ld:
19075 maybe-clean-stageprofile-ld:
19076 @if ld-bootstrap
19077 maybe-all-stageprofile-ld: all-stageprofile-ld
19078 all-stageprofile: all-stageprofile-ld
19079 TARGET-stageprofile-ld = $(TARGET-ld)
19080 all-stageprofile-ld: configure-stageprofile-ld
19081 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19082 @r=`${PWD_COMMAND}`; export r; \
19083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19084 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19085 $(HOST_EXPORTS) \
19086 $(POSTSTAGE1_HOST_EXPORTS) \
19087 cd $(HOST_SUBDIR)/ld && \
19088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19089 CFLAGS="$(STAGEprofile_CFLAGS)" \
19090 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19091 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19096 TFLAGS="$(STAGEprofile_TFLAGS)" \
19097 $(TARGET-stageprofile-ld)
19099 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19100 clean-stageprofile: clean-stageprofile-ld
19101 clean-stageprofile-ld:
19102 @if [ $(current_stage) = stageprofile ]; then \
19103 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19104 else \
19105 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19106 $(MAKE) stageprofile-start; \
19107 fi; \
19108 cd $(HOST_SUBDIR)/ld && \
19109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19110 @endif ld-bootstrap
19113 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19114 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19115 maybe-all-stagefeedback-ld:
19116 maybe-clean-stagefeedback-ld:
19117 @if ld-bootstrap
19118 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19119 all-stagefeedback: all-stagefeedback-ld
19120 TARGET-stagefeedback-ld = $(TARGET-ld)
19121 all-stagefeedback-ld: configure-stagefeedback-ld
19122 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19123 @r=`${PWD_COMMAND}`; export r; \
19124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19125 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19126 $(HOST_EXPORTS) \
19127 $(POSTSTAGE1_HOST_EXPORTS) \
19128 cd $(HOST_SUBDIR)/ld && \
19129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19130 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19131 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19132 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19137 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19138 $(TARGET-stagefeedback-ld)
19140 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19141 clean-stagefeedback: clean-stagefeedback-ld
19142 clean-stagefeedback-ld:
19143 @if [ $(current_stage) = stagefeedback ]; then \
19144 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19145 else \
19146 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19147 $(MAKE) stagefeedback-start; \
19148 fi; \
19149 cd $(HOST_SUBDIR)/ld && \
19150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19151 @endif ld-bootstrap
19157 .PHONY: check-ld maybe-check-ld
19158 maybe-check-ld:
19159 @if ld
19160 maybe-check-ld: check-ld
19162 check-ld:
19163 @: $(MAKE); $(unstage)
19164 @r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 (cd $(HOST_SUBDIR)/ld && \
19168 $(MAKE) $(FLAGS_TO_PASS) check)
19170 @endif ld
19172 .PHONY: install-ld maybe-install-ld
19173 maybe-install-ld:
19174 @if ld
19175 maybe-install-ld: install-ld
19177 install-ld: installdirs
19178 @: $(MAKE); $(unstage)
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 (cd $(HOST_SUBDIR)/ld && \
19183 $(MAKE) $(FLAGS_TO_PASS) install)
19185 @endif ld
19187 .PHONY: install-strip-ld maybe-install-strip-ld
19188 maybe-install-strip-ld:
19189 @if ld
19190 maybe-install-strip-ld: install-strip-ld
19192 install-strip-ld: installdirs
19193 @: $(MAKE); $(unstage)
19194 @r=`${PWD_COMMAND}`; export r; \
19195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19196 $(HOST_EXPORTS) \
19197 (cd $(HOST_SUBDIR)/ld && \
19198 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19200 @endif ld
19202 # Other targets (info, dvi, pdf, etc.)
19204 .PHONY: maybe-info-ld info-ld
19205 maybe-info-ld:
19206 @if ld
19207 maybe-info-ld: info-ld
19209 info-ld: \
19210 configure-ld
19211 @[ -f ./ld/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 $(HOST_EXPORTS) \
19215 for flag in $(EXTRA_HOST_FLAGS) ; do \
19216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19217 done; \
19218 echo "Doing info in ld" ; \
19219 (cd $(HOST_SUBDIR)/ld && \
19220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19222 "RANLIB=$${RANLIB}" \
19223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19224 info) \
19225 || exit 1
19227 @endif ld
19229 .PHONY: maybe-dvi-ld dvi-ld
19230 maybe-dvi-ld:
19231 @if ld
19232 maybe-dvi-ld: dvi-ld
19234 dvi-ld: \
19235 configure-ld
19236 @[ -f ./ld/Makefile ] || exit 0; \
19237 r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 $(HOST_EXPORTS) \
19240 for flag in $(EXTRA_HOST_FLAGS) ; do \
19241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19242 done; \
19243 echo "Doing dvi in ld" ; \
19244 (cd $(HOST_SUBDIR)/ld && \
19245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19247 "RANLIB=$${RANLIB}" \
19248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19249 dvi) \
19250 || exit 1
19252 @endif ld
19254 .PHONY: maybe-pdf-ld pdf-ld
19255 maybe-pdf-ld:
19256 @if ld
19257 maybe-pdf-ld: pdf-ld
19259 pdf-ld: \
19260 configure-ld
19261 @[ -f ./ld/Makefile ] || exit 0; \
19262 r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 $(HOST_EXPORTS) \
19265 for flag in $(EXTRA_HOST_FLAGS) ; do \
19266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19267 done; \
19268 echo "Doing pdf in ld" ; \
19269 (cd $(HOST_SUBDIR)/ld && \
19270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19272 "RANLIB=$${RANLIB}" \
19273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19274 pdf) \
19275 || exit 1
19277 @endif ld
19279 .PHONY: maybe-html-ld html-ld
19280 maybe-html-ld:
19281 @if ld
19282 maybe-html-ld: html-ld
19284 html-ld: \
19285 configure-ld
19286 @[ -f ./ld/Makefile ] || exit 0; \
19287 r=`${PWD_COMMAND}`; export r; \
19288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19289 $(HOST_EXPORTS) \
19290 for flag in $(EXTRA_HOST_FLAGS) ; do \
19291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19292 done; \
19293 echo "Doing html in ld" ; \
19294 (cd $(HOST_SUBDIR)/ld && \
19295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19297 "RANLIB=$${RANLIB}" \
19298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19299 html) \
19300 || exit 1
19302 @endif ld
19304 .PHONY: maybe-TAGS-ld TAGS-ld
19305 maybe-TAGS-ld:
19306 @if ld
19307 maybe-TAGS-ld: TAGS-ld
19309 TAGS-ld: \
19310 configure-ld
19311 @[ -f ./ld/Makefile ] || exit 0; \
19312 r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 $(HOST_EXPORTS) \
19315 for flag in $(EXTRA_HOST_FLAGS) ; do \
19316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19317 done; \
19318 echo "Doing TAGS in ld" ; \
19319 (cd $(HOST_SUBDIR)/ld && \
19320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19322 "RANLIB=$${RANLIB}" \
19323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19324 TAGS) \
19325 || exit 1
19327 @endif ld
19329 .PHONY: maybe-install-info-ld install-info-ld
19330 maybe-install-info-ld:
19331 @if ld
19332 maybe-install-info-ld: install-info-ld
19334 install-info-ld: \
19335 configure-ld \
19336 info-ld
19337 @[ -f ./ld/Makefile ] || exit 0; \
19338 r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19340 $(HOST_EXPORTS) \
19341 for flag in $(EXTRA_HOST_FLAGS) ; do \
19342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19343 done; \
19344 echo "Doing install-info in ld" ; \
19345 (cd $(HOST_SUBDIR)/ld && \
19346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19348 "RANLIB=$${RANLIB}" \
19349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19350 install-info) \
19351 || exit 1
19353 @endif ld
19355 .PHONY: maybe-install-pdf-ld install-pdf-ld
19356 maybe-install-pdf-ld:
19357 @if ld
19358 maybe-install-pdf-ld: install-pdf-ld
19360 install-pdf-ld: \
19361 configure-ld \
19362 pdf-ld
19363 @[ -f ./ld/Makefile ] || exit 0; \
19364 r=`${PWD_COMMAND}`; export r; \
19365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19366 $(HOST_EXPORTS) \
19367 for flag in $(EXTRA_HOST_FLAGS) ; do \
19368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19369 done; \
19370 echo "Doing install-pdf in ld" ; \
19371 (cd $(HOST_SUBDIR)/ld && \
19372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19374 "RANLIB=$${RANLIB}" \
19375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19376 install-pdf) \
19377 || exit 1
19379 @endif ld
19381 .PHONY: maybe-install-html-ld install-html-ld
19382 maybe-install-html-ld:
19383 @if ld
19384 maybe-install-html-ld: install-html-ld
19386 install-html-ld: \
19387 configure-ld \
19388 html-ld
19389 @[ -f ./ld/Makefile ] || exit 0; \
19390 r=`${PWD_COMMAND}`; export r; \
19391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19392 $(HOST_EXPORTS) \
19393 for flag in $(EXTRA_HOST_FLAGS) ; do \
19394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19395 done; \
19396 echo "Doing install-html in ld" ; \
19397 (cd $(HOST_SUBDIR)/ld && \
19398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19400 "RANLIB=$${RANLIB}" \
19401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19402 install-html) \
19403 || exit 1
19405 @endif ld
19407 .PHONY: maybe-installcheck-ld installcheck-ld
19408 maybe-installcheck-ld:
19409 @if ld
19410 maybe-installcheck-ld: installcheck-ld
19412 installcheck-ld: \
19413 configure-ld
19414 @[ -f ./ld/Makefile ] || exit 0; \
19415 r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 $(HOST_EXPORTS) \
19418 for flag in $(EXTRA_HOST_FLAGS) ; do \
19419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19420 done; \
19421 echo "Doing installcheck in ld" ; \
19422 (cd $(HOST_SUBDIR)/ld && \
19423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19425 "RANLIB=$${RANLIB}" \
19426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19427 installcheck) \
19428 || exit 1
19430 @endif ld
19432 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19433 maybe-mostlyclean-ld:
19434 @if ld
19435 maybe-mostlyclean-ld: mostlyclean-ld
19437 mostlyclean-ld:
19438 @[ -f ./ld/Makefile ] || exit 0; \
19439 r=`${PWD_COMMAND}`; export r; \
19440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19441 $(HOST_EXPORTS) \
19442 for flag in $(EXTRA_HOST_FLAGS) ; do \
19443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19444 done; \
19445 echo "Doing mostlyclean in ld" ; \
19446 (cd $(HOST_SUBDIR)/ld && \
19447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19449 "RANLIB=$${RANLIB}" \
19450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19451 mostlyclean) \
19452 || exit 1
19454 @endif ld
19456 .PHONY: maybe-clean-ld clean-ld
19457 maybe-clean-ld:
19458 @if ld
19459 maybe-clean-ld: clean-ld
19461 clean-ld:
19462 @[ -f ./ld/Makefile ] || exit 0; \
19463 r=`${PWD_COMMAND}`; export r; \
19464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19465 $(HOST_EXPORTS) \
19466 for flag in $(EXTRA_HOST_FLAGS) ; do \
19467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19468 done; \
19469 echo "Doing clean in ld" ; \
19470 (cd $(HOST_SUBDIR)/ld && \
19471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19473 "RANLIB=$${RANLIB}" \
19474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19475 clean) \
19476 || exit 1
19478 @endif ld
19480 .PHONY: maybe-distclean-ld distclean-ld
19481 maybe-distclean-ld:
19482 @if ld
19483 maybe-distclean-ld: distclean-ld
19485 distclean-ld:
19486 @[ -f ./ld/Makefile ] || exit 0; \
19487 r=`${PWD_COMMAND}`; export r; \
19488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19489 $(HOST_EXPORTS) \
19490 for flag in $(EXTRA_HOST_FLAGS) ; do \
19491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19492 done; \
19493 echo "Doing distclean in ld" ; \
19494 (cd $(HOST_SUBDIR)/ld && \
19495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19497 "RANLIB=$${RANLIB}" \
19498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19499 distclean) \
19500 || exit 1
19502 @endif ld
19504 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19505 maybe-maintainer-clean-ld:
19506 @if ld
19507 maybe-maintainer-clean-ld: maintainer-clean-ld
19509 maintainer-clean-ld:
19510 @[ -f ./ld/Makefile ] || exit 0; \
19511 r=`${PWD_COMMAND}`; export r; \
19512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 $(HOST_EXPORTS) \
19514 for flag in $(EXTRA_HOST_FLAGS) ; do \
19515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19516 done; \
19517 echo "Doing maintainer-clean in ld" ; \
19518 (cd $(HOST_SUBDIR)/ld && \
19519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19521 "RANLIB=$${RANLIB}" \
19522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19523 maintainer-clean) \
19524 || exit 1
19526 @endif ld
19530 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19531 maybe-configure-libbacktrace:
19532 @if gcc-bootstrap
19533 configure-libbacktrace: stage_current
19534 @endif gcc-bootstrap
19535 @if libbacktrace
19536 maybe-configure-libbacktrace: configure-libbacktrace
19537 configure-libbacktrace:
19538 @r=`${PWD_COMMAND}`; export r; \
19539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19540 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19542 $(HOST_EXPORTS) \
19543 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19544 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19545 case $(srcdir) in \
19546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19547 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19549 esac; \
19550 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19551 libsrcdir="$$s/libbacktrace"; \
19552 $(SHELL) $${libsrcdir}/configure \
19553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19554 --target=${target_alias} $${srcdiroption} \
19555 || exit 1
19556 @endif libbacktrace
19560 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19561 maybe-configure-stage1-libbacktrace:
19562 @if libbacktrace-bootstrap
19563 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19564 configure-stage1-libbacktrace:
19565 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19567 @r=`${PWD_COMMAND}`; export r; \
19568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19569 TFLAGS="$(STAGE1_TFLAGS)"; \
19570 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19571 $(HOST_EXPORTS) \
19572 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19573 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19574 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19575 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19577 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19578 case $(srcdir) in \
19579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19580 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19582 esac; \
19583 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19584 libsrcdir="$$s/libbacktrace"; \
19585 $(SHELL) $${libsrcdir}/configure \
19586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19587 --target=${target_alias} $${srcdiroption} \
19588 $(STAGE1_CONFIGURE_FLAGS)
19589 @endif libbacktrace-bootstrap
19591 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19592 maybe-configure-stage2-libbacktrace:
19593 @if libbacktrace-bootstrap
19594 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19595 configure-stage2-libbacktrace:
19596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19598 @r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 TFLAGS="$(STAGE2_TFLAGS)"; \
19601 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19602 $(HOST_EXPORTS) \
19603 $(POSTSTAGE1_HOST_EXPORTS) \
19604 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19605 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19606 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19607 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19609 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19610 case $(srcdir) in \
19611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19612 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19614 esac; \
19615 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19616 libsrcdir="$$s/libbacktrace"; \
19617 $(SHELL) $${libsrcdir}/configure \
19618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19619 --target=${target_alias} $${srcdiroption} \
19620 --with-build-libsubdir=$(HOST_SUBDIR) \
19621 $(STAGE2_CONFIGURE_FLAGS)
19622 @endif libbacktrace-bootstrap
19624 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19625 maybe-configure-stage3-libbacktrace:
19626 @if libbacktrace-bootstrap
19627 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19628 configure-stage3-libbacktrace:
19629 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19631 @r=`${PWD_COMMAND}`; export r; \
19632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 TFLAGS="$(STAGE3_TFLAGS)"; \
19634 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19635 $(HOST_EXPORTS) \
19636 $(POSTSTAGE1_HOST_EXPORTS) \
19637 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19638 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19639 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19640 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19642 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19643 case $(srcdir) in \
19644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19645 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19647 esac; \
19648 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19649 libsrcdir="$$s/libbacktrace"; \
19650 $(SHELL) $${libsrcdir}/configure \
19651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19652 --target=${target_alias} $${srcdiroption} \
19653 --with-build-libsubdir=$(HOST_SUBDIR) \
19654 $(STAGE3_CONFIGURE_FLAGS)
19655 @endif libbacktrace-bootstrap
19657 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19658 maybe-configure-stage4-libbacktrace:
19659 @if libbacktrace-bootstrap
19660 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19661 configure-stage4-libbacktrace:
19662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19664 @r=`${PWD_COMMAND}`; export r; \
19665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19666 TFLAGS="$(STAGE4_TFLAGS)"; \
19667 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19668 $(HOST_EXPORTS) \
19669 $(POSTSTAGE1_HOST_EXPORTS) \
19670 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19671 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19672 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19673 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19675 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19676 case $(srcdir) in \
19677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19678 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19680 esac; \
19681 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19682 libsrcdir="$$s/libbacktrace"; \
19683 $(SHELL) $${libsrcdir}/configure \
19684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19685 --target=${target_alias} $${srcdiroption} \
19686 --with-build-libsubdir=$(HOST_SUBDIR) \
19687 $(STAGE4_CONFIGURE_FLAGS)
19688 @endif libbacktrace-bootstrap
19690 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19691 maybe-configure-stageprofile-libbacktrace:
19692 @if libbacktrace-bootstrap
19693 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19694 configure-stageprofile-libbacktrace:
19695 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19697 @r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19700 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19701 $(HOST_EXPORTS) \
19702 $(POSTSTAGE1_HOST_EXPORTS) \
19703 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19704 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19705 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19706 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19708 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19709 case $(srcdir) in \
19710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19711 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19713 esac; \
19714 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19715 libsrcdir="$$s/libbacktrace"; \
19716 $(SHELL) $${libsrcdir}/configure \
19717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19718 --target=${target_alias} $${srcdiroption} \
19719 --with-build-libsubdir=$(HOST_SUBDIR) \
19720 $(STAGEprofile_CONFIGURE_FLAGS)
19721 @endif libbacktrace-bootstrap
19723 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19724 maybe-configure-stagefeedback-libbacktrace:
19725 @if libbacktrace-bootstrap
19726 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19727 configure-stagefeedback-libbacktrace:
19728 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19730 @r=`${PWD_COMMAND}`; export r; \
19731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19733 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19734 $(HOST_EXPORTS) \
19735 $(POSTSTAGE1_HOST_EXPORTS) \
19736 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19737 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19738 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19739 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19741 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19742 case $(srcdir) in \
19743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19744 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19746 esac; \
19747 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19748 libsrcdir="$$s/libbacktrace"; \
19749 $(SHELL) $${libsrcdir}/configure \
19750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19751 --target=${target_alias} $${srcdiroption} \
19752 --with-build-libsubdir=$(HOST_SUBDIR) \
19753 $(STAGEfeedback_CONFIGURE_FLAGS)
19754 @endif libbacktrace-bootstrap
19760 .PHONY: all-libbacktrace maybe-all-libbacktrace
19761 maybe-all-libbacktrace:
19762 @if gcc-bootstrap
19763 all-libbacktrace: stage_current
19764 @endif gcc-bootstrap
19765 @if libbacktrace
19766 TARGET-libbacktrace=all
19767 maybe-all-libbacktrace: all-libbacktrace
19768 all-libbacktrace: configure-libbacktrace
19769 @r=`${PWD_COMMAND}`; export r; \
19770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19771 $(HOST_EXPORTS) \
19772 (cd $(HOST_SUBDIR)/libbacktrace && \
19773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19774 $(TARGET-libbacktrace))
19775 @endif libbacktrace
19779 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19780 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19781 maybe-all-stage1-libbacktrace:
19782 maybe-clean-stage1-libbacktrace:
19783 @if libbacktrace-bootstrap
19784 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19785 all-stage1: all-stage1-libbacktrace
19786 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19787 all-stage1-libbacktrace: configure-stage1-libbacktrace
19788 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19789 @r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791 TFLAGS="$(STAGE1_TFLAGS)"; \
19792 $(HOST_EXPORTS) \
19793 cd $(HOST_SUBDIR)/libbacktrace && \
19794 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19795 CFLAGS="$(STAGE1_CFLAGS)" \
19796 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19797 LIBCFLAGS="$(LIBCFLAGS)" \
19798 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19799 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19800 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19801 $(EXTRA_HOST_FLAGS) \
19802 $(STAGE1_FLAGS_TO_PASS) \
19803 TFLAGS="$(STAGE1_TFLAGS)" \
19804 $(TARGET-stage1-libbacktrace)
19806 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19807 clean-stage1: clean-stage1-libbacktrace
19808 clean-stage1-libbacktrace:
19809 @if [ $(current_stage) = stage1 ]; then \
19810 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19811 else \
19812 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19813 $(MAKE) stage1-start; \
19814 fi; \
19815 cd $(HOST_SUBDIR)/libbacktrace && \
19816 $(MAKE) $(EXTRA_HOST_FLAGS) \
19817 $(STAGE1_FLAGS_TO_PASS) clean
19818 @endif libbacktrace-bootstrap
19821 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19822 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19823 maybe-all-stage2-libbacktrace:
19824 maybe-clean-stage2-libbacktrace:
19825 @if libbacktrace-bootstrap
19826 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19827 all-stage2: all-stage2-libbacktrace
19828 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19829 all-stage2-libbacktrace: configure-stage2-libbacktrace
19830 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19831 @r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19833 TFLAGS="$(STAGE2_TFLAGS)"; \
19834 $(HOST_EXPORTS) \
19835 $(POSTSTAGE1_HOST_EXPORTS) \
19836 cd $(HOST_SUBDIR)/libbacktrace && \
19837 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19838 CFLAGS="$(STAGE2_CFLAGS)" \
19839 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19840 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19841 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19842 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19843 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19844 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19845 TFLAGS="$(STAGE2_TFLAGS)" \
19846 $(TARGET-stage2-libbacktrace)
19848 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19849 clean-stage2: clean-stage2-libbacktrace
19850 clean-stage2-libbacktrace:
19851 @if [ $(current_stage) = stage2 ]; then \
19852 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19853 else \
19854 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19855 $(MAKE) stage2-start; \
19856 fi; \
19857 cd $(HOST_SUBDIR)/libbacktrace && \
19858 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19859 @endif libbacktrace-bootstrap
19862 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19863 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19864 maybe-all-stage3-libbacktrace:
19865 maybe-clean-stage3-libbacktrace:
19866 @if libbacktrace-bootstrap
19867 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19868 all-stage3: all-stage3-libbacktrace
19869 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19870 all-stage3-libbacktrace: configure-stage3-libbacktrace
19871 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19872 @r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 TFLAGS="$(STAGE3_TFLAGS)"; \
19875 $(HOST_EXPORTS) \
19876 $(POSTSTAGE1_HOST_EXPORTS) \
19877 cd $(HOST_SUBDIR)/libbacktrace && \
19878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19879 CFLAGS="$(STAGE3_CFLAGS)" \
19880 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19881 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19886 TFLAGS="$(STAGE3_TFLAGS)" \
19887 $(TARGET-stage3-libbacktrace)
19889 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19890 clean-stage3: clean-stage3-libbacktrace
19891 clean-stage3-libbacktrace:
19892 @if [ $(current_stage) = stage3 ]; then \
19893 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19894 else \
19895 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19896 $(MAKE) stage3-start; \
19897 fi; \
19898 cd $(HOST_SUBDIR)/libbacktrace && \
19899 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19900 @endif libbacktrace-bootstrap
19903 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19904 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19905 maybe-all-stage4-libbacktrace:
19906 maybe-clean-stage4-libbacktrace:
19907 @if libbacktrace-bootstrap
19908 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19909 all-stage4: all-stage4-libbacktrace
19910 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19911 all-stage4-libbacktrace: configure-stage4-libbacktrace
19912 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19913 @r=`${PWD_COMMAND}`; export r; \
19914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19915 TFLAGS="$(STAGE4_TFLAGS)"; \
19916 $(HOST_EXPORTS) \
19917 $(POSTSTAGE1_HOST_EXPORTS) \
19918 cd $(HOST_SUBDIR)/libbacktrace && \
19919 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19920 CFLAGS="$(STAGE4_CFLAGS)" \
19921 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19922 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19923 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19924 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19925 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19926 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19927 TFLAGS="$(STAGE4_TFLAGS)" \
19928 $(TARGET-stage4-libbacktrace)
19930 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19931 clean-stage4: clean-stage4-libbacktrace
19932 clean-stage4-libbacktrace:
19933 @if [ $(current_stage) = stage4 ]; then \
19934 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19935 else \
19936 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19937 $(MAKE) stage4-start; \
19938 fi; \
19939 cd $(HOST_SUBDIR)/libbacktrace && \
19940 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19941 @endif libbacktrace-bootstrap
19944 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19945 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19946 maybe-all-stageprofile-libbacktrace:
19947 maybe-clean-stageprofile-libbacktrace:
19948 @if libbacktrace-bootstrap
19949 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19950 all-stageprofile: all-stageprofile-libbacktrace
19951 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19952 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19953 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19954 @r=`${PWD_COMMAND}`; export r; \
19955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19956 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19957 $(HOST_EXPORTS) \
19958 $(POSTSTAGE1_HOST_EXPORTS) \
19959 cd $(HOST_SUBDIR)/libbacktrace && \
19960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19961 CFLAGS="$(STAGEprofile_CFLAGS)" \
19962 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19963 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19968 TFLAGS="$(STAGEprofile_TFLAGS)" \
19969 $(TARGET-stageprofile-libbacktrace)
19971 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19972 clean-stageprofile: clean-stageprofile-libbacktrace
19973 clean-stageprofile-libbacktrace:
19974 @if [ $(current_stage) = stageprofile ]; then \
19975 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19976 else \
19977 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19978 $(MAKE) stageprofile-start; \
19979 fi; \
19980 cd $(HOST_SUBDIR)/libbacktrace && \
19981 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19982 @endif libbacktrace-bootstrap
19985 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19986 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19987 maybe-all-stagefeedback-libbacktrace:
19988 maybe-clean-stagefeedback-libbacktrace:
19989 @if libbacktrace-bootstrap
19990 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19991 all-stagefeedback: all-stagefeedback-libbacktrace
19992 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19993 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19994 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19995 @r=`${PWD_COMMAND}`; export r; \
19996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19998 $(HOST_EXPORTS) \
19999 $(POSTSTAGE1_HOST_EXPORTS) \
20000 cd $(HOST_SUBDIR)/libbacktrace && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20002 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20003 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20004 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20005 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20006 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20007 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20008 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20009 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20010 $(TARGET-stagefeedback-libbacktrace)
20012 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20013 clean-stagefeedback: clean-stagefeedback-libbacktrace
20014 clean-stagefeedback-libbacktrace:
20015 @if [ $(current_stage) = stagefeedback ]; then \
20016 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20017 else \
20018 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20019 $(MAKE) stagefeedback-start; \
20020 fi; \
20021 cd $(HOST_SUBDIR)/libbacktrace && \
20022 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20023 @endif libbacktrace-bootstrap
20029 .PHONY: check-libbacktrace maybe-check-libbacktrace
20030 maybe-check-libbacktrace:
20031 @if libbacktrace
20032 maybe-check-libbacktrace: check-libbacktrace
20034 check-libbacktrace:
20035 @: $(MAKE); $(unstage)
20036 @r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 $(HOST_EXPORTS) \
20039 (cd $(HOST_SUBDIR)/libbacktrace && \
20040 $(MAKE) $(FLAGS_TO_PASS) check)
20042 @endif libbacktrace
20044 .PHONY: install-libbacktrace maybe-install-libbacktrace
20045 maybe-install-libbacktrace:
20046 @if libbacktrace
20047 maybe-install-libbacktrace: install-libbacktrace
20049 install-libbacktrace: installdirs
20050 @: $(MAKE); $(unstage)
20051 @r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 $(HOST_EXPORTS) \
20054 (cd $(HOST_SUBDIR)/libbacktrace && \
20055 $(MAKE) $(FLAGS_TO_PASS) install)
20057 @endif libbacktrace
20059 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20060 maybe-install-strip-libbacktrace:
20061 @if libbacktrace
20062 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20064 install-strip-libbacktrace: installdirs
20065 @: $(MAKE); $(unstage)
20066 @r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 $(HOST_EXPORTS) \
20069 (cd $(HOST_SUBDIR)/libbacktrace && \
20070 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20072 @endif libbacktrace
20074 # Other targets (info, dvi, pdf, etc.)
20076 .PHONY: maybe-info-libbacktrace info-libbacktrace
20077 maybe-info-libbacktrace:
20078 @if libbacktrace
20079 maybe-info-libbacktrace: info-libbacktrace
20081 info-libbacktrace: \
20082 configure-libbacktrace
20083 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20084 r=`${PWD_COMMAND}`; export r; \
20085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086 $(HOST_EXPORTS) \
20087 for flag in $(EXTRA_HOST_FLAGS) ; do \
20088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20089 done; \
20090 echo "Doing info in libbacktrace" ; \
20091 (cd $(HOST_SUBDIR)/libbacktrace && \
20092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094 "RANLIB=$${RANLIB}" \
20095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20096 info) \
20097 || exit 1
20099 @endif libbacktrace
20101 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20102 maybe-dvi-libbacktrace:
20103 @if libbacktrace
20104 maybe-dvi-libbacktrace: dvi-libbacktrace
20106 dvi-libbacktrace: \
20107 configure-libbacktrace
20108 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing dvi in libbacktrace" ; \
20116 (cd $(HOST_SUBDIR)/libbacktrace && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20121 dvi) \
20122 || exit 1
20124 @endif libbacktrace
20126 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20127 maybe-pdf-libbacktrace:
20128 @if libbacktrace
20129 maybe-pdf-libbacktrace: pdf-libbacktrace
20131 pdf-libbacktrace: \
20132 configure-libbacktrace
20133 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 done; \
20140 echo "Doing pdf in libbacktrace" ; \
20141 (cd $(HOST_SUBDIR)/libbacktrace && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20146 pdf) \
20147 || exit 1
20149 @endif libbacktrace
20151 .PHONY: maybe-html-libbacktrace html-libbacktrace
20152 maybe-html-libbacktrace:
20153 @if libbacktrace
20154 maybe-html-libbacktrace: html-libbacktrace
20156 html-libbacktrace: \
20157 configure-libbacktrace
20158 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20159 r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 $(HOST_EXPORTS) \
20162 for flag in $(EXTRA_HOST_FLAGS) ; do \
20163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20164 done; \
20165 echo "Doing html in libbacktrace" ; \
20166 (cd $(HOST_SUBDIR)/libbacktrace && \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169 "RANLIB=$${RANLIB}" \
20170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20171 html) \
20172 || exit 1
20174 @endif libbacktrace
20176 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20177 maybe-TAGS-libbacktrace:
20178 @if libbacktrace
20179 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20181 TAGS-libbacktrace: \
20182 configure-libbacktrace
20183 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(HOST_EXPORTS) \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 done; \
20190 echo "Doing TAGS in libbacktrace" ; \
20191 (cd $(HOST_SUBDIR)/libbacktrace && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20196 TAGS) \
20197 || exit 1
20199 @endif libbacktrace
20201 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20202 maybe-install-info-libbacktrace:
20203 @if libbacktrace
20204 maybe-install-info-libbacktrace: install-info-libbacktrace
20206 install-info-libbacktrace: \
20207 configure-libbacktrace \
20208 info-libbacktrace
20209 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing install-info in libbacktrace" ; \
20217 (cd $(HOST_SUBDIR)/libbacktrace && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20222 install-info) \
20223 || exit 1
20225 @endif libbacktrace
20227 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20228 maybe-install-pdf-libbacktrace:
20229 @if libbacktrace
20230 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20232 install-pdf-libbacktrace: \
20233 configure-libbacktrace \
20234 pdf-libbacktrace
20235 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing install-pdf in libbacktrace" ; \
20243 (cd $(HOST_SUBDIR)/libbacktrace && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20248 install-pdf) \
20249 || exit 1
20251 @endif libbacktrace
20253 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20254 maybe-install-html-libbacktrace:
20255 @if libbacktrace
20256 maybe-install-html-libbacktrace: install-html-libbacktrace
20258 install-html-libbacktrace: \
20259 configure-libbacktrace \
20260 html-libbacktrace
20261 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20262 r=`${PWD_COMMAND}`; export r; \
20263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 $(HOST_EXPORTS) \
20265 for flag in $(EXTRA_HOST_FLAGS) ; do \
20266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 done; \
20268 echo "Doing install-html in libbacktrace" ; \
20269 (cd $(HOST_SUBDIR)/libbacktrace && \
20270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20272 "RANLIB=$${RANLIB}" \
20273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20274 install-html) \
20275 || exit 1
20277 @endif libbacktrace
20279 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20280 maybe-installcheck-libbacktrace:
20281 @if libbacktrace
20282 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20284 installcheck-libbacktrace: \
20285 configure-libbacktrace
20286 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20287 r=`${PWD_COMMAND}`; export r; \
20288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20289 $(HOST_EXPORTS) \
20290 for flag in $(EXTRA_HOST_FLAGS) ; do \
20291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20292 done; \
20293 echo "Doing installcheck in libbacktrace" ; \
20294 (cd $(HOST_SUBDIR)/libbacktrace && \
20295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20297 "RANLIB=$${RANLIB}" \
20298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20299 installcheck) \
20300 || exit 1
20302 @endif libbacktrace
20304 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20305 maybe-mostlyclean-libbacktrace:
20306 @if libbacktrace
20307 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20309 mostlyclean-libbacktrace:
20310 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20311 r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing mostlyclean in libbacktrace" ; \
20318 (cd $(HOST_SUBDIR)/libbacktrace && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20323 mostlyclean) \
20324 || exit 1
20326 @endif libbacktrace
20328 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20329 maybe-clean-libbacktrace:
20330 @if libbacktrace
20331 maybe-clean-libbacktrace: clean-libbacktrace
20333 clean-libbacktrace:
20334 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20337 $(HOST_EXPORTS) \
20338 for flag in $(EXTRA_HOST_FLAGS) ; do \
20339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20340 done; \
20341 echo "Doing clean in libbacktrace" ; \
20342 (cd $(HOST_SUBDIR)/libbacktrace && \
20343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20345 "RANLIB=$${RANLIB}" \
20346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20347 clean) \
20348 || exit 1
20350 @endif libbacktrace
20352 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20353 maybe-distclean-libbacktrace:
20354 @if libbacktrace
20355 maybe-distclean-libbacktrace: distclean-libbacktrace
20357 distclean-libbacktrace:
20358 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361 $(HOST_EXPORTS) \
20362 for flag in $(EXTRA_HOST_FLAGS) ; do \
20363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20364 done; \
20365 echo "Doing distclean in libbacktrace" ; \
20366 (cd $(HOST_SUBDIR)/libbacktrace && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20371 distclean) \
20372 || exit 1
20374 @endif libbacktrace
20376 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20377 maybe-maintainer-clean-libbacktrace:
20378 @if libbacktrace
20379 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20381 maintainer-clean-libbacktrace:
20382 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20383 r=`${PWD_COMMAND}`; export r; \
20384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20385 $(HOST_EXPORTS) \
20386 for flag in $(EXTRA_HOST_FLAGS) ; do \
20387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20388 done; \
20389 echo "Doing maintainer-clean in libbacktrace" ; \
20390 (cd $(HOST_SUBDIR)/libbacktrace && \
20391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20393 "RANLIB=$${RANLIB}" \
20394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20395 maintainer-clean) \
20396 || exit 1
20398 @endif libbacktrace
20402 .PHONY: configure-libcpp maybe-configure-libcpp
20403 maybe-configure-libcpp:
20404 @if gcc-bootstrap
20405 configure-libcpp: stage_current
20406 @endif gcc-bootstrap
20407 @if libcpp
20408 maybe-configure-libcpp: configure-libcpp
20409 configure-libcpp:
20410 @r=`${PWD_COMMAND}`; export r; \
20411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20412 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20414 $(HOST_EXPORTS) \
20415 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20416 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20417 case $(srcdir) in \
20418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20419 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20421 esac; \
20422 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20423 libsrcdir="$$s/libcpp"; \
20424 $(SHELL) $${libsrcdir}/configure \
20425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20426 --target=${target_alias} $${srcdiroption} \
20427 || exit 1
20428 @endif libcpp
20432 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20433 maybe-configure-stage1-libcpp:
20434 @if libcpp-bootstrap
20435 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20436 configure-stage1-libcpp:
20437 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20439 @r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 TFLAGS="$(STAGE1_TFLAGS)"; \
20442 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20443 $(HOST_EXPORTS) \
20444 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20445 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20446 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20447 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20449 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20450 case $(srcdir) in \
20451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20452 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20454 esac; \
20455 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20456 libsrcdir="$$s/libcpp"; \
20457 $(SHELL) $${libsrcdir}/configure \
20458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20459 --target=${target_alias} $${srcdiroption} \
20460 $(STAGE1_CONFIGURE_FLAGS)
20461 @endif libcpp-bootstrap
20463 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20464 maybe-configure-stage2-libcpp:
20465 @if libcpp-bootstrap
20466 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20467 configure-stage2-libcpp:
20468 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20470 @r=`${PWD_COMMAND}`; export r; \
20471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20472 TFLAGS="$(STAGE2_TFLAGS)"; \
20473 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20474 $(HOST_EXPORTS) \
20475 $(POSTSTAGE1_HOST_EXPORTS) \
20476 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20477 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20478 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20479 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20481 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20482 case $(srcdir) in \
20483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20484 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20486 esac; \
20487 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20488 libsrcdir="$$s/libcpp"; \
20489 $(SHELL) $${libsrcdir}/configure \
20490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20491 --target=${target_alias} $${srcdiroption} \
20492 --with-build-libsubdir=$(HOST_SUBDIR) \
20493 $(STAGE2_CONFIGURE_FLAGS)
20494 @endif libcpp-bootstrap
20496 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20497 maybe-configure-stage3-libcpp:
20498 @if libcpp-bootstrap
20499 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20500 configure-stage3-libcpp:
20501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20503 @r=`${PWD_COMMAND}`; export r; \
20504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20505 TFLAGS="$(STAGE3_TFLAGS)"; \
20506 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20507 $(HOST_EXPORTS) \
20508 $(POSTSTAGE1_HOST_EXPORTS) \
20509 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20510 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20511 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20512 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20514 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20515 case $(srcdir) in \
20516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20517 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20519 esac; \
20520 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20521 libsrcdir="$$s/libcpp"; \
20522 $(SHELL) $${libsrcdir}/configure \
20523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20524 --target=${target_alias} $${srcdiroption} \
20525 --with-build-libsubdir=$(HOST_SUBDIR) \
20526 $(STAGE3_CONFIGURE_FLAGS)
20527 @endif libcpp-bootstrap
20529 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20530 maybe-configure-stage4-libcpp:
20531 @if libcpp-bootstrap
20532 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20533 configure-stage4-libcpp:
20534 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20536 @r=`${PWD_COMMAND}`; export r; \
20537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20538 TFLAGS="$(STAGE4_TFLAGS)"; \
20539 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20540 $(HOST_EXPORTS) \
20541 $(POSTSTAGE1_HOST_EXPORTS) \
20542 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20543 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20544 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20545 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20547 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20548 case $(srcdir) in \
20549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20550 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20552 esac; \
20553 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20554 libsrcdir="$$s/libcpp"; \
20555 $(SHELL) $${libsrcdir}/configure \
20556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20557 --target=${target_alias} $${srcdiroption} \
20558 --with-build-libsubdir=$(HOST_SUBDIR) \
20559 $(STAGE4_CONFIGURE_FLAGS)
20560 @endif libcpp-bootstrap
20562 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20563 maybe-configure-stageprofile-libcpp:
20564 @if libcpp-bootstrap
20565 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20566 configure-stageprofile-libcpp:
20567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20569 @r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20571 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20572 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20573 $(HOST_EXPORTS) \
20574 $(POSTSTAGE1_HOST_EXPORTS) \
20575 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20576 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20577 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20578 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20580 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20581 case $(srcdir) in \
20582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20583 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20585 esac; \
20586 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20587 libsrcdir="$$s/libcpp"; \
20588 $(SHELL) $${libsrcdir}/configure \
20589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20590 --target=${target_alias} $${srcdiroption} \
20591 --with-build-libsubdir=$(HOST_SUBDIR) \
20592 $(STAGEprofile_CONFIGURE_FLAGS)
20593 @endif libcpp-bootstrap
20595 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20596 maybe-configure-stagefeedback-libcpp:
20597 @if libcpp-bootstrap
20598 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20599 configure-stagefeedback-libcpp:
20600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20602 @r=`${PWD_COMMAND}`; export r; \
20603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20605 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20606 $(HOST_EXPORTS) \
20607 $(POSTSTAGE1_HOST_EXPORTS) \
20608 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20611 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20613 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20614 case $(srcdir) in \
20615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20616 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20618 esac; \
20619 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20620 libsrcdir="$$s/libcpp"; \
20621 $(SHELL) $${libsrcdir}/configure \
20622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20623 --target=${target_alias} $${srcdiroption} \
20624 --with-build-libsubdir=$(HOST_SUBDIR) \
20625 $(STAGEfeedback_CONFIGURE_FLAGS)
20626 @endif libcpp-bootstrap
20632 .PHONY: all-libcpp maybe-all-libcpp
20633 maybe-all-libcpp:
20634 @if gcc-bootstrap
20635 all-libcpp: stage_current
20636 @endif gcc-bootstrap
20637 @if libcpp
20638 TARGET-libcpp=all
20639 maybe-all-libcpp: all-libcpp
20640 all-libcpp: configure-libcpp
20641 @r=`${PWD_COMMAND}`; export r; \
20642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20643 $(HOST_EXPORTS) \
20644 (cd $(HOST_SUBDIR)/libcpp && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20646 $(TARGET-libcpp))
20647 @endif libcpp
20651 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20652 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20653 maybe-all-stage1-libcpp:
20654 maybe-clean-stage1-libcpp:
20655 @if libcpp-bootstrap
20656 maybe-all-stage1-libcpp: all-stage1-libcpp
20657 all-stage1: all-stage1-libcpp
20658 TARGET-stage1-libcpp = $(TARGET-libcpp)
20659 all-stage1-libcpp: configure-stage1-libcpp
20660 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20661 @r=`${PWD_COMMAND}`; export r; \
20662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20663 TFLAGS="$(STAGE1_TFLAGS)"; \
20664 $(HOST_EXPORTS) \
20665 cd $(HOST_SUBDIR)/libcpp && \
20666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20667 CFLAGS="$(STAGE1_CFLAGS)" \
20668 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20669 LIBCFLAGS="$(LIBCFLAGS)" \
20670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20673 $(EXTRA_HOST_FLAGS) \
20674 $(STAGE1_FLAGS_TO_PASS) \
20675 TFLAGS="$(STAGE1_TFLAGS)" \
20676 $(TARGET-stage1-libcpp)
20678 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20679 clean-stage1: clean-stage1-libcpp
20680 clean-stage1-libcpp:
20681 @if [ $(current_stage) = stage1 ]; then \
20682 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20683 else \
20684 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20685 $(MAKE) stage1-start; \
20686 fi; \
20687 cd $(HOST_SUBDIR)/libcpp && \
20688 $(MAKE) $(EXTRA_HOST_FLAGS) \
20689 $(STAGE1_FLAGS_TO_PASS) clean
20690 @endif libcpp-bootstrap
20693 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20694 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20695 maybe-all-stage2-libcpp:
20696 maybe-clean-stage2-libcpp:
20697 @if libcpp-bootstrap
20698 maybe-all-stage2-libcpp: all-stage2-libcpp
20699 all-stage2: all-stage2-libcpp
20700 TARGET-stage2-libcpp = $(TARGET-libcpp)
20701 all-stage2-libcpp: configure-stage2-libcpp
20702 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20703 @r=`${PWD_COMMAND}`; export r; \
20704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20705 TFLAGS="$(STAGE2_TFLAGS)"; \
20706 $(HOST_EXPORTS) \
20707 $(POSTSTAGE1_HOST_EXPORTS) \
20708 cd $(HOST_SUBDIR)/libcpp && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20710 CFLAGS="$(STAGE2_CFLAGS)" \
20711 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20712 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20713 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20714 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20715 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20716 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20717 TFLAGS="$(STAGE2_TFLAGS)" \
20718 $(TARGET-stage2-libcpp)
20720 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20721 clean-stage2: clean-stage2-libcpp
20722 clean-stage2-libcpp:
20723 @if [ $(current_stage) = stage2 ]; then \
20724 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20725 else \
20726 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20727 $(MAKE) stage2-start; \
20728 fi; \
20729 cd $(HOST_SUBDIR)/libcpp && \
20730 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20731 @endif libcpp-bootstrap
20734 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20735 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20736 maybe-all-stage3-libcpp:
20737 maybe-clean-stage3-libcpp:
20738 @if libcpp-bootstrap
20739 maybe-all-stage3-libcpp: all-stage3-libcpp
20740 all-stage3: all-stage3-libcpp
20741 TARGET-stage3-libcpp = $(TARGET-libcpp)
20742 all-stage3-libcpp: configure-stage3-libcpp
20743 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20744 @r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 TFLAGS="$(STAGE3_TFLAGS)"; \
20747 $(HOST_EXPORTS) \
20748 $(POSTSTAGE1_HOST_EXPORTS) \
20749 cd $(HOST_SUBDIR)/libcpp && \
20750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20751 CFLAGS="$(STAGE3_CFLAGS)" \
20752 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20753 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20758 TFLAGS="$(STAGE3_TFLAGS)" \
20759 $(TARGET-stage3-libcpp)
20761 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20762 clean-stage3: clean-stage3-libcpp
20763 clean-stage3-libcpp:
20764 @if [ $(current_stage) = stage3 ]; then \
20765 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20766 else \
20767 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20768 $(MAKE) stage3-start; \
20769 fi; \
20770 cd $(HOST_SUBDIR)/libcpp && \
20771 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20772 @endif libcpp-bootstrap
20775 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20776 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20777 maybe-all-stage4-libcpp:
20778 maybe-clean-stage4-libcpp:
20779 @if libcpp-bootstrap
20780 maybe-all-stage4-libcpp: all-stage4-libcpp
20781 all-stage4: all-stage4-libcpp
20782 TARGET-stage4-libcpp = $(TARGET-libcpp)
20783 all-stage4-libcpp: configure-stage4-libcpp
20784 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20785 @r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 TFLAGS="$(STAGE4_TFLAGS)"; \
20788 $(HOST_EXPORTS) \
20789 $(POSTSTAGE1_HOST_EXPORTS) \
20790 cd $(HOST_SUBDIR)/libcpp && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20792 CFLAGS="$(STAGE4_CFLAGS)" \
20793 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20794 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20799 TFLAGS="$(STAGE4_TFLAGS)" \
20800 $(TARGET-stage4-libcpp)
20802 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20803 clean-stage4: clean-stage4-libcpp
20804 clean-stage4-libcpp:
20805 @if [ $(current_stage) = stage4 ]; then \
20806 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20807 else \
20808 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20809 $(MAKE) stage4-start; \
20810 fi; \
20811 cd $(HOST_SUBDIR)/libcpp && \
20812 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20813 @endif libcpp-bootstrap
20816 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20817 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20818 maybe-all-stageprofile-libcpp:
20819 maybe-clean-stageprofile-libcpp:
20820 @if libcpp-bootstrap
20821 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20822 all-stageprofile: all-stageprofile-libcpp
20823 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20824 all-stageprofile-libcpp: configure-stageprofile-libcpp
20825 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20826 @r=`${PWD_COMMAND}`; export r; \
20827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20828 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20829 $(HOST_EXPORTS) \
20830 $(POSTSTAGE1_HOST_EXPORTS) \
20831 cd $(HOST_SUBDIR)/libcpp && \
20832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20833 CFLAGS="$(STAGEprofile_CFLAGS)" \
20834 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20835 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20840 TFLAGS="$(STAGEprofile_TFLAGS)" \
20841 $(TARGET-stageprofile-libcpp)
20843 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20844 clean-stageprofile: clean-stageprofile-libcpp
20845 clean-stageprofile-libcpp:
20846 @if [ $(current_stage) = stageprofile ]; then \
20847 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20848 else \
20849 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20850 $(MAKE) stageprofile-start; \
20851 fi; \
20852 cd $(HOST_SUBDIR)/libcpp && \
20853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20854 @endif libcpp-bootstrap
20857 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20858 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20859 maybe-all-stagefeedback-libcpp:
20860 maybe-clean-stagefeedback-libcpp:
20861 @if libcpp-bootstrap
20862 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20863 all-stagefeedback: all-stagefeedback-libcpp
20864 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20865 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20866 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20867 @r=`${PWD_COMMAND}`; export r; \
20868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20869 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20870 $(HOST_EXPORTS) \
20871 $(POSTSTAGE1_HOST_EXPORTS) \
20872 cd $(HOST_SUBDIR)/libcpp && \
20873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20874 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20875 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20876 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20880 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20881 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20882 $(TARGET-stagefeedback-libcpp)
20884 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20885 clean-stagefeedback: clean-stagefeedback-libcpp
20886 clean-stagefeedback-libcpp:
20887 @if [ $(current_stage) = stagefeedback ]; then \
20888 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20889 else \
20890 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20891 $(MAKE) stagefeedback-start; \
20892 fi; \
20893 cd $(HOST_SUBDIR)/libcpp && \
20894 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20895 @endif libcpp-bootstrap
20901 .PHONY: check-libcpp maybe-check-libcpp
20902 maybe-check-libcpp:
20903 @if libcpp
20904 maybe-check-libcpp: check-libcpp
20906 check-libcpp:
20907 @: $(MAKE); $(unstage)
20908 @r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 (cd $(HOST_SUBDIR)/libcpp && \
20912 $(MAKE) $(FLAGS_TO_PASS) check)
20914 @endif libcpp
20916 .PHONY: install-libcpp maybe-install-libcpp
20917 maybe-install-libcpp:
20918 @if libcpp
20919 maybe-install-libcpp: install-libcpp
20921 install-libcpp: installdirs
20922 @: $(MAKE); $(unstage)
20923 @r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 $(HOST_EXPORTS) \
20926 (cd $(HOST_SUBDIR)/libcpp && \
20927 $(MAKE) $(FLAGS_TO_PASS) install)
20929 @endif libcpp
20931 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20932 maybe-install-strip-libcpp:
20933 @if libcpp
20934 maybe-install-strip-libcpp: install-strip-libcpp
20936 install-strip-libcpp: installdirs
20937 @: $(MAKE); $(unstage)
20938 @r=`${PWD_COMMAND}`; export r; \
20939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20940 $(HOST_EXPORTS) \
20941 (cd $(HOST_SUBDIR)/libcpp && \
20942 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20944 @endif libcpp
20946 # Other targets (info, dvi, pdf, etc.)
20948 .PHONY: maybe-info-libcpp info-libcpp
20949 maybe-info-libcpp:
20950 @if libcpp
20951 maybe-info-libcpp: info-libcpp
20953 info-libcpp: \
20954 configure-libcpp
20955 @[ -f ./libcpp/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 for flag in $(EXTRA_HOST_FLAGS) ; do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 done; \
20962 echo "Doing info in libcpp" ; \
20963 (cd $(HOST_SUBDIR)/libcpp && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20968 info) \
20969 || exit 1
20971 @endif libcpp
20973 .PHONY: maybe-dvi-libcpp dvi-libcpp
20974 maybe-dvi-libcpp:
20975 @if libcpp
20976 maybe-dvi-libcpp: dvi-libcpp
20978 dvi-libcpp: \
20979 configure-libcpp
20980 @[ -f ./libcpp/Makefile ] || exit 0; \
20981 r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983 $(HOST_EXPORTS) \
20984 for flag in $(EXTRA_HOST_FLAGS) ; do \
20985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20986 done; \
20987 echo "Doing dvi in libcpp" ; \
20988 (cd $(HOST_SUBDIR)/libcpp && \
20989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20991 "RANLIB=$${RANLIB}" \
20992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20993 dvi) \
20994 || exit 1
20996 @endif libcpp
20998 .PHONY: maybe-pdf-libcpp pdf-libcpp
20999 maybe-pdf-libcpp:
21000 @if libcpp
21001 maybe-pdf-libcpp: pdf-libcpp
21003 pdf-libcpp: \
21004 configure-libcpp
21005 @[ -f ./libcpp/Makefile ] || exit 0; \
21006 r=`${PWD_COMMAND}`; export r; \
21007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21008 $(HOST_EXPORTS) \
21009 for flag in $(EXTRA_HOST_FLAGS) ; do \
21010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21011 done; \
21012 echo "Doing pdf in libcpp" ; \
21013 (cd $(HOST_SUBDIR)/libcpp && \
21014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21016 "RANLIB=$${RANLIB}" \
21017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21018 pdf) \
21019 || exit 1
21021 @endif libcpp
21023 .PHONY: maybe-html-libcpp html-libcpp
21024 maybe-html-libcpp:
21025 @if libcpp
21026 maybe-html-libcpp: html-libcpp
21028 html-libcpp: \
21029 configure-libcpp
21030 @[ -f ./libcpp/Makefile ] || exit 0; \
21031 r=`${PWD_COMMAND}`; export r; \
21032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21033 $(HOST_EXPORTS) \
21034 for flag in $(EXTRA_HOST_FLAGS) ; do \
21035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21036 done; \
21037 echo "Doing html in libcpp" ; \
21038 (cd $(HOST_SUBDIR)/libcpp && \
21039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21041 "RANLIB=$${RANLIB}" \
21042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21043 html) \
21044 || exit 1
21046 @endif libcpp
21048 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21049 maybe-TAGS-libcpp:
21050 @if libcpp
21051 maybe-TAGS-libcpp: TAGS-libcpp
21053 TAGS-libcpp: \
21054 configure-libcpp
21055 @[ -f ./libcpp/Makefile ] || exit 0; \
21056 r=`${PWD_COMMAND}`; export r; \
21057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21058 $(HOST_EXPORTS) \
21059 for flag in $(EXTRA_HOST_FLAGS) ; do \
21060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21061 done; \
21062 echo "Doing TAGS in libcpp" ; \
21063 (cd $(HOST_SUBDIR)/libcpp && \
21064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21066 "RANLIB=$${RANLIB}" \
21067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21068 TAGS) \
21069 || exit 1
21071 @endif libcpp
21073 .PHONY: maybe-install-info-libcpp install-info-libcpp
21074 maybe-install-info-libcpp:
21075 @if libcpp
21076 maybe-install-info-libcpp: install-info-libcpp
21078 install-info-libcpp: \
21079 configure-libcpp \
21080 info-libcpp
21081 @[ -f ./libcpp/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21084 $(HOST_EXPORTS) \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21087 done; \
21088 echo "Doing install-info in libcpp" ; \
21089 (cd $(HOST_SUBDIR)/libcpp && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21094 install-info) \
21095 || exit 1
21097 @endif libcpp
21099 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21100 maybe-install-pdf-libcpp:
21101 @if libcpp
21102 maybe-install-pdf-libcpp: install-pdf-libcpp
21104 install-pdf-libcpp: \
21105 configure-libcpp \
21106 pdf-libcpp
21107 @[ -f ./libcpp/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(HOST_EXPORTS) \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21113 done; \
21114 echo "Doing install-pdf in libcpp" ; \
21115 (cd $(HOST_SUBDIR)/libcpp && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21120 install-pdf) \
21121 || exit 1
21123 @endif libcpp
21125 .PHONY: maybe-install-html-libcpp install-html-libcpp
21126 maybe-install-html-libcpp:
21127 @if libcpp
21128 maybe-install-html-libcpp: install-html-libcpp
21130 install-html-libcpp: \
21131 configure-libcpp \
21132 html-libcpp
21133 @[ -f ./libcpp/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 $(HOST_EXPORTS) \
21137 for flag in $(EXTRA_HOST_FLAGS) ; do \
21138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21139 done; \
21140 echo "Doing install-html in libcpp" ; \
21141 (cd $(HOST_SUBDIR)/libcpp && \
21142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21144 "RANLIB=$${RANLIB}" \
21145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21146 install-html) \
21147 || exit 1
21149 @endif libcpp
21151 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21152 maybe-installcheck-libcpp:
21153 @if libcpp
21154 maybe-installcheck-libcpp: installcheck-libcpp
21156 installcheck-libcpp: \
21157 configure-libcpp
21158 @[ -f ./libcpp/Makefile ] || exit 0; \
21159 r=`${PWD_COMMAND}`; export r; \
21160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21161 $(HOST_EXPORTS) \
21162 for flag in $(EXTRA_HOST_FLAGS) ; do \
21163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21164 done; \
21165 echo "Doing installcheck in libcpp" ; \
21166 (cd $(HOST_SUBDIR)/libcpp && \
21167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21169 "RANLIB=$${RANLIB}" \
21170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21171 installcheck) \
21172 || exit 1
21174 @endif libcpp
21176 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21177 maybe-mostlyclean-libcpp:
21178 @if libcpp
21179 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21181 mostlyclean-libcpp:
21182 @[ -f ./libcpp/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(HOST_EXPORTS) \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21188 done; \
21189 echo "Doing mostlyclean in libcpp" ; \
21190 (cd $(HOST_SUBDIR)/libcpp && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21195 mostlyclean) \
21196 || exit 1
21198 @endif libcpp
21200 .PHONY: maybe-clean-libcpp clean-libcpp
21201 maybe-clean-libcpp:
21202 @if libcpp
21203 maybe-clean-libcpp: clean-libcpp
21205 clean-libcpp:
21206 @[ -f ./libcpp/Makefile ] || exit 0; \
21207 r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 for flag in $(EXTRA_HOST_FLAGS) ; do \
21211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21212 done; \
21213 echo "Doing clean in libcpp" ; \
21214 (cd $(HOST_SUBDIR)/libcpp && \
21215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21217 "RANLIB=$${RANLIB}" \
21218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21219 clean) \
21220 || exit 1
21222 @endif libcpp
21224 .PHONY: maybe-distclean-libcpp distclean-libcpp
21225 maybe-distclean-libcpp:
21226 @if libcpp
21227 maybe-distclean-libcpp: distclean-libcpp
21229 distclean-libcpp:
21230 @[ -f ./libcpp/Makefile ] || exit 0; \
21231 r=`${PWD_COMMAND}`; export r; \
21232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21233 $(HOST_EXPORTS) \
21234 for flag in $(EXTRA_HOST_FLAGS) ; do \
21235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21236 done; \
21237 echo "Doing distclean in libcpp" ; \
21238 (cd $(HOST_SUBDIR)/libcpp && \
21239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21241 "RANLIB=$${RANLIB}" \
21242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21243 distclean) \
21244 || exit 1
21246 @endif libcpp
21248 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21249 maybe-maintainer-clean-libcpp:
21250 @if libcpp
21251 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21253 maintainer-clean-libcpp:
21254 @[ -f ./libcpp/Makefile ] || exit 0; \
21255 r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 $(HOST_EXPORTS) \
21258 for flag in $(EXTRA_HOST_FLAGS) ; do \
21259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21260 done; \
21261 echo "Doing maintainer-clean in libcpp" ; \
21262 (cd $(HOST_SUBDIR)/libcpp && \
21263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265 "RANLIB=$${RANLIB}" \
21266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21267 maintainer-clean) \
21268 || exit 1
21270 @endif libcpp
21274 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21275 maybe-configure-libdecnumber:
21276 @if gcc-bootstrap
21277 configure-libdecnumber: stage_current
21278 @endif gcc-bootstrap
21279 @if libdecnumber
21280 maybe-configure-libdecnumber: configure-libdecnumber
21281 configure-libdecnumber:
21282 @r=`${PWD_COMMAND}`; export r; \
21283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21284 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21286 $(HOST_EXPORTS) \
21287 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21288 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21289 case $(srcdir) in \
21290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21291 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21293 esac; \
21294 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21295 libsrcdir="$$s/libdecnumber"; \
21296 $(SHELL) $${libsrcdir}/configure \
21297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21298 --target=${target_alias} $${srcdiroption} \
21299 || exit 1
21300 @endif libdecnumber
21304 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21305 maybe-configure-stage1-libdecnumber:
21306 @if libdecnumber-bootstrap
21307 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21308 configure-stage1-libdecnumber:
21309 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21310 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21311 @r=`${PWD_COMMAND}`; export r; \
21312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 TFLAGS="$(STAGE1_TFLAGS)"; \
21314 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21315 $(HOST_EXPORTS) \
21316 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21317 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21318 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21319 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21321 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21322 case $(srcdir) in \
21323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21324 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21326 esac; \
21327 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21328 libsrcdir="$$s/libdecnumber"; \
21329 $(SHELL) $${libsrcdir}/configure \
21330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21331 --target=${target_alias} $${srcdiroption} \
21332 $(STAGE1_CONFIGURE_FLAGS)
21333 @endif libdecnumber-bootstrap
21335 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21336 maybe-configure-stage2-libdecnumber:
21337 @if libdecnumber-bootstrap
21338 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21339 configure-stage2-libdecnumber:
21340 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21342 @r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 TFLAGS="$(STAGE2_TFLAGS)"; \
21345 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21346 $(HOST_EXPORTS) \
21347 $(POSTSTAGE1_HOST_EXPORTS) \
21348 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21349 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21350 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21351 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21353 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21354 case $(srcdir) in \
21355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21356 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21358 esac; \
21359 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21360 libsrcdir="$$s/libdecnumber"; \
21361 $(SHELL) $${libsrcdir}/configure \
21362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21363 --target=${target_alias} $${srcdiroption} \
21364 --with-build-libsubdir=$(HOST_SUBDIR) \
21365 $(STAGE2_CONFIGURE_FLAGS)
21366 @endif libdecnumber-bootstrap
21368 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21369 maybe-configure-stage3-libdecnumber:
21370 @if libdecnumber-bootstrap
21371 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21372 configure-stage3-libdecnumber:
21373 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21375 @r=`${PWD_COMMAND}`; export r; \
21376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 TFLAGS="$(STAGE3_TFLAGS)"; \
21378 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21379 $(HOST_EXPORTS) \
21380 $(POSTSTAGE1_HOST_EXPORTS) \
21381 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21382 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21383 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21384 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21386 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21387 case $(srcdir) in \
21388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21389 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21391 esac; \
21392 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21393 libsrcdir="$$s/libdecnumber"; \
21394 $(SHELL) $${libsrcdir}/configure \
21395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21396 --target=${target_alias} $${srcdiroption} \
21397 --with-build-libsubdir=$(HOST_SUBDIR) \
21398 $(STAGE3_CONFIGURE_FLAGS)
21399 @endif libdecnumber-bootstrap
21401 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21402 maybe-configure-stage4-libdecnumber:
21403 @if libdecnumber-bootstrap
21404 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21405 configure-stage4-libdecnumber:
21406 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21408 @r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 TFLAGS="$(STAGE4_TFLAGS)"; \
21411 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21412 $(HOST_EXPORTS) \
21413 $(POSTSTAGE1_HOST_EXPORTS) \
21414 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21415 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21416 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21417 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21419 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21420 case $(srcdir) in \
21421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21422 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21424 esac; \
21425 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21426 libsrcdir="$$s/libdecnumber"; \
21427 $(SHELL) $${libsrcdir}/configure \
21428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21429 --target=${target_alias} $${srcdiroption} \
21430 --with-build-libsubdir=$(HOST_SUBDIR) \
21431 $(STAGE4_CONFIGURE_FLAGS)
21432 @endif libdecnumber-bootstrap
21434 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21435 maybe-configure-stageprofile-libdecnumber:
21436 @if libdecnumber-bootstrap
21437 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21438 configure-stageprofile-libdecnumber:
21439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21440 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21441 @r=`${PWD_COMMAND}`; export r; \
21442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21443 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21444 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21445 $(HOST_EXPORTS) \
21446 $(POSTSTAGE1_HOST_EXPORTS) \
21447 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21448 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21449 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21450 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21452 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21453 case $(srcdir) in \
21454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21455 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21457 esac; \
21458 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21459 libsrcdir="$$s/libdecnumber"; \
21460 $(SHELL) $${libsrcdir}/configure \
21461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21462 --target=${target_alias} $${srcdiroption} \
21463 --with-build-libsubdir=$(HOST_SUBDIR) \
21464 $(STAGEprofile_CONFIGURE_FLAGS)
21465 @endif libdecnumber-bootstrap
21467 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21468 maybe-configure-stagefeedback-libdecnumber:
21469 @if libdecnumber-bootstrap
21470 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21471 configure-stagefeedback-libdecnumber:
21472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21474 @r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21477 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21478 $(HOST_EXPORTS) \
21479 $(POSTSTAGE1_HOST_EXPORTS) \
21480 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21481 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21482 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21483 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21485 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21486 case $(srcdir) in \
21487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21488 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21490 esac; \
21491 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21492 libsrcdir="$$s/libdecnumber"; \
21493 $(SHELL) $${libsrcdir}/configure \
21494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21495 --target=${target_alias} $${srcdiroption} \
21496 --with-build-libsubdir=$(HOST_SUBDIR) \
21497 $(STAGEfeedback_CONFIGURE_FLAGS)
21498 @endif libdecnumber-bootstrap
21504 .PHONY: all-libdecnumber maybe-all-libdecnumber
21505 maybe-all-libdecnumber:
21506 @if gcc-bootstrap
21507 all-libdecnumber: stage_current
21508 @endif gcc-bootstrap
21509 @if libdecnumber
21510 TARGET-libdecnumber=all
21511 maybe-all-libdecnumber: all-libdecnumber
21512 all-libdecnumber: configure-libdecnumber
21513 @r=`${PWD_COMMAND}`; export r; \
21514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21515 $(HOST_EXPORTS) \
21516 (cd $(HOST_SUBDIR)/libdecnumber && \
21517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21518 $(TARGET-libdecnumber))
21519 @endif libdecnumber
21523 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21524 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21525 maybe-all-stage1-libdecnumber:
21526 maybe-clean-stage1-libdecnumber:
21527 @if libdecnumber-bootstrap
21528 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21529 all-stage1: all-stage1-libdecnumber
21530 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21531 all-stage1-libdecnumber: configure-stage1-libdecnumber
21532 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21533 @r=`${PWD_COMMAND}`; export r; \
21534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21535 TFLAGS="$(STAGE1_TFLAGS)"; \
21536 $(HOST_EXPORTS) \
21537 cd $(HOST_SUBDIR)/libdecnumber && \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21539 CFLAGS="$(STAGE1_CFLAGS)" \
21540 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21541 LIBCFLAGS="$(LIBCFLAGS)" \
21542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21545 $(EXTRA_HOST_FLAGS) \
21546 $(STAGE1_FLAGS_TO_PASS) \
21547 TFLAGS="$(STAGE1_TFLAGS)" \
21548 $(TARGET-stage1-libdecnumber)
21550 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21551 clean-stage1: clean-stage1-libdecnumber
21552 clean-stage1-libdecnumber:
21553 @if [ $(current_stage) = stage1 ]; then \
21554 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21555 else \
21556 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21557 $(MAKE) stage1-start; \
21558 fi; \
21559 cd $(HOST_SUBDIR)/libdecnumber && \
21560 $(MAKE) $(EXTRA_HOST_FLAGS) \
21561 $(STAGE1_FLAGS_TO_PASS) clean
21562 @endif libdecnumber-bootstrap
21565 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21566 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21567 maybe-all-stage2-libdecnumber:
21568 maybe-clean-stage2-libdecnumber:
21569 @if libdecnumber-bootstrap
21570 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21571 all-stage2: all-stage2-libdecnumber
21572 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21573 all-stage2-libdecnumber: configure-stage2-libdecnumber
21574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21575 @r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 TFLAGS="$(STAGE2_TFLAGS)"; \
21578 $(HOST_EXPORTS) \
21579 $(POSTSTAGE1_HOST_EXPORTS) \
21580 cd $(HOST_SUBDIR)/libdecnumber && \
21581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21582 CFLAGS="$(STAGE2_CFLAGS)" \
21583 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21584 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21589 TFLAGS="$(STAGE2_TFLAGS)" \
21590 $(TARGET-stage2-libdecnumber)
21592 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21593 clean-stage2: clean-stage2-libdecnumber
21594 clean-stage2-libdecnumber:
21595 @if [ $(current_stage) = stage2 ]; then \
21596 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21597 else \
21598 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21599 $(MAKE) stage2-start; \
21600 fi; \
21601 cd $(HOST_SUBDIR)/libdecnumber && \
21602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21603 @endif libdecnumber-bootstrap
21606 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21607 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21608 maybe-all-stage3-libdecnumber:
21609 maybe-clean-stage3-libdecnumber:
21610 @if libdecnumber-bootstrap
21611 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21612 all-stage3: all-stage3-libdecnumber
21613 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21614 all-stage3-libdecnumber: configure-stage3-libdecnumber
21615 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21616 @r=`${PWD_COMMAND}`; export r; \
21617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21618 TFLAGS="$(STAGE3_TFLAGS)"; \
21619 $(HOST_EXPORTS) \
21620 $(POSTSTAGE1_HOST_EXPORTS) \
21621 cd $(HOST_SUBDIR)/libdecnumber && \
21622 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21623 CFLAGS="$(STAGE3_CFLAGS)" \
21624 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21625 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21626 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21627 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21628 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21629 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21630 TFLAGS="$(STAGE3_TFLAGS)" \
21631 $(TARGET-stage3-libdecnumber)
21633 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21634 clean-stage3: clean-stage3-libdecnumber
21635 clean-stage3-libdecnumber:
21636 @if [ $(current_stage) = stage3 ]; then \
21637 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21638 else \
21639 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21640 $(MAKE) stage3-start; \
21641 fi; \
21642 cd $(HOST_SUBDIR)/libdecnumber && \
21643 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21644 @endif libdecnumber-bootstrap
21647 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21648 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21649 maybe-all-stage4-libdecnumber:
21650 maybe-clean-stage4-libdecnumber:
21651 @if libdecnumber-bootstrap
21652 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21653 all-stage4: all-stage4-libdecnumber
21654 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21655 all-stage4-libdecnumber: configure-stage4-libdecnumber
21656 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21657 @r=`${PWD_COMMAND}`; export r; \
21658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21659 TFLAGS="$(STAGE4_TFLAGS)"; \
21660 $(HOST_EXPORTS) \
21661 $(POSTSTAGE1_HOST_EXPORTS) \
21662 cd $(HOST_SUBDIR)/libdecnumber && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21664 CFLAGS="$(STAGE4_CFLAGS)" \
21665 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21666 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21671 TFLAGS="$(STAGE4_TFLAGS)" \
21672 $(TARGET-stage4-libdecnumber)
21674 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21675 clean-stage4: clean-stage4-libdecnumber
21676 clean-stage4-libdecnumber:
21677 @if [ $(current_stage) = stage4 ]; then \
21678 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21679 else \
21680 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21681 $(MAKE) stage4-start; \
21682 fi; \
21683 cd $(HOST_SUBDIR)/libdecnumber && \
21684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21685 @endif libdecnumber-bootstrap
21688 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21689 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21690 maybe-all-stageprofile-libdecnumber:
21691 maybe-clean-stageprofile-libdecnumber:
21692 @if libdecnumber-bootstrap
21693 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21694 all-stageprofile: all-stageprofile-libdecnumber
21695 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21696 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21697 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21698 @r=`${PWD_COMMAND}`; export r; \
21699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21701 $(HOST_EXPORTS) \
21702 $(POSTSTAGE1_HOST_EXPORTS) \
21703 cd $(HOST_SUBDIR)/libdecnumber && \
21704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21705 CFLAGS="$(STAGEprofile_CFLAGS)" \
21706 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21707 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21712 TFLAGS="$(STAGEprofile_TFLAGS)" \
21713 $(TARGET-stageprofile-libdecnumber)
21715 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21716 clean-stageprofile: clean-stageprofile-libdecnumber
21717 clean-stageprofile-libdecnumber:
21718 @if [ $(current_stage) = stageprofile ]; then \
21719 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21720 else \
21721 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21722 $(MAKE) stageprofile-start; \
21723 fi; \
21724 cd $(HOST_SUBDIR)/libdecnumber && \
21725 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21726 @endif libdecnumber-bootstrap
21729 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21730 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21731 maybe-all-stagefeedback-libdecnumber:
21732 maybe-clean-stagefeedback-libdecnumber:
21733 @if libdecnumber-bootstrap
21734 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21735 all-stagefeedback: all-stagefeedback-libdecnumber
21736 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21737 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21738 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21739 @r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21741 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21742 $(HOST_EXPORTS) \
21743 $(POSTSTAGE1_HOST_EXPORTS) \
21744 cd $(HOST_SUBDIR)/libdecnumber && \
21745 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21746 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21747 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21748 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21753 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21754 $(TARGET-stagefeedback-libdecnumber)
21756 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21757 clean-stagefeedback: clean-stagefeedback-libdecnumber
21758 clean-stagefeedback-libdecnumber:
21759 @if [ $(current_stage) = stagefeedback ]; then \
21760 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21761 else \
21762 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21763 $(MAKE) stagefeedback-start; \
21764 fi; \
21765 cd $(HOST_SUBDIR)/libdecnumber && \
21766 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21767 @endif libdecnumber-bootstrap
21773 .PHONY: check-libdecnumber maybe-check-libdecnumber
21774 maybe-check-libdecnumber:
21775 @if libdecnumber
21776 maybe-check-libdecnumber: check-libdecnumber
21778 check-libdecnumber:
21779 @: $(MAKE); $(unstage)
21780 @r=`${PWD_COMMAND}`; export r; \
21781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21782 $(HOST_EXPORTS) \
21783 (cd $(HOST_SUBDIR)/libdecnumber && \
21784 $(MAKE) $(FLAGS_TO_PASS) check)
21786 @endif libdecnumber
21788 .PHONY: install-libdecnumber maybe-install-libdecnumber
21789 maybe-install-libdecnumber:
21790 @if libdecnumber
21791 maybe-install-libdecnumber: install-libdecnumber
21793 install-libdecnumber: installdirs
21794 @: $(MAKE); $(unstage)
21795 @r=`${PWD_COMMAND}`; export r; \
21796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21797 $(HOST_EXPORTS) \
21798 (cd $(HOST_SUBDIR)/libdecnumber && \
21799 $(MAKE) $(FLAGS_TO_PASS) install)
21801 @endif libdecnumber
21803 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21804 maybe-install-strip-libdecnumber:
21805 @if libdecnumber
21806 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21808 install-strip-libdecnumber: installdirs
21809 @: $(MAKE); $(unstage)
21810 @r=`${PWD_COMMAND}`; export r; \
21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 $(HOST_EXPORTS) \
21813 (cd $(HOST_SUBDIR)/libdecnumber && \
21814 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21816 @endif libdecnumber
21818 # Other targets (info, dvi, pdf, etc.)
21820 .PHONY: maybe-info-libdecnumber info-libdecnumber
21821 maybe-info-libdecnumber:
21822 @if libdecnumber
21823 maybe-info-libdecnumber: info-libdecnumber
21825 info-libdecnumber: \
21826 configure-libdecnumber
21827 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21828 r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(HOST_EXPORTS) \
21831 for flag in $(EXTRA_HOST_FLAGS) ; do \
21832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 done; \
21834 echo "Doing info in libdecnumber" ; \
21835 (cd $(HOST_SUBDIR)/libdecnumber && \
21836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21838 "RANLIB=$${RANLIB}" \
21839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21840 info) \
21841 || exit 1
21843 @endif libdecnumber
21845 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21846 maybe-dvi-libdecnumber:
21847 @if libdecnumber
21848 maybe-dvi-libdecnumber: dvi-libdecnumber
21850 dvi-libdecnumber: \
21851 configure-libdecnumber
21852 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing dvi in libdecnumber" ; \
21860 (cd $(HOST_SUBDIR)/libdecnumber && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21865 dvi) \
21866 || exit 1
21868 @endif libdecnumber
21870 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21871 maybe-pdf-libdecnumber:
21872 @if libdecnumber
21873 maybe-pdf-libdecnumber: pdf-libdecnumber
21875 pdf-libdecnumber: \
21876 configure-libdecnumber
21877 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21878 r=`${PWD_COMMAND}`; export r; \
21879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 $(HOST_EXPORTS) \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 done; \
21884 echo "Doing pdf in libdecnumber" ; \
21885 (cd $(HOST_SUBDIR)/libdecnumber && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21890 pdf) \
21891 || exit 1
21893 @endif libdecnumber
21895 .PHONY: maybe-html-libdecnumber html-libdecnumber
21896 maybe-html-libdecnumber:
21897 @if libdecnumber
21898 maybe-html-libdecnumber: html-libdecnumber
21900 html-libdecnumber: \
21901 configure-libdecnumber
21902 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing html in libdecnumber" ; \
21910 (cd $(HOST_SUBDIR)/libdecnumber && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21915 html) \
21916 || exit 1
21918 @endif libdecnumber
21920 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21921 maybe-TAGS-libdecnumber:
21922 @if libdecnumber
21923 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21925 TAGS-libdecnumber: \
21926 configure-libdecnumber
21927 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(HOST_EXPORTS) \
21931 for flag in $(EXTRA_HOST_FLAGS) ; do \
21932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21933 done; \
21934 echo "Doing TAGS in libdecnumber" ; \
21935 (cd $(HOST_SUBDIR)/libdecnumber && \
21936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21938 "RANLIB=$${RANLIB}" \
21939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21940 TAGS) \
21941 || exit 1
21943 @endif libdecnumber
21945 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21946 maybe-install-info-libdecnumber:
21947 @if libdecnumber
21948 maybe-install-info-libdecnumber: install-info-libdecnumber
21950 install-info-libdecnumber: \
21951 configure-libdecnumber \
21952 info-libdecnumber
21953 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21954 r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 $(HOST_EXPORTS) \
21957 for flag in $(EXTRA_HOST_FLAGS) ; do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959 done; \
21960 echo "Doing install-info in libdecnumber" ; \
21961 (cd $(HOST_SUBDIR)/libdecnumber && \
21962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21964 "RANLIB=$${RANLIB}" \
21965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21966 install-info) \
21967 || exit 1
21969 @endif libdecnumber
21971 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21972 maybe-install-pdf-libdecnumber:
21973 @if libdecnumber
21974 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21976 install-pdf-libdecnumber: \
21977 configure-libdecnumber \
21978 pdf-libdecnumber
21979 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21980 r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982 $(HOST_EXPORTS) \
21983 for flag in $(EXTRA_HOST_FLAGS) ; do \
21984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21985 done; \
21986 echo "Doing install-pdf in libdecnumber" ; \
21987 (cd $(HOST_SUBDIR)/libdecnumber && \
21988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21990 "RANLIB=$${RANLIB}" \
21991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21992 install-pdf) \
21993 || exit 1
21995 @endif libdecnumber
21997 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21998 maybe-install-html-libdecnumber:
21999 @if libdecnumber
22000 maybe-install-html-libdecnumber: install-html-libdecnumber
22002 install-html-libdecnumber: \
22003 configure-libdecnumber \
22004 html-libdecnumber
22005 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22006 r=`${PWD_COMMAND}`; export r; \
22007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22008 $(HOST_EXPORTS) \
22009 for flag in $(EXTRA_HOST_FLAGS) ; do \
22010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22011 done; \
22012 echo "Doing install-html in libdecnumber" ; \
22013 (cd $(HOST_SUBDIR)/libdecnumber && \
22014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22016 "RANLIB=$${RANLIB}" \
22017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22018 install-html) \
22019 || exit 1
22021 @endif libdecnumber
22023 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22024 maybe-installcheck-libdecnumber:
22025 @if libdecnumber
22026 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22028 installcheck-libdecnumber: \
22029 configure-libdecnumber
22030 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22031 r=`${PWD_COMMAND}`; export r; \
22032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22033 $(HOST_EXPORTS) \
22034 for flag in $(EXTRA_HOST_FLAGS) ; do \
22035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22036 done; \
22037 echo "Doing installcheck in libdecnumber" ; \
22038 (cd $(HOST_SUBDIR)/libdecnumber && \
22039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22041 "RANLIB=$${RANLIB}" \
22042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22043 installcheck) \
22044 || exit 1
22046 @endif libdecnumber
22048 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22049 maybe-mostlyclean-libdecnumber:
22050 @if libdecnumber
22051 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22053 mostlyclean-libdecnumber:
22054 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22055 r=`${PWD_COMMAND}`; export r; \
22056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22057 $(HOST_EXPORTS) \
22058 for flag in $(EXTRA_HOST_FLAGS) ; do \
22059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22060 done; \
22061 echo "Doing mostlyclean in libdecnumber" ; \
22062 (cd $(HOST_SUBDIR)/libdecnumber && \
22063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22065 "RANLIB=$${RANLIB}" \
22066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22067 mostlyclean) \
22068 || exit 1
22070 @endif libdecnumber
22072 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22073 maybe-clean-libdecnumber:
22074 @if libdecnumber
22075 maybe-clean-libdecnumber: clean-libdecnumber
22077 clean-libdecnumber:
22078 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22079 r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 $(HOST_EXPORTS) \
22082 for flag in $(EXTRA_HOST_FLAGS) ; do \
22083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22084 done; \
22085 echo "Doing clean in libdecnumber" ; \
22086 (cd $(HOST_SUBDIR)/libdecnumber && \
22087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22089 "RANLIB=$${RANLIB}" \
22090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22091 clean) \
22092 || exit 1
22094 @endif libdecnumber
22096 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22097 maybe-distclean-libdecnumber:
22098 @if libdecnumber
22099 maybe-distclean-libdecnumber: distclean-libdecnumber
22101 distclean-libdecnumber:
22102 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22103 r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 $(HOST_EXPORTS) \
22106 for flag in $(EXTRA_HOST_FLAGS) ; do \
22107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22108 done; \
22109 echo "Doing distclean in libdecnumber" ; \
22110 (cd $(HOST_SUBDIR)/libdecnumber && \
22111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22113 "RANLIB=$${RANLIB}" \
22114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22115 distclean) \
22116 || exit 1
22118 @endif libdecnumber
22120 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22121 maybe-maintainer-clean-libdecnumber:
22122 @if libdecnumber
22123 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22125 maintainer-clean-libdecnumber:
22126 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22127 r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 $(HOST_EXPORTS) \
22130 for flag in $(EXTRA_HOST_FLAGS) ; do \
22131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132 done; \
22133 echo "Doing maintainer-clean in libdecnumber" ; \
22134 (cd $(HOST_SUBDIR)/libdecnumber && \
22135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22137 "RANLIB=$${RANLIB}" \
22138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22139 maintainer-clean) \
22140 || exit 1
22142 @endif libdecnumber
22146 .PHONY: configure-libgui maybe-configure-libgui
22147 maybe-configure-libgui:
22148 @if gcc-bootstrap
22149 configure-libgui: stage_current
22150 @endif gcc-bootstrap
22151 @if libgui
22152 maybe-configure-libgui: configure-libgui
22153 configure-libgui:
22154 @: $(MAKE); $(unstage)
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22159 $(HOST_EXPORTS) \
22160 echo Configuring in $(HOST_SUBDIR)/libgui; \
22161 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22162 case $(srcdir) in \
22163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22164 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22166 esac; \
22167 srcdiroption="--srcdir=$${topdir}/libgui"; \
22168 libsrcdir="$$s/libgui"; \
22169 $(SHELL) $${libsrcdir}/configure \
22170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22171 --target=${target_alias} $${srcdiroption} \
22172 || exit 1
22173 @endif libgui
22179 .PHONY: all-libgui maybe-all-libgui
22180 maybe-all-libgui:
22181 @if gcc-bootstrap
22182 all-libgui: stage_current
22183 @endif gcc-bootstrap
22184 @if libgui
22185 TARGET-libgui=all
22186 maybe-all-libgui: all-libgui
22187 all-libgui: configure-libgui
22188 @: $(MAKE); $(unstage)
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 $(HOST_EXPORTS) \
22192 (cd $(HOST_SUBDIR)/libgui && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22194 $(TARGET-libgui))
22195 @endif libgui
22200 .PHONY: check-libgui maybe-check-libgui
22201 maybe-check-libgui:
22202 @if libgui
22203 maybe-check-libgui: check-libgui
22205 check-libgui:
22206 @: $(MAKE); $(unstage)
22207 @r=`${PWD_COMMAND}`; export r; \
22208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 $(HOST_EXPORTS) \
22210 (cd $(HOST_SUBDIR)/libgui && \
22211 $(MAKE) $(FLAGS_TO_PASS) check)
22213 @endif libgui
22215 .PHONY: install-libgui maybe-install-libgui
22216 maybe-install-libgui:
22217 @if libgui
22218 maybe-install-libgui: install-libgui
22220 install-libgui: installdirs
22221 @: $(MAKE); $(unstage)
22222 @r=`${PWD_COMMAND}`; export r; \
22223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 $(HOST_EXPORTS) \
22225 (cd $(HOST_SUBDIR)/libgui && \
22226 $(MAKE) $(FLAGS_TO_PASS) install)
22228 @endif libgui
22230 .PHONY: install-strip-libgui maybe-install-strip-libgui
22231 maybe-install-strip-libgui:
22232 @if libgui
22233 maybe-install-strip-libgui: install-strip-libgui
22235 install-strip-libgui: installdirs
22236 @: $(MAKE); $(unstage)
22237 @r=`${PWD_COMMAND}`; export r; \
22238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22239 $(HOST_EXPORTS) \
22240 (cd $(HOST_SUBDIR)/libgui && \
22241 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22243 @endif libgui
22245 # Other targets (info, dvi, pdf, etc.)
22247 .PHONY: maybe-info-libgui info-libgui
22248 maybe-info-libgui:
22249 @if libgui
22250 maybe-info-libgui: info-libgui
22252 info-libgui: \
22253 configure-libgui
22254 @: $(MAKE); $(unstage)
22255 @[ -f ./libgui/Makefile ] || exit 0; \
22256 r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 $(HOST_EXPORTS) \
22259 for flag in $(EXTRA_HOST_FLAGS) ; do \
22260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22261 done; \
22262 echo "Doing info in libgui" ; \
22263 (cd $(HOST_SUBDIR)/libgui && \
22264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22266 "RANLIB=$${RANLIB}" \
22267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22268 info) \
22269 || exit 1
22271 @endif libgui
22273 .PHONY: maybe-dvi-libgui dvi-libgui
22274 maybe-dvi-libgui:
22275 @if libgui
22276 maybe-dvi-libgui: dvi-libgui
22278 dvi-libgui: \
22279 configure-libgui
22280 @: $(MAKE); $(unstage)
22281 @[ -f ./libgui/Makefile ] || exit 0; \
22282 r=`${PWD_COMMAND}`; export r; \
22283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22284 $(HOST_EXPORTS) \
22285 for flag in $(EXTRA_HOST_FLAGS) ; do \
22286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22287 done; \
22288 echo "Doing dvi in libgui" ; \
22289 (cd $(HOST_SUBDIR)/libgui && \
22290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22292 "RANLIB=$${RANLIB}" \
22293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22294 dvi) \
22295 || exit 1
22297 @endif libgui
22299 .PHONY: maybe-pdf-libgui pdf-libgui
22300 maybe-pdf-libgui:
22301 @if libgui
22302 maybe-pdf-libgui: pdf-libgui
22304 pdf-libgui: \
22305 configure-libgui
22306 @: $(MAKE); $(unstage)
22307 @[ -f ./libgui/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310 $(HOST_EXPORTS) \
22311 for flag in $(EXTRA_HOST_FLAGS) ; do \
22312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22313 done; \
22314 echo "Doing pdf in libgui" ; \
22315 (cd $(HOST_SUBDIR)/libgui && \
22316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22318 "RANLIB=$${RANLIB}" \
22319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22320 pdf) \
22321 || exit 1
22323 @endif libgui
22325 .PHONY: maybe-html-libgui html-libgui
22326 maybe-html-libgui:
22327 @if libgui
22328 maybe-html-libgui: html-libgui
22330 html-libgui: \
22331 configure-libgui
22332 @: $(MAKE); $(unstage)
22333 @[ -f ./libgui/Makefile ] || exit 0; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(HOST_EXPORTS) \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22339 done; \
22340 echo "Doing html in libgui" ; \
22341 (cd $(HOST_SUBDIR)/libgui && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22346 html) \
22347 || exit 1
22349 @endif libgui
22351 .PHONY: maybe-TAGS-libgui TAGS-libgui
22352 maybe-TAGS-libgui:
22353 @if libgui
22354 maybe-TAGS-libgui: TAGS-libgui
22356 TAGS-libgui: \
22357 configure-libgui
22358 @: $(MAKE); $(unstage)
22359 @[ -f ./libgui/Makefile ] || exit 0; \
22360 r=`${PWD_COMMAND}`; export r; \
22361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22362 $(HOST_EXPORTS) \
22363 for flag in $(EXTRA_HOST_FLAGS) ; do \
22364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22365 done; \
22366 echo "Doing TAGS in libgui" ; \
22367 (cd $(HOST_SUBDIR)/libgui && \
22368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22370 "RANLIB=$${RANLIB}" \
22371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22372 TAGS) \
22373 || exit 1
22375 @endif libgui
22377 .PHONY: maybe-install-info-libgui install-info-libgui
22378 maybe-install-info-libgui:
22379 @if libgui
22380 maybe-install-info-libgui: install-info-libgui
22382 install-info-libgui: \
22383 configure-libgui \
22384 info-libgui
22385 @: $(MAKE); $(unstage)
22386 @[ -f ./libgui/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing install-info in libgui" ; \
22394 (cd $(HOST_SUBDIR)/libgui && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22399 install-info) \
22400 || exit 1
22402 @endif libgui
22404 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22405 maybe-install-pdf-libgui:
22406 @if libgui
22407 maybe-install-pdf-libgui: install-pdf-libgui
22409 install-pdf-libgui: \
22410 configure-libgui \
22411 pdf-libgui
22412 @: $(MAKE); $(unstage)
22413 @[ -f ./libgui/Makefile ] || exit 0; \
22414 r=`${PWD_COMMAND}`; export r; \
22415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22416 $(HOST_EXPORTS) \
22417 for flag in $(EXTRA_HOST_FLAGS) ; do \
22418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22419 done; \
22420 echo "Doing install-pdf in libgui" ; \
22421 (cd $(HOST_SUBDIR)/libgui && \
22422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22424 "RANLIB=$${RANLIB}" \
22425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22426 install-pdf) \
22427 || exit 1
22429 @endif libgui
22431 .PHONY: maybe-install-html-libgui install-html-libgui
22432 maybe-install-html-libgui:
22433 @if libgui
22434 maybe-install-html-libgui: install-html-libgui
22436 install-html-libgui: \
22437 configure-libgui \
22438 html-libgui
22439 @: $(MAKE); $(unstage)
22440 @[ -f ./libgui/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing install-html in libgui" ; \
22448 (cd $(HOST_SUBDIR)/libgui && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22453 install-html) \
22454 || exit 1
22456 @endif libgui
22458 .PHONY: maybe-installcheck-libgui installcheck-libgui
22459 maybe-installcheck-libgui:
22460 @if libgui
22461 maybe-installcheck-libgui: installcheck-libgui
22463 installcheck-libgui: \
22464 configure-libgui
22465 @: $(MAKE); $(unstage)
22466 @[ -f ./libgui/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing installcheck in libgui" ; \
22474 (cd $(HOST_SUBDIR)/libgui && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22479 installcheck) \
22480 || exit 1
22482 @endif libgui
22484 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22485 maybe-mostlyclean-libgui:
22486 @if libgui
22487 maybe-mostlyclean-libgui: mostlyclean-libgui
22489 mostlyclean-libgui:
22490 @: $(MAKE); $(unstage)
22491 @[ -f ./libgui/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing mostlyclean in libgui" ; \
22499 (cd $(HOST_SUBDIR)/libgui && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22504 mostlyclean) \
22505 || exit 1
22507 @endif libgui
22509 .PHONY: maybe-clean-libgui clean-libgui
22510 maybe-clean-libgui:
22511 @if libgui
22512 maybe-clean-libgui: clean-libgui
22514 clean-libgui:
22515 @: $(MAKE); $(unstage)
22516 @[ -f ./libgui/Makefile ] || exit 0; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22519 $(HOST_EXPORTS) \
22520 for flag in $(EXTRA_HOST_FLAGS) ; do \
22521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22522 done; \
22523 echo "Doing clean in libgui" ; \
22524 (cd $(HOST_SUBDIR)/libgui && \
22525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22527 "RANLIB=$${RANLIB}" \
22528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22529 clean) \
22530 || exit 1
22532 @endif libgui
22534 .PHONY: maybe-distclean-libgui distclean-libgui
22535 maybe-distclean-libgui:
22536 @if libgui
22537 maybe-distclean-libgui: distclean-libgui
22539 distclean-libgui:
22540 @: $(MAKE); $(unstage)
22541 @[ -f ./libgui/Makefile ] || exit 0; \
22542 r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(HOST_EXPORTS) \
22545 for flag in $(EXTRA_HOST_FLAGS) ; do \
22546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 done; \
22548 echo "Doing distclean in libgui" ; \
22549 (cd $(HOST_SUBDIR)/libgui && \
22550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22552 "RANLIB=$${RANLIB}" \
22553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22554 distclean) \
22555 || exit 1
22557 @endif libgui
22559 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22560 maybe-maintainer-clean-libgui:
22561 @if libgui
22562 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22564 maintainer-clean-libgui:
22565 @: $(MAKE); $(unstage)
22566 @[ -f ./libgui/Makefile ] || exit 0; \
22567 r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(HOST_EXPORTS) \
22570 for flag in $(EXTRA_HOST_FLAGS) ; do \
22571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572 done; \
22573 echo "Doing maintainer-clean in libgui" ; \
22574 (cd $(HOST_SUBDIR)/libgui && \
22575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22577 "RANLIB=$${RANLIB}" \
22578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22579 maintainer-clean) \
22580 || exit 1
22582 @endif libgui
22586 .PHONY: configure-libiberty maybe-configure-libiberty
22587 maybe-configure-libiberty:
22588 @if gcc-bootstrap
22589 configure-libiberty: stage_current
22590 @endif gcc-bootstrap
22591 @if libiberty
22592 maybe-configure-libiberty: configure-libiberty
22593 configure-libiberty:
22594 @r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22596 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22598 $(HOST_EXPORTS) \
22599 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22600 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22601 case $(srcdir) in \
22602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22603 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22605 esac; \
22606 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22607 libsrcdir="$$s/libiberty"; \
22608 $(SHELL) $${libsrcdir}/configure \
22609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22610 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22611 || exit 1
22612 @endif libiberty
22616 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22617 maybe-configure-stage1-libiberty:
22618 @if libiberty-bootstrap
22619 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22620 configure-stage1-libiberty:
22621 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22623 @r=`${PWD_COMMAND}`; export r; \
22624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22625 TFLAGS="$(STAGE1_TFLAGS)"; \
22626 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22627 $(HOST_EXPORTS) \
22628 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22629 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22630 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22631 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22633 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22634 case $(srcdir) in \
22635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22636 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22638 esac; \
22639 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22640 libsrcdir="$$s/libiberty"; \
22641 $(SHELL) $${libsrcdir}/configure \
22642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22643 --target=${target_alias} $${srcdiroption} \
22644 $(STAGE1_CONFIGURE_FLAGS) \
22645 @extra_host_libiberty_configure_flags@
22646 @endif libiberty-bootstrap
22648 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22649 maybe-configure-stage2-libiberty:
22650 @if libiberty-bootstrap
22651 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22652 configure-stage2-libiberty:
22653 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22655 @r=`${PWD_COMMAND}`; export r; \
22656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22657 TFLAGS="$(STAGE2_TFLAGS)"; \
22658 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22659 $(HOST_EXPORTS) \
22660 $(POSTSTAGE1_HOST_EXPORTS) \
22661 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22662 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22663 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22664 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22666 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22667 case $(srcdir) in \
22668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22669 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22671 esac; \
22672 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22673 libsrcdir="$$s/libiberty"; \
22674 $(SHELL) $${libsrcdir}/configure \
22675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22676 --target=${target_alias} $${srcdiroption} \
22677 --with-build-libsubdir=$(HOST_SUBDIR) \
22678 $(STAGE2_CONFIGURE_FLAGS) \
22679 @extra_host_libiberty_configure_flags@
22680 @endif libiberty-bootstrap
22682 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22683 maybe-configure-stage3-libiberty:
22684 @if libiberty-bootstrap
22685 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22686 configure-stage3-libiberty:
22687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22689 @r=`${PWD_COMMAND}`; export r; \
22690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22691 TFLAGS="$(STAGE3_TFLAGS)"; \
22692 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22693 $(HOST_EXPORTS) \
22694 $(POSTSTAGE1_HOST_EXPORTS) \
22695 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22696 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22697 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22698 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22700 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22701 case $(srcdir) in \
22702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22703 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22705 esac; \
22706 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22707 libsrcdir="$$s/libiberty"; \
22708 $(SHELL) $${libsrcdir}/configure \
22709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22710 --target=${target_alias} $${srcdiroption} \
22711 --with-build-libsubdir=$(HOST_SUBDIR) \
22712 $(STAGE3_CONFIGURE_FLAGS) \
22713 @extra_host_libiberty_configure_flags@
22714 @endif libiberty-bootstrap
22716 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22717 maybe-configure-stage4-libiberty:
22718 @if libiberty-bootstrap
22719 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22720 configure-stage4-libiberty:
22721 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22723 @r=`${PWD_COMMAND}`; export r; \
22724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22725 TFLAGS="$(STAGE4_TFLAGS)"; \
22726 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22727 $(HOST_EXPORTS) \
22728 $(POSTSTAGE1_HOST_EXPORTS) \
22729 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22730 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22731 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22732 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22734 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22735 case $(srcdir) in \
22736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22737 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22739 esac; \
22740 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22741 libsrcdir="$$s/libiberty"; \
22742 $(SHELL) $${libsrcdir}/configure \
22743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22744 --target=${target_alias} $${srcdiroption} \
22745 --with-build-libsubdir=$(HOST_SUBDIR) \
22746 $(STAGE4_CONFIGURE_FLAGS) \
22747 @extra_host_libiberty_configure_flags@
22748 @endif libiberty-bootstrap
22750 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22751 maybe-configure-stageprofile-libiberty:
22752 @if libiberty-bootstrap
22753 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22754 configure-stageprofile-libiberty:
22755 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22757 @r=`${PWD_COMMAND}`; export r; \
22758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22759 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22760 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22761 $(HOST_EXPORTS) \
22762 $(POSTSTAGE1_HOST_EXPORTS) \
22763 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22764 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22765 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22766 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22768 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22769 case $(srcdir) in \
22770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22771 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22773 esac; \
22774 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22775 libsrcdir="$$s/libiberty"; \
22776 $(SHELL) $${libsrcdir}/configure \
22777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22778 --target=${target_alias} $${srcdiroption} \
22779 --with-build-libsubdir=$(HOST_SUBDIR) \
22780 $(STAGEprofile_CONFIGURE_FLAGS) \
22781 @extra_host_libiberty_configure_flags@
22782 @endif libiberty-bootstrap
22784 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22785 maybe-configure-stagefeedback-libiberty:
22786 @if libiberty-bootstrap
22787 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22788 configure-stagefeedback-libiberty:
22789 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22791 @r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22793 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22794 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22795 $(HOST_EXPORTS) \
22796 $(POSTSTAGE1_HOST_EXPORTS) \
22797 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22798 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22799 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22800 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22802 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22803 case $(srcdir) in \
22804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22805 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22807 esac; \
22808 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22809 libsrcdir="$$s/libiberty"; \
22810 $(SHELL) $${libsrcdir}/configure \
22811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22812 --target=${target_alias} $${srcdiroption} \
22813 --with-build-libsubdir=$(HOST_SUBDIR) \
22814 $(STAGEfeedback_CONFIGURE_FLAGS) \
22815 @extra_host_libiberty_configure_flags@
22816 @endif libiberty-bootstrap
22822 .PHONY: all-libiberty maybe-all-libiberty
22823 maybe-all-libiberty:
22824 @if gcc-bootstrap
22825 all-libiberty: stage_current
22826 @endif gcc-bootstrap
22827 @if libiberty
22828 TARGET-libiberty=all
22829 maybe-all-libiberty: all-libiberty
22830 all-libiberty: configure-libiberty
22831 @r=`${PWD_COMMAND}`; export r; \
22832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22833 $(HOST_EXPORTS) \
22834 (cd $(HOST_SUBDIR)/libiberty && \
22835 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22836 $(TARGET-libiberty))
22837 @endif libiberty
22841 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22842 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22843 maybe-all-stage1-libiberty:
22844 maybe-clean-stage1-libiberty:
22845 @if libiberty-bootstrap
22846 maybe-all-stage1-libiberty: all-stage1-libiberty
22847 all-stage1: all-stage1-libiberty
22848 TARGET-stage1-libiberty = $(TARGET-libiberty)
22849 all-stage1-libiberty: configure-stage1-libiberty
22850 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22851 @r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 TFLAGS="$(STAGE1_TFLAGS)"; \
22854 $(HOST_EXPORTS) \
22855 cd $(HOST_SUBDIR)/libiberty && \
22856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22857 CFLAGS="$(STAGE1_CFLAGS)" \
22858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22859 LIBCFLAGS="$(LIBCFLAGS)" \
22860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22863 $(EXTRA_HOST_FLAGS) \
22864 $(STAGE1_FLAGS_TO_PASS) \
22865 TFLAGS="$(STAGE1_TFLAGS)" \
22866 $(TARGET-stage1-libiberty)
22868 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22869 clean-stage1: clean-stage1-libiberty
22870 clean-stage1-libiberty:
22871 @if [ $(current_stage) = stage1 ]; then \
22872 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22873 else \
22874 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22875 $(MAKE) stage1-start; \
22876 fi; \
22877 cd $(HOST_SUBDIR)/libiberty && \
22878 $(MAKE) $(EXTRA_HOST_FLAGS) \
22879 $(STAGE1_FLAGS_TO_PASS) clean
22880 @endif libiberty-bootstrap
22883 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22884 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22885 maybe-all-stage2-libiberty:
22886 maybe-clean-stage2-libiberty:
22887 @if libiberty-bootstrap
22888 maybe-all-stage2-libiberty: all-stage2-libiberty
22889 all-stage2: all-stage2-libiberty
22890 TARGET-stage2-libiberty = $(TARGET-libiberty)
22891 all-stage2-libiberty: configure-stage2-libiberty
22892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22893 @r=`${PWD_COMMAND}`; export r; \
22894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22895 TFLAGS="$(STAGE2_TFLAGS)"; \
22896 $(HOST_EXPORTS) \
22897 $(POSTSTAGE1_HOST_EXPORTS) \
22898 cd $(HOST_SUBDIR)/libiberty && \
22899 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22900 CFLAGS="$(STAGE2_CFLAGS)" \
22901 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22902 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22903 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22904 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22905 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22906 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22907 TFLAGS="$(STAGE2_TFLAGS)" \
22908 $(TARGET-stage2-libiberty)
22910 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22911 clean-stage2: clean-stage2-libiberty
22912 clean-stage2-libiberty:
22913 @if [ $(current_stage) = stage2 ]; then \
22914 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22915 else \
22916 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22917 $(MAKE) stage2-start; \
22918 fi; \
22919 cd $(HOST_SUBDIR)/libiberty && \
22920 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22921 @endif libiberty-bootstrap
22924 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22925 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22926 maybe-all-stage3-libiberty:
22927 maybe-clean-stage3-libiberty:
22928 @if libiberty-bootstrap
22929 maybe-all-stage3-libiberty: all-stage3-libiberty
22930 all-stage3: all-stage3-libiberty
22931 TARGET-stage3-libiberty = $(TARGET-libiberty)
22932 all-stage3-libiberty: configure-stage3-libiberty
22933 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22934 @r=`${PWD_COMMAND}`; export r; \
22935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22936 TFLAGS="$(STAGE3_TFLAGS)"; \
22937 $(HOST_EXPORTS) \
22938 $(POSTSTAGE1_HOST_EXPORTS) \
22939 cd $(HOST_SUBDIR)/libiberty && \
22940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22941 CFLAGS="$(STAGE3_CFLAGS)" \
22942 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22943 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22948 TFLAGS="$(STAGE3_TFLAGS)" \
22949 $(TARGET-stage3-libiberty)
22951 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22952 clean-stage3: clean-stage3-libiberty
22953 clean-stage3-libiberty:
22954 @if [ $(current_stage) = stage3 ]; then \
22955 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22956 else \
22957 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22958 $(MAKE) stage3-start; \
22959 fi; \
22960 cd $(HOST_SUBDIR)/libiberty && \
22961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22962 @endif libiberty-bootstrap
22965 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22966 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22967 maybe-all-stage4-libiberty:
22968 maybe-clean-stage4-libiberty:
22969 @if libiberty-bootstrap
22970 maybe-all-stage4-libiberty: all-stage4-libiberty
22971 all-stage4: all-stage4-libiberty
22972 TARGET-stage4-libiberty = $(TARGET-libiberty)
22973 all-stage4-libiberty: configure-stage4-libiberty
22974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22975 @r=`${PWD_COMMAND}`; export r; \
22976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 TFLAGS="$(STAGE4_TFLAGS)"; \
22978 $(HOST_EXPORTS) \
22979 $(POSTSTAGE1_HOST_EXPORTS) \
22980 cd $(HOST_SUBDIR)/libiberty && \
22981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22982 CFLAGS="$(STAGE4_CFLAGS)" \
22983 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22984 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22989 TFLAGS="$(STAGE4_TFLAGS)" \
22990 $(TARGET-stage4-libiberty)
22992 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22993 clean-stage4: clean-stage4-libiberty
22994 clean-stage4-libiberty:
22995 @if [ $(current_stage) = stage4 ]; then \
22996 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22997 else \
22998 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22999 $(MAKE) stage4-start; \
23000 fi; \
23001 cd $(HOST_SUBDIR)/libiberty && \
23002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23003 @endif libiberty-bootstrap
23006 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23007 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23008 maybe-all-stageprofile-libiberty:
23009 maybe-clean-stageprofile-libiberty:
23010 @if libiberty-bootstrap
23011 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23012 all-stageprofile: all-stageprofile-libiberty
23013 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23014 all-stageprofile-libiberty: configure-stageprofile-libiberty
23015 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23016 @r=`${PWD_COMMAND}`; export r; \
23017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23018 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23019 $(HOST_EXPORTS) \
23020 $(POSTSTAGE1_HOST_EXPORTS) \
23021 cd $(HOST_SUBDIR)/libiberty && \
23022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23023 CFLAGS="$(STAGEprofile_CFLAGS)" \
23024 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23025 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23030 TFLAGS="$(STAGEprofile_TFLAGS)" \
23031 $(TARGET-stageprofile-libiberty)
23033 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23034 clean-stageprofile: clean-stageprofile-libiberty
23035 clean-stageprofile-libiberty:
23036 @if [ $(current_stage) = stageprofile ]; then \
23037 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23038 else \
23039 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23040 $(MAKE) stageprofile-start; \
23041 fi; \
23042 cd $(HOST_SUBDIR)/libiberty && \
23043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23044 @endif libiberty-bootstrap
23047 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23048 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23049 maybe-all-stagefeedback-libiberty:
23050 maybe-clean-stagefeedback-libiberty:
23051 @if libiberty-bootstrap
23052 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23053 all-stagefeedback: all-stagefeedback-libiberty
23054 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23055 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23056 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23057 @r=`${PWD_COMMAND}`; export r; \
23058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23060 $(HOST_EXPORTS) \
23061 $(POSTSTAGE1_HOST_EXPORTS) \
23062 cd $(HOST_SUBDIR)/libiberty && \
23063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23064 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23065 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23066 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23071 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23072 $(TARGET-stagefeedback-libiberty)
23074 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23075 clean-stagefeedback: clean-stagefeedback-libiberty
23076 clean-stagefeedback-libiberty:
23077 @if [ $(current_stage) = stagefeedback ]; then \
23078 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23079 else \
23080 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23081 $(MAKE) stagefeedback-start; \
23082 fi; \
23083 cd $(HOST_SUBDIR)/libiberty && \
23084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23085 @endif libiberty-bootstrap
23091 .PHONY: check-libiberty maybe-check-libiberty
23092 maybe-check-libiberty:
23093 @if libiberty
23094 maybe-check-libiberty: check-libiberty
23096 check-libiberty:
23097 @: $(MAKE); $(unstage)
23098 @r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 (cd $(HOST_SUBDIR)/libiberty && \
23102 $(MAKE) $(FLAGS_TO_PASS) check)
23104 @endif libiberty
23106 .PHONY: install-libiberty maybe-install-libiberty
23107 maybe-install-libiberty:
23108 @if libiberty
23109 maybe-install-libiberty: install-libiberty
23111 install-libiberty: installdirs
23112 @: $(MAKE); $(unstage)
23113 @r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(HOST_EXPORTS) \
23116 (cd $(HOST_SUBDIR)/libiberty && \
23117 $(MAKE) $(FLAGS_TO_PASS) install)
23119 @endif libiberty
23121 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23122 maybe-install-strip-libiberty:
23123 @if libiberty
23124 maybe-install-strip-libiberty: install-strip-libiberty
23126 install-strip-libiberty: installdirs
23127 @: $(MAKE); $(unstage)
23128 @r=`${PWD_COMMAND}`; export r; \
23129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(HOST_EXPORTS) \
23131 (cd $(HOST_SUBDIR)/libiberty && \
23132 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23134 @endif libiberty
23136 # Other targets (info, dvi, pdf, etc.)
23138 .PHONY: maybe-info-libiberty info-libiberty
23139 maybe-info-libiberty:
23140 @if libiberty
23141 maybe-info-libiberty: info-libiberty
23143 info-libiberty: \
23144 configure-libiberty
23145 @[ -f ./libiberty/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 $(HOST_EXPORTS) \
23149 for flag in $(EXTRA_HOST_FLAGS) ; do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 done; \
23152 echo "Doing info in libiberty" ; \
23153 (cd $(HOST_SUBDIR)/libiberty && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23158 info) \
23159 || exit 1
23161 @endif libiberty
23163 .PHONY: maybe-dvi-libiberty dvi-libiberty
23164 maybe-dvi-libiberty:
23165 @if libiberty
23166 maybe-dvi-libiberty: dvi-libiberty
23168 dvi-libiberty: \
23169 configure-libiberty
23170 @[ -f ./libiberty/Makefile ] || exit 0; \
23171 r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 $(HOST_EXPORTS) \
23174 for flag in $(EXTRA_HOST_FLAGS) ; do \
23175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23176 done; \
23177 echo "Doing dvi in libiberty" ; \
23178 (cd $(HOST_SUBDIR)/libiberty && \
23179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23181 "RANLIB=$${RANLIB}" \
23182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23183 dvi) \
23184 || exit 1
23186 @endif libiberty
23188 .PHONY: maybe-pdf-libiberty pdf-libiberty
23189 maybe-pdf-libiberty:
23190 @if libiberty
23191 maybe-pdf-libiberty: pdf-libiberty
23193 pdf-libiberty: \
23194 configure-libiberty
23195 @[ -f ./libiberty/Makefile ] || exit 0; \
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23198 $(HOST_EXPORTS) \
23199 for flag in $(EXTRA_HOST_FLAGS) ; do \
23200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23201 done; \
23202 echo "Doing pdf in libiberty" ; \
23203 (cd $(HOST_SUBDIR)/libiberty && \
23204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23206 "RANLIB=$${RANLIB}" \
23207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23208 pdf) \
23209 || exit 1
23211 @endif libiberty
23213 .PHONY: maybe-html-libiberty html-libiberty
23214 maybe-html-libiberty:
23215 @if libiberty
23216 maybe-html-libiberty: html-libiberty
23218 html-libiberty: \
23219 configure-libiberty
23220 @[ -f ./libiberty/Makefile ] || exit 0; \
23221 r=`${PWD_COMMAND}`; export r; \
23222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 $(HOST_EXPORTS) \
23224 for flag in $(EXTRA_HOST_FLAGS) ; do \
23225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23226 done; \
23227 echo "Doing html in libiberty" ; \
23228 (cd $(HOST_SUBDIR)/libiberty && \
23229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23231 "RANLIB=$${RANLIB}" \
23232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23233 html) \
23234 || exit 1
23236 @endif libiberty
23238 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23239 maybe-TAGS-libiberty:
23240 @if libiberty
23241 maybe-TAGS-libiberty: TAGS-libiberty
23243 TAGS-libiberty: \
23244 configure-libiberty
23245 @[ -f ./libiberty/Makefile ] || exit 0; \
23246 r=`${PWD_COMMAND}`; export r; \
23247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23248 $(HOST_EXPORTS) \
23249 for flag in $(EXTRA_HOST_FLAGS) ; do \
23250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23251 done; \
23252 echo "Doing TAGS in libiberty" ; \
23253 (cd $(HOST_SUBDIR)/libiberty && \
23254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23256 "RANLIB=$${RANLIB}" \
23257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23258 TAGS) \
23259 || exit 1
23261 @endif libiberty
23263 .PHONY: maybe-install-info-libiberty install-info-libiberty
23264 maybe-install-info-libiberty:
23265 @if libiberty
23266 maybe-install-info-libiberty: install-info-libiberty
23268 install-info-libiberty: \
23269 configure-libiberty \
23270 info-libiberty
23271 @[ -f ./libiberty/Makefile ] || exit 0; \
23272 r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274 $(HOST_EXPORTS) \
23275 for flag in $(EXTRA_HOST_FLAGS) ; do \
23276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23277 done; \
23278 echo "Doing install-info in libiberty" ; \
23279 (cd $(HOST_SUBDIR)/libiberty && \
23280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23282 "RANLIB=$${RANLIB}" \
23283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23284 install-info) \
23285 || exit 1
23287 @endif libiberty
23289 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23290 maybe-install-pdf-libiberty:
23291 @if libiberty
23292 maybe-install-pdf-libiberty: install-pdf-libiberty
23294 install-pdf-libiberty: \
23295 configure-libiberty \
23296 pdf-libiberty
23297 @[ -f ./libiberty/Makefile ] || exit 0; \
23298 r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(HOST_EXPORTS) \
23301 for flag in $(EXTRA_HOST_FLAGS) ; do \
23302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23303 done; \
23304 echo "Doing install-pdf in libiberty" ; \
23305 (cd $(HOST_SUBDIR)/libiberty && \
23306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23308 "RANLIB=$${RANLIB}" \
23309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23310 install-pdf) \
23311 || exit 1
23313 @endif libiberty
23315 .PHONY: maybe-install-html-libiberty install-html-libiberty
23316 maybe-install-html-libiberty:
23317 @if libiberty
23318 maybe-install-html-libiberty: install-html-libiberty
23320 install-html-libiberty: \
23321 configure-libiberty \
23322 html-libiberty
23323 @[ -f ./libiberty/Makefile ] || exit 0; \
23324 r=`${PWD_COMMAND}`; export r; \
23325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23326 $(HOST_EXPORTS) \
23327 for flag in $(EXTRA_HOST_FLAGS) ; do \
23328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23329 done; \
23330 echo "Doing install-html in libiberty" ; \
23331 (cd $(HOST_SUBDIR)/libiberty && \
23332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23334 "RANLIB=$${RANLIB}" \
23335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23336 install-html) \
23337 || exit 1
23339 @endif libiberty
23341 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23342 maybe-installcheck-libiberty:
23343 @if libiberty
23344 maybe-installcheck-libiberty: installcheck-libiberty
23346 installcheck-libiberty: \
23347 configure-libiberty
23348 @[ -f ./libiberty/Makefile ] || exit 0; \
23349 r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23351 $(HOST_EXPORTS) \
23352 for flag in $(EXTRA_HOST_FLAGS) ; do \
23353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23354 done; \
23355 echo "Doing installcheck in libiberty" ; \
23356 (cd $(HOST_SUBDIR)/libiberty && \
23357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23359 "RANLIB=$${RANLIB}" \
23360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23361 installcheck) \
23362 || exit 1
23364 @endif libiberty
23366 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23367 maybe-mostlyclean-libiberty:
23368 @if libiberty
23369 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23371 mostlyclean-libiberty:
23372 @[ -f ./libiberty/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing mostlyclean in libiberty" ; \
23380 (cd $(HOST_SUBDIR)/libiberty && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23385 mostlyclean) \
23386 || exit 1
23388 @endif libiberty
23390 .PHONY: maybe-clean-libiberty clean-libiberty
23391 maybe-clean-libiberty:
23392 @if libiberty
23393 maybe-clean-libiberty: clean-libiberty
23395 clean-libiberty:
23396 @[ -f ./libiberty/Makefile ] || exit 0; \
23397 r=`${PWD_COMMAND}`; export r; \
23398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23399 $(HOST_EXPORTS) \
23400 for flag in $(EXTRA_HOST_FLAGS) ; do \
23401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23402 done; \
23403 echo "Doing clean in libiberty" ; \
23404 (cd $(HOST_SUBDIR)/libiberty && \
23405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23407 "RANLIB=$${RANLIB}" \
23408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23409 clean) \
23410 || exit 1
23412 @endif libiberty
23414 .PHONY: maybe-distclean-libiberty distclean-libiberty
23415 maybe-distclean-libiberty:
23416 @if libiberty
23417 maybe-distclean-libiberty: distclean-libiberty
23419 distclean-libiberty:
23420 @[ -f ./libiberty/Makefile ] || exit 0; \
23421 r=`${PWD_COMMAND}`; export r; \
23422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23423 $(HOST_EXPORTS) \
23424 for flag in $(EXTRA_HOST_FLAGS) ; do \
23425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23426 done; \
23427 echo "Doing distclean in libiberty" ; \
23428 (cd $(HOST_SUBDIR)/libiberty && \
23429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23431 "RANLIB=$${RANLIB}" \
23432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23433 distclean) \
23434 || exit 1
23436 @endif libiberty
23438 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23439 maybe-maintainer-clean-libiberty:
23440 @if libiberty
23441 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23443 maintainer-clean-libiberty:
23444 @[ -f ./libiberty/Makefile ] || exit 0; \
23445 r=`${PWD_COMMAND}`; export r; \
23446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23447 $(HOST_EXPORTS) \
23448 for flag in $(EXTRA_HOST_FLAGS) ; do \
23449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450 done; \
23451 echo "Doing maintainer-clean in libiberty" ; \
23452 (cd $(HOST_SUBDIR)/libiberty && \
23453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23455 "RANLIB=$${RANLIB}" \
23456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23457 maintainer-clean) \
23458 || exit 1
23460 @endif libiberty
23464 .PHONY: configure-libiconv maybe-configure-libiconv
23465 maybe-configure-libiconv:
23466 @if gcc-bootstrap
23467 configure-libiconv: stage_current
23468 @endif gcc-bootstrap
23469 @if libiconv
23470 maybe-configure-libiconv: configure-libiconv
23471 configure-libiconv:
23472 @: $(MAKE); $(unstage)
23473 @r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23477 $(HOST_EXPORTS) \
23478 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23479 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23480 case $(srcdir) in \
23481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23482 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23484 esac; \
23485 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23486 libsrcdir="$$s/libiconv"; \
23487 $(SHELL) $${libsrcdir}/configure \
23488 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23489 --target=${target_alias} $${srcdiroption} --disable-shared \
23490 || exit 1
23491 @endif libiconv
23497 .PHONY: all-libiconv maybe-all-libiconv
23498 maybe-all-libiconv:
23499 @if gcc-bootstrap
23500 all-libiconv: stage_current
23501 @endif gcc-bootstrap
23502 @if libiconv
23503 TARGET-libiconv=all
23504 maybe-all-libiconv: all-libiconv
23505 all-libiconv: configure-libiconv
23506 @: $(MAKE); $(unstage)
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(HOST_EXPORTS) \
23510 (cd $(HOST_SUBDIR)/libiconv && \
23511 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23512 $(TARGET-libiconv))
23513 @endif libiconv
23518 .PHONY: check-libiconv maybe-check-libiconv
23519 maybe-check-libiconv:
23520 @if libiconv
23521 maybe-check-libiconv: check-libiconv
23523 check-libiconv:
23524 @: $(MAKE); $(unstage)
23525 @r=`${PWD_COMMAND}`; export r; \
23526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23527 $(HOST_EXPORTS) \
23528 (cd $(HOST_SUBDIR)/libiconv && \
23529 $(MAKE) $(FLAGS_TO_PASS) check)
23531 @endif libiconv
23533 .PHONY: install-libiconv maybe-install-libiconv
23534 maybe-install-libiconv:
23535 @if libiconv
23536 maybe-install-libiconv: install-libiconv
23538 install-libiconv:
23540 @endif libiconv
23542 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23543 maybe-install-strip-libiconv:
23544 @if libiconv
23545 maybe-install-strip-libiconv: install-strip-libiconv
23547 install-strip-libiconv:
23549 @endif libiconv
23551 # Other targets (info, dvi, pdf, etc.)
23553 .PHONY: maybe-info-libiconv info-libiconv
23554 maybe-info-libiconv:
23555 @if libiconv
23556 maybe-info-libiconv: info-libiconv
23558 info-libiconv: \
23559 configure-libiconv
23560 @: $(MAKE); $(unstage)
23561 @[ -f ./libiconv/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564 $(HOST_EXPORTS) \
23565 for flag in $(EXTRA_HOST_FLAGS) ; do \
23566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23567 done; \
23568 echo "Doing info in libiconv" ; \
23569 (cd $(HOST_SUBDIR)/libiconv && \
23570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23572 "RANLIB=$${RANLIB}" \
23573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23574 info) \
23575 || exit 1
23577 @endif libiconv
23579 .PHONY: maybe-dvi-libiconv dvi-libiconv
23580 maybe-dvi-libiconv:
23581 @if libiconv
23582 maybe-dvi-libiconv: dvi-libiconv
23584 dvi-libiconv: \
23585 configure-libiconv
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./libiconv/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing dvi in libiconv" ; \
23595 (cd $(HOST_SUBDIR)/libiconv && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23600 dvi) \
23601 || exit 1
23603 @endif libiconv
23605 .PHONY: maybe-pdf-libiconv pdf-libiconv
23606 maybe-pdf-libiconv:
23607 @if libiconv
23608 maybe-pdf-libiconv: pdf-libiconv
23610 pdf-libiconv: \
23611 configure-libiconv
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./libiconv/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23619 done; \
23620 echo "Doing pdf in libiconv" ; \
23621 (cd $(HOST_SUBDIR)/libiconv && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23626 pdf) \
23627 || exit 1
23629 @endif libiconv
23631 .PHONY: maybe-html-libiconv html-libiconv
23632 maybe-html-libiconv:
23633 @if libiconv
23634 maybe-html-libiconv: html-libiconv
23636 html-libiconv: \
23637 configure-libiconv
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./libiconv/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing html in libiconv" ; \
23647 (cd $(HOST_SUBDIR)/libiconv && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23652 html) \
23653 || exit 1
23655 @endif libiconv
23657 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23658 maybe-TAGS-libiconv:
23659 @if libiconv
23660 maybe-TAGS-libiconv: TAGS-libiconv
23662 TAGS-libiconv: \
23663 configure-libiconv
23664 @: $(MAKE); $(unstage)
23665 @[ -f ./libiconv/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing TAGS in libiconv" ; \
23673 (cd $(HOST_SUBDIR)/libiconv && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23678 TAGS) \
23679 || exit 1
23681 @endif libiconv
23683 .PHONY: maybe-install-info-libiconv install-info-libiconv
23684 maybe-install-info-libiconv:
23685 @if libiconv
23686 maybe-install-info-libiconv: install-info-libiconv
23688 # libiconv doesn't support install-info.
23689 install-info-libiconv:
23691 @endif libiconv
23693 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23694 maybe-install-pdf-libiconv:
23695 @if libiconv
23696 maybe-install-pdf-libiconv: install-pdf-libiconv
23698 # libiconv doesn't support install-pdf.
23699 install-pdf-libiconv:
23701 @endif libiconv
23703 .PHONY: maybe-install-html-libiconv install-html-libiconv
23704 maybe-install-html-libiconv:
23705 @if libiconv
23706 maybe-install-html-libiconv: install-html-libiconv
23708 # libiconv doesn't support install-html.
23709 install-html-libiconv:
23711 @endif libiconv
23713 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23714 maybe-installcheck-libiconv:
23715 @if libiconv
23716 maybe-installcheck-libiconv: installcheck-libiconv
23718 installcheck-libiconv: \
23719 configure-libiconv
23720 @: $(MAKE); $(unstage)
23721 @[ -f ./libiconv/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 for flag in $(EXTRA_HOST_FLAGS) ; do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 done; \
23728 echo "Doing installcheck in libiconv" ; \
23729 (cd $(HOST_SUBDIR)/libiconv && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23732 "RANLIB=$${RANLIB}" \
23733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23734 installcheck) \
23735 || exit 1
23737 @endif libiconv
23739 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23740 maybe-mostlyclean-libiconv:
23741 @if libiconv
23742 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23744 mostlyclean-libiconv:
23745 @: $(MAKE); $(unstage)
23746 @[ -f ./libiconv/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(HOST_EXPORTS) \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 done; \
23753 echo "Doing mostlyclean in libiconv" ; \
23754 (cd $(HOST_SUBDIR)/libiconv && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23759 mostlyclean) \
23760 || exit 1
23762 @endif libiconv
23764 .PHONY: maybe-clean-libiconv clean-libiconv
23765 maybe-clean-libiconv:
23766 @if libiconv
23767 maybe-clean-libiconv: clean-libiconv
23769 clean-libiconv:
23770 @: $(MAKE); $(unstage)
23771 @[ -f ./libiconv/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing clean in libiconv" ; \
23779 (cd $(HOST_SUBDIR)/libiconv && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23784 clean) \
23785 || exit 1
23787 @endif libiconv
23789 .PHONY: maybe-distclean-libiconv distclean-libiconv
23790 maybe-distclean-libiconv:
23791 @if libiconv
23792 maybe-distclean-libiconv: distclean-libiconv
23794 distclean-libiconv:
23795 @: $(MAKE); $(unstage)
23796 @[ -f ./libiconv/Makefile ] || exit 0; \
23797 r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 $(HOST_EXPORTS) \
23800 for flag in $(EXTRA_HOST_FLAGS) ; do \
23801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23802 done; \
23803 echo "Doing distclean in libiconv" ; \
23804 (cd $(HOST_SUBDIR)/libiconv && \
23805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23807 "RANLIB=$${RANLIB}" \
23808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23809 distclean) \
23810 || exit 1
23812 @endif libiconv
23814 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23815 maybe-maintainer-clean-libiconv:
23816 @if libiconv
23817 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23819 maintainer-clean-libiconv:
23820 @: $(MAKE); $(unstage)
23821 @[ -f ./libiconv/Makefile ] || exit 0; \
23822 r=`${PWD_COMMAND}`; export r; \
23823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23824 $(HOST_EXPORTS) \
23825 for flag in $(EXTRA_HOST_FLAGS) ; do \
23826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23827 done; \
23828 echo "Doing maintainer-clean in libiconv" ; \
23829 (cd $(HOST_SUBDIR)/libiconv && \
23830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23832 "RANLIB=$${RANLIB}" \
23833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23834 maintainer-clean) \
23835 || exit 1
23837 @endif libiconv
23841 .PHONY: configure-m4 maybe-configure-m4
23842 maybe-configure-m4:
23843 @if gcc-bootstrap
23844 configure-m4: stage_current
23845 @endif gcc-bootstrap
23846 @if m4
23847 maybe-configure-m4: configure-m4
23848 configure-m4:
23849 @: $(MAKE); $(unstage)
23850 @r=`${PWD_COMMAND}`; export r; \
23851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23852 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23854 $(HOST_EXPORTS) \
23855 echo Configuring in $(HOST_SUBDIR)/m4; \
23856 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23857 case $(srcdir) in \
23858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23859 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23861 esac; \
23862 srcdiroption="--srcdir=$${topdir}/m4"; \
23863 libsrcdir="$$s/m4"; \
23864 $(SHELL) $${libsrcdir}/configure \
23865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23866 --target=${target_alias} $${srcdiroption} \
23867 || exit 1
23868 @endif m4
23874 .PHONY: all-m4 maybe-all-m4
23875 maybe-all-m4:
23876 @if gcc-bootstrap
23877 all-m4: stage_current
23878 @endif gcc-bootstrap
23879 @if m4
23880 TARGET-m4=all
23881 maybe-all-m4: all-m4
23882 all-m4: configure-m4
23883 @: $(MAKE); $(unstage)
23884 @r=`${PWD_COMMAND}`; export r; \
23885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23886 $(HOST_EXPORTS) \
23887 (cd $(HOST_SUBDIR)/m4 && \
23888 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23889 $(TARGET-m4))
23890 @endif m4
23895 .PHONY: check-m4 maybe-check-m4
23896 maybe-check-m4:
23897 @if m4
23898 maybe-check-m4: check-m4
23900 check-m4:
23901 @: $(MAKE); $(unstage)
23902 @r=`${PWD_COMMAND}`; export r; \
23903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23904 $(HOST_EXPORTS) \
23905 (cd $(HOST_SUBDIR)/m4 && \
23906 $(MAKE) $(FLAGS_TO_PASS) check)
23908 @endif m4
23910 .PHONY: install-m4 maybe-install-m4
23911 maybe-install-m4:
23912 @if m4
23913 maybe-install-m4: install-m4
23915 install-m4: installdirs
23916 @: $(MAKE); $(unstage)
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(HOST_EXPORTS) \
23920 (cd $(HOST_SUBDIR)/m4 && \
23921 $(MAKE) $(FLAGS_TO_PASS) install)
23923 @endif m4
23925 .PHONY: install-strip-m4 maybe-install-strip-m4
23926 maybe-install-strip-m4:
23927 @if m4
23928 maybe-install-strip-m4: install-strip-m4
23930 install-strip-m4: installdirs
23931 @: $(MAKE); $(unstage)
23932 @r=`${PWD_COMMAND}`; export r; \
23933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23934 $(HOST_EXPORTS) \
23935 (cd $(HOST_SUBDIR)/m4 && \
23936 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23938 @endif m4
23940 # Other targets (info, dvi, pdf, etc.)
23942 .PHONY: maybe-info-m4 info-m4
23943 maybe-info-m4:
23944 @if m4
23945 maybe-info-m4: info-m4
23947 info-m4: \
23948 configure-m4
23949 @: $(MAKE); $(unstage)
23950 @[ -f ./m4/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 done; \
23957 echo "Doing info in m4" ; \
23958 (cd $(HOST_SUBDIR)/m4 && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23963 info) \
23964 || exit 1
23966 @endif m4
23968 .PHONY: maybe-dvi-m4 dvi-m4
23969 maybe-dvi-m4:
23970 @if m4
23971 maybe-dvi-m4: dvi-m4
23973 dvi-m4: \
23974 configure-m4
23975 @: $(MAKE); $(unstage)
23976 @[ -f ./m4/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 done; \
23983 echo "Doing dvi in m4" ; \
23984 (cd $(HOST_SUBDIR)/m4 && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23989 dvi) \
23990 || exit 1
23992 @endif m4
23994 .PHONY: maybe-pdf-m4 pdf-m4
23995 maybe-pdf-m4:
23996 @if m4
23997 maybe-pdf-m4: pdf-m4
23999 pdf-m4: \
24000 configure-m4
24001 @: $(MAKE); $(unstage)
24002 @[ -f ./m4/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing pdf in m4" ; \
24010 (cd $(HOST_SUBDIR)/m4 && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24015 pdf) \
24016 || exit 1
24018 @endif m4
24020 .PHONY: maybe-html-m4 html-m4
24021 maybe-html-m4:
24022 @if m4
24023 maybe-html-m4: html-m4
24025 html-m4: \
24026 configure-m4
24027 @: $(MAKE); $(unstage)
24028 @[ -f ./m4/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 echo "Doing html in m4" ; \
24036 (cd $(HOST_SUBDIR)/m4 && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24041 html) \
24042 || exit 1
24044 @endif m4
24046 .PHONY: maybe-TAGS-m4 TAGS-m4
24047 maybe-TAGS-m4:
24048 @if m4
24049 maybe-TAGS-m4: TAGS-m4
24051 TAGS-m4: \
24052 configure-m4
24053 @: $(MAKE); $(unstage)
24054 @[ -f ./m4/Makefile ] || exit 0; \
24055 r=`${PWD_COMMAND}`; export r; \
24056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24057 $(HOST_EXPORTS) \
24058 for flag in $(EXTRA_HOST_FLAGS) ; do \
24059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24060 done; \
24061 echo "Doing TAGS in m4" ; \
24062 (cd $(HOST_SUBDIR)/m4 && \
24063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24065 "RANLIB=$${RANLIB}" \
24066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24067 TAGS) \
24068 || exit 1
24070 @endif m4
24072 .PHONY: maybe-install-info-m4 install-info-m4
24073 maybe-install-info-m4:
24074 @if m4
24075 maybe-install-info-m4: install-info-m4
24077 install-info-m4: \
24078 configure-m4 \
24079 info-m4
24080 @: $(MAKE); $(unstage)
24081 @[ -f ./m4/Makefile ] || exit 0; \
24082 r=`${PWD_COMMAND}`; export r; \
24083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24084 $(HOST_EXPORTS) \
24085 for flag in $(EXTRA_HOST_FLAGS) ; do \
24086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24087 done; \
24088 echo "Doing install-info in m4" ; \
24089 (cd $(HOST_SUBDIR)/m4 && \
24090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24092 "RANLIB=$${RANLIB}" \
24093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24094 install-info) \
24095 || exit 1
24097 @endif m4
24099 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24100 maybe-install-pdf-m4:
24101 @if m4
24102 maybe-install-pdf-m4: install-pdf-m4
24104 install-pdf-m4: \
24105 configure-m4 \
24106 pdf-m4
24107 @: $(MAKE); $(unstage)
24108 @[ -f ./m4/Makefile ] || exit 0; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(HOST_EXPORTS) \
24112 for flag in $(EXTRA_HOST_FLAGS) ; do \
24113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24114 done; \
24115 echo "Doing install-pdf in m4" ; \
24116 (cd $(HOST_SUBDIR)/m4 && \
24117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24119 "RANLIB=$${RANLIB}" \
24120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24121 install-pdf) \
24122 || exit 1
24124 @endif m4
24126 .PHONY: maybe-install-html-m4 install-html-m4
24127 maybe-install-html-m4:
24128 @if m4
24129 maybe-install-html-m4: install-html-m4
24131 install-html-m4: \
24132 configure-m4 \
24133 html-m4
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./m4/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing install-html in m4" ; \
24143 (cd $(HOST_SUBDIR)/m4 && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24148 install-html) \
24149 || exit 1
24151 @endif m4
24153 .PHONY: maybe-installcheck-m4 installcheck-m4
24154 maybe-installcheck-m4:
24155 @if m4
24156 maybe-installcheck-m4: installcheck-m4
24158 installcheck-m4: \
24159 configure-m4
24160 @: $(MAKE); $(unstage)
24161 @[ -f ./m4/Makefile ] || exit 0; \
24162 r=`${PWD_COMMAND}`; export r; \
24163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24164 $(HOST_EXPORTS) \
24165 for flag in $(EXTRA_HOST_FLAGS) ; do \
24166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24167 done; \
24168 echo "Doing installcheck in m4" ; \
24169 (cd $(HOST_SUBDIR)/m4 && \
24170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24172 "RANLIB=$${RANLIB}" \
24173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24174 installcheck) \
24175 || exit 1
24177 @endif m4
24179 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24180 maybe-mostlyclean-m4:
24181 @if m4
24182 maybe-mostlyclean-m4: mostlyclean-m4
24184 mostlyclean-m4:
24185 @: $(MAKE); $(unstage)
24186 @[ -f ./m4/Makefile ] || exit 0; \
24187 r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(HOST_EXPORTS) \
24190 for flag in $(EXTRA_HOST_FLAGS) ; do \
24191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24192 done; \
24193 echo "Doing mostlyclean in m4" ; \
24194 (cd $(HOST_SUBDIR)/m4 && \
24195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197 "RANLIB=$${RANLIB}" \
24198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24199 mostlyclean) \
24200 || exit 1
24202 @endif m4
24204 .PHONY: maybe-clean-m4 clean-m4
24205 maybe-clean-m4:
24206 @if m4
24207 maybe-clean-m4: clean-m4
24209 clean-m4:
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./m4/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(HOST_EXPORTS) \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 done; \
24218 echo "Doing clean in m4" ; \
24219 (cd $(HOST_SUBDIR)/m4 && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24224 clean) \
24225 || exit 1
24227 @endif m4
24229 .PHONY: maybe-distclean-m4 distclean-m4
24230 maybe-distclean-m4:
24231 @if m4
24232 maybe-distclean-m4: distclean-m4
24234 distclean-m4:
24235 @: $(MAKE); $(unstage)
24236 @[ -f ./m4/Makefile ] || exit 0; \
24237 r=`${PWD_COMMAND}`; export r; \
24238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 $(HOST_EXPORTS) \
24240 for flag in $(EXTRA_HOST_FLAGS) ; do \
24241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24242 done; \
24243 echo "Doing distclean in m4" ; \
24244 (cd $(HOST_SUBDIR)/m4 && \
24245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24247 "RANLIB=$${RANLIB}" \
24248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24249 distclean) \
24250 || exit 1
24252 @endif m4
24254 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24255 maybe-maintainer-clean-m4:
24256 @if m4
24257 maybe-maintainer-clean-m4: maintainer-clean-m4
24259 maintainer-clean-m4:
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./m4/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing maintainer-clean in m4" ; \
24269 (cd $(HOST_SUBDIR)/m4 && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24274 maintainer-clean) \
24275 || exit 1
24277 @endif m4
24281 .PHONY: configure-readline maybe-configure-readline
24282 maybe-configure-readline:
24283 @if gcc-bootstrap
24284 configure-readline: stage_current
24285 @endif gcc-bootstrap
24286 @if readline
24287 maybe-configure-readline: configure-readline
24288 configure-readline:
24289 @: $(MAKE); $(unstage)
24290 @r=`${PWD_COMMAND}`; export r; \
24291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24294 $(HOST_EXPORTS) \
24295 echo Configuring in $(HOST_SUBDIR)/readline; \
24296 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24297 case $(srcdir) in \
24298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24299 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24301 esac; \
24302 srcdiroption="--srcdir=$${topdir}/readline"; \
24303 libsrcdir="$$s/readline"; \
24304 $(SHELL) $${libsrcdir}/configure \
24305 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24306 --target=${target_alias} $${srcdiroption} \
24307 || exit 1
24308 @endif readline
24314 .PHONY: all-readline maybe-all-readline
24315 maybe-all-readline:
24316 @if gcc-bootstrap
24317 all-readline: stage_current
24318 @endif gcc-bootstrap
24319 @if readline
24320 TARGET-readline=all
24321 maybe-all-readline: all-readline
24322 all-readline: configure-readline
24323 @: $(MAKE); $(unstage)
24324 @r=`${PWD_COMMAND}`; export r; \
24325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24326 $(HOST_EXPORTS) \
24327 (cd $(HOST_SUBDIR)/readline && \
24328 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24329 $(TARGET-readline))
24330 @endif readline
24335 .PHONY: check-readline maybe-check-readline
24336 maybe-check-readline:
24337 @if readline
24338 maybe-check-readline: check-readline
24340 check-readline:
24341 @: $(MAKE); $(unstage)
24342 @r=`${PWD_COMMAND}`; export r; \
24343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24344 $(HOST_EXPORTS) \
24345 (cd $(HOST_SUBDIR)/readline && \
24346 $(MAKE) $(FLAGS_TO_PASS) check)
24348 @endif readline
24350 .PHONY: install-readline maybe-install-readline
24351 maybe-install-readline:
24352 @if readline
24353 maybe-install-readline: install-readline
24355 install-readline: installdirs
24356 @: $(MAKE); $(unstage)
24357 @r=`${PWD_COMMAND}`; export r; \
24358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24359 $(HOST_EXPORTS) \
24360 (cd $(HOST_SUBDIR)/readline && \
24361 $(MAKE) $(FLAGS_TO_PASS) install)
24363 @endif readline
24365 .PHONY: install-strip-readline maybe-install-strip-readline
24366 maybe-install-strip-readline:
24367 @if readline
24368 maybe-install-strip-readline: install-strip-readline
24370 install-strip-readline: installdirs
24371 @: $(MAKE); $(unstage)
24372 @r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) \
24375 (cd $(HOST_SUBDIR)/readline && \
24376 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24378 @endif readline
24380 # Other targets (info, dvi, pdf, etc.)
24382 .PHONY: maybe-info-readline info-readline
24383 maybe-info-readline:
24384 @if readline
24385 maybe-info-readline: info-readline
24387 info-readline: \
24388 configure-readline
24389 @: $(MAKE); $(unstage)
24390 @[ -f ./readline/Makefile ] || exit 0; \
24391 r=`${PWD_COMMAND}`; export r; \
24392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24393 $(HOST_EXPORTS) \
24394 for flag in $(EXTRA_HOST_FLAGS) ; do \
24395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24396 done; \
24397 echo "Doing info in readline" ; \
24398 (cd $(HOST_SUBDIR)/readline && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24403 info) \
24404 || exit 1
24406 @endif readline
24408 .PHONY: maybe-dvi-readline dvi-readline
24409 maybe-dvi-readline:
24410 @if readline
24411 maybe-dvi-readline: dvi-readline
24413 dvi-readline: \
24414 configure-readline
24415 @: $(MAKE); $(unstage)
24416 @[ -f ./readline/Makefile ] || exit 0; \
24417 r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24419 $(HOST_EXPORTS) \
24420 for flag in $(EXTRA_HOST_FLAGS) ; do \
24421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24422 done; \
24423 echo "Doing dvi in readline" ; \
24424 (cd $(HOST_SUBDIR)/readline && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24429 dvi) \
24430 || exit 1
24432 @endif readline
24434 .PHONY: maybe-pdf-readline pdf-readline
24435 maybe-pdf-readline:
24436 @if readline
24437 maybe-pdf-readline: pdf-readline
24439 pdf-readline: \
24440 configure-readline
24441 @: $(MAKE); $(unstage)
24442 @[ -f ./readline/Makefile ] || exit 0; \
24443 r=`${PWD_COMMAND}`; export r; \
24444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24445 $(HOST_EXPORTS) \
24446 for flag in $(EXTRA_HOST_FLAGS) ; do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24448 done; \
24449 echo "Doing pdf in readline" ; \
24450 (cd $(HOST_SUBDIR)/readline && \
24451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24453 "RANLIB=$${RANLIB}" \
24454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24455 pdf) \
24456 || exit 1
24458 @endif readline
24460 .PHONY: maybe-html-readline html-readline
24461 maybe-html-readline:
24462 @if readline
24463 maybe-html-readline: html-readline
24465 html-readline: \
24466 configure-readline
24467 @: $(MAKE); $(unstage)
24468 @[ -f ./readline/Makefile ] || exit 0; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24471 $(HOST_EXPORTS) \
24472 for flag in $(EXTRA_HOST_FLAGS) ; do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24474 done; \
24475 echo "Doing html in readline" ; \
24476 (cd $(HOST_SUBDIR)/readline && \
24477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24479 "RANLIB=$${RANLIB}" \
24480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24481 html) \
24482 || exit 1
24484 @endif readline
24486 .PHONY: maybe-TAGS-readline TAGS-readline
24487 maybe-TAGS-readline:
24488 @if readline
24489 maybe-TAGS-readline: TAGS-readline
24491 TAGS-readline: \
24492 configure-readline
24493 @: $(MAKE); $(unstage)
24494 @[ -f ./readline/Makefile ] || exit 0; \
24495 r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(HOST_EXPORTS) \
24498 for flag in $(EXTRA_HOST_FLAGS) ; do \
24499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24500 done; \
24501 echo "Doing TAGS in readline" ; \
24502 (cd $(HOST_SUBDIR)/readline && \
24503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24505 "RANLIB=$${RANLIB}" \
24506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24507 TAGS) \
24508 || exit 1
24510 @endif readline
24512 .PHONY: maybe-install-info-readline install-info-readline
24513 maybe-install-info-readline:
24514 @if readline
24515 maybe-install-info-readline: install-info-readline
24517 install-info-readline: \
24518 configure-readline \
24519 info-readline
24520 @: $(MAKE); $(unstage)
24521 @[ -f ./readline/Makefile ] || exit 0; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 for flag in $(EXTRA_HOST_FLAGS) ; do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 echo "Doing install-info in readline" ; \
24529 (cd $(HOST_SUBDIR)/readline && \
24530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24532 "RANLIB=$${RANLIB}" \
24533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24534 install-info) \
24535 || exit 1
24537 @endif readline
24539 .PHONY: maybe-install-pdf-readline install-pdf-readline
24540 maybe-install-pdf-readline:
24541 @if readline
24542 maybe-install-pdf-readline: install-pdf-readline
24544 install-pdf-readline: \
24545 configure-readline \
24546 pdf-readline
24547 @: $(MAKE); $(unstage)
24548 @[ -f ./readline/Makefile ] || exit 0; \
24549 r=`${PWD_COMMAND}`; export r; \
24550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24551 $(HOST_EXPORTS) \
24552 for flag in $(EXTRA_HOST_FLAGS) ; do \
24553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24554 done; \
24555 echo "Doing install-pdf in readline" ; \
24556 (cd $(HOST_SUBDIR)/readline && \
24557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24559 "RANLIB=$${RANLIB}" \
24560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24561 install-pdf) \
24562 || exit 1
24564 @endif readline
24566 .PHONY: maybe-install-html-readline install-html-readline
24567 maybe-install-html-readline:
24568 @if readline
24569 maybe-install-html-readline: install-html-readline
24571 install-html-readline: \
24572 configure-readline \
24573 html-readline
24574 @: $(MAKE); $(unstage)
24575 @[ -f ./readline/Makefile ] || exit 0; \
24576 r=`${PWD_COMMAND}`; export r; \
24577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24578 $(HOST_EXPORTS) \
24579 for flag in $(EXTRA_HOST_FLAGS) ; do \
24580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24581 done; \
24582 echo "Doing install-html in readline" ; \
24583 (cd $(HOST_SUBDIR)/readline && \
24584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24586 "RANLIB=$${RANLIB}" \
24587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24588 install-html) \
24589 || exit 1
24591 @endif readline
24593 .PHONY: maybe-installcheck-readline installcheck-readline
24594 maybe-installcheck-readline:
24595 @if readline
24596 maybe-installcheck-readline: installcheck-readline
24598 installcheck-readline: \
24599 configure-readline
24600 @: $(MAKE); $(unstage)
24601 @[ -f ./readline/Makefile ] || exit 0; \
24602 r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604 $(HOST_EXPORTS) \
24605 for flag in $(EXTRA_HOST_FLAGS) ; do \
24606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24607 done; \
24608 echo "Doing installcheck in readline" ; \
24609 (cd $(HOST_SUBDIR)/readline && \
24610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24612 "RANLIB=$${RANLIB}" \
24613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24614 installcheck) \
24615 || exit 1
24617 @endif readline
24619 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24620 maybe-mostlyclean-readline:
24621 @if readline
24622 maybe-mostlyclean-readline: mostlyclean-readline
24624 mostlyclean-readline:
24625 @: $(MAKE); $(unstage)
24626 @[ -f ./readline/Makefile ] || exit 0; \
24627 r=`${PWD_COMMAND}`; export r; \
24628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24629 $(HOST_EXPORTS) \
24630 for flag in $(EXTRA_HOST_FLAGS) ; do \
24631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24632 done; \
24633 echo "Doing mostlyclean in readline" ; \
24634 (cd $(HOST_SUBDIR)/readline && \
24635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24637 "RANLIB=$${RANLIB}" \
24638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24639 mostlyclean) \
24640 || exit 1
24642 @endif readline
24644 .PHONY: maybe-clean-readline clean-readline
24645 maybe-clean-readline:
24646 @if readline
24647 maybe-clean-readline: clean-readline
24649 clean-readline:
24650 @: $(MAKE); $(unstage)
24651 @[ -f ./readline/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(HOST_EXPORTS) \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 done; \
24658 echo "Doing clean in readline" ; \
24659 (cd $(HOST_SUBDIR)/readline && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24664 clean) \
24665 || exit 1
24667 @endif readline
24669 .PHONY: maybe-distclean-readline distclean-readline
24670 maybe-distclean-readline:
24671 @if readline
24672 maybe-distclean-readline: distclean-readline
24674 distclean-readline:
24675 @: $(MAKE); $(unstage)
24676 @[ -f ./readline/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing distclean in readline" ; \
24684 (cd $(HOST_SUBDIR)/readline && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 distclean) \
24690 || exit 1
24692 @endif readline
24694 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24695 maybe-maintainer-clean-readline:
24696 @if readline
24697 maybe-maintainer-clean-readline: maintainer-clean-readline
24699 maintainer-clean-readline:
24700 @: $(MAKE); $(unstage)
24701 @[ -f ./readline/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing maintainer-clean in readline" ; \
24709 (cd $(HOST_SUBDIR)/readline && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24714 maintainer-clean) \
24715 || exit 1
24717 @endif readline
24721 .PHONY: configure-sid maybe-configure-sid
24722 maybe-configure-sid:
24723 @if gcc-bootstrap
24724 configure-sid: stage_current
24725 @endif gcc-bootstrap
24726 @if sid
24727 maybe-configure-sid: configure-sid
24728 configure-sid:
24729 @: $(MAKE); $(unstage)
24730 @r=`${PWD_COMMAND}`; export r; \
24731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24732 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24734 $(HOST_EXPORTS) \
24735 echo Configuring in $(HOST_SUBDIR)/sid; \
24736 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24737 case $(srcdir) in \
24738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24739 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24741 esac; \
24742 srcdiroption="--srcdir=$${topdir}/sid"; \
24743 libsrcdir="$$s/sid"; \
24744 $(SHELL) $${libsrcdir}/configure \
24745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24746 --target=${target_alias} $${srcdiroption} \
24747 || exit 1
24748 @endif sid
24754 .PHONY: all-sid maybe-all-sid
24755 maybe-all-sid:
24756 @if gcc-bootstrap
24757 all-sid: stage_current
24758 @endif gcc-bootstrap
24759 @if sid
24760 TARGET-sid=all
24761 maybe-all-sid: all-sid
24762 all-sid: configure-sid
24763 @: $(MAKE); $(unstage)
24764 @r=`${PWD_COMMAND}`; export r; \
24765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24766 $(HOST_EXPORTS) \
24767 (cd $(HOST_SUBDIR)/sid && \
24768 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24769 $(TARGET-sid))
24770 @endif sid
24775 .PHONY: check-sid maybe-check-sid
24776 maybe-check-sid:
24777 @if sid
24778 maybe-check-sid: check-sid
24780 check-sid:
24781 @: $(MAKE); $(unstage)
24782 @r=`${PWD_COMMAND}`; export r; \
24783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24784 $(HOST_EXPORTS) \
24785 (cd $(HOST_SUBDIR)/sid && \
24786 $(MAKE) $(FLAGS_TO_PASS) check)
24788 @endif sid
24790 .PHONY: install-sid maybe-install-sid
24791 maybe-install-sid:
24792 @if sid
24793 maybe-install-sid: install-sid
24795 install-sid: installdirs
24796 @: $(MAKE); $(unstage)
24797 @r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 (cd $(HOST_SUBDIR)/sid && \
24801 $(MAKE) $(FLAGS_TO_PASS) install)
24803 @endif sid
24805 .PHONY: install-strip-sid maybe-install-strip-sid
24806 maybe-install-strip-sid:
24807 @if sid
24808 maybe-install-strip-sid: install-strip-sid
24810 install-strip-sid: installdirs
24811 @: $(MAKE); $(unstage)
24812 @r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 $(HOST_EXPORTS) \
24815 (cd $(HOST_SUBDIR)/sid && \
24816 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24818 @endif sid
24820 # Other targets (info, dvi, pdf, etc.)
24822 .PHONY: maybe-info-sid info-sid
24823 maybe-info-sid:
24824 @if sid
24825 maybe-info-sid: info-sid
24827 info-sid: \
24828 configure-sid
24829 @: $(MAKE); $(unstage)
24830 @[ -f ./sid/Makefile ] || exit 0; \
24831 r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24833 $(HOST_EXPORTS) \
24834 for flag in $(EXTRA_HOST_FLAGS) ; do \
24835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24836 done; \
24837 echo "Doing info in sid" ; \
24838 (cd $(HOST_SUBDIR)/sid && \
24839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24841 "RANLIB=$${RANLIB}" \
24842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24843 info) \
24844 || exit 1
24846 @endif sid
24848 .PHONY: maybe-dvi-sid dvi-sid
24849 maybe-dvi-sid:
24850 @if sid
24851 maybe-dvi-sid: dvi-sid
24853 dvi-sid: \
24854 configure-sid
24855 @: $(MAKE); $(unstage)
24856 @[ -f ./sid/Makefile ] || exit 0; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 for flag in $(EXTRA_HOST_FLAGS) ; do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24862 done; \
24863 echo "Doing dvi in sid" ; \
24864 (cd $(HOST_SUBDIR)/sid && \
24865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24867 "RANLIB=$${RANLIB}" \
24868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24869 dvi) \
24870 || exit 1
24872 @endif sid
24874 .PHONY: maybe-pdf-sid pdf-sid
24875 maybe-pdf-sid:
24876 @if sid
24877 maybe-pdf-sid: pdf-sid
24879 pdf-sid: \
24880 configure-sid
24881 @: $(MAKE); $(unstage)
24882 @[ -f ./sid/Makefile ] || exit 0; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(HOST_EXPORTS) \
24886 for flag in $(EXTRA_HOST_FLAGS) ; do \
24887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24888 done; \
24889 echo "Doing pdf in sid" ; \
24890 (cd $(HOST_SUBDIR)/sid && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24895 pdf) \
24896 || exit 1
24898 @endif sid
24900 .PHONY: maybe-html-sid html-sid
24901 maybe-html-sid:
24902 @if sid
24903 maybe-html-sid: html-sid
24905 html-sid: \
24906 configure-sid
24907 @: $(MAKE); $(unstage)
24908 @[ -f ./sid/Makefile ] || exit 0; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(HOST_EXPORTS) \
24912 for flag in $(EXTRA_HOST_FLAGS) ; do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24914 done; \
24915 echo "Doing html in sid" ; \
24916 (cd $(HOST_SUBDIR)/sid && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24921 html) \
24922 || exit 1
24924 @endif sid
24926 .PHONY: maybe-TAGS-sid TAGS-sid
24927 maybe-TAGS-sid:
24928 @if sid
24929 maybe-TAGS-sid: TAGS-sid
24931 TAGS-sid: \
24932 configure-sid
24933 @: $(MAKE); $(unstage)
24934 @[ -f ./sid/Makefile ] || exit 0; \
24935 r=`${PWD_COMMAND}`; export r; \
24936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937 $(HOST_EXPORTS) \
24938 for flag in $(EXTRA_HOST_FLAGS) ; do \
24939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24940 done; \
24941 echo "Doing TAGS in sid" ; \
24942 (cd $(HOST_SUBDIR)/sid && \
24943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24945 "RANLIB=$${RANLIB}" \
24946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24947 TAGS) \
24948 || exit 1
24950 @endif sid
24952 .PHONY: maybe-install-info-sid install-info-sid
24953 maybe-install-info-sid:
24954 @if sid
24955 maybe-install-info-sid: install-info-sid
24957 install-info-sid: \
24958 configure-sid \
24959 info-sid
24960 @: $(MAKE); $(unstage)
24961 @[ -f ./sid/Makefile ] || exit 0; \
24962 r=`${PWD_COMMAND}`; export r; \
24963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24964 $(HOST_EXPORTS) \
24965 for flag in $(EXTRA_HOST_FLAGS) ; do \
24966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24967 done; \
24968 echo "Doing install-info in sid" ; \
24969 (cd $(HOST_SUBDIR)/sid && \
24970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24972 "RANLIB=$${RANLIB}" \
24973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24974 install-info) \
24975 || exit 1
24977 @endif sid
24979 .PHONY: maybe-install-pdf-sid install-pdf-sid
24980 maybe-install-pdf-sid:
24981 @if sid
24982 maybe-install-pdf-sid: install-pdf-sid
24984 install-pdf-sid: \
24985 configure-sid \
24986 pdf-sid
24987 @: $(MAKE); $(unstage)
24988 @[ -f ./sid/Makefile ] || exit 0; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(HOST_EXPORTS) \
24992 for flag in $(EXTRA_HOST_FLAGS) ; do \
24993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24994 done; \
24995 echo "Doing install-pdf in sid" ; \
24996 (cd $(HOST_SUBDIR)/sid && \
24997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24999 "RANLIB=$${RANLIB}" \
25000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25001 install-pdf) \
25002 || exit 1
25004 @endif sid
25006 .PHONY: maybe-install-html-sid install-html-sid
25007 maybe-install-html-sid:
25008 @if sid
25009 maybe-install-html-sid: install-html-sid
25011 install-html-sid: \
25012 configure-sid \
25013 html-sid
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./sid/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing install-html in sid" ; \
25023 (cd $(HOST_SUBDIR)/sid && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25028 install-html) \
25029 || exit 1
25031 @endif sid
25033 .PHONY: maybe-installcheck-sid installcheck-sid
25034 maybe-installcheck-sid:
25035 @if sid
25036 maybe-installcheck-sid: installcheck-sid
25038 installcheck-sid: \
25039 configure-sid
25040 @: $(MAKE); $(unstage)
25041 @[ -f ./sid/Makefile ] || exit 0; \
25042 r=`${PWD_COMMAND}`; export r; \
25043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25044 $(HOST_EXPORTS) \
25045 for flag in $(EXTRA_HOST_FLAGS) ; do \
25046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25047 done; \
25048 echo "Doing installcheck in sid" ; \
25049 (cd $(HOST_SUBDIR)/sid && \
25050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25052 "RANLIB=$${RANLIB}" \
25053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25054 installcheck) \
25055 || exit 1
25057 @endif sid
25059 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25060 maybe-mostlyclean-sid:
25061 @if sid
25062 maybe-mostlyclean-sid: mostlyclean-sid
25064 mostlyclean-sid:
25065 @: $(MAKE); $(unstage)
25066 @[ -f ./sid/Makefile ] || exit 0; \
25067 r=`${PWD_COMMAND}`; export r; \
25068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25069 $(HOST_EXPORTS) \
25070 for flag in $(EXTRA_HOST_FLAGS) ; do \
25071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 done; \
25073 echo "Doing mostlyclean in sid" ; \
25074 (cd $(HOST_SUBDIR)/sid && \
25075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25077 "RANLIB=$${RANLIB}" \
25078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25079 mostlyclean) \
25080 || exit 1
25082 @endif sid
25084 .PHONY: maybe-clean-sid clean-sid
25085 maybe-clean-sid:
25086 @if sid
25087 maybe-clean-sid: clean-sid
25089 clean-sid:
25090 @: $(MAKE); $(unstage)
25091 @[ -f ./sid/Makefile ] || exit 0; \
25092 r=`${PWD_COMMAND}`; export r; \
25093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25094 $(HOST_EXPORTS) \
25095 for flag in $(EXTRA_HOST_FLAGS) ; do \
25096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25097 done; \
25098 echo "Doing clean in sid" ; \
25099 (cd $(HOST_SUBDIR)/sid && \
25100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25102 "RANLIB=$${RANLIB}" \
25103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25104 clean) \
25105 || exit 1
25107 @endif sid
25109 .PHONY: maybe-distclean-sid distclean-sid
25110 maybe-distclean-sid:
25111 @if sid
25112 maybe-distclean-sid: distclean-sid
25114 distclean-sid:
25115 @: $(MAKE); $(unstage)
25116 @[ -f ./sid/Makefile ] || exit 0; \
25117 r=`${PWD_COMMAND}`; export r; \
25118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25119 $(HOST_EXPORTS) \
25120 for flag in $(EXTRA_HOST_FLAGS) ; do \
25121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25122 done; \
25123 echo "Doing distclean in sid" ; \
25124 (cd $(HOST_SUBDIR)/sid && \
25125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25127 "RANLIB=$${RANLIB}" \
25128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25129 distclean) \
25130 || exit 1
25132 @endif sid
25134 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25135 maybe-maintainer-clean-sid:
25136 @if sid
25137 maybe-maintainer-clean-sid: maintainer-clean-sid
25139 maintainer-clean-sid:
25140 @: $(MAKE); $(unstage)
25141 @[ -f ./sid/Makefile ] || exit 0; \
25142 r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 $(HOST_EXPORTS) \
25145 for flag in $(EXTRA_HOST_FLAGS) ; do \
25146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25147 done; \
25148 echo "Doing maintainer-clean in sid" ; \
25149 (cd $(HOST_SUBDIR)/sid && \
25150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25152 "RANLIB=$${RANLIB}" \
25153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25154 maintainer-clean) \
25155 || exit 1
25157 @endif sid
25161 .PHONY: configure-sim maybe-configure-sim
25162 maybe-configure-sim:
25163 @if gcc-bootstrap
25164 configure-sim: stage_current
25165 @endif gcc-bootstrap
25166 @if sim
25167 maybe-configure-sim: configure-sim
25168 configure-sim:
25169 @: $(MAKE); $(unstage)
25170 @r=`${PWD_COMMAND}`; export r; \
25171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25172 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25174 $(HOST_EXPORTS) \
25175 echo Configuring in $(HOST_SUBDIR)/sim; \
25176 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25177 case $(srcdir) in \
25178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25179 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25181 esac; \
25182 srcdiroption="--srcdir=$${topdir}/sim"; \
25183 libsrcdir="$$s/sim"; \
25184 $(SHELL) $${libsrcdir}/configure \
25185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25186 --target=${target_alias} $${srcdiroption} \
25187 || exit 1
25188 @endif sim
25194 .PHONY: all-sim maybe-all-sim
25195 maybe-all-sim:
25196 @if gcc-bootstrap
25197 all-sim: stage_current
25198 @endif gcc-bootstrap
25199 @if sim
25200 TARGET-sim=all
25201 maybe-all-sim: all-sim
25202 all-sim: configure-sim
25203 @: $(MAKE); $(unstage)
25204 @r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(HOST_EXPORTS) \
25207 (cd $(HOST_SUBDIR)/sim && \
25208 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25209 $(TARGET-sim))
25210 @endif sim
25215 .PHONY: check-sim maybe-check-sim
25216 maybe-check-sim:
25217 @if sim
25218 maybe-check-sim: check-sim
25220 check-sim:
25221 @: $(MAKE); $(unstage)
25222 @r=`${PWD_COMMAND}`; export r; \
25223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25224 $(HOST_EXPORTS) \
25225 (cd $(HOST_SUBDIR)/sim && \
25226 $(MAKE) $(FLAGS_TO_PASS) check)
25228 @endif sim
25230 .PHONY: install-sim maybe-install-sim
25231 maybe-install-sim:
25232 @if sim
25233 maybe-install-sim: install-sim
25235 install-sim: installdirs
25236 @: $(MAKE); $(unstage)
25237 @r=`${PWD_COMMAND}`; export r; \
25238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25239 $(HOST_EXPORTS) \
25240 (cd $(HOST_SUBDIR)/sim && \
25241 $(MAKE) $(FLAGS_TO_PASS) install)
25243 @endif sim
25245 .PHONY: install-strip-sim maybe-install-strip-sim
25246 maybe-install-strip-sim:
25247 @if sim
25248 maybe-install-strip-sim: install-strip-sim
25250 install-strip-sim: installdirs
25251 @: $(MAKE); $(unstage)
25252 @r=`${PWD_COMMAND}`; export r; \
25253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25254 $(HOST_EXPORTS) \
25255 (cd $(HOST_SUBDIR)/sim && \
25256 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25258 @endif sim
25260 # Other targets (info, dvi, pdf, etc.)
25262 .PHONY: maybe-info-sim info-sim
25263 maybe-info-sim:
25264 @if sim
25265 maybe-info-sim: info-sim
25267 info-sim: \
25268 configure-sim
25269 @: $(MAKE); $(unstage)
25270 @[ -f ./sim/Makefile ] || exit 0; \
25271 r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25273 $(HOST_EXPORTS) \
25274 for flag in $(EXTRA_HOST_FLAGS) ; do \
25275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25276 done; \
25277 echo "Doing info in sim" ; \
25278 (cd $(HOST_SUBDIR)/sim && \
25279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25281 "RANLIB=$${RANLIB}" \
25282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25283 info) \
25284 || exit 1
25286 @endif sim
25288 .PHONY: maybe-dvi-sim dvi-sim
25289 maybe-dvi-sim:
25290 @if sim
25291 maybe-dvi-sim: dvi-sim
25293 dvi-sim: \
25294 configure-sim
25295 @: $(MAKE); $(unstage)
25296 @[ -f ./sim/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 for flag in $(EXTRA_HOST_FLAGS) ; do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 done; \
25303 echo "Doing dvi in sim" ; \
25304 (cd $(HOST_SUBDIR)/sim && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25309 dvi) \
25310 || exit 1
25312 @endif sim
25314 .PHONY: maybe-pdf-sim pdf-sim
25315 maybe-pdf-sim:
25316 @if sim
25317 maybe-pdf-sim: pdf-sim
25319 pdf-sim: \
25320 configure-sim
25321 @: $(MAKE); $(unstage)
25322 @[ -f ./sim/Makefile ] || exit 0; \
25323 r=`${PWD_COMMAND}`; export r; \
25324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25325 $(HOST_EXPORTS) \
25326 for flag in $(EXTRA_HOST_FLAGS) ; do \
25327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25328 done; \
25329 echo "Doing pdf in sim" ; \
25330 (cd $(HOST_SUBDIR)/sim && \
25331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25333 "RANLIB=$${RANLIB}" \
25334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25335 pdf) \
25336 || exit 1
25338 @endif sim
25340 .PHONY: maybe-html-sim html-sim
25341 maybe-html-sim:
25342 @if sim
25343 maybe-html-sim: html-sim
25345 html-sim: \
25346 configure-sim
25347 @: $(MAKE); $(unstage)
25348 @[ -f ./sim/Makefile ] || exit 0; \
25349 r=`${PWD_COMMAND}`; export r; \
25350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25351 $(HOST_EXPORTS) \
25352 for flag in $(EXTRA_HOST_FLAGS) ; do \
25353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25354 done; \
25355 echo "Doing html in sim" ; \
25356 (cd $(HOST_SUBDIR)/sim && \
25357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25359 "RANLIB=$${RANLIB}" \
25360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25361 html) \
25362 || exit 1
25364 @endif sim
25366 .PHONY: maybe-TAGS-sim TAGS-sim
25367 maybe-TAGS-sim:
25368 @if sim
25369 maybe-TAGS-sim: TAGS-sim
25371 TAGS-sim: \
25372 configure-sim
25373 @: $(MAKE); $(unstage)
25374 @[ -f ./sim/Makefile ] || exit 0; \
25375 r=`${PWD_COMMAND}`; export r; \
25376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25377 $(HOST_EXPORTS) \
25378 for flag in $(EXTRA_HOST_FLAGS) ; do \
25379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25380 done; \
25381 echo "Doing TAGS in sim" ; \
25382 (cd $(HOST_SUBDIR)/sim && \
25383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25385 "RANLIB=$${RANLIB}" \
25386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25387 TAGS) \
25388 || exit 1
25390 @endif sim
25392 .PHONY: maybe-install-info-sim install-info-sim
25393 maybe-install-info-sim:
25394 @if sim
25395 maybe-install-info-sim: install-info-sim
25397 install-info-sim: \
25398 configure-sim \
25399 info-sim
25400 @: $(MAKE); $(unstage)
25401 @[ -f ./sim/Makefile ] || exit 0; \
25402 r=`${PWD_COMMAND}`; export r; \
25403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25404 $(HOST_EXPORTS) \
25405 for flag in $(EXTRA_HOST_FLAGS) ; do \
25406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25407 done; \
25408 echo "Doing install-info in sim" ; \
25409 (cd $(HOST_SUBDIR)/sim && \
25410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25412 "RANLIB=$${RANLIB}" \
25413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25414 install-info) \
25415 || exit 1
25417 @endif sim
25419 .PHONY: maybe-install-pdf-sim install-pdf-sim
25420 maybe-install-pdf-sim:
25421 @if sim
25422 maybe-install-pdf-sim: install-pdf-sim
25424 install-pdf-sim: \
25425 configure-sim \
25426 pdf-sim
25427 @: $(MAKE); $(unstage)
25428 @[ -f ./sim/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25434 done; \
25435 echo "Doing install-pdf in sim" ; \
25436 (cd $(HOST_SUBDIR)/sim && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25441 install-pdf) \
25442 || exit 1
25444 @endif sim
25446 .PHONY: maybe-install-html-sim install-html-sim
25447 maybe-install-html-sim:
25448 @if sim
25449 maybe-install-html-sim: install-html-sim
25451 install-html-sim: \
25452 configure-sim \
25453 html-sim
25454 @: $(MAKE); $(unstage)
25455 @[ -f ./sim/Makefile ] || exit 0; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25458 $(HOST_EXPORTS) \
25459 for flag in $(EXTRA_HOST_FLAGS) ; do \
25460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25461 done; \
25462 echo "Doing install-html in sim" ; \
25463 (cd $(HOST_SUBDIR)/sim && \
25464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25466 "RANLIB=$${RANLIB}" \
25467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25468 install-html) \
25469 || exit 1
25471 @endif sim
25473 .PHONY: maybe-installcheck-sim installcheck-sim
25474 maybe-installcheck-sim:
25475 @if sim
25476 maybe-installcheck-sim: installcheck-sim
25478 installcheck-sim: \
25479 configure-sim
25480 @: $(MAKE); $(unstage)
25481 @[ -f ./sim/Makefile ] || exit 0; \
25482 r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 $(HOST_EXPORTS) \
25485 for flag in $(EXTRA_HOST_FLAGS) ; do \
25486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25487 done; \
25488 echo "Doing installcheck in sim" ; \
25489 (cd $(HOST_SUBDIR)/sim && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25492 "RANLIB=$${RANLIB}" \
25493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25494 installcheck) \
25495 || exit 1
25497 @endif sim
25499 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25500 maybe-mostlyclean-sim:
25501 @if sim
25502 maybe-mostlyclean-sim: mostlyclean-sim
25504 mostlyclean-sim:
25505 @: $(MAKE); $(unstage)
25506 @[ -f ./sim/Makefile ] || exit 0; \
25507 r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(HOST_EXPORTS) \
25510 for flag in $(EXTRA_HOST_FLAGS) ; do \
25511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25512 done; \
25513 echo "Doing mostlyclean in sim" ; \
25514 (cd $(HOST_SUBDIR)/sim && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25519 mostlyclean) \
25520 || exit 1
25522 @endif sim
25524 .PHONY: maybe-clean-sim clean-sim
25525 maybe-clean-sim:
25526 @if sim
25527 maybe-clean-sim: clean-sim
25529 clean-sim:
25530 @: $(MAKE); $(unstage)
25531 @[ -f ./sim/Makefile ] || exit 0; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(HOST_EXPORTS) \
25535 for flag in $(EXTRA_HOST_FLAGS) ; do \
25536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25537 done; \
25538 echo "Doing clean in sim" ; \
25539 (cd $(HOST_SUBDIR)/sim && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25544 clean) \
25545 || exit 1
25547 @endif sim
25549 .PHONY: maybe-distclean-sim distclean-sim
25550 maybe-distclean-sim:
25551 @if sim
25552 maybe-distclean-sim: distclean-sim
25554 distclean-sim:
25555 @: $(MAKE); $(unstage)
25556 @[ -f ./sim/Makefile ] || exit 0; \
25557 r=`${PWD_COMMAND}`; export r; \
25558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25559 $(HOST_EXPORTS) \
25560 for flag in $(EXTRA_HOST_FLAGS) ; do \
25561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25562 done; \
25563 echo "Doing distclean in sim" ; \
25564 (cd $(HOST_SUBDIR)/sim && \
25565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25567 "RANLIB=$${RANLIB}" \
25568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25569 distclean) \
25570 || exit 1
25572 @endif sim
25574 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25575 maybe-maintainer-clean-sim:
25576 @if sim
25577 maybe-maintainer-clean-sim: maintainer-clean-sim
25579 maintainer-clean-sim:
25580 @: $(MAKE); $(unstage)
25581 @[ -f ./sim/Makefile ] || exit 0; \
25582 r=`${PWD_COMMAND}`; export r; \
25583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25584 $(HOST_EXPORTS) \
25585 for flag in $(EXTRA_HOST_FLAGS) ; do \
25586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25587 done; \
25588 echo "Doing maintainer-clean in sim" ; \
25589 (cd $(HOST_SUBDIR)/sim && \
25590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25592 "RANLIB=$${RANLIB}" \
25593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25594 maintainer-clean) \
25595 || exit 1
25597 @endif sim
25601 .PHONY: configure-texinfo maybe-configure-texinfo
25602 maybe-configure-texinfo:
25603 @if gcc-bootstrap
25604 configure-texinfo: stage_current
25605 @endif gcc-bootstrap
25606 @if texinfo
25607 maybe-configure-texinfo: configure-texinfo
25608 configure-texinfo:
25609 @: $(MAKE); $(unstage)
25610 @r=`${PWD_COMMAND}`; export r; \
25611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25612 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25614 $(HOST_EXPORTS) \
25615 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25616 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25617 case $(srcdir) in \
25618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25619 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25621 esac; \
25622 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25623 libsrcdir="$$s/texinfo"; \
25624 $(SHELL) $${libsrcdir}/configure \
25625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25626 --target=${target_alias} $${srcdiroption} \
25627 || exit 1
25628 @endif texinfo
25634 .PHONY: all-texinfo maybe-all-texinfo
25635 maybe-all-texinfo:
25636 @if gcc-bootstrap
25637 all-texinfo: stage_current
25638 @endif gcc-bootstrap
25639 @if texinfo
25640 TARGET-texinfo=all
25641 maybe-all-texinfo: all-texinfo
25642 all-texinfo: configure-texinfo
25643 @: $(MAKE); $(unstage)
25644 @r=`${PWD_COMMAND}`; export r; \
25645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646 $(HOST_EXPORTS) \
25647 (cd $(HOST_SUBDIR)/texinfo && \
25648 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25649 $(TARGET-texinfo))
25650 @endif texinfo
25655 .PHONY: check-texinfo maybe-check-texinfo
25656 maybe-check-texinfo:
25657 @if texinfo
25658 maybe-check-texinfo: check-texinfo
25660 check-texinfo:
25661 @: $(MAKE); $(unstage)
25662 @r=`${PWD_COMMAND}`; export r; \
25663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25664 $(HOST_EXPORTS) \
25665 (cd $(HOST_SUBDIR)/texinfo && \
25666 $(MAKE) $(FLAGS_TO_PASS) check)
25668 @endif texinfo
25670 .PHONY: install-texinfo maybe-install-texinfo
25671 maybe-install-texinfo:
25672 @if texinfo
25673 maybe-install-texinfo: install-texinfo
25675 install-texinfo:
25677 @endif texinfo
25679 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25680 maybe-install-strip-texinfo:
25681 @if texinfo
25682 maybe-install-strip-texinfo: install-strip-texinfo
25684 install-strip-texinfo:
25686 @endif texinfo
25688 # Other targets (info, dvi, pdf, etc.)
25690 .PHONY: maybe-info-texinfo info-texinfo
25691 maybe-info-texinfo:
25692 @if texinfo
25693 maybe-info-texinfo: info-texinfo
25695 info-texinfo: \
25696 configure-texinfo
25697 @: $(MAKE); $(unstage)
25698 @[ -f ./texinfo/Makefile ] || exit 0; \
25699 r=`${PWD_COMMAND}`; export r; \
25700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25701 $(HOST_EXPORTS) \
25702 for flag in $(EXTRA_HOST_FLAGS) ; do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25704 done; \
25705 echo "Doing info in texinfo" ; \
25706 (cd $(HOST_SUBDIR)/texinfo && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25711 info) \
25712 || exit 1
25714 @endif texinfo
25716 .PHONY: maybe-dvi-texinfo dvi-texinfo
25717 maybe-dvi-texinfo:
25718 @if texinfo
25719 maybe-dvi-texinfo: dvi-texinfo
25721 dvi-texinfo: \
25722 configure-texinfo
25723 @: $(MAKE); $(unstage)
25724 @[ -f ./texinfo/Makefile ] || exit 0; \
25725 r=`${PWD_COMMAND}`; export r; \
25726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25727 $(HOST_EXPORTS) \
25728 for flag in $(EXTRA_HOST_FLAGS) ; do \
25729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25730 done; \
25731 echo "Doing dvi in texinfo" ; \
25732 (cd $(HOST_SUBDIR)/texinfo && \
25733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25735 "RANLIB=$${RANLIB}" \
25736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25737 dvi) \
25738 || exit 1
25740 @endif texinfo
25742 .PHONY: maybe-pdf-texinfo pdf-texinfo
25743 maybe-pdf-texinfo:
25744 @if texinfo
25745 maybe-pdf-texinfo: pdf-texinfo
25747 pdf-texinfo: \
25748 configure-texinfo
25749 @: $(MAKE); $(unstage)
25750 @[ -f ./texinfo/Makefile ] || exit 0; \
25751 r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 for flag in $(EXTRA_HOST_FLAGS) ; do \
25755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25756 done; \
25757 echo "Doing pdf in texinfo" ; \
25758 (cd $(HOST_SUBDIR)/texinfo && \
25759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25761 "RANLIB=$${RANLIB}" \
25762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25763 pdf) \
25764 || exit 1
25766 @endif texinfo
25768 .PHONY: maybe-html-texinfo html-texinfo
25769 maybe-html-texinfo:
25770 @if texinfo
25771 maybe-html-texinfo: html-texinfo
25773 html-texinfo: \
25774 configure-texinfo
25775 @: $(MAKE); $(unstage)
25776 @[ -f ./texinfo/Makefile ] || exit 0; \
25777 r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(HOST_EXPORTS) \
25780 for flag in $(EXTRA_HOST_FLAGS) ; do \
25781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25782 done; \
25783 echo "Doing html in texinfo" ; \
25784 (cd $(HOST_SUBDIR)/texinfo && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25789 html) \
25790 || exit 1
25792 @endif texinfo
25794 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25795 maybe-TAGS-texinfo:
25796 @if texinfo
25797 maybe-TAGS-texinfo: TAGS-texinfo
25799 TAGS-texinfo: \
25800 configure-texinfo
25801 @: $(MAKE); $(unstage)
25802 @[ -f ./texinfo/Makefile ] || exit 0; \
25803 r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 $(HOST_EXPORTS) \
25806 for flag in $(EXTRA_HOST_FLAGS) ; do \
25807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25808 done; \
25809 echo "Doing TAGS in texinfo" ; \
25810 (cd $(HOST_SUBDIR)/texinfo && \
25811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813 "RANLIB=$${RANLIB}" \
25814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25815 TAGS) \
25816 || exit 1
25818 @endif texinfo
25820 .PHONY: maybe-install-info-texinfo install-info-texinfo
25821 maybe-install-info-texinfo:
25822 @if texinfo
25823 maybe-install-info-texinfo: install-info-texinfo
25825 install-info-texinfo: \
25826 configure-texinfo \
25827 info-texinfo
25828 @: $(MAKE); $(unstage)
25829 @[ -f ./texinfo/Makefile ] || exit 0; \
25830 r=`${PWD_COMMAND}`; export r; \
25831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25832 $(HOST_EXPORTS) \
25833 for flag in $(EXTRA_HOST_FLAGS) ; do \
25834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25835 done; \
25836 echo "Doing install-info in texinfo" ; \
25837 (cd $(HOST_SUBDIR)/texinfo && \
25838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25840 "RANLIB=$${RANLIB}" \
25841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25842 install-info) \
25843 || exit 1
25845 @endif texinfo
25847 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25848 maybe-install-pdf-texinfo:
25849 @if texinfo
25850 maybe-install-pdf-texinfo: install-pdf-texinfo
25852 install-pdf-texinfo: \
25853 configure-texinfo \
25854 pdf-texinfo
25855 @: $(MAKE); $(unstage)
25856 @[ -f ./texinfo/Makefile ] || exit 0; \
25857 r=`${PWD_COMMAND}`; export r; \
25858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25859 $(HOST_EXPORTS) \
25860 for flag in $(EXTRA_HOST_FLAGS) ; do \
25861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25862 done; \
25863 echo "Doing install-pdf in texinfo" ; \
25864 (cd $(HOST_SUBDIR)/texinfo && \
25865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25867 "RANLIB=$${RANLIB}" \
25868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25869 install-pdf) \
25870 || exit 1
25872 @endif texinfo
25874 .PHONY: maybe-install-html-texinfo install-html-texinfo
25875 maybe-install-html-texinfo:
25876 @if texinfo
25877 maybe-install-html-texinfo: install-html-texinfo
25879 install-html-texinfo: \
25880 configure-texinfo \
25881 html-texinfo
25882 @: $(MAKE); $(unstage)
25883 @[ -f ./texinfo/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(HOST_EXPORTS) \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25889 done; \
25890 echo "Doing install-html in texinfo" ; \
25891 (cd $(HOST_SUBDIR)/texinfo && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25896 install-html) \
25897 || exit 1
25899 @endif texinfo
25901 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25902 maybe-installcheck-texinfo:
25903 @if texinfo
25904 maybe-installcheck-texinfo: installcheck-texinfo
25906 installcheck-texinfo: \
25907 configure-texinfo
25908 @: $(MAKE); $(unstage)
25909 @[ -f ./texinfo/Makefile ] || exit 0; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(HOST_EXPORTS) \
25913 for flag in $(EXTRA_HOST_FLAGS) ; do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25915 done; \
25916 echo "Doing installcheck in texinfo" ; \
25917 (cd $(HOST_SUBDIR)/texinfo && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25922 installcheck) \
25923 || exit 1
25925 @endif texinfo
25927 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25928 maybe-mostlyclean-texinfo:
25929 @if texinfo
25930 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25932 mostlyclean-texinfo:
25933 @: $(MAKE); $(unstage)
25934 @[ -f ./texinfo/Makefile ] || exit 0; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(HOST_EXPORTS) \
25938 for flag in $(EXTRA_HOST_FLAGS) ; do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 done; \
25941 echo "Doing mostlyclean in texinfo" ; \
25942 (cd $(HOST_SUBDIR)/texinfo && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25947 mostlyclean) \
25948 || exit 1
25950 @endif texinfo
25952 .PHONY: maybe-clean-texinfo clean-texinfo
25953 maybe-clean-texinfo:
25954 @if texinfo
25955 maybe-clean-texinfo: clean-texinfo
25957 clean-texinfo:
25958 @: $(MAKE); $(unstage)
25959 @[ -f ./texinfo/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 $(HOST_EXPORTS) \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25965 done; \
25966 echo "Doing clean in texinfo" ; \
25967 (cd $(HOST_SUBDIR)/texinfo && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25972 clean) \
25973 || exit 1
25975 @endif texinfo
25977 .PHONY: maybe-distclean-texinfo distclean-texinfo
25978 maybe-distclean-texinfo:
25979 @if texinfo
25980 maybe-distclean-texinfo: distclean-texinfo
25982 distclean-texinfo:
25983 @: $(MAKE); $(unstage)
25984 @[ -f ./texinfo/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 $(HOST_EXPORTS) \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 done; \
25991 echo "Doing distclean in texinfo" ; \
25992 (cd $(HOST_SUBDIR)/texinfo && \
25993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25995 "RANLIB=$${RANLIB}" \
25996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25997 distclean) \
25998 || exit 1
26000 @endif texinfo
26002 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26003 maybe-maintainer-clean-texinfo:
26004 @if texinfo
26005 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26007 maintainer-clean-texinfo:
26008 @: $(MAKE); $(unstage)
26009 @[ -f ./texinfo/Makefile ] || exit 0; \
26010 r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 $(HOST_EXPORTS) \
26013 for flag in $(EXTRA_HOST_FLAGS) ; do \
26014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26015 done; \
26016 echo "Doing maintainer-clean in texinfo" ; \
26017 (cd $(HOST_SUBDIR)/texinfo && \
26018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26020 "RANLIB=$${RANLIB}" \
26021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26022 maintainer-clean) \
26023 || exit 1
26025 @endif texinfo
26029 .PHONY: configure-zlib maybe-configure-zlib
26030 maybe-configure-zlib:
26031 @if gcc-bootstrap
26032 configure-zlib: stage_current
26033 @endif gcc-bootstrap
26034 @if zlib
26035 maybe-configure-zlib: configure-zlib
26036 configure-zlib:
26037 @r=`${PWD_COMMAND}`; export r; \
26038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26039 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26041 $(HOST_EXPORTS) \
26042 echo Configuring in $(HOST_SUBDIR)/zlib; \
26043 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26044 case $(srcdir) in \
26045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26046 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26048 esac; \
26049 srcdiroption="--srcdir=$${topdir}/zlib"; \
26050 libsrcdir="$$s/zlib"; \
26051 $(SHELL) $${libsrcdir}/configure \
26052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26053 --target=${target_alias} $${srcdiroption} \
26054 || exit 1
26055 @endif zlib
26059 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26060 maybe-configure-stage1-zlib:
26061 @if zlib-bootstrap
26062 maybe-configure-stage1-zlib: configure-stage1-zlib
26063 configure-stage1-zlib:
26064 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26066 @r=`${PWD_COMMAND}`; export r; \
26067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26068 TFLAGS="$(STAGE1_TFLAGS)"; \
26069 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26070 $(HOST_EXPORTS) \
26071 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26072 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26073 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26074 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26076 cd $(HOST_SUBDIR)/zlib || exit 1; \
26077 case $(srcdir) in \
26078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26079 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26081 esac; \
26082 srcdiroption="--srcdir=$${topdir}/zlib"; \
26083 libsrcdir="$$s/zlib"; \
26084 $(SHELL) $${libsrcdir}/configure \
26085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26086 --target=${target_alias} $${srcdiroption} \
26087 $(STAGE1_CONFIGURE_FLAGS)
26088 @endif zlib-bootstrap
26090 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26091 maybe-configure-stage2-zlib:
26092 @if zlib-bootstrap
26093 maybe-configure-stage2-zlib: configure-stage2-zlib
26094 configure-stage2-zlib:
26095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26097 @r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 TFLAGS="$(STAGE2_TFLAGS)"; \
26100 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26101 $(HOST_EXPORTS) \
26102 $(POSTSTAGE1_HOST_EXPORTS) \
26103 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26104 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26105 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26106 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26108 cd $(HOST_SUBDIR)/zlib || exit 1; \
26109 case $(srcdir) in \
26110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26111 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26113 esac; \
26114 srcdiroption="--srcdir=$${topdir}/zlib"; \
26115 libsrcdir="$$s/zlib"; \
26116 $(SHELL) $${libsrcdir}/configure \
26117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26118 --target=${target_alias} $${srcdiroption} \
26119 --with-build-libsubdir=$(HOST_SUBDIR) \
26120 $(STAGE2_CONFIGURE_FLAGS)
26121 @endif zlib-bootstrap
26123 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26124 maybe-configure-stage3-zlib:
26125 @if zlib-bootstrap
26126 maybe-configure-stage3-zlib: configure-stage3-zlib
26127 configure-stage3-zlib:
26128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26130 @r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 TFLAGS="$(STAGE3_TFLAGS)"; \
26133 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26134 $(HOST_EXPORTS) \
26135 $(POSTSTAGE1_HOST_EXPORTS) \
26136 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26137 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26138 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26139 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26141 cd $(HOST_SUBDIR)/zlib || exit 1; \
26142 case $(srcdir) in \
26143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26144 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26146 esac; \
26147 srcdiroption="--srcdir=$${topdir}/zlib"; \
26148 libsrcdir="$$s/zlib"; \
26149 $(SHELL) $${libsrcdir}/configure \
26150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26151 --target=${target_alias} $${srcdiroption} \
26152 --with-build-libsubdir=$(HOST_SUBDIR) \
26153 $(STAGE3_CONFIGURE_FLAGS)
26154 @endif zlib-bootstrap
26156 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26157 maybe-configure-stage4-zlib:
26158 @if zlib-bootstrap
26159 maybe-configure-stage4-zlib: configure-stage4-zlib
26160 configure-stage4-zlib:
26161 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26163 @r=`${PWD_COMMAND}`; export r; \
26164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26165 TFLAGS="$(STAGE4_TFLAGS)"; \
26166 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26167 $(HOST_EXPORTS) \
26168 $(POSTSTAGE1_HOST_EXPORTS) \
26169 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26170 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26171 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26172 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26174 cd $(HOST_SUBDIR)/zlib || exit 1; \
26175 case $(srcdir) in \
26176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26177 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26179 esac; \
26180 srcdiroption="--srcdir=$${topdir}/zlib"; \
26181 libsrcdir="$$s/zlib"; \
26182 $(SHELL) $${libsrcdir}/configure \
26183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26184 --target=${target_alias} $${srcdiroption} \
26185 --with-build-libsubdir=$(HOST_SUBDIR) \
26186 $(STAGE4_CONFIGURE_FLAGS)
26187 @endif zlib-bootstrap
26189 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26190 maybe-configure-stageprofile-zlib:
26191 @if zlib-bootstrap
26192 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26193 configure-stageprofile-zlib:
26194 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26196 @r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26199 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26200 $(HOST_EXPORTS) \
26201 $(POSTSTAGE1_HOST_EXPORTS) \
26202 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26203 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26204 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26205 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26207 cd $(HOST_SUBDIR)/zlib || exit 1; \
26208 case $(srcdir) in \
26209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26210 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26212 esac; \
26213 srcdiroption="--srcdir=$${topdir}/zlib"; \
26214 libsrcdir="$$s/zlib"; \
26215 $(SHELL) $${libsrcdir}/configure \
26216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26217 --target=${target_alias} $${srcdiroption} \
26218 --with-build-libsubdir=$(HOST_SUBDIR) \
26219 $(STAGEprofile_CONFIGURE_FLAGS)
26220 @endif zlib-bootstrap
26222 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26223 maybe-configure-stagefeedback-zlib:
26224 @if zlib-bootstrap
26225 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26226 configure-stagefeedback-zlib:
26227 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26229 @r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26232 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26233 $(HOST_EXPORTS) \
26234 $(POSTSTAGE1_HOST_EXPORTS) \
26235 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26236 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26237 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26238 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26240 cd $(HOST_SUBDIR)/zlib || exit 1; \
26241 case $(srcdir) in \
26242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26243 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26245 esac; \
26246 srcdiroption="--srcdir=$${topdir}/zlib"; \
26247 libsrcdir="$$s/zlib"; \
26248 $(SHELL) $${libsrcdir}/configure \
26249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26250 --target=${target_alias} $${srcdiroption} \
26251 --with-build-libsubdir=$(HOST_SUBDIR) \
26252 $(STAGEfeedback_CONFIGURE_FLAGS)
26253 @endif zlib-bootstrap
26259 .PHONY: all-zlib maybe-all-zlib
26260 maybe-all-zlib:
26261 @if gcc-bootstrap
26262 all-zlib: stage_current
26263 @endif gcc-bootstrap
26264 @if zlib
26265 TARGET-zlib=all
26266 maybe-all-zlib: all-zlib
26267 all-zlib: configure-zlib
26268 @r=`${PWD_COMMAND}`; export r; \
26269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 $(HOST_EXPORTS) \
26271 (cd $(HOST_SUBDIR)/zlib && \
26272 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26273 $(TARGET-zlib))
26274 @endif zlib
26278 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26279 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26280 maybe-all-stage1-zlib:
26281 maybe-clean-stage1-zlib:
26282 @if zlib-bootstrap
26283 maybe-all-stage1-zlib: all-stage1-zlib
26284 all-stage1: all-stage1-zlib
26285 TARGET-stage1-zlib = $(TARGET-zlib)
26286 all-stage1-zlib: configure-stage1-zlib
26287 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26288 @r=`${PWD_COMMAND}`; export r; \
26289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26290 TFLAGS="$(STAGE1_TFLAGS)"; \
26291 $(HOST_EXPORTS) \
26292 cd $(HOST_SUBDIR)/zlib && \
26293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26294 CFLAGS="$(STAGE1_CFLAGS)" \
26295 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26296 LIBCFLAGS="$(LIBCFLAGS)" \
26297 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26298 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26299 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26300 $(EXTRA_HOST_FLAGS) \
26301 $(STAGE1_FLAGS_TO_PASS) \
26302 TFLAGS="$(STAGE1_TFLAGS)" \
26303 $(TARGET-stage1-zlib)
26305 maybe-clean-stage1-zlib: clean-stage1-zlib
26306 clean-stage1: clean-stage1-zlib
26307 clean-stage1-zlib:
26308 @if [ $(current_stage) = stage1 ]; then \
26309 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26310 else \
26311 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26312 $(MAKE) stage1-start; \
26313 fi; \
26314 cd $(HOST_SUBDIR)/zlib && \
26315 $(MAKE) $(EXTRA_HOST_FLAGS) \
26316 $(STAGE1_FLAGS_TO_PASS) clean
26317 @endif zlib-bootstrap
26320 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26321 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26322 maybe-all-stage2-zlib:
26323 maybe-clean-stage2-zlib:
26324 @if zlib-bootstrap
26325 maybe-all-stage2-zlib: all-stage2-zlib
26326 all-stage2: all-stage2-zlib
26327 TARGET-stage2-zlib = $(TARGET-zlib)
26328 all-stage2-zlib: configure-stage2-zlib
26329 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26330 @r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 TFLAGS="$(STAGE2_TFLAGS)"; \
26333 $(HOST_EXPORTS) \
26334 $(POSTSTAGE1_HOST_EXPORTS) \
26335 cd $(HOST_SUBDIR)/zlib && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26337 CFLAGS="$(STAGE2_CFLAGS)" \
26338 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26339 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26344 TFLAGS="$(STAGE2_TFLAGS)" \
26345 $(TARGET-stage2-zlib)
26347 maybe-clean-stage2-zlib: clean-stage2-zlib
26348 clean-stage2: clean-stage2-zlib
26349 clean-stage2-zlib:
26350 @if [ $(current_stage) = stage2 ]; then \
26351 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26352 else \
26353 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26354 $(MAKE) stage2-start; \
26355 fi; \
26356 cd $(HOST_SUBDIR)/zlib && \
26357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26358 @endif zlib-bootstrap
26361 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26362 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26363 maybe-all-stage3-zlib:
26364 maybe-clean-stage3-zlib:
26365 @if zlib-bootstrap
26366 maybe-all-stage3-zlib: all-stage3-zlib
26367 all-stage3: all-stage3-zlib
26368 TARGET-stage3-zlib = $(TARGET-zlib)
26369 all-stage3-zlib: configure-stage3-zlib
26370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26371 @r=`${PWD_COMMAND}`; export r; \
26372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26373 TFLAGS="$(STAGE3_TFLAGS)"; \
26374 $(HOST_EXPORTS) \
26375 $(POSTSTAGE1_HOST_EXPORTS) \
26376 cd $(HOST_SUBDIR)/zlib && \
26377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26378 CFLAGS="$(STAGE3_CFLAGS)" \
26379 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26380 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26385 TFLAGS="$(STAGE3_TFLAGS)" \
26386 $(TARGET-stage3-zlib)
26388 maybe-clean-stage3-zlib: clean-stage3-zlib
26389 clean-stage3: clean-stage3-zlib
26390 clean-stage3-zlib:
26391 @if [ $(current_stage) = stage3 ]; then \
26392 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26393 else \
26394 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26395 $(MAKE) stage3-start; \
26396 fi; \
26397 cd $(HOST_SUBDIR)/zlib && \
26398 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26399 @endif zlib-bootstrap
26402 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26403 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26404 maybe-all-stage4-zlib:
26405 maybe-clean-stage4-zlib:
26406 @if zlib-bootstrap
26407 maybe-all-stage4-zlib: all-stage4-zlib
26408 all-stage4: all-stage4-zlib
26409 TARGET-stage4-zlib = $(TARGET-zlib)
26410 all-stage4-zlib: configure-stage4-zlib
26411 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26412 @r=`${PWD_COMMAND}`; export r; \
26413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 TFLAGS="$(STAGE4_TFLAGS)"; \
26415 $(HOST_EXPORTS) \
26416 $(POSTSTAGE1_HOST_EXPORTS) \
26417 cd $(HOST_SUBDIR)/zlib && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26419 CFLAGS="$(STAGE4_CFLAGS)" \
26420 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26421 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26425 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26426 TFLAGS="$(STAGE4_TFLAGS)" \
26427 $(TARGET-stage4-zlib)
26429 maybe-clean-stage4-zlib: clean-stage4-zlib
26430 clean-stage4: clean-stage4-zlib
26431 clean-stage4-zlib:
26432 @if [ $(current_stage) = stage4 ]; then \
26433 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26434 else \
26435 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26436 $(MAKE) stage4-start; \
26437 fi; \
26438 cd $(HOST_SUBDIR)/zlib && \
26439 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26440 @endif zlib-bootstrap
26443 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26444 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26445 maybe-all-stageprofile-zlib:
26446 maybe-clean-stageprofile-zlib:
26447 @if zlib-bootstrap
26448 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26449 all-stageprofile: all-stageprofile-zlib
26450 TARGET-stageprofile-zlib = $(TARGET-zlib)
26451 all-stageprofile-zlib: configure-stageprofile-zlib
26452 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26453 @r=`${PWD_COMMAND}`; export r; \
26454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26455 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26456 $(HOST_EXPORTS) \
26457 $(POSTSTAGE1_HOST_EXPORTS) \
26458 cd $(HOST_SUBDIR)/zlib && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26460 CFLAGS="$(STAGEprofile_CFLAGS)" \
26461 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26462 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26463 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26464 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26465 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26466 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26467 TFLAGS="$(STAGEprofile_TFLAGS)" \
26468 $(TARGET-stageprofile-zlib)
26470 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26471 clean-stageprofile: clean-stageprofile-zlib
26472 clean-stageprofile-zlib:
26473 @if [ $(current_stage) = stageprofile ]; then \
26474 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26475 else \
26476 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26477 $(MAKE) stageprofile-start; \
26478 fi; \
26479 cd $(HOST_SUBDIR)/zlib && \
26480 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26481 @endif zlib-bootstrap
26484 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26485 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26486 maybe-all-stagefeedback-zlib:
26487 maybe-clean-stagefeedback-zlib:
26488 @if zlib-bootstrap
26489 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26490 all-stagefeedback: all-stagefeedback-zlib
26491 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26492 all-stagefeedback-zlib: configure-stagefeedback-zlib
26493 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26494 @r=`${PWD_COMMAND}`; export r; \
26495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26496 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26497 $(HOST_EXPORTS) \
26498 $(POSTSTAGE1_HOST_EXPORTS) \
26499 cd $(HOST_SUBDIR)/zlib && \
26500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26501 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26502 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26503 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26508 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26509 $(TARGET-stagefeedback-zlib)
26511 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26512 clean-stagefeedback: clean-stagefeedback-zlib
26513 clean-stagefeedback-zlib:
26514 @if [ $(current_stage) = stagefeedback ]; then \
26515 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26516 else \
26517 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26518 $(MAKE) stagefeedback-start; \
26519 fi; \
26520 cd $(HOST_SUBDIR)/zlib && \
26521 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26522 @endif zlib-bootstrap
26528 .PHONY: check-zlib maybe-check-zlib
26529 maybe-check-zlib:
26530 @if zlib
26531 maybe-check-zlib: check-zlib
26533 check-zlib:
26535 @endif zlib
26537 .PHONY: install-zlib maybe-install-zlib
26538 maybe-install-zlib:
26539 @if zlib
26540 maybe-install-zlib: install-zlib
26542 install-zlib:
26544 @endif zlib
26546 .PHONY: install-strip-zlib maybe-install-strip-zlib
26547 maybe-install-strip-zlib:
26548 @if zlib
26549 maybe-install-strip-zlib: install-strip-zlib
26551 install-strip-zlib:
26553 @endif zlib
26555 # Other targets (info, dvi, pdf, etc.)
26557 .PHONY: maybe-info-zlib info-zlib
26558 maybe-info-zlib:
26559 @if zlib
26560 maybe-info-zlib: info-zlib
26562 info-zlib: \
26563 configure-zlib
26564 @[ -f ./zlib/Makefile ] || exit 0; \
26565 r=`${PWD_COMMAND}`; export r; \
26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 $(HOST_EXPORTS) \
26568 for flag in $(EXTRA_HOST_FLAGS) ; do \
26569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26570 done; \
26571 echo "Doing info in zlib" ; \
26572 (cd $(HOST_SUBDIR)/zlib && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26577 info) \
26578 || exit 1
26580 @endif zlib
26582 .PHONY: maybe-dvi-zlib dvi-zlib
26583 maybe-dvi-zlib:
26584 @if zlib
26585 maybe-dvi-zlib: dvi-zlib
26587 dvi-zlib: \
26588 configure-zlib
26589 @[ -f ./zlib/Makefile ] || exit 0; \
26590 r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 $(HOST_EXPORTS) \
26593 for flag in $(EXTRA_HOST_FLAGS) ; do \
26594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26595 done; \
26596 echo "Doing dvi in zlib" ; \
26597 (cd $(HOST_SUBDIR)/zlib && \
26598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26600 "RANLIB=$${RANLIB}" \
26601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26602 dvi) \
26603 || exit 1
26605 @endif zlib
26607 .PHONY: maybe-pdf-zlib pdf-zlib
26608 maybe-pdf-zlib:
26609 @if zlib
26610 maybe-pdf-zlib: pdf-zlib
26612 pdf-zlib: \
26613 configure-zlib
26614 @[ -f ./zlib/Makefile ] || exit 0; \
26615 r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 $(HOST_EXPORTS) \
26618 for flag in $(EXTRA_HOST_FLAGS) ; do \
26619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26620 done; \
26621 echo "Doing pdf in zlib" ; \
26622 (cd $(HOST_SUBDIR)/zlib && \
26623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26625 "RANLIB=$${RANLIB}" \
26626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26627 pdf) \
26628 || exit 1
26630 @endif zlib
26632 .PHONY: maybe-html-zlib html-zlib
26633 maybe-html-zlib:
26634 @if zlib
26635 maybe-html-zlib: html-zlib
26637 html-zlib: \
26638 configure-zlib
26639 @[ -f ./zlib/Makefile ] || exit 0; \
26640 r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 $(HOST_EXPORTS) \
26643 for flag in $(EXTRA_HOST_FLAGS) ; do \
26644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26645 done; \
26646 echo "Doing html in zlib" ; \
26647 (cd $(HOST_SUBDIR)/zlib && \
26648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26650 "RANLIB=$${RANLIB}" \
26651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26652 html) \
26653 || exit 1
26655 @endif zlib
26657 .PHONY: maybe-TAGS-zlib TAGS-zlib
26658 maybe-TAGS-zlib:
26659 @if zlib
26660 maybe-TAGS-zlib: TAGS-zlib
26662 TAGS-zlib: \
26663 configure-zlib
26664 @[ -f ./zlib/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(HOST_EXPORTS) \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26670 done; \
26671 echo "Doing TAGS in zlib" ; \
26672 (cd $(HOST_SUBDIR)/zlib && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26677 TAGS) \
26678 || exit 1
26680 @endif zlib
26682 .PHONY: maybe-install-info-zlib install-info-zlib
26683 maybe-install-info-zlib:
26684 @if zlib
26685 maybe-install-info-zlib: install-info-zlib
26687 install-info-zlib: \
26688 configure-zlib \
26689 info-zlib
26690 @[ -f ./zlib/Makefile ] || exit 0; \
26691 r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26693 $(HOST_EXPORTS) \
26694 for flag in $(EXTRA_HOST_FLAGS) ; do \
26695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26696 done; \
26697 echo "Doing install-info in zlib" ; \
26698 (cd $(HOST_SUBDIR)/zlib && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26703 install-info) \
26704 || exit 1
26706 @endif zlib
26708 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26709 maybe-install-pdf-zlib:
26710 @if zlib
26711 maybe-install-pdf-zlib: install-pdf-zlib
26713 install-pdf-zlib: \
26714 configure-zlib \
26715 pdf-zlib
26716 @[ -f ./zlib/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26719 $(HOST_EXPORTS) \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26722 done; \
26723 echo "Doing install-pdf in zlib" ; \
26724 (cd $(HOST_SUBDIR)/zlib && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26729 install-pdf) \
26730 || exit 1
26732 @endif zlib
26734 .PHONY: maybe-install-html-zlib install-html-zlib
26735 maybe-install-html-zlib:
26736 @if zlib
26737 maybe-install-html-zlib: install-html-zlib
26739 install-html-zlib: \
26740 configure-zlib \
26741 html-zlib
26742 @[ -f ./zlib/Makefile ] || exit 0; \
26743 r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 $(HOST_EXPORTS) \
26746 for flag in $(EXTRA_HOST_FLAGS) ; do \
26747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26748 done; \
26749 echo "Doing install-html in zlib" ; \
26750 (cd $(HOST_SUBDIR)/zlib && \
26751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26753 "RANLIB=$${RANLIB}" \
26754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26755 install-html) \
26756 || exit 1
26758 @endif zlib
26760 .PHONY: maybe-installcheck-zlib installcheck-zlib
26761 maybe-installcheck-zlib:
26762 @if zlib
26763 maybe-installcheck-zlib: installcheck-zlib
26765 installcheck-zlib: \
26766 configure-zlib
26767 @[ -f ./zlib/Makefile ] || exit 0; \
26768 r=`${PWD_COMMAND}`; export r; \
26769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26770 $(HOST_EXPORTS) \
26771 for flag in $(EXTRA_HOST_FLAGS) ; do \
26772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26773 done; \
26774 echo "Doing installcheck in zlib" ; \
26775 (cd $(HOST_SUBDIR)/zlib && \
26776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26778 "RANLIB=$${RANLIB}" \
26779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26780 installcheck) \
26781 || exit 1
26783 @endif zlib
26785 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26786 maybe-mostlyclean-zlib:
26787 @if zlib
26788 maybe-mostlyclean-zlib: mostlyclean-zlib
26790 mostlyclean-zlib:
26791 @[ -f ./zlib/Makefile ] || exit 0; \
26792 r=`${PWD_COMMAND}`; export r; \
26793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26794 $(HOST_EXPORTS) \
26795 for flag in $(EXTRA_HOST_FLAGS) ; do \
26796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26797 done; \
26798 echo "Doing mostlyclean in zlib" ; \
26799 (cd $(HOST_SUBDIR)/zlib && \
26800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26802 "RANLIB=$${RANLIB}" \
26803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26804 mostlyclean) \
26805 || exit 1
26807 @endif zlib
26809 .PHONY: maybe-clean-zlib clean-zlib
26810 maybe-clean-zlib:
26811 @if zlib
26812 maybe-clean-zlib: clean-zlib
26814 clean-zlib:
26815 @[ -f ./zlib/Makefile ] || exit 0; \
26816 r=`${PWD_COMMAND}`; export r; \
26817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26818 $(HOST_EXPORTS) \
26819 for flag in $(EXTRA_HOST_FLAGS) ; do \
26820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26821 done; \
26822 echo "Doing clean in zlib" ; \
26823 (cd $(HOST_SUBDIR)/zlib && \
26824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26826 "RANLIB=$${RANLIB}" \
26827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26828 clean) \
26829 || exit 1
26831 @endif zlib
26833 .PHONY: maybe-distclean-zlib distclean-zlib
26834 maybe-distclean-zlib:
26835 @if zlib
26836 maybe-distclean-zlib: distclean-zlib
26838 distclean-zlib:
26839 @[ -f ./zlib/Makefile ] || exit 0; \
26840 r=`${PWD_COMMAND}`; export r; \
26841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26842 $(HOST_EXPORTS) \
26843 for flag in $(EXTRA_HOST_FLAGS) ; do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 done; \
26846 echo "Doing distclean in zlib" ; \
26847 (cd $(HOST_SUBDIR)/zlib && \
26848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26850 "RANLIB=$${RANLIB}" \
26851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26852 distclean) \
26853 || exit 1
26855 @endif zlib
26857 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26858 maybe-maintainer-clean-zlib:
26859 @if zlib
26860 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26862 maintainer-clean-zlib:
26863 @[ -f ./zlib/Makefile ] || exit 0; \
26864 r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(HOST_EXPORTS) \
26867 for flag in $(EXTRA_HOST_FLAGS) ; do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 echo "Doing maintainer-clean in zlib" ; \
26871 (cd $(HOST_SUBDIR)/zlib && \
26872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874 "RANLIB=$${RANLIB}" \
26875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26876 maintainer-clean) \
26877 || exit 1
26879 @endif zlib
26883 .PHONY: configure-gdb maybe-configure-gdb
26884 maybe-configure-gdb:
26885 @if gcc-bootstrap
26886 configure-gdb: stage_current
26887 @endif gcc-bootstrap
26888 @if gdb
26889 maybe-configure-gdb: configure-gdb
26890 configure-gdb:
26891 @: $(MAKE); $(unstage)
26892 @r=`${PWD_COMMAND}`; export r; \
26893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26894 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26896 $(HOST_EXPORTS) \
26897 echo Configuring in $(HOST_SUBDIR)/gdb; \
26898 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26899 case $(srcdir) in \
26900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26901 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26903 esac; \
26904 srcdiroption="--srcdir=$${topdir}/gdb"; \
26905 libsrcdir="$$s/gdb"; \
26906 $(SHELL) $${libsrcdir}/configure \
26907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26908 --target=${target_alias} $${srcdiroption} \
26909 || exit 1
26910 @endif gdb
26916 .PHONY: all-gdb maybe-all-gdb
26917 maybe-all-gdb:
26918 @if gcc-bootstrap
26919 all-gdb: stage_current
26920 @endif gcc-bootstrap
26921 @if gdb
26922 TARGET-gdb=all
26923 maybe-all-gdb: all-gdb
26924 all-gdb: configure-gdb
26925 @: $(MAKE); $(unstage)
26926 @r=`${PWD_COMMAND}`; export r; \
26927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26928 $(HOST_EXPORTS) \
26929 (cd $(HOST_SUBDIR)/gdb && \
26930 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26931 $(TARGET-gdb))
26932 @endif gdb
26937 .PHONY: check-gdb maybe-check-gdb
26938 maybe-check-gdb:
26939 @if gdb
26940 maybe-check-gdb: check-gdb
26942 check-gdb:
26943 @: $(MAKE); $(unstage)
26944 @r=`${PWD_COMMAND}`; export r; \
26945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 $(HOST_EXPORTS) \
26947 (cd $(HOST_SUBDIR)/gdb && \
26948 $(MAKE) $(FLAGS_TO_PASS) check)
26950 @endif gdb
26952 .PHONY: install-gdb maybe-install-gdb
26953 maybe-install-gdb:
26954 @if gdb
26955 maybe-install-gdb: install-gdb
26957 install-gdb: installdirs
26958 @: $(MAKE); $(unstage)
26959 @r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 $(HOST_EXPORTS) \
26962 (cd $(HOST_SUBDIR)/gdb && \
26963 $(MAKE) $(FLAGS_TO_PASS) install)
26965 @endif gdb
26967 .PHONY: install-strip-gdb maybe-install-strip-gdb
26968 maybe-install-strip-gdb:
26969 @if gdb
26970 maybe-install-strip-gdb: install-strip-gdb
26972 install-strip-gdb: installdirs
26973 @: $(MAKE); $(unstage)
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 (cd $(HOST_SUBDIR)/gdb && \
26978 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26980 @endif gdb
26982 # Other targets (info, dvi, pdf, etc.)
26984 .PHONY: maybe-info-gdb info-gdb
26985 maybe-info-gdb:
26986 @if gdb
26987 maybe-info-gdb: info-gdb
26989 info-gdb: \
26990 configure-gdb
26991 @: $(MAKE); $(unstage)
26992 @[ -f ./gdb/Makefile ] || exit 0; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26995 $(HOST_EXPORTS) \
26996 for flag in $(EXTRA_HOST_FLAGS) ; do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998 done; \
26999 echo "Doing info in gdb" ; \
27000 (cd $(HOST_SUBDIR)/gdb && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27005 info) \
27006 || exit 1
27008 @endif gdb
27010 .PHONY: maybe-dvi-gdb dvi-gdb
27011 maybe-dvi-gdb:
27012 @if gdb
27013 maybe-dvi-gdb: dvi-gdb
27015 dvi-gdb: \
27016 configure-gdb
27017 @: $(MAKE); $(unstage)
27018 @[ -f ./gdb/Makefile ] || exit 0; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 for flag in $(EXTRA_HOST_FLAGS) ; do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 echo "Doing dvi in gdb" ; \
27026 (cd $(HOST_SUBDIR)/gdb && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27029 "RANLIB=$${RANLIB}" \
27030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27031 dvi) \
27032 || exit 1
27034 @endif gdb
27036 .PHONY: maybe-pdf-gdb pdf-gdb
27037 maybe-pdf-gdb:
27038 @if gdb
27039 maybe-pdf-gdb: pdf-gdb
27041 pdf-gdb: \
27042 configure-gdb
27043 @: $(MAKE); $(unstage)
27044 @[ -f ./gdb/Makefile ] || exit 0; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(HOST_EXPORTS) \
27048 for flag in $(EXTRA_HOST_FLAGS) ; do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27050 done; \
27051 echo "Doing pdf in gdb" ; \
27052 (cd $(HOST_SUBDIR)/gdb && \
27053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27055 "RANLIB=$${RANLIB}" \
27056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27057 pdf) \
27058 || exit 1
27060 @endif gdb
27062 .PHONY: maybe-html-gdb html-gdb
27063 maybe-html-gdb:
27064 @if gdb
27065 maybe-html-gdb: html-gdb
27067 html-gdb: \
27068 configure-gdb
27069 @: $(MAKE); $(unstage)
27070 @[ -f ./gdb/Makefile ] || exit 0; \
27071 r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(HOST_EXPORTS) \
27074 for flag in $(EXTRA_HOST_FLAGS) ; do \
27075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27076 done; \
27077 echo "Doing html in gdb" ; \
27078 (cd $(HOST_SUBDIR)/gdb && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27083 html) \
27084 || exit 1
27086 @endif gdb
27088 .PHONY: maybe-TAGS-gdb TAGS-gdb
27089 maybe-TAGS-gdb:
27090 @if gdb
27091 maybe-TAGS-gdb: TAGS-gdb
27093 TAGS-gdb: \
27094 configure-gdb
27095 @: $(MAKE); $(unstage)
27096 @[ -f ./gdb/Makefile ] || exit 0; \
27097 r=`${PWD_COMMAND}`; export r; \
27098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27099 $(HOST_EXPORTS) \
27100 for flag in $(EXTRA_HOST_FLAGS) ; do \
27101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27102 done; \
27103 echo "Doing TAGS in gdb" ; \
27104 (cd $(HOST_SUBDIR)/gdb && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27109 TAGS) \
27110 || exit 1
27112 @endif gdb
27114 .PHONY: maybe-install-info-gdb install-info-gdb
27115 maybe-install-info-gdb:
27116 @if gdb
27117 maybe-install-info-gdb: install-info-gdb
27119 install-info-gdb: \
27120 configure-gdb \
27121 info-gdb
27122 @: $(MAKE); $(unstage)
27123 @[ -f ./gdb/Makefile ] || exit 0; \
27124 r=`${PWD_COMMAND}`; export r; \
27125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27126 $(HOST_EXPORTS) \
27127 for flag in $(EXTRA_HOST_FLAGS) ; do \
27128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27129 done; \
27130 echo "Doing install-info in gdb" ; \
27131 (cd $(HOST_SUBDIR)/gdb && \
27132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27134 "RANLIB=$${RANLIB}" \
27135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27136 install-info) \
27137 || exit 1
27139 @endif gdb
27141 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27142 maybe-install-pdf-gdb:
27143 @if gdb
27144 maybe-install-pdf-gdb: install-pdf-gdb
27146 install-pdf-gdb: \
27147 configure-gdb \
27148 pdf-gdb
27149 @: $(MAKE); $(unstage)
27150 @[ -f ./gdb/Makefile ] || exit 0; \
27151 r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(HOST_EXPORTS) \
27154 for flag in $(EXTRA_HOST_FLAGS) ; do \
27155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27156 done; \
27157 echo "Doing install-pdf in gdb" ; \
27158 (cd $(HOST_SUBDIR)/gdb && \
27159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27161 "RANLIB=$${RANLIB}" \
27162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27163 install-pdf) \
27164 || exit 1
27166 @endif gdb
27168 .PHONY: maybe-install-html-gdb install-html-gdb
27169 maybe-install-html-gdb:
27170 @if gdb
27171 maybe-install-html-gdb: install-html-gdb
27173 install-html-gdb: \
27174 configure-gdb \
27175 html-gdb
27176 @: $(MAKE); $(unstage)
27177 @[ -f ./gdb/Makefile ] || exit 0; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(HOST_EXPORTS) \
27181 for flag in $(EXTRA_HOST_FLAGS) ; do \
27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27183 done; \
27184 echo "Doing install-html in gdb" ; \
27185 (cd $(HOST_SUBDIR)/gdb && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27190 install-html) \
27191 || exit 1
27193 @endif gdb
27195 .PHONY: maybe-installcheck-gdb installcheck-gdb
27196 maybe-installcheck-gdb:
27197 @if gdb
27198 maybe-installcheck-gdb: installcheck-gdb
27200 installcheck-gdb: \
27201 configure-gdb
27202 @: $(MAKE); $(unstage)
27203 @[ -f ./gdb/Makefile ] || exit 0; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(HOST_EXPORTS) \
27207 for flag in $(EXTRA_HOST_FLAGS) ; do \
27208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27209 done; \
27210 echo "Doing installcheck in gdb" ; \
27211 (cd $(HOST_SUBDIR)/gdb && \
27212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27214 "RANLIB=$${RANLIB}" \
27215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27216 installcheck) \
27217 || exit 1
27219 @endif gdb
27221 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27222 maybe-mostlyclean-gdb:
27223 @if gdb
27224 maybe-mostlyclean-gdb: mostlyclean-gdb
27226 mostlyclean-gdb:
27227 @: $(MAKE); $(unstage)
27228 @[ -f ./gdb/Makefile ] || exit 0; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(HOST_EXPORTS) \
27232 for flag in $(EXTRA_HOST_FLAGS) ; do \
27233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27234 done; \
27235 echo "Doing mostlyclean in gdb" ; \
27236 (cd $(HOST_SUBDIR)/gdb && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27241 mostlyclean) \
27242 || exit 1
27244 @endif gdb
27246 .PHONY: maybe-clean-gdb clean-gdb
27247 maybe-clean-gdb:
27248 @if gdb
27249 maybe-clean-gdb: clean-gdb
27251 clean-gdb:
27252 @: $(MAKE); $(unstage)
27253 @[ -f ./gdb/Makefile ] || exit 0; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 $(HOST_EXPORTS) \
27257 for flag in $(EXTRA_HOST_FLAGS) ; do \
27258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27259 done; \
27260 echo "Doing clean in gdb" ; \
27261 (cd $(HOST_SUBDIR)/gdb && \
27262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27264 "RANLIB=$${RANLIB}" \
27265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27266 clean) \
27267 || exit 1
27269 @endif gdb
27271 .PHONY: maybe-distclean-gdb distclean-gdb
27272 maybe-distclean-gdb:
27273 @if gdb
27274 maybe-distclean-gdb: distclean-gdb
27276 distclean-gdb:
27277 @: $(MAKE); $(unstage)
27278 @[ -f ./gdb/Makefile ] || exit 0; \
27279 r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(HOST_EXPORTS) \
27282 for flag in $(EXTRA_HOST_FLAGS) ; do \
27283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27284 done; \
27285 echo "Doing distclean in gdb" ; \
27286 (cd $(HOST_SUBDIR)/gdb && \
27287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27289 "RANLIB=$${RANLIB}" \
27290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27291 distclean) \
27292 || exit 1
27294 @endif gdb
27296 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27297 maybe-maintainer-clean-gdb:
27298 @if gdb
27299 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27301 maintainer-clean-gdb:
27302 @: $(MAKE); $(unstage)
27303 @[ -f ./gdb/Makefile ] || exit 0; \
27304 r=`${PWD_COMMAND}`; export r; \
27305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(HOST_EXPORTS) \
27307 for flag in $(EXTRA_HOST_FLAGS) ; do \
27308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27309 done; \
27310 echo "Doing maintainer-clean in gdb" ; \
27311 (cd $(HOST_SUBDIR)/gdb && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27316 maintainer-clean) \
27317 || exit 1
27319 @endif gdb
27323 .PHONY: configure-expect maybe-configure-expect
27324 maybe-configure-expect:
27325 @if gcc-bootstrap
27326 configure-expect: stage_current
27327 @endif gcc-bootstrap
27328 @if expect
27329 maybe-configure-expect: configure-expect
27330 configure-expect:
27331 @: $(MAKE); $(unstage)
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27336 $(HOST_EXPORTS) \
27337 echo Configuring in $(HOST_SUBDIR)/expect; \
27338 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27339 case $(srcdir) in \
27340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27341 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27343 esac; \
27344 srcdiroption="--srcdir=$${topdir}/expect"; \
27345 libsrcdir="$$s/expect"; \
27346 $(SHELL) $${libsrcdir}/configure \
27347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27348 --target=${target_alias} $${srcdiroption} \
27349 || exit 1
27350 @endif expect
27356 .PHONY: all-expect maybe-all-expect
27357 maybe-all-expect:
27358 @if gcc-bootstrap
27359 all-expect: stage_current
27360 @endif gcc-bootstrap
27361 @if expect
27362 TARGET-expect=all
27363 maybe-all-expect: all-expect
27364 all-expect: configure-expect
27365 @: $(MAKE); $(unstage)
27366 @r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 $(HOST_EXPORTS) \
27369 (cd $(HOST_SUBDIR)/expect && \
27370 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27371 $(TARGET-expect))
27372 @endif expect
27377 .PHONY: check-expect maybe-check-expect
27378 maybe-check-expect:
27379 @if expect
27380 maybe-check-expect: check-expect
27382 check-expect:
27383 @: $(MAKE); $(unstage)
27384 @r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 $(HOST_EXPORTS) \
27387 (cd $(HOST_SUBDIR)/expect && \
27388 $(MAKE) $(FLAGS_TO_PASS) check)
27390 @endif expect
27392 .PHONY: install-expect maybe-install-expect
27393 maybe-install-expect:
27394 @if expect
27395 maybe-install-expect: install-expect
27397 install-expect: installdirs
27398 @: $(MAKE); $(unstage)
27399 @r=`${PWD_COMMAND}`; export r; \
27400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401 $(HOST_EXPORTS) \
27402 (cd $(HOST_SUBDIR)/expect && \
27403 $(MAKE) $(FLAGS_TO_PASS) install)
27405 @endif expect
27407 .PHONY: install-strip-expect maybe-install-strip-expect
27408 maybe-install-strip-expect:
27409 @if expect
27410 maybe-install-strip-expect: install-strip-expect
27412 install-strip-expect: installdirs
27413 @: $(MAKE); $(unstage)
27414 @r=`${PWD_COMMAND}`; export r; \
27415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27416 $(HOST_EXPORTS) \
27417 (cd $(HOST_SUBDIR)/expect && \
27418 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27420 @endif expect
27422 # Other targets (info, dvi, pdf, etc.)
27424 .PHONY: maybe-info-expect info-expect
27425 maybe-info-expect:
27426 @if expect
27427 maybe-info-expect: info-expect
27429 info-expect: \
27430 configure-expect
27431 @: $(MAKE); $(unstage)
27432 @[ -f ./expect/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(HOST_EXPORTS) \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 echo "Doing info in expect" ; \
27440 (cd $(HOST_SUBDIR)/expect && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27445 info) \
27446 || exit 1
27448 @endif expect
27450 .PHONY: maybe-dvi-expect dvi-expect
27451 maybe-dvi-expect:
27452 @if expect
27453 maybe-dvi-expect: dvi-expect
27455 dvi-expect: \
27456 configure-expect
27457 @: $(MAKE); $(unstage)
27458 @[ -f ./expect/Makefile ] || exit 0; \
27459 r=`${PWD_COMMAND}`; export r; \
27460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27461 $(HOST_EXPORTS) \
27462 for flag in $(EXTRA_HOST_FLAGS) ; do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27464 done; \
27465 echo "Doing dvi in expect" ; \
27466 (cd $(HOST_SUBDIR)/expect && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27471 dvi) \
27472 || exit 1
27474 @endif expect
27476 .PHONY: maybe-pdf-expect pdf-expect
27477 maybe-pdf-expect:
27478 @if expect
27479 maybe-pdf-expect: pdf-expect
27481 pdf-expect: \
27482 configure-expect
27483 @: $(MAKE); $(unstage)
27484 @[ -f ./expect/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 echo "Doing pdf in expect" ; \
27492 (cd $(HOST_SUBDIR)/expect && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27497 pdf) \
27498 || exit 1
27500 @endif expect
27502 .PHONY: maybe-html-expect html-expect
27503 maybe-html-expect:
27504 @if expect
27505 maybe-html-expect: html-expect
27507 html-expect: \
27508 configure-expect
27509 @: $(MAKE); $(unstage)
27510 @[ -f ./expect/Makefile ] || exit 0; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(HOST_EXPORTS) \
27514 for flag in $(EXTRA_HOST_FLAGS) ; do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27516 done; \
27517 echo "Doing html in expect" ; \
27518 (cd $(HOST_SUBDIR)/expect && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27523 html) \
27524 || exit 1
27526 @endif expect
27528 .PHONY: maybe-TAGS-expect TAGS-expect
27529 maybe-TAGS-expect:
27530 @if expect
27531 maybe-TAGS-expect: TAGS-expect
27533 TAGS-expect: \
27534 configure-expect
27535 @: $(MAKE); $(unstage)
27536 @[ -f ./expect/Makefile ] || exit 0; \
27537 r=`${PWD_COMMAND}`; export r; \
27538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27539 $(HOST_EXPORTS) \
27540 for flag in $(EXTRA_HOST_FLAGS) ; do \
27541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27542 done; \
27543 echo "Doing TAGS in expect" ; \
27544 (cd $(HOST_SUBDIR)/expect && \
27545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27547 "RANLIB=$${RANLIB}" \
27548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27549 TAGS) \
27550 || exit 1
27552 @endif expect
27554 .PHONY: maybe-install-info-expect install-info-expect
27555 maybe-install-info-expect:
27556 @if expect
27557 maybe-install-info-expect: install-info-expect
27559 install-info-expect: \
27560 configure-expect \
27561 info-expect
27562 @: $(MAKE); $(unstage)
27563 @[ -f ./expect/Makefile ] || exit 0; \
27564 r=`${PWD_COMMAND}`; export r; \
27565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27566 $(HOST_EXPORTS) \
27567 for flag in $(EXTRA_HOST_FLAGS) ; do \
27568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27569 done; \
27570 echo "Doing install-info in expect" ; \
27571 (cd $(HOST_SUBDIR)/expect && \
27572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27574 "RANLIB=$${RANLIB}" \
27575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27576 install-info) \
27577 || exit 1
27579 @endif expect
27581 .PHONY: maybe-install-pdf-expect install-pdf-expect
27582 maybe-install-pdf-expect:
27583 @if expect
27584 maybe-install-pdf-expect: install-pdf-expect
27586 install-pdf-expect: \
27587 configure-expect \
27588 pdf-expect
27589 @: $(MAKE); $(unstage)
27590 @[ -f ./expect/Makefile ] || exit 0; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 for flag in $(EXTRA_HOST_FLAGS) ; do \
27595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27596 done; \
27597 echo "Doing install-pdf in expect" ; \
27598 (cd $(HOST_SUBDIR)/expect && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27601 "RANLIB=$${RANLIB}" \
27602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27603 install-pdf) \
27604 || exit 1
27606 @endif expect
27608 .PHONY: maybe-install-html-expect install-html-expect
27609 maybe-install-html-expect:
27610 @if expect
27611 maybe-install-html-expect: install-html-expect
27613 install-html-expect: \
27614 configure-expect \
27615 html-expect
27616 @: $(MAKE); $(unstage)
27617 @[ -f ./expect/Makefile ] || exit 0; \
27618 r=`${PWD_COMMAND}`; export r; \
27619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27620 $(HOST_EXPORTS) \
27621 for flag in $(EXTRA_HOST_FLAGS) ; do \
27622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27623 done; \
27624 echo "Doing install-html in expect" ; \
27625 (cd $(HOST_SUBDIR)/expect && \
27626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27628 "RANLIB=$${RANLIB}" \
27629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27630 install-html) \
27631 || exit 1
27633 @endif expect
27635 .PHONY: maybe-installcheck-expect installcheck-expect
27636 maybe-installcheck-expect:
27637 @if expect
27638 maybe-installcheck-expect: installcheck-expect
27640 installcheck-expect: \
27641 configure-expect
27642 @: $(MAKE); $(unstage)
27643 @[ -f ./expect/Makefile ] || exit 0; \
27644 r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646 $(HOST_EXPORTS) \
27647 for flag in $(EXTRA_HOST_FLAGS) ; do \
27648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27649 done; \
27650 echo "Doing installcheck in expect" ; \
27651 (cd $(HOST_SUBDIR)/expect && \
27652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27654 "RANLIB=$${RANLIB}" \
27655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27656 installcheck) \
27657 || exit 1
27659 @endif expect
27661 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27662 maybe-mostlyclean-expect:
27663 @if expect
27664 maybe-mostlyclean-expect: mostlyclean-expect
27666 mostlyclean-expect:
27667 @: $(MAKE); $(unstage)
27668 @[ -f ./expect/Makefile ] || exit 0; \
27669 r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 $(HOST_EXPORTS) \
27672 for flag in $(EXTRA_HOST_FLAGS) ; do \
27673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27674 done; \
27675 echo "Doing mostlyclean in expect" ; \
27676 (cd $(HOST_SUBDIR)/expect && \
27677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27679 "RANLIB=$${RANLIB}" \
27680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27681 mostlyclean) \
27682 || exit 1
27684 @endif expect
27686 .PHONY: maybe-clean-expect clean-expect
27687 maybe-clean-expect:
27688 @if expect
27689 maybe-clean-expect: clean-expect
27691 clean-expect:
27692 @: $(MAKE); $(unstage)
27693 @[ -f ./expect/Makefile ] || exit 0; \
27694 r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696 $(HOST_EXPORTS) \
27697 for flag in $(EXTRA_HOST_FLAGS) ; do \
27698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27699 done; \
27700 echo "Doing clean in expect" ; \
27701 (cd $(HOST_SUBDIR)/expect && \
27702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27704 "RANLIB=$${RANLIB}" \
27705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27706 clean) \
27707 || exit 1
27709 @endif expect
27711 .PHONY: maybe-distclean-expect distclean-expect
27712 maybe-distclean-expect:
27713 @if expect
27714 maybe-distclean-expect: distclean-expect
27716 distclean-expect:
27717 @: $(MAKE); $(unstage)
27718 @[ -f ./expect/Makefile ] || exit 0; \
27719 r=`${PWD_COMMAND}`; export r; \
27720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 $(HOST_EXPORTS) \
27722 for flag in $(EXTRA_HOST_FLAGS) ; do \
27723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 done; \
27725 echo "Doing distclean in expect" ; \
27726 (cd $(HOST_SUBDIR)/expect && \
27727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27729 "RANLIB=$${RANLIB}" \
27730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27731 distclean) \
27732 || exit 1
27734 @endif expect
27736 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27737 maybe-maintainer-clean-expect:
27738 @if expect
27739 maybe-maintainer-clean-expect: maintainer-clean-expect
27741 maintainer-clean-expect:
27742 @: $(MAKE); $(unstage)
27743 @[ -f ./expect/Makefile ] || exit 0; \
27744 r=`${PWD_COMMAND}`; export r; \
27745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27746 $(HOST_EXPORTS) \
27747 for flag in $(EXTRA_HOST_FLAGS) ; do \
27748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27749 done; \
27750 echo "Doing maintainer-clean in expect" ; \
27751 (cd $(HOST_SUBDIR)/expect && \
27752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27754 "RANLIB=$${RANLIB}" \
27755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27756 maintainer-clean) \
27757 || exit 1
27759 @endif expect
27763 .PHONY: configure-guile maybe-configure-guile
27764 maybe-configure-guile:
27765 @if gcc-bootstrap
27766 configure-guile: stage_current
27767 @endif gcc-bootstrap
27768 @if guile
27769 maybe-configure-guile: configure-guile
27770 configure-guile:
27771 @: $(MAKE); $(unstage)
27772 @r=`${PWD_COMMAND}`; export r; \
27773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27774 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27776 $(HOST_EXPORTS) \
27777 echo Configuring in $(HOST_SUBDIR)/guile; \
27778 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27779 case $(srcdir) in \
27780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27781 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27783 esac; \
27784 srcdiroption="--srcdir=$${topdir}/guile"; \
27785 libsrcdir="$$s/guile"; \
27786 $(SHELL) $${libsrcdir}/configure \
27787 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27788 --target=${target_alias} $${srcdiroption} \
27789 || exit 1
27790 @endif guile
27796 .PHONY: all-guile maybe-all-guile
27797 maybe-all-guile:
27798 @if gcc-bootstrap
27799 all-guile: stage_current
27800 @endif gcc-bootstrap
27801 @if guile
27802 TARGET-guile=all
27803 maybe-all-guile: all-guile
27804 all-guile: configure-guile
27805 @: $(MAKE); $(unstage)
27806 @r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(HOST_EXPORTS) \
27809 (cd $(HOST_SUBDIR)/guile && \
27810 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27811 $(TARGET-guile))
27812 @endif guile
27817 .PHONY: check-guile maybe-check-guile
27818 maybe-check-guile:
27819 @if guile
27820 maybe-check-guile: check-guile
27822 check-guile:
27823 @: $(MAKE); $(unstage)
27824 @r=`${PWD_COMMAND}`; export r; \
27825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27826 $(HOST_EXPORTS) \
27827 (cd $(HOST_SUBDIR)/guile && \
27828 $(MAKE) $(FLAGS_TO_PASS) check)
27830 @endif guile
27832 .PHONY: install-guile maybe-install-guile
27833 maybe-install-guile:
27834 @if guile
27835 maybe-install-guile: install-guile
27837 install-guile: installdirs
27838 @: $(MAKE); $(unstage)
27839 @r=`${PWD_COMMAND}`; export r; \
27840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27841 $(HOST_EXPORTS) \
27842 (cd $(HOST_SUBDIR)/guile && \
27843 $(MAKE) $(FLAGS_TO_PASS) install)
27845 @endif guile
27847 .PHONY: install-strip-guile maybe-install-strip-guile
27848 maybe-install-strip-guile:
27849 @if guile
27850 maybe-install-strip-guile: install-strip-guile
27852 install-strip-guile: installdirs
27853 @: $(MAKE); $(unstage)
27854 @r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(HOST_EXPORTS) \
27857 (cd $(HOST_SUBDIR)/guile && \
27858 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27860 @endif guile
27862 # Other targets (info, dvi, pdf, etc.)
27864 .PHONY: maybe-info-guile info-guile
27865 maybe-info-guile:
27866 @if guile
27867 maybe-info-guile: info-guile
27869 info-guile: \
27870 configure-guile
27871 @: $(MAKE); $(unstage)
27872 @[ -f ./guile/Makefile ] || exit 0; \
27873 r=`${PWD_COMMAND}`; export r; \
27874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27875 $(HOST_EXPORTS) \
27876 for flag in $(EXTRA_HOST_FLAGS) ; do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27878 done; \
27879 echo "Doing info in guile" ; \
27880 (cd $(HOST_SUBDIR)/guile && \
27881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27883 "RANLIB=$${RANLIB}" \
27884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27885 info) \
27886 || exit 1
27888 @endif guile
27890 .PHONY: maybe-dvi-guile dvi-guile
27891 maybe-dvi-guile:
27892 @if guile
27893 maybe-dvi-guile: dvi-guile
27895 dvi-guile: \
27896 configure-guile
27897 @: $(MAKE); $(unstage)
27898 @[ -f ./guile/Makefile ] || exit 0; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 $(HOST_EXPORTS) \
27902 for flag in $(EXTRA_HOST_FLAGS) ; do \
27903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27904 done; \
27905 echo "Doing dvi in guile" ; \
27906 (cd $(HOST_SUBDIR)/guile && \
27907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27909 "RANLIB=$${RANLIB}" \
27910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27911 dvi) \
27912 || exit 1
27914 @endif guile
27916 .PHONY: maybe-pdf-guile pdf-guile
27917 maybe-pdf-guile:
27918 @if guile
27919 maybe-pdf-guile: pdf-guile
27921 pdf-guile: \
27922 configure-guile
27923 @: $(MAKE); $(unstage)
27924 @[ -f ./guile/Makefile ] || exit 0; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 for flag in $(EXTRA_HOST_FLAGS) ; do \
27929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27930 done; \
27931 echo "Doing pdf in guile" ; \
27932 (cd $(HOST_SUBDIR)/guile && \
27933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27935 "RANLIB=$${RANLIB}" \
27936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27937 pdf) \
27938 || exit 1
27940 @endif guile
27942 .PHONY: maybe-html-guile html-guile
27943 maybe-html-guile:
27944 @if guile
27945 maybe-html-guile: html-guile
27947 html-guile: \
27948 configure-guile
27949 @: $(MAKE); $(unstage)
27950 @[ -f ./guile/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(HOST_EXPORTS) \
27954 for flag in $(EXTRA_HOST_FLAGS) ; do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27956 done; \
27957 echo "Doing html in guile" ; \
27958 (cd $(HOST_SUBDIR)/guile && \
27959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27961 "RANLIB=$${RANLIB}" \
27962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27963 html) \
27964 || exit 1
27966 @endif guile
27968 .PHONY: maybe-TAGS-guile TAGS-guile
27969 maybe-TAGS-guile:
27970 @if guile
27971 maybe-TAGS-guile: TAGS-guile
27973 TAGS-guile: \
27974 configure-guile
27975 @: $(MAKE); $(unstage)
27976 @[ -f ./guile/Makefile ] || exit 0; \
27977 r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 $(HOST_EXPORTS) \
27980 for flag in $(EXTRA_HOST_FLAGS) ; do \
27981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27982 done; \
27983 echo "Doing TAGS in guile" ; \
27984 (cd $(HOST_SUBDIR)/guile && \
27985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27987 "RANLIB=$${RANLIB}" \
27988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27989 TAGS) \
27990 || exit 1
27992 @endif guile
27994 .PHONY: maybe-install-info-guile install-info-guile
27995 maybe-install-info-guile:
27996 @if guile
27997 maybe-install-info-guile: install-info-guile
27999 install-info-guile: \
28000 configure-guile \
28001 info-guile
28002 @: $(MAKE); $(unstage)
28003 @[ -f ./guile/Makefile ] || exit 0; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(HOST_EXPORTS) \
28007 for flag in $(EXTRA_HOST_FLAGS) ; do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 echo "Doing install-info in guile" ; \
28011 (cd $(HOST_SUBDIR)/guile && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28016 install-info) \
28017 || exit 1
28019 @endif guile
28021 .PHONY: maybe-install-pdf-guile install-pdf-guile
28022 maybe-install-pdf-guile:
28023 @if guile
28024 maybe-install-pdf-guile: install-pdf-guile
28026 install-pdf-guile: \
28027 configure-guile \
28028 pdf-guile
28029 @: $(MAKE); $(unstage)
28030 @[ -f ./guile/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(HOST_EXPORTS) \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28036 done; \
28037 echo "Doing install-pdf in guile" ; \
28038 (cd $(HOST_SUBDIR)/guile && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28043 install-pdf) \
28044 || exit 1
28046 @endif guile
28048 .PHONY: maybe-install-html-guile install-html-guile
28049 maybe-install-html-guile:
28050 @if guile
28051 maybe-install-html-guile: install-html-guile
28053 install-html-guile: \
28054 configure-guile \
28055 html-guile
28056 @: $(MAKE); $(unstage)
28057 @[ -f ./guile/Makefile ] || exit 0; \
28058 r=`${PWD_COMMAND}`; export r; \
28059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28060 $(HOST_EXPORTS) \
28061 for flag in $(EXTRA_HOST_FLAGS) ; do \
28062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28063 done; \
28064 echo "Doing install-html in guile" ; \
28065 (cd $(HOST_SUBDIR)/guile && \
28066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28068 "RANLIB=$${RANLIB}" \
28069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28070 install-html) \
28071 || exit 1
28073 @endif guile
28075 .PHONY: maybe-installcheck-guile installcheck-guile
28076 maybe-installcheck-guile:
28077 @if guile
28078 maybe-installcheck-guile: installcheck-guile
28080 installcheck-guile: \
28081 configure-guile
28082 @: $(MAKE); $(unstage)
28083 @[ -f ./guile/Makefile ] || exit 0; \
28084 r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 for flag in $(EXTRA_HOST_FLAGS) ; do \
28088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28089 done; \
28090 echo "Doing installcheck in guile" ; \
28091 (cd $(HOST_SUBDIR)/guile && \
28092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28094 "RANLIB=$${RANLIB}" \
28095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28096 installcheck) \
28097 || exit 1
28099 @endif guile
28101 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28102 maybe-mostlyclean-guile:
28103 @if guile
28104 maybe-mostlyclean-guile: mostlyclean-guile
28106 mostlyclean-guile:
28107 @: $(MAKE); $(unstage)
28108 @[ -f ./guile/Makefile ] || exit 0; \
28109 r=`${PWD_COMMAND}`; export r; \
28110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28111 $(HOST_EXPORTS) \
28112 for flag in $(EXTRA_HOST_FLAGS) ; do \
28113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28114 done; \
28115 echo "Doing mostlyclean in guile" ; \
28116 (cd $(HOST_SUBDIR)/guile && \
28117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28119 "RANLIB=$${RANLIB}" \
28120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28121 mostlyclean) \
28122 || exit 1
28124 @endif guile
28126 .PHONY: maybe-clean-guile clean-guile
28127 maybe-clean-guile:
28128 @if guile
28129 maybe-clean-guile: clean-guile
28131 clean-guile:
28132 @: $(MAKE); $(unstage)
28133 @[ -f ./guile/Makefile ] || exit 0; \
28134 r=`${PWD_COMMAND}`; export r; \
28135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136 $(HOST_EXPORTS) \
28137 for flag in $(EXTRA_HOST_FLAGS) ; do \
28138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28139 done; \
28140 echo "Doing clean in guile" ; \
28141 (cd $(HOST_SUBDIR)/guile && \
28142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28144 "RANLIB=$${RANLIB}" \
28145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28146 clean) \
28147 || exit 1
28149 @endif guile
28151 .PHONY: maybe-distclean-guile distclean-guile
28152 maybe-distclean-guile:
28153 @if guile
28154 maybe-distclean-guile: distclean-guile
28156 distclean-guile:
28157 @: $(MAKE); $(unstage)
28158 @[ -f ./guile/Makefile ] || exit 0; \
28159 r=`${PWD_COMMAND}`; export r; \
28160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28161 $(HOST_EXPORTS) \
28162 for flag in $(EXTRA_HOST_FLAGS) ; do \
28163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28164 done; \
28165 echo "Doing distclean in guile" ; \
28166 (cd $(HOST_SUBDIR)/guile && \
28167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28169 "RANLIB=$${RANLIB}" \
28170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28171 distclean) \
28172 || exit 1
28174 @endif guile
28176 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28177 maybe-maintainer-clean-guile:
28178 @if guile
28179 maybe-maintainer-clean-guile: maintainer-clean-guile
28181 maintainer-clean-guile:
28182 @: $(MAKE); $(unstage)
28183 @[ -f ./guile/Makefile ] || exit 0; \
28184 r=`${PWD_COMMAND}`; export r; \
28185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28186 $(HOST_EXPORTS) \
28187 for flag in $(EXTRA_HOST_FLAGS) ; do \
28188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28189 done; \
28190 echo "Doing maintainer-clean in guile" ; \
28191 (cd $(HOST_SUBDIR)/guile && \
28192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28194 "RANLIB=$${RANLIB}" \
28195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28196 maintainer-clean) \
28197 || exit 1
28199 @endif guile
28203 .PHONY: configure-tk maybe-configure-tk
28204 maybe-configure-tk:
28205 @if gcc-bootstrap
28206 configure-tk: stage_current
28207 @endif gcc-bootstrap
28208 @if tk
28209 maybe-configure-tk: configure-tk
28210 configure-tk:
28211 @: $(MAKE); $(unstage)
28212 @r=`${PWD_COMMAND}`; export r; \
28213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28214 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28216 $(HOST_EXPORTS) \
28217 echo Configuring in $(HOST_SUBDIR)/tk; \
28218 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28219 case $(srcdir) in \
28220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28221 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28223 esac; \
28224 srcdiroption="--srcdir=$${topdir}/tk"; \
28225 libsrcdir="$$s/tk"; \
28226 $(SHELL) $${libsrcdir}/configure \
28227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28228 --target=${target_alias} $${srcdiroption} \
28229 || exit 1
28230 @endif tk
28236 .PHONY: all-tk maybe-all-tk
28237 maybe-all-tk:
28238 @if gcc-bootstrap
28239 all-tk: stage_current
28240 @endif gcc-bootstrap
28241 @if tk
28242 TARGET-tk=all
28243 maybe-all-tk: all-tk
28244 all-tk: configure-tk
28245 @: $(MAKE); $(unstage)
28246 @r=`${PWD_COMMAND}`; export r; \
28247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28248 $(HOST_EXPORTS) \
28249 (cd $(HOST_SUBDIR)/tk && \
28250 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28251 $(TARGET-tk))
28252 @endif tk
28257 .PHONY: check-tk maybe-check-tk
28258 maybe-check-tk:
28259 @if tk
28260 maybe-check-tk: check-tk
28262 check-tk:
28263 @: $(MAKE); $(unstage)
28264 @r=`${PWD_COMMAND}`; export r; \
28265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266 $(HOST_EXPORTS) \
28267 (cd $(HOST_SUBDIR)/tk && \
28268 $(MAKE) $(FLAGS_TO_PASS) check)
28270 @endif tk
28272 .PHONY: install-tk maybe-install-tk
28273 maybe-install-tk:
28274 @if tk
28275 maybe-install-tk: install-tk
28277 install-tk: installdirs
28278 @: $(MAKE); $(unstage)
28279 @r=`${PWD_COMMAND}`; export r; \
28280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(HOST_EXPORTS) \
28282 (cd $(HOST_SUBDIR)/tk && \
28283 $(MAKE) $(FLAGS_TO_PASS) install)
28285 @endif tk
28287 .PHONY: install-strip-tk maybe-install-strip-tk
28288 maybe-install-strip-tk:
28289 @if tk
28290 maybe-install-strip-tk: install-strip-tk
28292 install-strip-tk: installdirs
28293 @: $(MAKE); $(unstage)
28294 @r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 $(HOST_EXPORTS) \
28297 (cd $(HOST_SUBDIR)/tk && \
28298 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28300 @endif tk
28302 # Other targets (info, dvi, pdf, etc.)
28304 .PHONY: maybe-info-tk info-tk
28305 maybe-info-tk:
28306 @if tk
28307 maybe-info-tk: info-tk
28309 info-tk: \
28310 configure-tk
28311 @: $(MAKE); $(unstage)
28312 @[ -f ./tk/Makefile ] || exit 0; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28315 $(HOST_EXPORTS) \
28316 for flag in $(EXTRA_HOST_FLAGS) ; do \
28317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28318 done; \
28319 echo "Doing info in tk" ; \
28320 (cd $(HOST_SUBDIR)/tk && \
28321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28323 "RANLIB=$${RANLIB}" \
28324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28325 info) \
28326 || exit 1
28328 @endif tk
28330 .PHONY: maybe-dvi-tk dvi-tk
28331 maybe-dvi-tk:
28332 @if tk
28333 maybe-dvi-tk: dvi-tk
28335 dvi-tk: \
28336 configure-tk
28337 @: $(MAKE); $(unstage)
28338 @[ -f ./tk/Makefile ] || exit 0; \
28339 r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 $(HOST_EXPORTS) \
28342 for flag in $(EXTRA_HOST_FLAGS) ; do \
28343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28344 done; \
28345 echo "Doing dvi in tk" ; \
28346 (cd $(HOST_SUBDIR)/tk && \
28347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28349 "RANLIB=$${RANLIB}" \
28350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28351 dvi) \
28352 || exit 1
28354 @endif tk
28356 .PHONY: maybe-pdf-tk pdf-tk
28357 maybe-pdf-tk:
28358 @if tk
28359 maybe-pdf-tk: pdf-tk
28361 pdf-tk: \
28362 configure-tk
28363 @: $(MAKE); $(unstage)
28364 @[ -f ./tk/Makefile ] || exit 0; \
28365 r=`${PWD_COMMAND}`; export r; \
28366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28367 $(HOST_EXPORTS) \
28368 for flag in $(EXTRA_HOST_FLAGS) ; do \
28369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28370 done; \
28371 echo "Doing pdf in tk" ; \
28372 (cd $(HOST_SUBDIR)/tk && \
28373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28375 "RANLIB=$${RANLIB}" \
28376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28377 pdf) \
28378 || exit 1
28380 @endif tk
28382 .PHONY: maybe-html-tk html-tk
28383 maybe-html-tk:
28384 @if tk
28385 maybe-html-tk: html-tk
28387 html-tk: \
28388 configure-tk
28389 @: $(MAKE); $(unstage)
28390 @[ -f ./tk/Makefile ] || exit 0; \
28391 r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 $(HOST_EXPORTS) \
28394 for flag in $(EXTRA_HOST_FLAGS) ; do \
28395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28396 done; \
28397 echo "Doing html in tk" ; \
28398 (cd $(HOST_SUBDIR)/tk && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28403 html) \
28404 || exit 1
28406 @endif tk
28408 .PHONY: maybe-TAGS-tk TAGS-tk
28409 maybe-TAGS-tk:
28410 @if tk
28411 maybe-TAGS-tk: TAGS-tk
28413 TAGS-tk: \
28414 configure-tk
28415 @: $(MAKE); $(unstage)
28416 @[ -f ./tk/Makefile ] || exit 0; \
28417 r=`${PWD_COMMAND}`; export r; \
28418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 $(HOST_EXPORTS) \
28420 for flag in $(EXTRA_HOST_FLAGS) ; do \
28421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28422 done; \
28423 echo "Doing TAGS in tk" ; \
28424 (cd $(HOST_SUBDIR)/tk && \
28425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28427 "RANLIB=$${RANLIB}" \
28428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28429 TAGS) \
28430 || exit 1
28432 @endif tk
28434 .PHONY: maybe-install-info-tk install-info-tk
28435 maybe-install-info-tk:
28436 @if tk
28437 maybe-install-info-tk: install-info-tk
28439 install-info-tk: \
28440 configure-tk \
28441 info-tk
28442 @: $(MAKE); $(unstage)
28443 @[ -f ./tk/Makefile ] || exit 0; \
28444 r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 for flag in $(EXTRA_HOST_FLAGS) ; do \
28448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28449 done; \
28450 echo "Doing install-info in tk" ; \
28451 (cd $(HOST_SUBDIR)/tk && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28454 "RANLIB=$${RANLIB}" \
28455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28456 install-info) \
28457 || exit 1
28459 @endif tk
28461 .PHONY: maybe-install-pdf-tk install-pdf-tk
28462 maybe-install-pdf-tk:
28463 @if tk
28464 maybe-install-pdf-tk: install-pdf-tk
28466 install-pdf-tk: \
28467 configure-tk \
28468 pdf-tk
28469 @: $(MAKE); $(unstage)
28470 @[ -f ./tk/Makefile ] || exit 0; \
28471 r=`${PWD_COMMAND}`; export r; \
28472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 $(HOST_EXPORTS) \
28474 for flag in $(EXTRA_HOST_FLAGS) ; do \
28475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28476 done; \
28477 echo "Doing install-pdf in tk" ; \
28478 (cd $(HOST_SUBDIR)/tk && \
28479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28481 "RANLIB=$${RANLIB}" \
28482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28483 install-pdf) \
28484 || exit 1
28486 @endif tk
28488 .PHONY: maybe-install-html-tk install-html-tk
28489 maybe-install-html-tk:
28490 @if tk
28491 maybe-install-html-tk: install-html-tk
28493 install-html-tk: \
28494 configure-tk \
28495 html-tk
28496 @: $(MAKE); $(unstage)
28497 @[ -f ./tk/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 for flag in $(EXTRA_HOST_FLAGS) ; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 echo "Doing install-html in tk" ; \
28505 (cd $(HOST_SUBDIR)/tk && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28510 install-html) \
28511 || exit 1
28513 @endif tk
28515 .PHONY: maybe-installcheck-tk installcheck-tk
28516 maybe-installcheck-tk:
28517 @if tk
28518 maybe-installcheck-tk: installcheck-tk
28520 installcheck-tk: \
28521 configure-tk
28522 @: $(MAKE); $(unstage)
28523 @[ -f ./tk/Makefile ] || exit 0; \
28524 r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28526 $(HOST_EXPORTS) \
28527 for flag in $(EXTRA_HOST_FLAGS) ; do \
28528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28529 done; \
28530 echo "Doing installcheck in tk" ; \
28531 (cd $(HOST_SUBDIR)/tk && \
28532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28534 "RANLIB=$${RANLIB}" \
28535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28536 installcheck) \
28537 || exit 1
28539 @endif tk
28541 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28542 maybe-mostlyclean-tk:
28543 @if tk
28544 maybe-mostlyclean-tk: mostlyclean-tk
28546 mostlyclean-tk:
28547 @: $(MAKE); $(unstage)
28548 @[ -f ./tk/Makefile ] || exit 0; \
28549 r=`${PWD_COMMAND}`; export r; \
28550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28551 $(HOST_EXPORTS) \
28552 for flag in $(EXTRA_HOST_FLAGS) ; do \
28553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28554 done; \
28555 echo "Doing mostlyclean in tk" ; \
28556 (cd $(HOST_SUBDIR)/tk && \
28557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28559 "RANLIB=$${RANLIB}" \
28560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28561 mostlyclean) \
28562 || exit 1
28564 @endif tk
28566 .PHONY: maybe-clean-tk clean-tk
28567 maybe-clean-tk:
28568 @if tk
28569 maybe-clean-tk: clean-tk
28571 clean-tk:
28572 @: $(MAKE); $(unstage)
28573 @[ -f ./tk/Makefile ] || exit 0; \
28574 r=`${PWD_COMMAND}`; export r; \
28575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28576 $(HOST_EXPORTS) \
28577 for flag in $(EXTRA_HOST_FLAGS) ; do \
28578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28579 done; \
28580 echo "Doing clean in tk" ; \
28581 (cd $(HOST_SUBDIR)/tk && \
28582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28584 "RANLIB=$${RANLIB}" \
28585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28586 clean) \
28587 || exit 1
28589 @endif tk
28591 .PHONY: maybe-distclean-tk distclean-tk
28592 maybe-distclean-tk:
28593 @if tk
28594 maybe-distclean-tk: distclean-tk
28596 distclean-tk:
28597 @: $(MAKE); $(unstage)
28598 @[ -f ./tk/Makefile ] || exit 0; \
28599 r=`${PWD_COMMAND}`; export r; \
28600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28601 $(HOST_EXPORTS) \
28602 for flag in $(EXTRA_HOST_FLAGS) ; do \
28603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28604 done; \
28605 echo "Doing distclean in tk" ; \
28606 (cd $(HOST_SUBDIR)/tk && \
28607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28609 "RANLIB=$${RANLIB}" \
28610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28611 distclean) \
28612 || exit 1
28614 @endif tk
28616 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28617 maybe-maintainer-clean-tk:
28618 @if tk
28619 maybe-maintainer-clean-tk: maintainer-clean-tk
28621 maintainer-clean-tk:
28622 @: $(MAKE); $(unstage)
28623 @[ -f ./tk/Makefile ] || exit 0; \
28624 r=`${PWD_COMMAND}`; export r; \
28625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28626 $(HOST_EXPORTS) \
28627 for flag in $(EXTRA_HOST_FLAGS) ; do \
28628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28629 done; \
28630 echo "Doing maintainer-clean in tk" ; \
28631 (cd $(HOST_SUBDIR)/tk && \
28632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28634 "RANLIB=$${RANLIB}" \
28635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28636 maintainer-clean) \
28637 || exit 1
28639 @endif tk
28643 .PHONY: configure-libtermcap maybe-configure-libtermcap
28644 maybe-configure-libtermcap:
28645 @if gcc-bootstrap
28646 configure-libtermcap: stage_current
28647 @endif gcc-bootstrap
28648 @if libtermcap
28649 maybe-configure-libtermcap: configure-libtermcap
28650 configure-libtermcap:
28651 @: $(MAKE); $(unstage)
28652 @r=`${PWD_COMMAND}`; export r; \
28653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28654 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28656 $(HOST_EXPORTS) \
28657 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28658 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28659 case $(srcdir) in \
28660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28661 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28663 esac; \
28664 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28665 libsrcdir="$$s/libtermcap"; \
28666 $(SHELL) $${libsrcdir}/configure \
28667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28668 --target=${target_alias} $${srcdiroption} \
28669 || exit 1
28670 @endif libtermcap
28676 .PHONY: all-libtermcap maybe-all-libtermcap
28677 maybe-all-libtermcap:
28678 @if gcc-bootstrap
28679 all-libtermcap: stage_current
28680 @endif gcc-bootstrap
28681 @if libtermcap
28682 TARGET-libtermcap=all
28683 maybe-all-libtermcap: all-libtermcap
28684 all-libtermcap: configure-libtermcap
28685 @: $(MAKE); $(unstage)
28686 @r=`${PWD_COMMAND}`; export r; \
28687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28688 $(HOST_EXPORTS) \
28689 (cd $(HOST_SUBDIR)/libtermcap && \
28690 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28691 $(TARGET-libtermcap))
28692 @endif libtermcap
28697 .PHONY: check-libtermcap maybe-check-libtermcap
28698 maybe-check-libtermcap:
28699 @if libtermcap
28700 maybe-check-libtermcap: check-libtermcap
28702 check-libtermcap:
28704 @endif libtermcap
28706 .PHONY: install-libtermcap maybe-install-libtermcap
28707 maybe-install-libtermcap:
28708 @if libtermcap
28709 maybe-install-libtermcap: install-libtermcap
28711 install-libtermcap: installdirs
28712 @: $(MAKE); $(unstage)
28713 @r=`${PWD_COMMAND}`; export r; \
28714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28715 $(HOST_EXPORTS) \
28716 (cd $(HOST_SUBDIR)/libtermcap && \
28717 $(MAKE) $(FLAGS_TO_PASS) install)
28719 @endif libtermcap
28721 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28722 maybe-install-strip-libtermcap:
28723 @if libtermcap
28724 maybe-install-strip-libtermcap: install-strip-libtermcap
28726 install-strip-libtermcap: installdirs
28727 @: $(MAKE); $(unstage)
28728 @r=`${PWD_COMMAND}`; export r; \
28729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28730 $(HOST_EXPORTS) \
28731 (cd $(HOST_SUBDIR)/libtermcap && \
28732 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28734 @endif libtermcap
28736 # Other targets (info, dvi, pdf, etc.)
28738 .PHONY: maybe-info-libtermcap info-libtermcap
28739 maybe-info-libtermcap:
28740 @if libtermcap
28741 maybe-info-libtermcap: info-libtermcap
28743 info-libtermcap: \
28744 configure-libtermcap
28745 @: $(MAKE); $(unstage)
28746 @[ -f ./libtermcap/Makefile ] || exit 0; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 for flag in $(EXTRA_HOST_FLAGS) ; do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 echo "Doing info in libtermcap" ; \
28754 (cd $(HOST_SUBDIR)/libtermcap && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28759 info) \
28760 || exit 1
28762 @endif libtermcap
28764 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28765 maybe-dvi-libtermcap:
28766 @if libtermcap
28767 maybe-dvi-libtermcap: dvi-libtermcap
28769 dvi-libtermcap: \
28770 configure-libtermcap
28771 @: $(MAKE); $(unstage)
28772 @[ -f ./libtermcap/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(HOST_EXPORTS) \
28776 for flag in $(EXTRA_HOST_FLAGS) ; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 echo "Doing dvi in libtermcap" ; \
28780 (cd $(HOST_SUBDIR)/libtermcap && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28785 dvi) \
28786 || exit 1
28788 @endif libtermcap
28790 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28791 maybe-pdf-libtermcap:
28792 @if libtermcap
28793 maybe-pdf-libtermcap: pdf-libtermcap
28795 pdf-libtermcap: \
28796 configure-libtermcap
28797 @: $(MAKE); $(unstage)
28798 @[ -f ./libtermcap/Makefile ] || exit 0; \
28799 r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(HOST_EXPORTS) \
28802 for flag in $(EXTRA_HOST_FLAGS) ; do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 echo "Doing pdf in libtermcap" ; \
28806 (cd $(HOST_SUBDIR)/libtermcap && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28811 pdf) \
28812 || exit 1
28814 @endif libtermcap
28816 .PHONY: maybe-html-libtermcap html-libtermcap
28817 maybe-html-libtermcap:
28818 @if libtermcap
28819 maybe-html-libtermcap: html-libtermcap
28821 html-libtermcap: \
28822 configure-libtermcap
28823 @: $(MAKE); $(unstage)
28824 @[ -f ./libtermcap/Makefile ] || exit 0; \
28825 r=`${PWD_COMMAND}`; export r; \
28826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28827 $(HOST_EXPORTS) \
28828 for flag in $(EXTRA_HOST_FLAGS) ; do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28830 done; \
28831 echo "Doing html in libtermcap" ; \
28832 (cd $(HOST_SUBDIR)/libtermcap && \
28833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28835 "RANLIB=$${RANLIB}" \
28836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28837 html) \
28838 || exit 1
28840 @endif libtermcap
28842 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28843 maybe-TAGS-libtermcap:
28844 @if libtermcap
28845 maybe-TAGS-libtermcap: TAGS-libtermcap
28847 TAGS-libtermcap: \
28848 configure-libtermcap
28849 @: $(MAKE); $(unstage)
28850 @[ -f ./libtermcap/Makefile ] || exit 0; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(HOST_EXPORTS) \
28854 for flag in $(EXTRA_HOST_FLAGS) ; do \
28855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28856 done; \
28857 echo "Doing TAGS in libtermcap" ; \
28858 (cd $(HOST_SUBDIR)/libtermcap && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28863 TAGS) \
28864 || exit 1
28866 @endif libtermcap
28868 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28869 maybe-install-info-libtermcap:
28870 @if libtermcap
28871 maybe-install-info-libtermcap: install-info-libtermcap
28873 install-info-libtermcap: \
28874 configure-libtermcap \
28875 info-libtermcap
28876 @: $(MAKE); $(unstage)
28877 @[ -f ./libtermcap/Makefile ] || exit 0; \
28878 r=`${PWD_COMMAND}`; export r; \
28879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28880 $(HOST_EXPORTS) \
28881 for flag in $(EXTRA_HOST_FLAGS) ; do \
28882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28883 done; \
28884 echo "Doing install-info in libtermcap" ; \
28885 (cd $(HOST_SUBDIR)/libtermcap && \
28886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28888 "RANLIB=$${RANLIB}" \
28889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28890 install-info) \
28891 || exit 1
28893 @endif libtermcap
28895 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28896 maybe-install-pdf-libtermcap:
28897 @if libtermcap
28898 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28900 install-pdf-libtermcap: \
28901 configure-libtermcap \
28902 pdf-libtermcap
28903 @: $(MAKE); $(unstage)
28904 @[ -f ./libtermcap/Makefile ] || exit 0; \
28905 r=`${PWD_COMMAND}`; export r; \
28906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28907 $(HOST_EXPORTS) \
28908 for flag in $(EXTRA_HOST_FLAGS) ; do \
28909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28910 done; \
28911 echo "Doing install-pdf in libtermcap" ; \
28912 (cd $(HOST_SUBDIR)/libtermcap && \
28913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28915 "RANLIB=$${RANLIB}" \
28916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28917 install-pdf) \
28918 || exit 1
28920 @endif libtermcap
28922 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28923 maybe-install-html-libtermcap:
28924 @if libtermcap
28925 maybe-install-html-libtermcap: install-html-libtermcap
28927 install-html-libtermcap: \
28928 configure-libtermcap \
28929 html-libtermcap
28930 @: $(MAKE); $(unstage)
28931 @[ -f ./libtermcap/Makefile ] || exit 0; \
28932 r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28934 $(HOST_EXPORTS) \
28935 for flag in $(EXTRA_HOST_FLAGS) ; do \
28936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28937 done; \
28938 echo "Doing install-html in libtermcap" ; \
28939 (cd $(HOST_SUBDIR)/libtermcap && \
28940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28942 "RANLIB=$${RANLIB}" \
28943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28944 install-html) \
28945 || exit 1
28947 @endif libtermcap
28949 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28950 maybe-installcheck-libtermcap:
28951 @if libtermcap
28952 maybe-installcheck-libtermcap: installcheck-libtermcap
28954 installcheck-libtermcap: \
28955 configure-libtermcap
28956 @: $(MAKE); $(unstage)
28957 @[ -f ./libtermcap/Makefile ] || exit 0; \
28958 r=`${PWD_COMMAND}`; export r; \
28959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28960 $(HOST_EXPORTS) \
28961 for flag in $(EXTRA_HOST_FLAGS) ; do \
28962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28963 done; \
28964 echo "Doing installcheck in libtermcap" ; \
28965 (cd $(HOST_SUBDIR)/libtermcap && \
28966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28968 "RANLIB=$${RANLIB}" \
28969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28970 installcheck) \
28971 || exit 1
28973 @endif libtermcap
28975 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28976 maybe-mostlyclean-libtermcap:
28977 @if libtermcap
28978 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28980 # libtermcap doesn't support mostlyclean.
28981 mostlyclean-libtermcap:
28983 @endif libtermcap
28985 .PHONY: maybe-clean-libtermcap clean-libtermcap
28986 maybe-clean-libtermcap:
28987 @if libtermcap
28988 maybe-clean-libtermcap: clean-libtermcap
28990 # libtermcap doesn't support clean.
28991 clean-libtermcap:
28993 @endif libtermcap
28995 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28996 maybe-distclean-libtermcap:
28997 @if libtermcap
28998 maybe-distclean-libtermcap: distclean-libtermcap
29000 # libtermcap doesn't support distclean.
29001 distclean-libtermcap:
29003 @endif libtermcap
29005 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29006 maybe-maintainer-clean-libtermcap:
29007 @if libtermcap
29008 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29010 # libtermcap doesn't support maintainer-clean.
29011 maintainer-clean-libtermcap:
29013 @endif libtermcap
29017 .PHONY: configure-utils maybe-configure-utils
29018 maybe-configure-utils:
29019 @if gcc-bootstrap
29020 configure-utils: stage_current
29021 @endif gcc-bootstrap
29022 @if utils
29023 maybe-configure-utils: configure-utils
29024 configure-utils:
29025 @: $(MAKE); $(unstage)
29026 @r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29030 $(HOST_EXPORTS) \
29031 echo Configuring in $(HOST_SUBDIR)/utils; \
29032 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29033 case $(srcdir) in \
29034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29035 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29037 esac; \
29038 srcdiroption="--srcdir=$${topdir}/utils"; \
29039 libsrcdir="$$s/utils"; \
29040 $(SHELL) $${libsrcdir}/configure \
29041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29042 --target=${target_alias} $${srcdiroption} \
29043 || exit 1
29044 @endif utils
29050 .PHONY: all-utils maybe-all-utils
29051 maybe-all-utils:
29052 @if gcc-bootstrap
29053 all-utils: stage_current
29054 @endif gcc-bootstrap
29055 @if utils
29056 TARGET-utils=all
29057 maybe-all-utils: all-utils
29058 all-utils: configure-utils
29059 @: $(MAKE); $(unstage)
29060 @r=`${PWD_COMMAND}`; export r; \
29061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29062 $(HOST_EXPORTS) \
29063 (cd $(HOST_SUBDIR)/utils && \
29064 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29065 $(TARGET-utils))
29066 @endif utils
29071 .PHONY: check-utils maybe-check-utils
29072 maybe-check-utils:
29073 @if utils
29074 maybe-check-utils: check-utils
29076 check-utils:
29078 @endif utils
29080 .PHONY: install-utils maybe-install-utils
29081 maybe-install-utils:
29082 @if utils
29083 maybe-install-utils: install-utils
29085 install-utils: installdirs
29086 @: $(MAKE); $(unstage)
29087 @r=`${PWD_COMMAND}`; export r; \
29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29089 $(HOST_EXPORTS) \
29090 (cd $(HOST_SUBDIR)/utils && \
29091 $(MAKE) $(FLAGS_TO_PASS) install)
29093 @endif utils
29095 .PHONY: install-strip-utils maybe-install-strip-utils
29096 maybe-install-strip-utils:
29097 @if utils
29098 maybe-install-strip-utils: install-strip-utils
29100 install-strip-utils: installdirs
29101 @: $(MAKE); $(unstage)
29102 @r=`${PWD_COMMAND}`; export r; \
29103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29104 $(HOST_EXPORTS) \
29105 (cd $(HOST_SUBDIR)/utils && \
29106 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29108 @endif utils
29110 # Other targets (info, dvi, pdf, etc.)
29112 .PHONY: maybe-info-utils info-utils
29113 maybe-info-utils:
29114 @if utils
29115 maybe-info-utils: info-utils
29117 info-utils: \
29118 configure-utils
29119 @: $(MAKE); $(unstage)
29120 @[ -f ./utils/Makefile ] || exit 0; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 $(HOST_EXPORTS) \
29124 for flag in $(EXTRA_HOST_FLAGS) ; do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 echo "Doing info in utils" ; \
29128 (cd $(HOST_SUBDIR)/utils && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29131 "RANLIB=$${RANLIB}" \
29132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29133 info) \
29134 || exit 1
29136 @endif utils
29138 .PHONY: maybe-dvi-utils dvi-utils
29139 maybe-dvi-utils:
29140 @if utils
29141 maybe-dvi-utils: dvi-utils
29143 dvi-utils: \
29144 configure-utils
29145 @: $(MAKE); $(unstage)
29146 @[ -f ./utils/Makefile ] || exit 0; \
29147 r=`${PWD_COMMAND}`; export r; \
29148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29149 $(HOST_EXPORTS) \
29150 for flag in $(EXTRA_HOST_FLAGS) ; do \
29151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29152 done; \
29153 echo "Doing dvi in utils" ; \
29154 (cd $(HOST_SUBDIR)/utils && \
29155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29157 "RANLIB=$${RANLIB}" \
29158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29159 dvi) \
29160 || exit 1
29162 @endif utils
29164 .PHONY: maybe-pdf-utils pdf-utils
29165 maybe-pdf-utils:
29166 @if utils
29167 maybe-pdf-utils: pdf-utils
29169 pdf-utils: \
29170 configure-utils
29171 @: $(MAKE); $(unstage)
29172 @[ -f ./utils/Makefile ] || exit 0; \
29173 r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 $(HOST_EXPORTS) \
29176 for flag in $(EXTRA_HOST_FLAGS) ; do \
29177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29178 done; \
29179 echo "Doing pdf in utils" ; \
29180 (cd $(HOST_SUBDIR)/utils && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29185 pdf) \
29186 || exit 1
29188 @endif utils
29190 .PHONY: maybe-html-utils html-utils
29191 maybe-html-utils:
29192 @if utils
29193 maybe-html-utils: html-utils
29195 html-utils: \
29196 configure-utils
29197 @: $(MAKE); $(unstage)
29198 @[ -f ./utils/Makefile ] || exit 0; \
29199 r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 $(HOST_EXPORTS) \
29202 for flag in $(EXTRA_HOST_FLAGS) ; do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29204 done; \
29205 echo "Doing html in utils" ; \
29206 (cd $(HOST_SUBDIR)/utils && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29209 "RANLIB=$${RANLIB}" \
29210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29211 html) \
29212 || exit 1
29214 @endif utils
29216 .PHONY: maybe-TAGS-utils TAGS-utils
29217 maybe-TAGS-utils:
29218 @if utils
29219 maybe-TAGS-utils: TAGS-utils
29221 TAGS-utils: \
29222 configure-utils
29223 @: $(MAKE); $(unstage)
29224 @[ -f ./utils/Makefile ] || exit 0; \
29225 r=`${PWD_COMMAND}`; export r; \
29226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29227 $(HOST_EXPORTS) \
29228 for flag in $(EXTRA_HOST_FLAGS) ; do \
29229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29230 done; \
29231 echo "Doing TAGS in utils" ; \
29232 (cd $(HOST_SUBDIR)/utils && \
29233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29235 "RANLIB=$${RANLIB}" \
29236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29237 TAGS) \
29238 || exit 1
29240 @endif utils
29242 .PHONY: maybe-install-info-utils install-info-utils
29243 maybe-install-info-utils:
29244 @if utils
29245 maybe-install-info-utils: install-info-utils
29247 install-info-utils: \
29248 configure-utils \
29249 info-utils
29250 @: $(MAKE); $(unstage)
29251 @[ -f ./utils/Makefile ] || exit 0; \
29252 r=`${PWD_COMMAND}`; export r; \
29253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29254 $(HOST_EXPORTS) \
29255 for flag in $(EXTRA_HOST_FLAGS) ; do \
29256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29257 done; \
29258 echo "Doing install-info in utils" ; \
29259 (cd $(HOST_SUBDIR)/utils && \
29260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29262 "RANLIB=$${RANLIB}" \
29263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29264 install-info) \
29265 || exit 1
29267 @endif utils
29269 .PHONY: maybe-install-pdf-utils install-pdf-utils
29270 maybe-install-pdf-utils:
29271 @if utils
29272 maybe-install-pdf-utils: install-pdf-utils
29274 install-pdf-utils: \
29275 configure-utils \
29276 pdf-utils
29277 @: $(MAKE); $(unstage)
29278 @[ -f ./utils/Makefile ] || exit 0; \
29279 r=`${PWD_COMMAND}`; export r; \
29280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29281 $(HOST_EXPORTS) \
29282 for flag in $(EXTRA_HOST_FLAGS) ; do \
29283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29284 done; \
29285 echo "Doing install-pdf in utils" ; \
29286 (cd $(HOST_SUBDIR)/utils && \
29287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29289 "RANLIB=$${RANLIB}" \
29290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29291 install-pdf) \
29292 || exit 1
29294 @endif utils
29296 .PHONY: maybe-install-html-utils install-html-utils
29297 maybe-install-html-utils:
29298 @if utils
29299 maybe-install-html-utils: install-html-utils
29301 install-html-utils: \
29302 configure-utils \
29303 html-utils
29304 @: $(MAKE); $(unstage)
29305 @[ -f ./utils/Makefile ] || exit 0; \
29306 r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(HOST_EXPORTS) \
29309 for flag in $(EXTRA_HOST_FLAGS) ; do \
29310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29311 done; \
29312 echo "Doing install-html in utils" ; \
29313 (cd $(HOST_SUBDIR)/utils && \
29314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29316 "RANLIB=$${RANLIB}" \
29317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29318 install-html) \
29319 || exit 1
29321 @endif utils
29323 .PHONY: maybe-installcheck-utils installcheck-utils
29324 maybe-installcheck-utils:
29325 @if utils
29326 maybe-installcheck-utils: installcheck-utils
29328 installcheck-utils: \
29329 configure-utils
29330 @: $(MAKE); $(unstage)
29331 @[ -f ./utils/Makefile ] || exit 0; \
29332 r=`${PWD_COMMAND}`; export r; \
29333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29334 $(HOST_EXPORTS) \
29335 for flag in $(EXTRA_HOST_FLAGS) ; do \
29336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29337 done; \
29338 echo "Doing installcheck in utils" ; \
29339 (cd $(HOST_SUBDIR)/utils && \
29340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29342 "RANLIB=$${RANLIB}" \
29343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29344 installcheck) \
29345 || exit 1
29347 @endif utils
29349 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29350 maybe-mostlyclean-utils:
29351 @if utils
29352 maybe-mostlyclean-utils: mostlyclean-utils
29354 mostlyclean-utils:
29355 @: $(MAKE); $(unstage)
29356 @[ -f ./utils/Makefile ] || exit 0; \
29357 r=`${PWD_COMMAND}`; export r; \
29358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29359 $(HOST_EXPORTS) \
29360 for flag in $(EXTRA_HOST_FLAGS) ; do \
29361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29362 done; \
29363 echo "Doing mostlyclean in utils" ; \
29364 (cd $(HOST_SUBDIR)/utils && \
29365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29367 "RANLIB=$${RANLIB}" \
29368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29369 mostlyclean) \
29370 || exit 1
29372 @endif utils
29374 .PHONY: maybe-clean-utils clean-utils
29375 maybe-clean-utils:
29376 @if utils
29377 maybe-clean-utils: clean-utils
29379 clean-utils:
29380 @: $(MAKE); $(unstage)
29381 @[ -f ./utils/Makefile ] || exit 0; \
29382 r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 $(HOST_EXPORTS) \
29385 for flag in $(EXTRA_HOST_FLAGS) ; do \
29386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29387 done; \
29388 echo "Doing clean in utils" ; \
29389 (cd $(HOST_SUBDIR)/utils && \
29390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29392 "RANLIB=$${RANLIB}" \
29393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29394 clean) \
29395 || exit 1
29397 @endif utils
29399 .PHONY: maybe-distclean-utils distclean-utils
29400 maybe-distclean-utils:
29401 @if utils
29402 maybe-distclean-utils: distclean-utils
29404 distclean-utils:
29405 @: $(MAKE); $(unstage)
29406 @[ -f ./utils/Makefile ] || exit 0; \
29407 r=`${PWD_COMMAND}`; export r; \
29408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 $(HOST_EXPORTS) \
29410 for flag in $(EXTRA_HOST_FLAGS) ; do \
29411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29412 done; \
29413 echo "Doing distclean in utils" ; \
29414 (cd $(HOST_SUBDIR)/utils && \
29415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29417 "RANLIB=$${RANLIB}" \
29418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29419 distclean) \
29420 || exit 1
29422 @endif utils
29424 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29425 maybe-maintainer-clean-utils:
29426 @if utils
29427 maybe-maintainer-clean-utils: maintainer-clean-utils
29429 maintainer-clean-utils:
29430 @: $(MAKE); $(unstage)
29431 @[ -f ./utils/Makefile ] || exit 0; \
29432 r=`${PWD_COMMAND}`; export r; \
29433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29434 $(HOST_EXPORTS) \
29435 for flag in $(EXTRA_HOST_FLAGS) ; do \
29436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29437 done; \
29438 echo "Doing maintainer-clean in utils" ; \
29439 (cd $(HOST_SUBDIR)/utils && \
29440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29442 "RANLIB=$${RANLIB}" \
29443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29444 maintainer-clean) \
29445 || exit 1
29447 @endif utils
29451 .PHONY: configure-gnattools maybe-configure-gnattools
29452 maybe-configure-gnattools:
29453 @if gcc-bootstrap
29454 configure-gnattools: stage_current
29455 @endif gcc-bootstrap
29456 @if gnattools
29457 maybe-configure-gnattools: configure-gnattools
29458 configure-gnattools:
29459 @: $(MAKE); $(unstage)
29460 @r=`${PWD_COMMAND}`; export r; \
29461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29462 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29464 $(HOST_EXPORTS) \
29465 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29466 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29467 case $(srcdir) in \
29468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29469 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29471 esac; \
29472 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29473 libsrcdir="$$s/gnattools"; \
29474 $(SHELL) $${libsrcdir}/configure \
29475 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29476 --target=${target_alias} $${srcdiroption} \
29477 || exit 1
29478 @endif gnattools
29484 .PHONY: all-gnattools maybe-all-gnattools
29485 maybe-all-gnattools:
29486 @if gcc-bootstrap
29487 all-gnattools: stage_current
29488 @endif gcc-bootstrap
29489 @if gnattools
29490 TARGET-gnattools=all
29491 maybe-all-gnattools: all-gnattools
29492 all-gnattools: configure-gnattools
29493 @: $(MAKE); $(unstage)
29494 @r=`${PWD_COMMAND}`; export r; \
29495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29496 $(HOST_EXPORTS) \
29497 (cd $(HOST_SUBDIR)/gnattools && \
29498 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29499 $(TARGET-gnattools))
29500 @endif gnattools
29505 .PHONY: check-gnattools maybe-check-gnattools
29506 maybe-check-gnattools:
29507 @if gnattools
29508 maybe-check-gnattools: check-gnattools
29510 check-gnattools:
29511 @: $(MAKE); $(unstage)
29512 @r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(HOST_EXPORTS) \
29515 (cd $(HOST_SUBDIR)/gnattools && \
29516 $(MAKE) $(FLAGS_TO_PASS) check)
29518 @endif gnattools
29520 .PHONY: install-gnattools maybe-install-gnattools
29521 maybe-install-gnattools:
29522 @if gnattools
29523 maybe-install-gnattools: install-gnattools
29525 install-gnattools: installdirs
29526 @: $(MAKE); $(unstage)
29527 @r=`${PWD_COMMAND}`; export r; \
29528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29529 $(HOST_EXPORTS) \
29530 (cd $(HOST_SUBDIR)/gnattools && \
29531 $(MAKE) $(FLAGS_TO_PASS) install)
29533 @endif gnattools
29535 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29536 maybe-install-strip-gnattools:
29537 @if gnattools
29538 maybe-install-strip-gnattools: install-strip-gnattools
29540 install-strip-gnattools: installdirs
29541 @: $(MAKE); $(unstage)
29542 @r=`${PWD_COMMAND}`; export r; \
29543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29544 $(HOST_EXPORTS) \
29545 (cd $(HOST_SUBDIR)/gnattools && \
29546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29548 @endif gnattools
29550 # Other targets (info, dvi, pdf, etc.)
29552 .PHONY: maybe-info-gnattools info-gnattools
29553 maybe-info-gnattools:
29554 @if gnattools
29555 maybe-info-gnattools: info-gnattools
29557 info-gnattools: \
29558 configure-gnattools
29559 @: $(MAKE); $(unstage)
29560 @[ -f ./gnattools/Makefile ] || exit 0; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(HOST_EXPORTS) \
29564 for flag in $(EXTRA_HOST_FLAGS) ; do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29566 done; \
29567 echo "Doing info in gnattools" ; \
29568 (cd $(HOST_SUBDIR)/gnattools && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29573 info) \
29574 || exit 1
29576 @endif gnattools
29578 .PHONY: maybe-dvi-gnattools dvi-gnattools
29579 maybe-dvi-gnattools:
29580 @if gnattools
29581 maybe-dvi-gnattools: dvi-gnattools
29583 dvi-gnattools: \
29584 configure-gnattools
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./gnattools/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing dvi in gnattools" ; \
29594 (cd $(HOST_SUBDIR)/gnattools && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29599 dvi) \
29600 || exit 1
29602 @endif gnattools
29604 .PHONY: maybe-pdf-gnattools pdf-gnattools
29605 maybe-pdf-gnattools:
29606 @if gnattools
29607 maybe-pdf-gnattools: pdf-gnattools
29609 pdf-gnattools: \
29610 configure-gnattools
29611 @: $(MAKE); $(unstage)
29612 @[ -f ./gnattools/Makefile ] || exit 0; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(HOST_EXPORTS) \
29616 for flag in $(EXTRA_HOST_FLAGS) ; do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29618 done; \
29619 echo "Doing pdf in gnattools" ; \
29620 (cd $(HOST_SUBDIR)/gnattools && \
29621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29623 "RANLIB=$${RANLIB}" \
29624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29625 pdf) \
29626 || exit 1
29628 @endif gnattools
29630 .PHONY: maybe-html-gnattools html-gnattools
29631 maybe-html-gnattools:
29632 @if gnattools
29633 maybe-html-gnattools: html-gnattools
29635 html-gnattools: \
29636 configure-gnattools
29637 @: $(MAKE); $(unstage)
29638 @[ -f ./gnattools/Makefile ] || exit 0; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(HOST_EXPORTS) \
29642 for flag in $(EXTRA_HOST_FLAGS) ; do \
29643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29644 done; \
29645 echo "Doing html in gnattools" ; \
29646 (cd $(HOST_SUBDIR)/gnattools && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29651 html) \
29652 || exit 1
29654 @endif gnattools
29656 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29657 maybe-TAGS-gnattools:
29658 @if gnattools
29659 maybe-TAGS-gnattools: TAGS-gnattools
29661 TAGS-gnattools: \
29662 configure-gnattools
29663 @: $(MAKE); $(unstage)
29664 @[ -f ./gnattools/Makefile ] || exit 0; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(HOST_EXPORTS) \
29668 for flag in $(EXTRA_HOST_FLAGS) ; do \
29669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29670 done; \
29671 echo "Doing TAGS in gnattools" ; \
29672 (cd $(HOST_SUBDIR)/gnattools && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29677 TAGS) \
29678 || exit 1
29680 @endif gnattools
29682 .PHONY: maybe-install-info-gnattools install-info-gnattools
29683 maybe-install-info-gnattools:
29684 @if gnattools
29685 maybe-install-info-gnattools: install-info-gnattools
29687 install-info-gnattools: \
29688 configure-gnattools \
29689 info-gnattools
29690 @: $(MAKE); $(unstage)
29691 @[ -f ./gnattools/Makefile ] || exit 0; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(HOST_EXPORTS) \
29695 for flag in $(EXTRA_HOST_FLAGS) ; do \
29696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29697 done; \
29698 echo "Doing install-info in gnattools" ; \
29699 (cd $(HOST_SUBDIR)/gnattools && \
29700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29702 "RANLIB=$${RANLIB}" \
29703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29704 install-info) \
29705 || exit 1
29707 @endif gnattools
29709 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29710 maybe-install-pdf-gnattools:
29711 @if gnattools
29712 maybe-install-pdf-gnattools: install-pdf-gnattools
29714 install-pdf-gnattools: \
29715 configure-gnattools \
29716 pdf-gnattools
29717 @: $(MAKE); $(unstage)
29718 @[ -f ./gnattools/Makefile ] || exit 0; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 for flag in $(EXTRA_HOST_FLAGS) ; do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 echo "Doing install-pdf in gnattools" ; \
29726 (cd $(HOST_SUBDIR)/gnattools && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29731 install-pdf) \
29732 || exit 1
29734 @endif gnattools
29736 .PHONY: maybe-install-html-gnattools install-html-gnattools
29737 maybe-install-html-gnattools:
29738 @if gnattools
29739 maybe-install-html-gnattools: install-html-gnattools
29741 install-html-gnattools: \
29742 configure-gnattools \
29743 html-gnattools
29744 @: $(MAKE); $(unstage)
29745 @[ -f ./gnattools/Makefile ] || exit 0; \
29746 r=`${PWD_COMMAND}`; export r; \
29747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29748 $(HOST_EXPORTS) \
29749 for flag in $(EXTRA_HOST_FLAGS) ; do \
29750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29751 done; \
29752 echo "Doing install-html in gnattools" ; \
29753 (cd $(HOST_SUBDIR)/gnattools && \
29754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29756 "RANLIB=$${RANLIB}" \
29757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29758 install-html) \
29759 || exit 1
29761 @endif gnattools
29763 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29764 maybe-installcheck-gnattools:
29765 @if gnattools
29766 maybe-installcheck-gnattools: installcheck-gnattools
29768 installcheck-gnattools: \
29769 configure-gnattools
29770 @: $(MAKE); $(unstage)
29771 @[ -f ./gnattools/Makefile ] || exit 0; \
29772 r=`${PWD_COMMAND}`; export r; \
29773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29774 $(HOST_EXPORTS) \
29775 for flag in $(EXTRA_HOST_FLAGS) ; do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 done; \
29778 echo "Doing installcheck in gnattools" ; \
29779 (cd $(HOST_SUBDIR)/gnattools && \
29780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29782 "RANLIB=$${RANLIB}" \
29783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29784 installcheck) \
29785 || exit 1
29787 @endif gnattools
29789 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29790 maybe-mostlyclean-gnattools:
29791 @if gnattools
29792 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29794 mostlyclean-gnattools:
29795 @: $(MAKE); $(unstage)
29796 @[ -f ./gnattools/Makefile ] || exit 0; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(HOST_EXPORTS) \
29800 for flag in $(EXTRA_HOST_FLAGS) ; do \
29801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29802 done; \
29803 echo "Doing mostlyclean in gnattools" ; \
29804 (cd $(HOST_SUBDIR)/gnattools && \
29805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29807 "RANLIB=$${RANLIB}" \
29808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29809 mostlyclean) \
29810 || exit 1
29812 @endif gnattools
29814 .PHONY: maybe-clean-gnattools clean-gnattools
29815 maybe-clean-gnattools:
29816 @if gnattools
29817 maybe-clean-gnattools: clean-gnattools
29819 clean-gnattools:
29820 @: $(MAKE); $(unstage)
29821 @[ -f ./gnattools/Makefile ] || exit 0; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(HOST_EXPORTS) \
29825 for flag in $(EXTRA_HOST_FLAGS) ; do \
29826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29827 done; \
29828 echo "Doing clean in gnattools" ; \
29829 (cd $(HOST_SUBDIR)/gnattools && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29834 clean) \
29835 || exit 1
29837 @endif gnattools
29839 .PHONY: maybe-distclean-gnattools distclean-gnattools
29840 maybe-distclean-gnattools:
29841 @if gnattools
29842 maybe-distclean-gnattools: distclean-gnattools
29844 distclean-gnattools:
29845 @: $(MAKE); $(unstage)
29846 @[ -f ./gnattools/Makefile ] || exit 0; \
29847 r=`${PWD_COMMAND}`; export r; \
29848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 $(HOST_EXPORTS) \
29850 for flag in $(EXTRA_HOST_FLAGS) ; do \
29851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29852 done; \
29853 echo "Doing distclean in gnattools" ; \
29854 (cd $(HOST_SUBDIR)/gnattools && \
29855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29857 "RANLIB=$${RANLIB}" \
29858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29859 distclean) \
29860 || exit 1
29862 @endif gnattools
29864 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29865 maybe-maintainer-clean-gnattools:
29866 @if gnattools
29867 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29869 maintainer-clean-gnattools:
29870 @: $(MAKE); $(unstage)
29871 @[ -f ./gnattools/Makefile ] || exit 0; \
29872 r=`${PWD_COMMAND}`; export r; \
29873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29874 $(HOST_EXPORTS) \
29875 for flag in $(EXTRA_HOST_FLAGS) ; do \
29876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29877 done; \
29878 echo "Doing maintainer-clean in gnattools" ; \
29879 (cd $(HOST_SUBDIR)/gnattools && \
29880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29882 "RANLIB=$${RANLIB}" \
29883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29884 maintainer-clean) \
29885 || exit 1
29887 @endif gnattools
29891 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29892 maybe-configure-lto-plugin:
29893 @if gcc-bootstrap
29894 configure-lto-plugin: stage_current
29895 @endif gcc-bootstrap
29896 @if lto-plugin
29897 maybe-configure-lto-plugin: configure-lto-plugin
29898 configure-lto-plugin:
29899 @r=`${PWD_COMMAND}`; export r; \
29900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29901 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29903 $(HOST_EXPORTS) \
29904 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29905 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29906 case $(srcdir) in \
29907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29908 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29910 esac; \
29911 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29912 libsrcdir="$$s/lto-plugin"; \
29913 $(SHELL) $${libsrcdir}/configure \
29914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29915 --target=${target_alias} $${srcdiroption} --enable-shared \
29916 || exit 1
29917 @endif lto-plugin
29921 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29922 maybe-configure-stage1-lto-plugin:
29923 @if lto-plugin-bootstrap
29924 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29925 configure-stage1-lto-plugin:
29926 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29927 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29928 @r=`${PWD_COMMAND}`; export r; \
29929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29930 TFLAGS="$(STAGE1_TFLAGS)"; \
29931 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29932 $(HOST_EXPORTS) \
29933 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29934 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29935 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29936 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29938 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29939 case $(srcdir) in \
29940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29941 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29943 esac; \
29944 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29945 libsrcdir="$$s/lto-plugin"; \
29946 $(SHELL) $${libsrcdir}/configure \
29947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29948 --target=${target_alias} $${srcdiroption} \
29949 $(STAGE1_CONFIGURE_FLAGS) \
29950 --enable-shared
29951 @endif lto-plugin-bootstrap
29953 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29954 maybe-configure-stage2-lto-plugin:
29955 @if lto-plugin-bootstrap
29956 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29957 configure-stage2-lto-plugin:
29958 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29960 @r=`${PWD_COMMAND}`; export r; \
29961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29962 TFLAGS="$(STAGE2_TFLAGS)"; \
29963 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29964 $(HOST_EXPORTS) \
29965 $(POSTSTAGE1_HOST_EXPORTS) \
29966 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29967 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29968 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29969 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29971 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29972 case $(srcdir) in \
29973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29974 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29976 esac; \
29977 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29978 libsrcdir="$$s/lto-plugin"; \
29979 $(SHELL) $${libsrcdir}/configure \
29980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29981 --target=${target_alias} $${srcdiroption} \
29982 --with-build-libsubdir=$(HOST_SUBDIR) \
29983 $(STAGE2_CONFIGURE_FLAGS) \
29984 --enable-shared
29985 @endif lto-plugin-bootstrap
29987 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29988 maybe-configure-stage3-lto-plugin:
29989 @if lto-plugin-bootstrap
29990 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29991 configure-stage3-lto-plugin:
29992 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29994 @r=`${PWD_COMMAND}`; export r; \
29995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29996 TFLAGS="$(STAGE3_TFLAGS)"; \
29997 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29998 $(HOST_EXPORTS) \
29999 $(POSTSTAGE1_HOST_EXPORTS) \
30000 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30001 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30002 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30003 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30005 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30006 case $(srcdir) in \
30007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30008 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30010 esac; \
30011 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30012 libsrcdir="$$s/lto-plugin"; \
30013 $(SHELL) $${libsrcdir}/configure \
30014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30015 --target=${target_alias} $${srcdiroption} \
30016 --with-build-libsubdir=$(HOST_SUBDIR) \
30017 $(STAGE3_CONFIGURE_FLAGS) \
30018 --enable-shared
30019 @endif lto-plugin-bootstrap
30021 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30022 maybe-configure-stage4-lto-plugin:
30023 @if lto-plugin-bootstrap
30024 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30025 configure-stage4-lto-plugin:
30026 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30028 @r=`${PWD_COMMAND}`; export r; \
30029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30030 TFLAGS="$(STAGE4_TFLAGS)"; \
30031 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30032 $(HOST_EXPORTS) \
30033 $(POSTSTAGE1_HOST_EXPORTS) \
30034 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30035 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30036 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30037 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30039 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30040 case $(srcdir) in \
30041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30042 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30044 esac; \
30045 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30046 libsrcdir="$$s/lto-plugin"; \
30047 $(SHELL) $${libsrcdir}/configure \
30048 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30049 --target=${target_alias} $${srcdiroption} \
30050 --with-build-libsubdir=$(HOST_SUBDIR) \
30051 $(STAGE4_CONFIGURE_FLAGS) \
30052 --enable-shared
30053 @endif lto-plugin-bootstrap
30055 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30056 maybe-configure-stageprofile-lto-plugin:
30057 @if lto-plugin-bootstrap
30058 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30059 configure-stageprofile-lto-plugin:
30060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30062 @r=`${PWD_COMMAND}`; export r; \
30063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30065 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30066 $(HOST_EXPORTS) \
30067 $(POSTSTAGE1_HOST_EXPORTS) \
30068 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30070 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30071 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30073 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30074 case $(srcdir) in \
30075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30076 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30078 esac; \
30079 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30080 libsrcdir="$$s/lto-plugin"; \
30081 $(SHELL) $${libsrcdir}/configure \
30082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30083 --target=${target_alias} $${srcdiroption} \
30084 --with-build-libsubdir=$(HOST_SUBDIR) \
30085 $(STAGEprofile_CONFIGURE_FLAGS) \
30086 --enable-shared
30087 @endif lto-plugin-bootstrap
30089 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30090 maybe-configure-stagefeedback-lto-plugin:
30091 @if lto-plugin-bootstrap
30092 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30093 configure-stagefeedback-lto-plugin:
30094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30096 @r=`${PWD_COMMAND}`; export r; \
30097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30098 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30099 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30100 $(HOST_EXPORTS) \
30101 $(POSTSTAGE1_HOST_EXPORTS) \
30102 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30105 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30107 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30108 case $(srcdir) in \
30109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30110 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30112 esac; \
30113 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30114 libsrcdir="$$s/lto-plugin"; \
30115 $(SHELL) $${libsrcdir}/configure \
30116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30117 --target=${target_alias} $${srcdiroption} \
30118 --with-build-libsubdir=$(HOST_SUBDIR) \
30119 $(STAGEfeedback_CONFIGURE_FLAGS) \
30120 --enable-shared
30121 @endif lto-plugin-bootstrap
30127 .PHONY: all-lto-plugin maybe-all-lto-plugin
30128 maybe-all-lto-plugin:
30129 @if gcc-bootstrap
30130 all-lto-plugin: stage_current
30131 @endif gcc-bootstrap
30132 @if lto-plugin
30133 TARGET-lto-plugin=all
30134 maybe-all-lto-plugin: all-lto-plugin
30135 all-lto-plugin: configure-lto-plugin
30136 @r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(HOST_EXPORTS) \
30139 (cd $(HOST_SUBDIR)/lto-plugin && \
30140 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30141 $(TARGET-lto-plugin))
30142 @endif lto-plugin
30146 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30147 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30148 maybe-all-stage1-lto-plugin:
30149 maybe-clean-stage1-lto-plugin:
30150 @if lto-plugin-bootstrap
30151 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30152 all-stage1: all-stage1-lto-plugin
30153 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30154 all-stage1-lto-plugin: configure-stage1-lto-plugin
30155 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30156 @r=`${PWD_COMMAND}`; export r; \
30157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30158 TFLAGS="$(STAGE1_TFLAGS)"; \
30159 $(HOST_EXPORTS) \
30160 cd $(HOST_SUBDIR)/lto-plugin && \
30161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30162 CFLAGS="$(STAGE1_CFLAGS)" \
30163 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30164 LIBCFLAGS="$(LIBCFLAGS)" \
30165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30168 $(EXTRA_HOST_FLAGS) \
30169 $(STAGE1_FLAGS_TO_PASS) \
30170 TFLAGS="$(STAGE1_TFLAGS)" \
30171 $(TARGET-stage1-lto-plugin)
30173 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30174 clean-stage1: clean-stage1-lto-plugin
30175 clean-stage1-lto-plugin:
30176 @if [ $(current_stage) = stage1 ]; then \
30177 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30178 else \
30179 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30180 $(MAKE) stage1-start; \
30181 fi; \
30182 cd $(HOST_SUBDIR)/lto-plugin && \
30183 $(MAKE) $(EXTRA_HOST_FLAGS) \
30184 $(STAGE1_FLAGS_TO_PASS) clean
30185 @endif lto-plugin-bootstrap
30188 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30189 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30190 maybe-all-stage2-lto-plugin:
30191 maybe-clean-stage2-lto-plugin:
30192 @if lto-plugin-bootstrap
30193 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30194 all-stage2: all-stage2-lto-plugin
30195 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30196 all-stage2-lto-plugin: configure-stage2-lto-plugin
30197 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30198 @r=`${PWD_COMMAND}`; export r; \
30199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30200 TFLAGS="$(STAGE2_TFLAGS)"; \
30201 $(HOST_EXPORTS) \
30202 $(POSTSTAGE1_HOST_EXPORTS) \
30203 cd $(HOST_SUBDIR)/lto-plugin && \
30204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30205 CFLAGS="$(STAGE2_CFLAGS)" \
30206 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30207 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30212 TFLAGS="$(STAGE2_TFLAGS)" \
30213 $(TARGET-stage2-lto-plugin)
30215 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30216 clean-stage2: clean-stage2-lto-plugin
30217 clean-stage2-lto-plugin:
30218 @if [ $(current_stage) = stage2 ]; then \
30219 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30220 else \
30221 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30222 $(MAKE) stage2-start; \
30223 fi; \
30224 cd $(HOST_SUBDIR)/lto-plugin && \
30225 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30226 @endif lto-plugin-bootstrap
30229 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30230 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30231 maybe-all-stage3-lto-plugin:
30232 maybe-clean-stage3-lto-plugin:
30233 @if lto-plugin-bootstrap
30234 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30235 all-stage3: all-stage3-lto-plugin
30236 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30237 all-stage3-lto-plugin: configure-stage3-lto-plugin
30238 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30239 @r=`${PWD_COMMAND}`; export r; \
30240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30241 TFLAGS="$(STAGE3_TFLAGS)"; \
30242 $(HOST_EXPORTS) \
30243 $(POSTSTAGE1_HOST_EXPORTS) \
30244 cd $(HOST_SUBDIR)/lto-plugin && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30246 CFLAGS="$(STAGE3_CFLAGS)" \
30247 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30248 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30253 TFLAGS="$(STAGE3_TFLAGS)" \
30254 $(TARGET-stage3-lto-plugin)
30256 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30257 clean-stage3: clean-stage3-lto-plugin
30258 clean-stage3-lto-plugin:
30259 @if [ $(current_stage) = stage3 ]; then \
30260 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30261 else \
30262 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30263 $(MAKE) stage3-start; \
30264 fi; \
30265 cd $(HOST_SUBDIR)/lto-plugin && \
30266 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30267 @endif lto-plugin-bootstrap
30270 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30271 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30272 maybe-all-stage4-lto-plugin:
30273 maybe-clean-stage4-lto-plugin:
30274 @if lto-plugin-bootstrap
30275 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30276 all-stage4: all-stage4-lto-plugin
30277 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30278 all-stage4-lto-plugin: configure-stage4-lto-plugin
30279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30280 @r=`${PWD_COMMAND}`; export r; \
30281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30282 TFLAGS="$(STAGE4_TFLAGS)"; \
30283 $(HOST_EXPORTS) \
30284 $(POSTSTAGE1_HOST_EXPORTS) \
30285 cd $(HOST_SUBDIR)/lto-plugin && \
30286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30287 CFLAGS="$(STAGE4_CFLAGS)" \
30288 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30289 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30294 TFLAGS="$(STAGE4_TFLAGS)" \
30295 $(TARGET-stage4-lto-plugin)
30297 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30298 clean-stage4: clean-stage4-lto-plugin
30299 clean-stage4-lto-plugin:
30300 @if [ $(current_stage) = stage4 ]; then \
30301 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30302 else \
30303 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30304 $(MAKE) stage4-start; \
30305 fi; \
30306 cd $(HOST_SUBDIR)/lto-plugin && \
30307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30308 @endif lto-plugin-bootstrap
30311 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30312 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30313 maybe-all-stageprofile-lto-plugin:
30314 maybe-clean-stageprofile-lto-plugin:
30315 @if lto-plugin-bootstrap
30316 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30317 all-stageprofile: all-stageprofile-lto-plugin
30318 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30319 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30320 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30321 @r=`${PWD_COMMAND}`; export r; \
30322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30323 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30324 $(HOST_EXPORTS) \
30325 $(POSTSTAGE1_HOST_EXPORTS) \
30326 cd $(HOST_SUBDIR)/lto-plugin && \
30327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30328 CFLAGS="$(STAGEprofile_CFLAGS)" \
30329 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30330 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30335 TFLAGS="$(STAGEprofile_TFLAGS)" \
30336 $(TARGET-stageprofile-lto-plugin)
30338 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30339 clean-stageprofile: clean-stageprofile-lto-plugin
30340 clean-stageprofile-lto-plugin:
30341 @if [ $(current_stage) = stageprofile ]; then \
30342 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30343 else \
30344 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30345 $(MAKE) stageprofile-start; \
30346 fi; \
30347 cd $(HOST_SUBDIR)/lto-plugin && \
30348 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30349 @endif lto-plugin-bootstrap
30352 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30353 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30354 maybe-all-stagefeedback-lto-plugin:
30355 maybe-clean-stagefeedback-lto-plugin:
30356 @if lto-plugin-bootstrap
30357 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30358 all-stagefeedback: all-stagefeedback-lto-plugin
30359 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30360 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30361 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30362 @r=`${PWD_COMMAND}`; export r; \
30363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30364 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30365 $(HOST_EXPORTS) \
30366 $(POSTSTAGE1_HOST_EXPORTS) \
30367 cd $(HOST_SUBDIR)/lto-plugin && \
30368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30369 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30370 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30371 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30375 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30376 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30377 $(TARGET-stagefeedback-lto-plugin)
30379 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30380 clean-stagefeedback: clean-stagefeedback-lto-plugin
30381 clean-stagefeedback-lto-plugin:
30382 @if [ $(current_stage) = stagefeedback ]; then \
30383 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30384 else \
30385 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30386 $(MAKE) stagefeedback-start; \
30387 fi; \
30388 cd $(HOST_SUBDIR)/lto-plugin && \
30389 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30390 @endif lto-plugin-bootstrap
30396 .PHONY: check-lto-plugin maybe-check-lto-plugin
30397 maybe-check-lto-plugin:
30398 @if lto-plugin
30399 maybe-check-lto-plugin: check-lto-plugin
30401 check-lto-plugin:
30402 @: $(MAKE); $(unstage)
30403 @r=`${PWD_COMMAND}`; export r; \
30404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30405 $(HOST_EXPORTS) \
30406 (cd $(HOST_SUBDIR)/lto-plugin && \
30407 $(MAKE) $(FLAGS_TO_PASS) check)
30409 @endif lto-plugin
30411 .PHONY: install-lto-plugin maybe-install-lto-plugin
30412 maybe-install-lto-plugin:
30413 @if lto-plugin
30414 maybe-install-lto-plugin: install-lto-plugin
30416 install-lto-plugin: installdirs
30417 @: $(MAKE); $(unstage)
30418 @r=`${PWD_COMMAND}`; export r; \
30419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30420 $(HOST_EXPORTS) \
30421 (cd $(HOST_SUBDIR)/lto-plugin && \
30422 $(MAKE) $(FLAGS_TO_PASS) install)
30424 @endif lto-plugin
30426 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30427 maybe-install-strip-lto-plugin:
30428 @if lto-plugin
30429 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30431 install-strip-lto-plugin: installdirs
30432 @: $(MAKE); $(unstage)
30433 @r=`${PWD_COMMAND}`; export r; \
30434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30435 $(HOST_EXPORTS) \
30436 (cd $(HOST_SUBDIR)/lto-plugin && \
30437 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30439 @endif lto-plugin
30441 # Other targets (info, dvi, pdf, etc.)
30443 .PHONY: maybe-info-lto-plugin info-lto-plugin
30444 maybe-info-lto-plugin:
30445 @if lto-plugin
30446 maybe-info-lto-plugin: info-lto-plugin
30448 info-lto-plugin: \
30449 configure-lto-plugin
30450 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30451 r=`${PWD_COMMAND}`; export r; \
30452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30453 $(HOST_EXPORTS) \
30454 for flag in $(EXTRA_HOST_FLAGS) ; do \
30455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30456 done; \
30457 echo "Doing info in lto-plugin" ; \
30458 (cd $(HOST_SUBDIR)/lto-plugin && \
30459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30461 "RANLIB=$${RANLIB}" \
30462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30463 info) \
30464 || exit 1
30466 @endif lto-plugin
30468 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30469 maybe-dvi-lto-plugin:
30470 @if lto-plugin
30471 maybe-dvi-lto-plugin: dvi-lto-plugin
30473 dvi-lto-plugin: \
30474 configure-lto-plugin
30475 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30476 r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 $(HOST_EXPORTS) \
30479 for flag in $(EXTRA_HOST_FLAGS) ; do \
30480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30481 done; \
30482 echo "Doing dvi in lto-plugin" ; \
30483 (cd $(HOST_SUBDIR)/lto-plugin && \
30484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30486 "RANLIB=$${RANLIB}" \
30487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30488 dvi) \
30489 || exit 1
30491 @endif lto-plugin
30493 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30494 maybe-pdf-lto-plugin:
30495 @if lto-plugin
30496 maybe-pdf-lto-plugin: pdf-lto-plugin
30498 pdf-lto-plugin: \
30499 configure-lto-plugin
30500 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30501 r=`${PWD_COMMAND}`; export r; \
30502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30503 $(HOST_EXPORTS) \
30504 for flag in $(EXTRA_HOST_FLAGS) ; do \
30505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30506 done; \
30507 echo "Doing pdf in lto-plugin" ; \
30508 (cd $(HOST_SUBDIR)/lto-plugin && \
30509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30511 "RANLIB=$${RANLIB}" \
30512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30513 pdf) \
30514 || exit 1
30516 @endif lto-plugin
30518 .PHONY: maybe-html-lto-plugin html-lto-plugin
30519 maybe-html-lto-plugin:
30520 @if lto-plugin
30521 maybe-html-lto-plugin: html-lto-plugin
30523 html-lto-plugin: \
30524 configure-lto-plugin
30525 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30526 r=`${PWD_COMMAND}`; export r; \
30527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 $(HOST_EXPORTS) \
30529 for flag in $(EXTRA_HOST_FLAGS) ; do \
30530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30531 done; \
30532 echo "Doing html in lto-plugin" ; \
30533 (cd $(HOST_SUBDIR)/lto-plugin && \
30534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30536 "RANLIB=$${RANLIB}" \
30537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30538 html) \
30539 || exit 1
30541 @endif lto-plugin
30543 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30544 maybe-TAGS-lto-plugin:
30545 @if lto-plugin
30546 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30548 TAGS-lto-plugin: \
30549 configure-lto-plugin
30550 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing TAGS in lto-plugin" ; \
30558 (cd $(HOST_SUBDIR)/lto-plugin && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30563 TAGS) \
30564 || exit 1
30566 @endif lto-plugin
30568 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30569 maybe-install-info-lto-plugin:
30570 @if lto-plugin
30571 maybe-install-info-lto-plugin: install-info-lto-plugin
30573 install-info-lto-plugin: \
30574 configure-lto-plugin \
30575 info-lto-plugin
30576 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30577 r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 $(HOST_EXPORTS) \
30580 for flag in $(EXTRA_HOST_FLAGS) ; do \
30581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30582 done; \
30583 echo "Doing install-info in lto-plugin" ; \
30584 (cd $(HOST_SUBDIR)/lto-plugin && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30587 "RANLIB=$${RANLIB}" \
30588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30589 install-info) \
30590 || exit 1
30592 @endif lto-plugin
30594 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30595 maybe-install-pdf-lto-plugin:
30596 @if lto-plugin
30597 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30599 install-pdf-lto-plugin: \
30600 configure-lto-plugin \
30601 pdf-lto-plugin
30602 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30603 r=`${PWD_COMMAND}`; export r; \
30604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30605 $(HOST_EXPORTS) \
30606 for flag in $(EXTRA_HOST_FLAGS) ; do \
30607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30608 done; \
30609 echo "Doing install-pdf in lto-plugin" ; \
30610 (cd $(HOST_SUBDIR)/lto-plugin && \
30611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30613 "RANLIB=$${RANLIB}" \
30614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30615 install-pdf) \
30616 || exit 1
30618 @endif lto-plugin
30620 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30621 maybe-install-html-lto-plugin:
30622 @if lto-plugin
30623 maybe-install-html-lto-plugin: install-html-lto-plugin
30625 install-html-lto-plugin: \
30626 configure-lto-plugin \
30627 html-lto-plugin
30628 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30629 r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(HOST_EXPORTS) \
30632 for flag in $(EXTRA_HOST_FLAGS) ; do \
30633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30634 done; \
30635 echo "Doing install-html in lto-plugin" ; \
30636 (cd $(HOST_SUBDIR)/lto-plugin && \
30637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30639 "RANLIB=$${RANLIB}" \
30640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30641 install-html) \
30642 || exit 1
30644 @endif lto-plugin
30646 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30647 maybe-installcheck-lto-plugin:
30648 @if lto-plugin
30649 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30651 installcheck-lto-plugin: \
30652 configure-lto-plugin
30653 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30654 r=`${PWD_COMMAND}`; export r; \
30655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30656 $(HOST_EXPORTS) \
30657 for flag in $(EXTRA_HOST_FLAGS) ; do \
30658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30659 done; \
30660 echo "Doing installcheck in lto-plugin" ; \
30661 (cd $(HOST_SUBDIR)/lto-plugin && \
30662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30664 "RANLIB=$${RANLIB}" \
30665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30666 installcheck) \
30667 || exit 1
30669 @endif lto-plugin
30671 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30672 maybe-mostlyclean-lto-plugin:
30673 @if lto-plugin
30674 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30676 mostlyclean-lto-plugin:
30677 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30678 r=`${PWD_COMMAND}`; export r; \
30679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30680 $(HOST_EXPORTS) \
30681 for flag in $(EXTRA_HOST_FLAGS) ; do \
30682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30683 done; \
30684 echo "Doing mostlyclean in lto-plugin" ; \
30685 (cd $(HOST_SUBDIR)/lto-plugin && \
30686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30688 "RANLIB=$${RANLIB}" \
30689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30690 mostlyclean) \
30691 || exit 1
30693 @endif lto-plugin
30695 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30696 maybe-clean-lto-plugin:
30697 @if lto-plugin
30698 maybe-clean-lto-plugin: clean-lto-plugin
30700 clean-lto-plugin:
30701 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30702 r=`${PWD_COMMAND}`; export r; \
30703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30704 $(HOST_EXPORTS) \
30705 for flag in $(EXTRA_HOST_FLAGS) ; do \
30706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30707 done; \
30708 echo "Doing clean in lto-plugin" ; \
30709 (cd $(HOST_SUBDIR)/lto-plugin && \
30710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30712 "RANLIB=$${RANLIB}" \
30713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30714 clean) \
30715 || exit 1
30717 @endif lto-plugin
30719 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30720 maybe-distclean-lto-plugin:
30721 @if lto-plugin
30722 maybe-distclean-lto-plugin: distclean-lto-plugin
30724 distclean-lto-plugin:
30725 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30726 r=`${PWD_COMMAND}`; export r; \
30727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30728 $(HOST_EXPORTS) \
30729 for flag in $(EXTRA_HOST_FLAGS) ; do \
30730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30731 done; \
30732 echo "Doing distclean in lto-plugin" ; \
30733 (cd $(HOST_SUBDIR)/lto-plugin && \
30734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30736 "RANLIB=$${RANLIB}" \
30737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30738 distclean) \
30739 || exit 1
30741 @endif lto-plugin
30743 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30744 maybe-maintainer-clean-lto-plugin:
30745 @if lto-plugin
30746 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30748 maintainer-clean-lto-plugin:
30749 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30750 r=`${PWD_COMMAND}`; export r; \
30751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30752 $(HOST_EXPORTS) \
30753 for flag in $(EXTRA_HOST_FLAGS) ; do \
30754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30755 done; \
30756 echo "Doing maintainer-clean in lto-plugin" ; \
30757 (cd $(HOST_SUBDIR)/lto-plugin && \
30758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30760 "RANLIB=$${RANLIB}" \
30761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30762 maintainer-clean) \
30763 || exit 1
30765 @endif lto-plugin
30769 # ---------------------------------------
30770 # Modules which run on the target machine
30771 # ---------------------------------------
30776 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30777 maybe-configure-target-libstdc++-v3:
30778 @if gcc-bootstrap
30779 configure-target-libstdc++-v3: stage_current
30780 @endif gcc-bootstrap
30781 @if target-libstdc++-v3
30782 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30783 configure-target-libstdc++-v3:
30784 @r=`${PWD_COMMAND}`; export r; \
30785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30786 echo "Checking multilib configuration for libstdc++-v3..."; \
30787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30788 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30789 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30790 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30791 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30792 else \
30793 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30794 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30795 fi; \
30796 else \
30797 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30798 fi; \
30799 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30801 $(RAW_CXX_TARGET_EXPORTS) \
30802 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30803 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30804 case $(srcdir) in \
30805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30806 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30808 esac; \
30809 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30810 libsrcdir="$$s/libstdc++-v3"; \
30811 rm -f no-such-file || : ; \
30812 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30813 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30814 --target=${target_alias} $${srcdiroption} \
30815 || exit 1
30816 @endif target-libstdc++-v3
30820 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30821 maybe-configure-stage1-target-libstdc++-v3:
30822 @if target-libstdc++-v3-bootstrap
30823 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30824 configure-stage1-target-libstdc++-v3:
30825 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30826 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30827 @r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 TFLAGS="$(STAGE1_TFLAGS)"; \
30830 echo "Checking multilib configuration for libstdc++-v3..."; \
30831 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30832 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30833 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30834 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30835 else \
30836 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30837 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30838 fi; \
30839 else \
30840 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30841 fi; \
30842 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30843 $(RAW_CXX_TARGET_EXPORTS) \
30844 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30846 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30847 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30849 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30850 case $(srcdir) in \
30851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30852 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30854 esac; \
30855 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30856 libsrcdir="$$s/libstdc++-v3"; \
30857 $(SHELL) $${libsrcdir}/configure \
30858 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30859 --target=${target_alias} $${srcdiroption} \
30860 $(STAGE1_CONFIGURE_FLAGS)
30861 @endif target-libstdc++-v3-bootstrap
30863 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30864 maybe-configure-stage2-target-libstdc++-v3:
30865 @if target-libstdc++-v3-bootstrap
30866 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30867 configure-stage2-target-libstdc++-v3:
30868 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30869 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30870 @r=`${PWD_COMMAND}`; export r; \
30871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30872 TFLAGS="$(STAGE2_TFLAGS)"; \
30873 echo "Checking multilib configuration for libstdc++-v3..."; \
30874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30875 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30876 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30877 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30878 else \
30879 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30880 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30881 fi; \
30882 else \
30883 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30884 fi; \
30885 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30886 $(RAW_CXX_TARGET_EXPORTS) \
30888 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30889 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30890 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30891 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30892 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30893 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30894 case $(srcdir) in \
30895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30896 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30898 esac; \
30899 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30900 libsrcdir="$$s/libstdc++-v3"; \
30901 $(SHELL) $${libsrcdir}/configure \
30902 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30903 --target=${target_alias} $${srcdiroption} \
30904 --with-build-libsubdir=$(HOST_SUBDIR) \
30905 $(STAGE2_CONFIGURE_FLAGS)
30906 @endif target-libstdc++-v3-bootstrap
30908 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30909 maybe-configure-stage3-target-libstdc++-v3:
30910 @if target-libstdc++-v3-bootstrap
30911 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30912 configure-stage3-target-libstdc++-v3:
30913 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30914 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30915 @r=`${PWD_COMMAND}`; export r; \
30916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30917 TFLAGS="$(STAGE3_TFLAGS)"; \
30918 echo "Checking multilib configuration for libstdc++-v3..."; \
30919 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30920 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30921 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30922 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30923 else \
30924 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30925 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30926 fi; \
30927 else \
30928 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30929 fi; \
30930 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30931 $(RAW_CXX_TARGET_EXPORTS) \
30933 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30936 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30938 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30939 case $(srcdir) in \
30940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30941 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30943 esac; \
30944 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30945 libsrcdir="$$s/libstdc++-v3"; \
30946 $(SHELL) $${libsrcdir}/configure \
30947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30948 --target=${target_alias} $${srcdiroption} \
30949 --with-build-libsubdir=$(HOST_SUBDIR) \
30950 $(STAGE3_CONFIGURE_FLAGS)
30951 @endif target-libstdc++-v3-bootstrap
30953 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30954 maybe-configure-stage4-target-libstdc++-v3:
30955 @if target-libstdc++-v3-bootstrap
30956 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30957 configure-stage4-target-libstdc++-v3:
30958 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30960 @r=`${PWD_COMMAND}`; export r; \
30961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30962 TFLAGS="$(STAGE4_TFLAGS)"; \
30963 echo "Checking multilib configuration for libstdc++-v3..."; \
30964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30965 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30966 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30967 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30968 else \
30969 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30970 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30971 fi; \
30972 else \
30973 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30974 fi; \
30975 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30976 $(RAW_CXX_TARGET_EXPORTS) \
30978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30981 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30983 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30984 case $(srcdir) in \
30985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30986 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30988 esac; \
30989 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30990 libsrcdir="$$s/libstdc++-v3"; \
30991 $(SHELL) $${libsrcdir}/configure \
30992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30993 --target=${target_alias} $${srcdiroption} \
30994 --with-build-libsubdir=$(HOST_SUBDIR) \
30995 $(STAGE4_CONFIGURE_FLAGS)
30996 @endif target-libstdc++-v3-bootstrap
30998 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30999 maybe-configure-stageprofile-target-libstdc++-v3:
31000 @if target-libstdc++-v3-bootstrap
31001 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31002 configure-stageprofile-target-libstdc++-v3:
31003 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31005 @r=`${PWD_COMMAND}`; export r; \
31006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31007 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31008 echo "Checking multilib configuration for libstdc++-v3..."; \
31009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31010 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31011 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31012 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31013 else \
31014 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31015 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31016 fi; \
31017 else \
31018 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31019 fi; \
31020 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31021 $(RAW_CXX_TARGET_EXPORTS) \
31023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31026 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31028 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31029 case $(srcdir) in \
31030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31031 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31033 esac; \
31034 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31035 libsrcdir="$$s/libstdc++-v3"; \
31036 $(SHELL) $${libsrcdir}/configure \
31037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31038 --target=${target_alias} $${srcdiroption} \
31039 --with-build-libsubdir=$(HOST_SUBDIR) \
31040 $(STAGEprofile_CONFIGURE_FLAGS)
31041 @endif target-libstdc++-v3-bootstrap
31043 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31044 maybe-configure-stagefeedback-target-libstdc++-v3:
31045 @if target-libstdc++-v3-bootstrap
31046 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31047 configure-stagefeedback-target-libstdc++-v3:
31048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31049 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31050 @r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31053 echo "Checking multilib configuration for libstdc++-v3..."; \
31054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31055 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31056 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31057 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31058 else \
31059 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31060 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31061 fi; \
31062 else \
31063 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31064 fi; \
31065 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31066 $(RAW_CXX_TARGET_EXPORTS) \
31068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31071 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31073 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31074 case $(srcdir) in \
31075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31076 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31078 esac; \
31079 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31080 libsrcdir="$$s/libstdc++-v3"; \
31081 $(SHELL) $${libsrcdir}/configure \
31082 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31083 --target=${target_alias} $${srcdiroption} \
31084 --with-build-libsubdir=$(HOST_SUBDIR) \
31085 $(STAGEfeedback_CONFIGURE_FLAGS)
31086 @endif target-libstdc++-v3-bootstrap
31092 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31093 maybe-all-target-libstdc++-v3:
31094 @if gcc-bootstrap
31095 all-target-libstdc++-v3: stage_current
31096 @endif gcc-bootstrap
31097 @if target-libstdc++-v3
31098 TARGET-target-libstdc++-v3=all
31099 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31100 all-target-libstdc++-v3: configure-target-libstdc++-v3
31101 @r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(RAW_CXX_TARGET_EXPORTS) \
31104 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31105 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31106 $(TARGET-target-libstdc++-v3))
31107 @endif target-libstdc++-v3
31111 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31112 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31113 maybe-all-stage1-target-libstdc++-v3:
31114 maybe-clean-stage1-target-libstdc++-v3:
31115 @if target-libstdc++-v3-bootstrap
31116 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31117 all-stage1: all-stage1-target-libstdc++-v3
31118 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31119 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31120 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31121 @r=`${PWD_COMMAND}`; export r; \
31122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31123 TFLAGS="$(STAGE1_TFLAGS)"; \
31124 $(RAW_CXX_TARGET_EXPORTS) \
31125 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31127 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31128 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31129 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31133 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31135 TFLAGS="$(STAGE1_TFLAGS)" \
31136 $(TARGET-stage1-target-libstdc++-v3)
31138 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31139 clean-stage1: clean-stage1-target-libstdc++-v3
31140 clean-stage1-target-libstdc++-v3:
31141 @if [ $(current_stage) = stage1 ]; then \
31142 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31143 else \
31144 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31145 $(MAKE) stage1-start; \
31146 fi; \
31147 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31148 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31149 clean
31150 @endif target-libstdc++-v3-bootstrap
31153 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31154 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31155 maybe-all-stage2-target-libstdc++-v3:
31156 maybe-clean-stage2-target-libstdc++-v3:
31157 @if target-libstdc++-v3-bootstrap
31158 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31159 all-stage2: all-stage2-target-libstdc++-v3
31160 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31161 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31162 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31163 @r=`${PWD_COMMAND}`; export r; \
31164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31165 TFLAGS="$(STAGE2_TFLAGS)"; \
31166 $(RAW_CXX_TARGET_EXPORTS) \
31168 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31170 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31171 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31172 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31176 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31177 TFLAGS="$(STAGE2_TFLAGS)" \
31178 $(TARGET-stage2-target-libstdc++-v3)
31180 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31181 clean-stage2: clean-stage2-target-libstdc++-v3
31182 clean-stage2-target-libstdc++-v3:
31183 @if [ $(current_stage) = stage2 ]; then \
31184 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31185 else \
31186 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31187 $(MAKE) stage2-start; \
31188 fi; \
31189 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31190 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31191 @endif target-libstdc++-v3-bootstrap
31194 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31195 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31196 maybe-all-stage3-target-libstdc++-v3:
31197 maybe-clean-stage3-target-libstdc++-v3:
31198 @if target-libstdc++-v3-bootstrap
31199 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31200 all-stage3: all-stage3-target-libstdc++-v3
31201 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31202 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31203 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31204 @r=`${PWD_COMMAND}`; export r; \
31205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31206 TFLAGS="$(STAGE3_TFLAGS)"; \
31207 $(RAW_CXX_TARGET_EXPORTS) \
31209 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31211 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31212 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31213 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31217 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31218 TFLAGS="$(STAGE3_TFLAGS)" \
31219 $(TARGET-stage3-target-libstdc++-v3)
31221 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31222 clean-stage3: clean-stage3-target-libstdc++-v3
31223 clean-stage3-target-libstdc++-v3:
31224 @if [ $(current_stage) = stage3 ]; then \
31225 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31226 else \
31227 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31228 $(MAKE) stage3-start; \
31229 fi; \
31230 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31231 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31232 @endif target-libstdc++-v3-bootstrap
31235 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31236 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31237 maybe-all-stage4-target-libstdc++-v3:
31238 maybe-clean-stage4-target-libstdc++-v3:
31239 @if target-libstdc++-v3-bootstrap
31240 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31241 all-stage4: all-stage4-target-libstdc++-v3
31242 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31243 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31244 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31245 @r=`${PWD_COMMAND}`; export r; \
31246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31247 TFLAGS="$(STAGE4_TFLAGS)"; \
31248 $(RAW_CXX_TARGET_EXPORTS) \
31250 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31251 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31252 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31253 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31254 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31258 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31259 TFLAGS="$(STAGE4_TFLAGS)" \
31260 $(TARGET-stage4-target-libstdc++-v3)
31262 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31263 clean-stage4: clean-stage4-target-libstdc++-v3
31264 clean-stage4-target-libstdc++-v3:
31265 @if [ $(current_stage) = stage4 ]; then \
31266 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31267 else \
31268 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31269 $(MAKE) stage4-start; \
31270 fi; \
31271 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31272 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31273 @endif target-libstdc++-v3-bootstrap
31276 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31277 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31278 maybe-all-stageprofile-target-libstdc++-v3:
31279 maybe-clean-stageprofile-target-libstdc++-v3:
31280 @if target-libstdc++-v3-bootstrap
31281 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31282 all-stageprofile: all-stageprofile-target-libstdc++-v3
31283 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31284 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31285 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31286 @r=`${PWD_COMMAND}`; export r; \
31287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31288 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31289 $(RAW_CXX_TARGET_EXPORTS) \
31291 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31292 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31293 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31294 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31295 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31296 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31297 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31298 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31299 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31300 TFLAGS="$(STAGEprofile_TFLAGS)" \
31301 $(TARGET-stageprofile-target-libstdc++-v3)
31303 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31304 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31305 clean-stageprofile-target-libstdc++-v3:
31306 @if [ $(current_stage) = stageprofile ]; then \
31307 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31308 else \
31309 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31310 $(MAKE) stageprofile-start; \
31311 fi; \
31312 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31313 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31314 @endif target-libstdc++-v3-bootstrap
31317 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31318 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31319 maybe-all-stagefeedback-target-libstdc++-v3:
31320 maybe-clean-stagefeedback-target-libstdc++-v3:
31321 @if target-libstdc++-v3-bootstrap
31322 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31323 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31324 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31325 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31326 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31327 @r=`${PWD_COMMAND}`; export r; \
31328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31329 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31330 $(RAW_CXX_TARGET_EXPORTS) \
31332 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31333 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31334 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31335 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31336 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31337 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31338 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31339 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31340 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31341 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31342 $(TARGET-stagefeedback-target-libstdc++-v3)
31344 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31345 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31346 clean-stagefeedback-target-libstdc++-v3:
31347 @if [ $(current_stage) = stagefeedback ]; then \
31348 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31349 else \
31350 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31351 $(MAKE) stagefeedback-start; \
31352 fi; \
31353 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31354 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31355 @endif target-libstdc++-v3-bootstrap
31362 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31363 maybe-check-target-libstdc++-v3:
31364 @if target-libstdc++-v3
31365 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31367 check-target-libstdc++-v3:
31368 @: $(MAKE); $(unstage)
31369 @r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(RAW_CXX_TARGET_EXPORTS) \
31372 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31373 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31375 @endif target-libstdc++-v3
31377 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31378 maybe-install-target-libstdc++-v3:
31379 @if target-libstdc++-v3
31380 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31382 install-target-libstdc++-v3: installdirs
31383 @: $(MAKE); $(unstage)
31384 @r=`${PWD_COMMAND}`; export r; \
31385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31386 $(RAW_CXX_TARGET_EXPORTS) \
31387 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31388 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31390 @endif target-libstdc++-v3
31392 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31393 maybe-install-strip-target-libstdc++-v3:
31394 @if target-libstdc++-v3
31395 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31397 install-strip-target-libstdc++-v3: installdirs
31398 @: $(MAKE); $(unstage)
31399 @r=`${PWD_COMMAND}`; export r; \
31400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31401 $(RAW_CXX_TARGET_EXPORTS) \
31402 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31403 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31405 @endif target-libstdc++-v3
31407 # Other targets (info, dvi, pdf, etc.)
31409 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31410 maybe-info-target-libstdc++-v3:
31411 @if target-libstdc++-v3
31412 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31414 info-target-libstdc++-v3: \
31415 configure-target-libstdc++-v3
31416 @: $(MAKE); $(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(RAW_CXX_TARGET_EXPORTS) \
31421 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31430 info) \
31431 || exit 1
31433 @endif target-libstdc++-v3
31435 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31436 maybe-dvi-target-libstdc++-v3:
31437 @if target-libstdc++-v3
31438 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31440 dvi-target-libstdc++-v3: \
31441 configure-target-libstdc++-v3
31442 @: $(MAKE); $(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(RAW_CXX_TARGET_EXPORTS) \
31447 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31450 done; \
31451 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31456 dvi) \
31457 || exit 1
31459 @endif target-libstdc++-v3
31461 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31462 maybe-pdf-target-libstdc++-v3:
31463 @if target-libstdc++-v3
31464 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31466 pdf-target-libstdc++-v3: \
31467 configure-target-libstdc++-v3
31468 @: $(MAKE); $(unstage)
31469 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31470 r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(RAW_CXX_TARGET_EXPORTS) \
31473 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31474 for flag in $(EXTRA_TARGET_FLAGS); do \
31475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31476 done; \
31477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31480 "RANLIB=$${RANLIB}" \
31481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31482 pdf) \
31483 || exit 1
31485 @endif target-libstdc++-v3
31487 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31488 maybe-html-target-libstdc++-v3:
31489 @if target-libstdc++-v3
31490 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31492 html-target-libstdc++-v3: \
31493 configure-target-libstdc++-v3
31494 @: $(MAKE); $(unstage)
31495 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(RAW_CXX_TARGET_EXPORTS) \
31499 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31500 for flag in $(EXTRA_TARGET_FLAGS); do \
31501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31502 done; \
31503 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31506 "RANLIB=$${RANLIB}" \
31507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31508 html) \
31509 || exit 1
31511 @endif target-libstdc++-v3
31513 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31514 maybe-TAGS-target-libstdc++-v3:
31515 @if target-libstdc++-v3
31516 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31518 TAGS-target-libstdc++-v3: \
31519 configure-target-libstdc++-v3
31520 @: $(MAKE); $(unstage)
31521 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31522 r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(RAW_CXX_TARGET_EXPORTS) \
31525 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31526 for flag in $(EXTRA_TARGET_FLAGS); do \
31527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31528 done; \
31529 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31532 "RANLIB=$${RANLIB}" \
31533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31534 TAGS) \
31535 || exit 1
31537 @endif target-libstdc++-v3
31539 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31540 maybe-install-info-target-libstdc++-v3:
31541 @if target-libstdc++-v3
31542 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31544 install-info-target-libstdc++-v3: \
31545 configure-target-libstdc++-v3 \
31546 info-target-libstdc++-v3
31547 @: $(MAKE); $(unstage)
31548 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31549 r=`${PWD_COMMAND}`; export r; \
31550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31551 $(RAW_CXX_TARGET_EXPORTS) \
31552 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31553 for flag in $(EXTRA_TARGET_FLAGS); do \
31554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31555 done; \
31556 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31559 "RANLIB=$${RANLIB}" \
31560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31561 install-info) \
31562 || exit 1
31564 @endif target-libstdc++-v3
31566 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31567 maybe-install-pdf-target-libstdc++-v3:
31568 @if target-libstdc++-v3
31569 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31571 install-pdf-target-libstdc++-v3: \
31572 configure-target-libstdc++-v3 \
31573 pdf-target-libstdc++-v3
31574 @: $(MAKE); $(unstage)
31575 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31576 r=`${PWD_COMMAND}`; export r; \
31577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31578 $(RAW_CXX_TARGET_EXPORTS) \
31579 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31580 for flag in $(EXTRA_TARGET_FLAGS); do \
31581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31582 done; \
31583 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31586 "RANLIB=$${RANLIB}" \
31587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31588 install-pdf) \
31589 || exit 1
31591 @endif target-libstdc++-v3
31593 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31594 maybe-install-html-target-libstdc++-v3:
31595 @if target-libstdc++-v3
31596 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31598 install-html-target-libstdc++-v3: \
31599 configure-target-libstdc++-v3 \
31600 html-target-libstdc++-v3
31601 @: $(MAKE); $(unstage)
31602 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(RAW_CXX_TARGET_EXPORTS) \
31606 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31607 for flag in $(EXTRA_TARGET_FLAGS); do \
31608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31609 done; \
31610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31613 "RANLIB=$${RANLIB}" \
31614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31615 install-html) \
31616 || exit 1
31618 @endif target-libstdc++-v3
31620 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31621 maybe-installcheck-target-libstdc++-v3:
31622 @if target-libstdc++-v3
31623 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31625 installcheck-target-libstdc++-v3: \
31626 configure-target-libstdc++-v3
31627 @: $(MAKE); $(unstage)
31628 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31629 r=`${PWD_COMMAND}`; export r; \
31630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31631 $(RAW_CXX_TARGET_EXPORTS) \
31632 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31633 for flag in $(EXTRA_TARGET_FLAGS); do \
31634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31635 done; \
31636 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31639 "RANLIB=$${RANLIB}" \
31640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31641 installcheck) \
31642 || exit 1
31644 @endif target-libstdc++-v3
31646 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31647 maybe-mostlyclean-target-libstdc++-v3:
31648 @if target-libstdc++-v3
31649 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31651 mostlyclean-target-libstdc++-v3:
31652 @: $(MAKE); $(unstage)
31653 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31654 r=`${PWD_COMMAND}`; export r; \
31655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31656 $(RAW_CXX_TARGET_EXPORTS) \
31657 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31658 for flag in $(EXTRA_TARGET_FLAGS); do \
31659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31660 done; \
31661 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31664 "RANLIB=$${RANLIB}" \
31665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31666 mostlyclean) \
31667 || exit 1
31669 @endif target-libstdc++-v3
31671 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31672 maybe-clean-target-libstdc++-v3:
31673 @if target-libstdc++-v3
31674 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31676 clean-target-libstdc++-v3:
31677 @: $(MAKE); $(unstage)
31678 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31679 r=`${PWD_COMMAND}`; export r; \
31680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31681 $(RAW_CXX_TARGET_EXPORTS) \
31682 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31683 for flag in $(EXTRA_TARGET_FLAGS); do \
31684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31685 done; \
31686 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31689 "RANLIB=$${RANLIB}" \
31690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31691 clean) \
31692 || exit 1
31694 @endif target-libstdc++-v3
31696 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31697 maybe-distclean-target-libstdc++-v3:
31698 @if target-libstdc++-v3
31699 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31701 distclean-target-libstdc++-v3:
31702 @: $(MAKE); $(unstage)
31703 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31704 r=`${PWD_COMMAND}`; export r; \
31705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31706 $(RAW_CXX_TARGET_EXPORTS) \
31707 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31708 for flag in $(EXTRA_TARGET_FLAGS); do \
31709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31710 done; \
31711 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31714 "RANLIB=$${RANLIB}" \
31715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31716 distclean) \
31717 || exit 1
31719 @endif target-libstdc++-v3
31721 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31722 maybe-maintainer-clean-target-libstdc++-v3:
31723 @if target-libstdc++-v3
31724 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31726 maintainer-clean-target-libstdc++-v3:
31727 @: $(MAKE); $(unstage)
31728 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31729 r=`${PWD_COMMAND}`; export r; \
31730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31731 $(RAW_CXX_TARGET_EXPORTS) \
31732 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31733 for flag in $(EXTRA_TARGET_FLAGS); do \
31734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31735 done; \
31736 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31739 "RANLIB=$${RANLIB}" \
31740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31741 maintainer-clean) \
31742 || exit 1
31744 @endif target-libstdc++-v3
31750 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
31751 maybe-configure-target-libsanitizer:
31752 @if gcc-bootstrap
31753 configure-target-libsanitizer: stage_current
31754 @endif gcc-bootstrap
31755 @if target-libsanitizer
31756 maybe-configure-target-libsanitizer: configure-target-libsanitizer
31757 configure-target-libsanitizer:
31758 @r=`${PWD_COMMAND}`; export r; \
31759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31760 echo "Checking multilib configuration for libsanitizer..."; \
31761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31762 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31763 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31764 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31765 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31766 else \
31767 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31768 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31769 fi; \
31770 else \
31771 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31772 fi; \
31773 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31775 $(RAW_CXX_TARGET_EXPORTS) \
31776 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
31777 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
31778 case $(srcdir) in \
31779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31780 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31782 esac; \
31783 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31784 libsrcdir="$$s/libsanitizer"; \
31785 rm -f no-such-file || : ; \
31786 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31788 --target=${target_alias} $${srcdiroption} \
31789 || exit 1
31790 @endif target-libsanitizer
31794 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
31795 maybe-configure-stage1-target-libsanitizer:
31796 @if target-libsanitizer-bootstrap
31797 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
31798 configure-stage1-target-libsanitizer:
31799 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31800 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31801 @r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 TFLAGS="$(STAGE1_TFLAGS)"; \
31804 echo "Checking multilib configuration for libsanitizer..."; \
31805 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31806 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31807 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31808 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31809 else \
31810 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31811 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31812 fi; \
31813 else \
31814 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31815 fi; \
31816 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31817 $(RAW_CXX_TARGET_EXPORTS) \
31818 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31819 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31820 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31821 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
31822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31823 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31824 case $(srcdir) in \
31825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31826 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31828 esac; \
31829 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31830 libsrcdir="$$s/libsanitizer"; \
31831 $(SHELL) $${libsrcdir}/configure \
31832 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31833 --target=${target_alias} $${srcdiroption} \
31834 $(STAGE1_CONFIGURE_FLAGS)
31835 @endif target-libsanitizer-bootstrap
31837 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
31838 maybe-configure-stage2-target-libsanitizer:
31839 @if target-libsanitizer-bootstrap
31840 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
31841 configure-stage2-target-libsanitizer:
31842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31844 @r=`${PWD_COMMAND}`; export r; \
31845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31846 TFLAGS="$(STAGE2_TFLAGS)"; \
31847 echo "Checking multilib configuration for libsanitizer..."; \
31848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31849 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31850 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31851 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31852 else \
31853 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31854 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31855 fi; \
31856 else \
31857 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31858 fi; \
31859 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31860 $(RAW_CXX_TARGET_EXPORTS) \
31862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31865 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
31866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31867 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31868 case $(srcdir) in \
31869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31870 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31872 esac; \
31873 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31874 libsrcdir="$$s/libsanitizer"; \
31875 $(SHELL) $${libsrcdir}/configure \
31876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31877 --target=${target_alias} $${srcdiroption} \
31878 --with-build-libsubdir=$(HOST_SUBDIR) \
31879 $(STAGE2_CONFIGURE_FLAGS)
31880 @endif target-libsanitizer-bootstrap
31882 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
31883 maybe-configure-stage3-target-libsanitizer:
31884 @if target-libsanitizer-bootstrap
31885 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
31886 configure-stage3-target-libsanitizer:
31887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31889 @r=`${PWD_COMMAND}`; export r; \
31890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31891 TFLAGS="$(STAGE3_TFLAGS)"; \
31892 echo "Checking multilib configuration for libsanitizer..."; \
31893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31894 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31895 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31896 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31897 else \
31898 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31899 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31900 fi; \
31901 else \
31902 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31903 fi; \
31904 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31905 $(RAW_CXX_TARGET_EXPORTS) \
31907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31910 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
31911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31912 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31913 case $(srcdir) in \
31914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31915 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31917 esac; \
31918 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31919 libsrcdir="$$s/libsanitizer"; \
31920 $(SHELL) $${libsrcdir}/configure \
31921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31922 --target=${target_alias} $${srcdiroption} \
31923 --with-build-libsubdir=$(HOST_SUBDIR) \
31924 $(STAGE3_CONFIGURE_FLAGS)
31925 @endif target-libsanitizer-bootstrap
31927 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
31928 maybe-configure-stage4-target-libsanitizer:
31929 @if target-libsanitizer-bootstrap
31930 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
31931 configure-stage4-target-libsanitizer:
31932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31933 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31934 @r=`${PWD_COMMAND}`; export r; \
31935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31936 TFLAGS="$(STAGE4_TFLAGS)"; \
31937 echo "Checking multilib configuration for libsanitizer..."; \
31938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31939 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31940 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31941 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31942 else \
31943 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31944 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31945 fi; \
31946 else \
31947 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31948 fi; \
31949 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31950 $(RAW_CXX_TARGET_EXPORTS) \
31952 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31955 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
31956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31957 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31958 case $(srcdir) in \
31959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31960 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31962 esac; \
31963 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31964 libsrcdir="$$s/libsanitizer"; \
31965 $(SHELL) $${libsrcdir}/configure \
31966 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31967 --target=${target_alias} $${srcdiroption} \
31968 --with-build-libsubdir=$(HOST_SUBDIR) \
31969 $(STAGE4_CONFIGURE_FLAGS)
31970 @endif target-libsanitizer-bootstrap
31972 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
31973 maybe-configure-stageprofile-target-libsanitizer:
31974 @if target-libsanitizer-bootstrap
31975 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
31976 configure-stageprofile-target-libsanitizer:
31977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31978 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31979 @r=`${PWD_COMMAND}`; export r; \
31980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31982 echo "Checking multilib configuration for libsanitizer..."; \
31983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31984 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31985 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31986 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31987 else \
31988 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31989 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31990 fi; \
31991 else \
31992 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31993 fi; \
31994 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31995 $(RAW_CXX_TARGET_EXPORTS) \
31997 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32000 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
32001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32002 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32003 case $(srcdir) in \
32004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32005 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32007 esac; \
32008 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32009 libsrcdir="$$s/libsanitizer"; \
32010 $(SHELL) $${libsrcdir}/configure \
32011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32012 --target=${target_alias} $${srcdiroption} \
32013 --with-build-libsubdir=$(HOST_SUBDIR) \
32014 $(STAGEprofile_CONFIGURE_FLAGS)
32015 @endif target-libsanitizer-bootstrap
32017 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
32018 maybe-configure-stagefeedback-target-libsanitizer:
32019 @if target-libsanitizer-bootstrap
32020 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32021 configure-stagefeedback-target-libsanitizer:
32022 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32023 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32024 @r=`${PWD_COMMAND}`; export r; \
32025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32027 echo "Checking multilib configuration for libsanitizer..."; \
32028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32029 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32030 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32031 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32032 else \
32033 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32034 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32035 fi; \
32036 else \
32037 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32038 fi; \
32039 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32040 $(RAW_CXX_TARGET_EXPORTS) \
32042 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32045 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
32046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32047 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32048 case $(srcdir) in \
32049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32050 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32052 esac; \
32053 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32054 libsrcdir="$$s/libsanitizer"; \
32055 $(SHELL) $${libsrcdir}/configure \
32056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32057 --target=${target_alias} $${srcdiroption} \
32058 --with-build-libsubdir=$(HOST_SUBDIR) \
32059 $(STAGEfeedback_CONFIGURE_FLAGS)
32060 @endif target-libsanitizer-bootstrap
32066 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32067 maybe-all-target-libsanitizer:
32068 @if gcc-bootstrap
32069 all-target-libsanitizer: stage_current
32070 @endif gcc-bootstrap
32071 @if target-libsanitizer
32072 TARGET-target-libsanitizer=all
32073 maybe-all-target-libsanitizer: all-target-libsanitizer
32074 all-target-libsanitizer: configure-target-libsanitizer
32075 @r=`${PWD_COMMAND}`; export r; \
32076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32077 $(RAW_CXX_TARGET_EXPORTS) \
32078 (cd $(TARGET_SUBDIR)/libsanitizer && \
32079 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32080 $(TARGET-target-libsanitizer))
32081 @endif target-libsanitizer
32085 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
32086 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
32087 maybe-all-stage1-target-libsanitizer:
32088 maybe-clean-stage1-target-libsanitizer:
32089 @if target-libsanitizer-bootstrap
32090 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
32091 all-stage1: all-stage1-target-libsanitizer
32092 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
32093 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32094 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32095 @r=`${PWD_COMMAND}`; export r; \
32096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32097 TFLAGS="$(STAGE1_TFLAGS)"; \
32098 $(RAW_CXX_TARGET_EXPORTS) \
32099 cd $(TARGET_SUBDIR)/libsanitizer && \
32100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32101 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32102 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32103 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32107 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32109 TFLAGS="$(STAGE1_TFLAGS)" \
32110 $(TARGET-stage1-target-libsanitizer)
32112 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
32113 clean-stage1: clean-stage1-target-libsanitizer
32114 clean-stage1-target-libsanitizer:
32115 @if [ $(current_stage) = stage1 ]; then \
32116 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32117 else \
32118 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
32119 $(MAKE) stage1-start; \
32120 fi; \
32121 cd $(TARGET_SUBDIR)/libsanitizer && \
32122 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32123 clean
32124 @endif target-libsanitizer-bootstrap
32127 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
32128 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
32129 maybe-all-stage2-target-libsanitizer:
32130 maybe-clean-stage2-target-libsanitizer:
32131 @if target-libsanitizer-bootstrap
32132 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
32133 all-stage2: all-stage2-target-libsanitizer
32134 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
32135 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32136 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32137 @r=`${PWD_COMMAND}`; export r; \
32138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32139 TFLAGS="$(STAGE2_TFLAGS)"; \
32140 $(RAW_CXX_TARGET_EXPORTS) \
32142 cd $(TARGET_SUBDIR)/libsanitizer && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32151 TFLAGS="$(STAGE2_TFLAGS)" \
32152 $(TARGET-stage2-target-libsanitizer)
32154 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
32155 clean-stage2: clean-stage2-target-libsanitizer
32156 clean-stage2-target-libsanitizer:
32157 @if [ $(current_stage) = stage2 ]; then \
32158 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32159 else \
32160 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
32161 $(MAKE) stage2-start; \
32162 fi; \
32163 cd $(TARGET_SUBDIR)/libsanitizer && \
32164 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32165 @endif target-libsanitizer-bootstrap
32168 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
32169 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
32170 maybe-all-stage3-target-libsanitizer:
32171 maybe-clean-stage3-target-libsanitizer:
32172 @if target-libsanitizer-bootstrap
32173 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
32174 all-stage3: all-stage3-target-libsanitizer
32175 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
32176 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32177 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32178 @r=`${PWD_COMMAND}`; export r; \
32179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32180 TFLAGS="$(STAGE3_TFLAGS)"; \
32181 $(RAW_CXX_TARGET_EXPORTS) \
32183 cd $(TARGET_SUBDIR)/libsanitizer && \
32184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32185 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32187 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32191 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32192 TFLAGS="$(STAGE3_TFLAGS)" \
32193 $(TARGET-stage3-target-libsanitizer)
32195 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
32196 clean-stage3: clean-stage3-target-libsanitizer
32197 clean-stage3-target-libsanitizer:
32198 @if [ $(current_stage) = stage3 ]; then \
32199 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32200 else \
32201 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
32202 $(MAKE) stage3-start; \
32203 fi; \
32204 cd $(TARGET_SUBDIR)/libsanitizer && \
32205 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32206 @endif target-libsanitizer-bootstrap
32209 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
32210 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
32211 maybe-all-stage4-target-libsanitizer:
32212 maybe-clean-stage4-target-libsanitizer:
32213 @if target-libsanitizer-bootstrap
32214 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
32215 all-stage4: all-stage4-target-libsanitizer
32216 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
32217 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32218 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32219 @r=`${PWD_COMMAND}`; export r; \
32220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32221 TFLAGS="$(STAGE4_TFLAGS)"; \
32222 $(RAW_CXX_TARGET_EXPORTS) \
32224 cd $(TARGET_SUBDIR)/libsanitizer && \
32225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32226 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32232 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32233 TFLAGS="$(STAGE4_TFLAGS)" \
32234 $(TARGET-stage4-target-libsanitizer)
32236 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
32237 clean-stage4: clean-stage4-target-libsanitizer
32238 clean-stage4-target-libsanitizer:
32239 @if [ $(current_stage) = stage4 ]; then \
32240 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32241 else \
32242 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
32243 $(MAKE) stage4-start; \
32244 fi; \
32245 cd $(TARGET_SUBDIR)/libsanitizer && \
32246 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32247 @endif target-libsanitizer-bootstrap
32250 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
32251 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
32252 maybe-all-stageprofile-target-libsanitizer:
32253 maybe-clean-stageprofile-target-libsanitizer:
32254 @if target-libsanitizer-bootstrap
32255 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
32256 all-stageprofile: all-stageprofile-target-libsanitizer
32257 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
32258 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32259 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32260 @r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32262 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32263 $(RAW_CXX_TARGET_EXPORTS) \
32265 cd $(TARGET_SUBDIR)/libsanitizer && \
32266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32267 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32268 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32269 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32273 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32274 TFLAGS="$(STAGEprofile_TFLAGS)" \
32275 $(TARGET-stageprofile-target-libsanitizer)
32277 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
32278 clean-stageprofile: clean-stageprofile-target-libsanitizer
32279 clean-stageprofile-target-libsanitizer:
32280 @if [ $(current_stage) = stageprofile ]; then \
32281 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32282 else \
32283 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
32284 $(MAKE) stageprofile-start; \
32285 fi; \
32286 cd $(TARGET_SUBDIR)/libsanitizer && \
32287 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32288 @endif target-libsanitizer-bootstrap
32291 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
32292 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
32293 maybe-all-stagefeedback-target-libsanitizer:
32294 maybe-clean-stagefeedback-target-libsanitizer:
32295 @if target-libsanitizer-bootstrap
32296 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
32297 all-stagefeedback: all-stagefeedback-target-libsanitizer
32298 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
32299 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32301 @r=`${PWD_COMMAND}`; export r; \
32302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32304 $(RAW_CXX_TARGET_EXPORTS) \
32306 cd $(TARGET_SUBDIR)/libsanitizer && \
32307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32308 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32314 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32315 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32316 $(TARGET-stagefeedback-target-libsanitizer)
32318 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
32319 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
32320 clean-stagefeedback-target-libsanitizer:
32321 @if [ $(current_stage) = stagefeedback ]; then \
32322 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32323 else \
32324 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
32325 $(MAKE) stagefeedback-start; \
32326 fi; \
32327 cd $(TARGET_SUBDIR)/libsanitizer && \
32328 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32329 @endif target-libsanitizer-bootstrap
32336 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32337 maybe-check-target-libsanitizer:
32338 @if target-libsanitizer
32339 maybe-check-target-libsanitizer: check-target-libsanitizer
32341 check-target-libsanitizer:
32342 @: $(MAKE); $(unstage)
32343 @r=`${PWD_COMMAND}`; export r; \
32344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32345 $(RAW_CXX_TARGET_EXPORTS) \
32346 (cd $(TARGET_SUBDIR)/libsanitizer && \
32347 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32349 @endif target-libsanitizer
32351 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32352 maybe-install-target-libsanitizer:
32353 @if target-libsanitizer
32354 maybe-install-target-libsanitizer: install-target-libsanitizer
32356 install-target-libsanitizer: installdirs
32357 @: $(MAKE); $(unstage)
32358 @r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(RAW_CXX_TARGET_EXPORTS) \
32361 (cd $(TARGET_SUBDIR)/libsanitizer && \
32362 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32364 @endif target-libsanitizer
32366 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32367 maybe-install-strip-target-libsanitizer:
32368 @if target-libsanitizer
32369 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32371 install-strip-target-libsanitizer: installdirs
32372 @: $(MAKE); $(unstage)
32373 @r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(RAW_CXX_TARGET_EXPORTS) \
32376 (cd $(TARGET_SUBDIR)/libsanitizer && \
32377 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32379 @endif target-libsanitizer
32381 # Other targets (info, dvi, pdf, etc.)
32383 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32384 maybe-info-target-libsanitizer:
32385 @if target-libsanitizer
32386 maybe-info-target-libsanitizer: info-target-libsanitizer
32388 info-target-libsanitizer: \
32389 configure-target-libsanitizer
32390 @: $(MAKE); $(unstage)
32391 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32392 r=`${PWD_COMMAND}`; export r; \
32393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32394 $(RAW_CXX_TARGET_EXPORTS) \
32395 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32396 for flag in $(EXTRA_TARGET_FLAGS); do \
32397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32398 done; \
32399 (cd $(TARGET_SUBDIR)/libsanitizer && \
32400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32402 "RANLIB=$${RANLIB}" \
32403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32404 info) \
32405 || exit 1
32407 @endif target-libsanitizer
32409 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32410 maybe-dvi-target-libsanitizer:
32411 @if target-libsanitizer
32412 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32414 dvi-target-libsanitizer: \
32415 configure-target-libsanitizer
32416 @: $(MAKE); $(unstage)
32417 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32418 r=`${PWD_COMMAND}`; export r; \
32419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32420 $(RAW_CXX_TARGET_EXPORTS) \
32421 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32422 for flag in $(EXTRA_TARGET_FLAGS); do \
32423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32424 done; \
32425 (cd $(TARGET_SUBDIR)/libsanitizer && \
32426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32428 "RANLIB=$${RANLIB}" \
32429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32430 dvi) \
32431 || exit 1
32433 @endif target-libsanitizer
32435 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32436 maybe-pdf-target-libsanitizer:
32437 @if target-libsanitizer
32438 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32440 pdf-target-libsanitizer: \
32441 configure-target-libsanitizer
32442 @: $(MAKE); $(unstage)
32443 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32444 r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 $(RAW_CXX_TARGET_EXPORTS) \
32447 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32448 for flag in $(EXTRA_TARGET_FLAGS); do \
32449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32450 done; \
32451 (cd $(TARGET_SUBDIR)/libsanitizer && \
32452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32454 "RANLIB=$${RANLIB}" \
32455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32456 pdf) \
32457 || exit 1
32459 @endif target-libsanitizer
32461 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32462 maybe-html-target-libsanitizer:
32463 @if target-libsanitizer
32464 maybe-html-target-libsanitizer: html-target-libsanitizer
32466 html-target-libsanitizer: \
32467 configure-target-libsanitizer
32468 @: $(MAKE); $(unstage)
32469 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32470 r=`${PWD_COMMAND}`; export r; \
32471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32472 $(RAW_CXX_TARGET_EXPORTS) \
32473 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32474 for flag in $(EXTRA_TARGET_FLAGS); do \
32475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32476 done; \
32477 (cd $(TARGET_SUBDIR)/libsanitizer && \
32478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32480 "RANLIB=$${RANLIB}" \
32481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32482 html) \
32483 || exit 1
32485 @endif target-libsanitizer
32487 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32488 maybe-TAGS-target-libsanitizer:
32489 @if target-libsanitizer
32490 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32492 TAGS-target-libsanitizer: \
32493 configure-target-libsanitizer
32494 @: $(MAKE); $(unstage)
32495 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32496 r=`${PWD_COMMAND}`; export r; \
32497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32498 $(RAW_CXX_TARGET_EXPORTS) \
32499 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32500 for flag in $(EXTRA_TARGET_FLAGS); do \
32501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32502 done; \
32503 (cd $(TARGET_SUBDIR)/libsanitizer && \
32504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32506 "RANLIB=$${RANLIB}" \
32507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32508 TAGS) \
32509 || exit 1
32511 @endif target-libsanitizer
32513 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32514 maybe-install-info-target-libsanitizer:
32515 @if target-libsanitizer
32516 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32518 install-info-target-libsanitizer: \
32519 configure-target-libsanitizer \
32520 info-target-libsanitizer
32521 @: $(MAKE); $(unstage)
32522 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32523 r=`${PWD_COMMAND}`; export r; \
32524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32525 $(RAW_CXX_TARGET_EXPORTS) \
32526 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32527 for flag in $(EXTRA_TARGET_FLAGS); do \
32528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32529 done; \
32530 (cd $(TARGET_SUBDIR)/libsanitizer && \
32531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32533 "RANLIB=$${RANLIB}" \
32534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32535 install-info) \
32536 || exit 1
32538 @endif target-libsanitizer
32540 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32541 maybe-install-pdf-target-libsanitizer:
32542 @if target-libsanitizer
32543 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
32545 install-pdf-target-libsanitizer: \
32546 configure-target-libsanitizer \
32547 pdf-target-libsanitizer
32548 @: $(MAKE); $(unstage)
32549 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32550 r=`${PWD_COMMAND}`; export r; \
32551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32552 $(RAW_CXX_TARGET_EXPORTS) \
32553 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32554 for flag in $(EXTRA_TARGET_FLAGS); do \
32555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32556 done; \
32557 (cd $(TARGET_SUBDIR)/libsanitizer && \
32558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32560 "RANLIB=$${RANLIB}" \
32561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32562 install-pdf) \
32563 || exit 1
32565 @endif target-libsanitizer
32567 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
32568 maybe-install-html-target-libsanitizer:
32569 @if target-libsanitizer
32570 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
32572 install-html-target-libsanitizer: \
32573 configure-target-libsanitizer \
32574 html-target-libsanitizer
32575 @: $(MAKE); $(unstage)
32576 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32577 r=`${PWD_COMMAND}`; export r; \
32578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32579 $(RAW_CXX_TARGET_EXPORTS) \
32580 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
32581 for flag in $(EXTRA_TARGET_FLAGS); do \
32582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32583 done; \
32584 (cd $(TARGET_SUBDIR)/libsanitizer && \
32585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32587 "RANLIB=$${RANLIB}" \
32588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32589 install-html) \
32590 || exit 1
32592 @endif target-libsanitizer
32594 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
32595 maybe-installcheck-target-libsanitizer:
32596 @if target-libsanitizer
32597 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
32599 installcheck-target-libsanitizer: \
32600 configure-target-libsanitizer
32601 @: $(MAKE); $(unstage)
32602 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32603 r=`${PWD_COMMAND}`; export r; \
32604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32605 $(RAW_CXX_TARGET_EXPORTS) \
32606 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
32607 for flag in $(EXTRA_TARGET_FLAGS); do \
32608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32609 done; \
32610 (cd $(TARGET_SUBDIR)/libsanitizer && \
32611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32613 "RANLIB=$${RANLIB}" \
32614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32615 installcheck) \
32616 || exit 1
32618 @endif target-libsanitizer
32620 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
32621 maybe-mostlyclean-target-libsanitizer:
32622 @if target-libsanitizer
32623 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
32625 mostlyclean-target-libsanitizer:
32626 @: $(MAKE); $(unstage)
32627 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32628 r=`${PWD_COMMAND}`; export r; \
32629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32630 $(RAW_CXX_TARGET_EXPORTS) \
32631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32632 for flag in $(EXTRA_TARGET_FLAGS); do \
32633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32634 done; \
32635 (cd $(TARGET_SUBDIR)/libsanitizer && \
32636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32638 "RANLIB=$${RANLIB}" \
32639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32640 mostlyclean) \
32641 || exit 1
32643 @endif target-libsanitizer
32645 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
32646 maybe-clean-target-libsanitizer:
32647 @if target-libsanitizer
32648 maybe-clean-target-libsanitizer: clean-target-libsanitizer
32650 clean-target-libsanitizer:
32651 @: $(MAKE); $(unstage)
32652 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32653 r=`${PWD_COMMAND}`; export r; \
32654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32655 $(RAW_CXX_TARGET_EXPORTS) \
32656 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32657 for flag in $(EXTRA_TARGET_FLAGS); do \
32658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32659 done; \
32660 (cd $(TARGET_SUBDIR)/libsanitizer && \
32661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32663 "RANLIB=$${RANLIB}" \
32664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32665 clean) \
32666 || exit 1
32668 @endif target-libsanitizer
32670 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
32671 maybe-distclean-target-libsanitizer:
32672 @if target-libsanitizer
32673 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
32675 distclean-target-libsanitizer:
32676 @: $(MAKE); $(unstage)
32677 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32678 r=`${PWD_COMMAND}`; export r; \
32679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32680 $(RAW_CXX_TARGET_EXPORTS) \
32681 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32682 for flag in $(EXTRA_TARGET_FLAGS); do \
32683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32684 done; \
32685 (cd $(TARGET_SUBDIR)/libsanitizer && \
32686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32688 "RANLIB=$${RANLIB}" \
32689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32690 distclean) \
32691 || exit 1
32693 @endif target-libsanitizer
32695 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
32696 maybe-maintainer-clean-target-libsanitizer:
32697 @if target-libsanitizer
32698 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
32700 maintainer-clean-target-libsanitizer:
32701 @: $(MAKE); $(unstage)
32702 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32703 r=`${PWD_COMMAND}`; export r; \
32704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32705 $(RAW_CXX_TARGET_EXPORTS) \
32706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32707 for flag in $(EXTRA_TARGET_FLAGS); do \
32708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32709 done; \
32710 (cd $(TARGET_SUBDIR)/libsanitizer && \
32711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32713 "RANLIB=$${RANLIB}" \
32714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32715 maintainer-clean) \
32716 || exit 1
32718 @endif target-libsanitizer
32724 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
32725 maybe-configure-target-libvtv:
32726 @if gcc-bootstrap
32727 configure-target-libvtv: stage_current
32728 @endif gcc-bootstrap
32729 @if target-libvtv
32730 maybe-configure-target-libvtv: configure-target-libvtv
32731 configure-target-libvtv:
32732 @r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 echo "Checking multilib configuration for libvtv..."; \
32735 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32736 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32737 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32738 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32739 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32740 else \
32741 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32742 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32743 fi; \
32744 else \
32745 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32746 fi; \
32747 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32748 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32749 $(RAW_CXX_TARGET_EXPORTS) \
32750 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
32751 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
32752 case $(srcdir) in \
32753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32754 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32756 esac; \
32757 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32758 libsrcdir="$$s/libvtv"; \
32759 rm -f no-such-file || : ; \
32760 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32761 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32762 --target=${target_alias} $${srcdiroption} \
32763 || exit 1
32764 @endif target-libvtv
32768 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
32769 maybe-configure-stage1-target-libvtv:
32770 @if target-libvtv-bootstrap
32771 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
32772 configure-stage1-target-libvtv:
32773 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32774 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32775 @r=`${PWD_COMMAND}`; export r; \
32776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32777 TFLAGS="$(STAGE1_TFLAGS)"; \
32778 echo "Checking multilib configuration for libvtv..."; \
32779 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32780 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32781 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32782 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32783 else \
32784 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32785 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32786 fi; \
32787 else \
32788 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32789 fi; \
32790 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32791 $(RAW_CXX_TARGET_EXPORTS) \
32792 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32793 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32794 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32795 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
32796 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32797 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32798 case $(srcdir) in \
32799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32800 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32802 esac; \
32803 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32804 libsrcdir="$$s/libvtv"; \
32805 $(SHELL) $${libsrcdir}/configure \
32806 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32807 --target=${target_alias} $${srcdiroption} \
32808 $(STAGE1_CONFIGURE_FLAGS)
32809 @endif target-libvtv-bootstrap
32811 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
32812 maybe-configure-stage2-target-libvtv:
32813 @if target-libvtv-bootstrap
32814 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
32815 configure-stage2-target-libvtv:
32816 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32817 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32818 @r=`${PWD_COMMAND}`; export r; \
32819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32820 TFLAGS="$(STAGE2_TFLAGS)"; \
32821 echo "Checking multilib configuration for libvtv..."; \
32822 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32823 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32824 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32825 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32826 else \
32827 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32828 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32829 fi; \
32830 else \
32831 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32832 fi; \
32833 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32834 $(RAW_CXX_TARGET_EXPORTS) \
32836 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32837 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32838 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32839 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
32840 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32841 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32842 case $(srcdir) in \
32843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32844 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32846 esac; \
32847 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32848 libsrcdir="$$s/libvtv"; \
32849 $(SHELL) $${libsrcdir}/configure \
32850 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32851 --target=${target_alias} $${srcdiroption} \
32852 --with-build-libsubdir=$(HOST_SUBDIR) \
32853 $(STAGE2_CONFIGURE_FLAGS)
32854 @endif target-libvtv-bootstrap
32856 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
32857 maybe-configure-stage3-target-libvtv:
32858 @if target-libvtv-bootstrap
32859 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
32860 configure-stage3-target-libvtv:
32861 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32862 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32863 @r=`${PWD_COMMAND}`; export r; \
32864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32865 TFLAGS="$(STAGE3_TFLAGS)"; \
32866 echo "Checking multilib configuration for libvtv..."; \
32867 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32868 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32869 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32870 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32871 else \
32872 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32873 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32874 fi; \
32875 else \
32876 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32877 fi; \
32878 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32879 $(RAW_CXX_TARGET_EXPORTS) \
32881 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32882 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32883 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32884 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
32885 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32886 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32887 case $(srcdir) in \
32888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32889 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32891 esac; \
32892 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32893 libsrcdir="$$s/libvtv"; \
32894 $(SHELL) $${libsrcdir}/configure \
32895 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32896 --target=${target_alias} $${srcdiroption} \
32897 --with-build-libsubdir=$(HOST_SUBDIR) \
32898 $(STAGE3_CONFIGURE_FLAGS)
32899 @endif target-libvtv-bootstrap
32901 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
32902 maybe-configure-stage4-target-libvtv:
32903 @if target-libvtv-bootstrap
32904 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
32905 configure-stage4-target-libvtv:
32906 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32907 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32908 @r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 TFLAGS="$(STAGE4_TFLAGS)"; \
32911 echo "Checking multilib configuration for libvtv..."; \
32912 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32913 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32914 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32915 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32916 else \
32917 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32918 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32919 fi; \
32920 else \
32921 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32922 fi; \
32923 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32924 $(RAW_CXX_TARGET_EXPORTS) \
32926 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32927 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32928 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32929 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
32930 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32931 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32932 case $(srcdir) in \
32933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32934 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32936 esac; \
32937 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32938 libsrcdir="$$s/libvtv"; \
32939 $(SHELL) $${libsrcdir}/configure \
32940 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32941 --target=${target_alias} $${srcdiroption} \
32942 --with-build-libsubdir=$(HOST_SUBDIR) \
32943 $(STAGE4_CONFIGURE_FLAGS)
32944 @endif target-libvtv-bootstrap
32946 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
32947 maybe-configure-stageprofile-target-libvtv:
32948 @if target-libvtv-bootstrap
32949 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
32950 configure-stageprofile-target-libvtv:
32951 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32952 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32953 @r=`${PWD_COMMAND}`; export r; \
32954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32955 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32956 echo "Checking multilib configuration for libvtv..."; \
32957 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32958 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32959 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32960 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32961 else \
32962 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32963 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32964 fi; \
32965 else \
32966 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32967 fi; \
32968 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32969 $(RAW_CXX_TARGET_EXPORTS) \
32971 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32972 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32973 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32974 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
32975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32976 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32977 case $(srcdir) in \
32978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32979 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32981 esac; \
32982 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32983 libsrcdir="$$s/libvtv"; \
32984 $(SHELL) $${libsrcdir}/configure \
32985 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32986 --target=${target_alias} $${srcdiroption} \
32987 --with-build-libsubdir=$(HOST_SUBDIR) \
32988 $(STAGEprofile_CONFIGURE_FLAGS)
32989 @endif target-libvtv-bootstrap
32991 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
32992 maybe-configure-stagefeedback-target-libvtv:
32993 @if target-libvtv-bootstrap
32994 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
32995 configure-stagefeedback-target-libvtv:
32996 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32997 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32998 @r=`${PWD_COMMAND}`; export r; \
32999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33000 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33001 echo "Checking multilib configuration for libvtv..."; \
33002 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33003 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33004 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33005 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33006 else \
33007 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33008 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33009 fi; \
33010 else \
33011 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33012 fi; \
33013 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33014 $(RAW_CXX_TARGET_EXPORTS) \
33016 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33017 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33018 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33019 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
33020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33021 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33022 case $(srcdir) in \
33023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33024 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33026 esac; \
33027 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33028 libsrcdir="$$s/libvtv"; \
33029 $(SHELL) $${libsrcdir}/configure \
33030 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33031 --target=${target_alias} $${srcdiroption} \
33032 --with-build-libsubdir=$(HOST_SUBDIR) \
33033 $(STAGEfeedback_CONFIGURE_FLAGS)
33034 @endif target-libvtv-bootstrap
33040 .PHONY: all-target-libvtv maybe-all-target-libvtv
33041 maybe-all-target-libvtv:
33042 @if gcc-bootstrap
33043 all-target-libvtv: stage_current
33044 @endif gcc-bootstrap
33045 @if target-libvtv
33046 TARGET-target-libvtv=all
33047 maybe-all-target-libvtv: all-target-libvtv
33048 all-target-libvtv: configure-target-libvtv
33049 @r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 $(RAW_CXX_TARGET_EXPORTS) \
33052 (cd $(TARGET_SUBDIR)/libvtv && \
33053 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33054 $(TARGET-target-libvtv))
33055 @endif target-libvtv
33059 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
33060 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
33061 maybe-all-stage1-target-libvtv:
33062 maybe-clean-stage1-target-libvtv:
33063 @if target-libvtv-bootstrap
33064 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
33065 all-stage1: all-stage1-target-libvtv
33066 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
33067 all-stage1-target-libvtv: configure-stage1-target-libvtv
33068 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33069 @r=`${PWD_COMMAND}`; export r; \
33070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33071 TFLAGS="$(STAGE1_TFLAGS)"; \
33072 $(RAW_CXX_TARGET_EXPORTS) \
33073 cd $(TARGET_SUBDIR)/libvtv && \
33074 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33075 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33076 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33077 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33081 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33083 TFLAGS="$(STAGE1_TFLAGS)" \
33084 $(TARGET-stage1-target-libvtv)
33086 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
33087 clean-stage1: clean-stage1-target-libvtv
33088 clean-stage1-target-libvtv:
33089 @if [ $(current_stage) = stage1 ]; then \
33090 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33091 else \
33092 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
33093 $(MAKE) stage1-start; \
33094 fi; \
33095 cd $(TARGET_SUBDIR)/libvtv && \
33096 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33097 clean
33098 @endif target-libvtv-bootstrap
33101 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
33102 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
33103 maybe-all-stage2-target-libvtv:
33104 maybe-clean-stage2-target-libvtv:
33105 @if target-libvtv-bootstrap
33106 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
33107 all-stage2: all-stage2-target-libvtv
33108 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
33109 all-stage2-target-libvtv: configure-stage2-target-libvtv
33110 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33111 @r=`${PWD_COMMAND}`; export r; \
33112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33113 TFLAGS="$(STAGE2_TFLAGS)"; \
33114 $(RAW_CXX_TARGET_EXPORTS) \
33116 cd $(TARGET_SUBDIR)/libvtv && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33118 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33119 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33120 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33121 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33122 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33123 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33124 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33125 TFLAGS="$(STAGE2_TFLAGS)" \
33126 $(TARGET-stage2-target-libvtv)
33128 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
33129 clean-stage2: clean-stage2-target-libvtv
33130 clean-stage2-target-libvtv:
33131 @if [ $(current_stage) = stage2 ]; then \
33132 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33133 else \
33134 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
33135 $(MAKE) stage2-start; \
33136 fi; \
33137 cd $(TARGET_SUBDIR)/libvtv && \
33138 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33139 @endif target-libvtv-bootstrap
33142 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
33143 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
33144 maybe-all-stage3-target-libvtv:
33145 maybe-clean-stage3-target-libvtv:
33146 @if target-libvtv-bootstrap
33147 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
33148 all-stage3: all-stage3-target-libvtv
33149 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
33150 all-stage3-target-libvtv: configure-stage3-target-libvtv
33151 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33152 @r=`${PWD_COMMAND}`; export r; \
33153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33154 TFLAGS="$(STAGE3_TFLAGS)"; \
33155 $(RAW_CXX_TARGET_EXPORTS) \
33157 cd $(TARGET_SUBDIR)/libvtv && \
33158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33159 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33160 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33161 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33165 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33166 TFLAGS="$(STAGE3_TFLAGS)" \
33167 $(TARGET-stage3-target-libvtv)
33169 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
33170 clean-stage3: clean-stage3-target-libvtv
33171 clean-stage3-target-libvtv:
33172 @if [ $(current_stage) = stage3 ]; then \
33173 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33174 else \
33175 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
33176 $(MAKE) stage3-start; \
33177 fi; \
33178 cd $(TARGET_SUBDIR)/libvtv && \
33179 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33180 @endif target-libvtv-bootstrap
33183 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
33184 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
33185 maybe-all-stage4-target-libvtv:
33186 maybe-clean-stage4-target-libvtv:
33187 @if target-libvtv-bootstrap
33188 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
33189 all-stage4: all-stage4-target-libvtv
33190 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
33191 all-stage4-target-libvtv: configure-stage4-target-libvtv
33192 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33193 @r=`${PWD_COMMAND}`; export r; \
33194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33195 TFLAGS="$(STAGE4_TFLAGS)"; \
33196 $(RAW_CXX_TARGET_EXPORTS) \
33198 cd $(TARGET_SUBDIR)/libvtv && \
33199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33200 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33201 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33202 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33206 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33207 TFLAGS="$(STAGE4_TFLAGS)" \
33208 $(TARGET-stage4-target-libvtv)
33210 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
33211 clean-stage4: clean-stage4-target-libvtv
33212 clean-stage4-target-libvtv:
33213 @if [ $(current_stage) = stage4 ]; then \
33214 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33215 else \
33216 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
33217 $(MAKE) stage4-start; \
33218 fi; \
33219 cd $(TARGET_SUBDIR)/libvtv && \
33220 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33221 @endif target-libvtv-bootstrap
33224 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
33225 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
33226 maybe-all-stageprofile-target-libvtv:
33227 maybe-clean-stageprofile-target-libvtv:
33228 @if target-libvtv-bootstrap
33229 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
33230 all-stageprofile: all-stageprofile-target-libvtv
33231 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
33232 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
33233 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33234 @r=`${PWD_COMMAND}`; export r; \
33235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33236 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33237 $(RAW_CXX_TARGET_EXPORTS) \
33239 cd $(TARGET_SUBDIR)/libvtv && \
33240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33241 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33242 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33243 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33247 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33248 TFLAGS="$(STAGEprofile_TFLAGS)" \
33249 $(TARGET-stageprofile-target-libvtv)
33251 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
33252 clean-stageprofile: clean-stageprofile-target-libvtv
33253 clean-stageprofile-target-libvtv:
33254 @if [ $(current_stage) = stageprofile ]; then \
33255 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33256 else \
33257 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
33258 $(MAKE) stageprofile-start; \
33259 fi; \
33260 cd $(TARGET_SUBDIR)/libvtv && \
33261 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33262 @endif target-libvtv-bootstrap
33265 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
33266 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
33267 maybe-all-stagefeedback-target-libvtv:
33268 maybe-clean-stagefeedback-target-libvtv:
33269 @if target-libvtv-bootstrap
33270 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
33271 all-stagefeedback: all-stagefeedback-target-libvtv
33272 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
33273 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
33274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33275 @r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33278 $(RAW_CXX_TARGET_EXPORTS) \
33280 cd $(TARGET_SUBDIR)/libvtv && \
33281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33282 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33283 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33284 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33288 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33289 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33290 $(TARGET-stagefeedback-target-libvtv)
33292 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
33293 clean-stagefeedback: clean-stagefeedback-target-libvtv
33294 clean-stagefeedback-target-libvtv:
33295 @if [ $(current_stage) = stagefeedback ]; then \
33296 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33297 else \
33298 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
33299 $(MAKE) stagefeedback-start; \
33300 fi; \
33301 cd $(TARGET_SUBDIR)/libvtv && \
33302 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33303 @endif target-libvtv-bootstrap
33310 .PHONY: check-target-libvtv maybe-check-target-libvtv
33311 maybe-check-target-libvtv:
33312 @if target-libvtv
33313 maybe-check-target-libvtv: check-target-libvtv
33315 check-target-libvtv:
33316 @: $(MAKE); $(unstage)
33317 @r=`${PWD_COMMAND}`; export r; \
33318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33319 $(RAW_CXX_TARGET_EXPORTS) \
33320 (cd $(TARGET_SUBDIR)/libvtv && \
33321 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33323 @endif target-libvtv
33325 .PHONY: install-target-libvtv maybe-install-target-libvtv
33326 maybe-install-target-libvtv:
33327 @if target-libvtv
33328 maybe-install-target-libvtv: install-target-libvtv
33330 install-target-libvtv: installdirs
33331 @: $(MAKE); $(unstage)
33332 @r=`${PWD_COMMAND}`; export r; \
33333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33334 $(RAW_CXX_TARGET_EXPORTS) \
33335 (cd $(TARGET_SUBDIR)/libvtv && \
33336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33338 @endif target-libvtv
33340 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
33341 maybe-install-strip-target-libvtv:
33342 @if target-libvtv
33343 maybe-install-strip-target-libvtv: install-strip-target-libvtv
33345 install-strip-target-libvtv: installdirs
33346 @: $(MAKE); $(unstage)
33347 @r=`${PWD_COMMAND}`; export r; \
33348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33349 $(RAW_CXX_TARGET_EXPORTS) \
33350 (cd $(TARGET_SUBDIR)/libvtv && \
33351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33353 @endif target-libvtv
33355 # Other targets (info, dvi, pdf, etc.)
33357 .PHONY: maybe-info-target-libvtv info-target-libvtv
33358 maybe-info-target-libvtv:
33359 @if target-libvtv
33360 maybe-info-target-libvtv: info-target-libvtv
33362 info-target-libvtv: \
33363 configure-target-libvtv
33364 @: $(MAKE); $(unstage)
33365 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33366 r=`${PWD_COMMAND}`; export r; \
33367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33368 $(RAW_CXX_TARGET_EXPORTS) \
33369 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
33370 for flag in $(EXTRA_TARGET_FLAGS); do \
33371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33372 done; \
33373 (cd $(TARGET_SUBDIR)/libvtv && \
33374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33376 "RANLIB=$${RANLIB}" \
33377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33378 info) \
33379 || exit 1
33381 @endif target-libvtv
33383 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
33384 maybe-dvi-target-libvtv:
33385 @if target-libvtv
33386 maybe-dvi-target-libvtv: dvi-target-libvtv
33388 dvi-target-libvtv: \
33389 configure-target-libvtv
33390 @: $(MAKE); $(unstage)
33391 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33392 r=`${PWD_COMMAND}`; export r; \
33393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33394 $(RAW_CXX_TARGET_EXPORTS) \
33395 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
33396 for flag in $(EXTRA_TARGET_FLAGS); do \
33397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33398 done; \
33399 (cd $(TARGET_SUBDIR)/libvtv && \
33400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33402 "RANLIB=$${RANLIB}" \
33403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33404 dvi) \
33405 || exit 1
33407 @endif target-libvtv
33409 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
33410 maybe-pdf-target-libvtv:
33411 @if target-libvtv
33412 maybe-pdf-target-libvtv: pdf-target-libvtv
33414 pdf-target-libvtv: \
33415 configure-target-libvtv
33416 @: $(MAKE); $(unstage)
33417 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33418 r=`${PWD_COMMAND}`; export r; \
33419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33420 $(RAW_CXX_TARGET_EXPORTS) \
33421 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
33422 for flag in $(EXTRA_TARGET_FLAGS); do \
33423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33424 done; \
33425 (cd $(TARGET_SUBDIR)/libvtv && \
33426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33428 "RANLIB=$${RANLIB}" \
33429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33430 pdf) \
33431 || exit 1
33433 @endif target-libvtv
33435 .PHONY: maybe-html-target-libvtv html-target-libvtv
33436 maybe-html-target-libvtv:
33437 @if target-libvtv
33438 maybe-html-target-libvtv: html-target-libvtv
33440 html-target-libvtv: \
33441 configure-target-libvtv
33442 @: $(MAKE); $(unstage)
33443 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33444 r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(RAW_CXX_TARGET_EXPORTS) \
33447 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
33448 for flag in $(EXTRA_TARGET_FLAGS); do \
33449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33450 done; \
33451 (cd $(TARGET_SUBDIR)/libvtv && \
33452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33454 "RANLIB=$${RANLIB}" \
33455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33456 html) \
33457 || exit 1
33459 @endif target-libvtv
33461 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
33462 maybe-TAGS-target-libvtv:
33463 @if target-libvtv
33464 maybe-TAGS-target-libvtv: TAGS-target-libvtv
33466 TAGS-target-libvtv: \
33467 configure-target-libvtv
33468 @: $(MAKE); $(unstage)
33469 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33470 r=`${PWD_COMMAND}`; export r; \
33471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33472 $(RAW_CXX_TARGET_EXPORTS) \
33473 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
33474 for flag in $(EXTRA_TARGET_FLAGS); do \
33475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33476 done; \
33477 (cd $(TARGET_SUBDIR)/libvtv && \
33478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33480 "RANLIB=$${RANLIB}" \
33481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33482 TAGS) \
33483 || exit 1
33485 @endif target-libvtv
33487 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
33488 maybe-install-info-target-libvtv:
33489 @if target-libvtv
33490 maybe-install-info-target-libvtv: install-info-target-libvtv
33492 install-info-target-libvtv: \
33493 configure-target-libvtv \
33494 info-target-libvtv
33495 @: $(MAKE); $(unstage)
33496 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33497 r=`${PWD_COMMAND}`; export r; \
33498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33499 $(RAW_CXX_TARGET_EXPORTS) \
33500 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
33501 for flag in $(EXTRA_TARGET_FLAGS); do \
33502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33503 done; \
33504 (cd $(TARGET_SUBDIR)/libvtv && \
33505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33507 "RANLIB=$${RANLIB}" \
33508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33509 install-info) \
33510 || exit 1
33512 @endif target-libvtv
33514 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
33515 maybe-install-pdf-target-libvtv:
33516 @if target-libvtv
33517 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
33519 install-pdf-target-libvtv: \
33520 configure-target-libvtv \
33521 pdf-target-libvtv
33522 @: $(MAKE); $(unstage)
33523 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33524 r=`${PWD_COMMAND}`; export r; \
33525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33526 $(RAW_CXX_TARGET_EXPORTS) \
33527 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
33528 for flag in $(EXTRA_TARGET_FLAGS); do \
33529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33530 done; \
33531 (cd $(TARGET_SUBDIR)/libvtv && \
33532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33534 "RANLIB=$${RANLIB}" \
33535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33536 install-pdf) \
33537 || exit 1
33539 @endif target-libvtv
33541 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
33542 maybe-install-html-target-libvtv:
33543 @if target-libvtv
33544 maybe-install-html-target-libvtv: install-html-target-libvtv
33546 install-html-target-libvtv: \
33547 configure-target-libvtv \
33548 html-target-libvtv
33549 @: $(MAKE); $(unstage)
33550 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33551 r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(RAW_CXX_TARGET_EXPORTS) \
33554 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
33555 for flag in $(EXTRA_TARGET_FLAGS); do \
33556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33557 done; \
33558 (cd $(TARGET_SUBDIR)/libvtv && \
33559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33561 "RANLIB=$${RANLIB}" \
33562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33563 install-html) \
33564 || exit 1
33566 @endif target-libvtv
33568 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
33569 maybe-installcheck-target-libvtv:
33570 @if target-libvtv
33571 maybe-installcheck-target-libvtv: installcheck-target-libvtv
33573 installcheck-target-libvtv: \
33574 configure-target-libvtv
33575 @: $(MAKE); $(unstage)
33576 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33577 r=`${PWD_COMMAND}`; export r; \
33578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33579 $(RAW_CXX_TARGET_EXPORTS) \
33580 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
33581 for flag in $(EXTRA_TARGET_FLAGS); do \
33582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33583 done; \
33584 (cd $(TARGET_SUBDIR)/libvtv && \
33585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33587 "RANLIB=$${RANLIB}" \
33588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33589 installcheck) \
33590 || exit 1
33592 @endif target-libvtv
33594 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
33595 maybe-mostlyclean-target-libvtv:
33596 @if target-libvtv
33597 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
33599 mostlyclean-target-libvtv:
33600 @: $(MAKE); $(unstage)
33601 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33602 r=`${PWD_COMMAND}`; export r; \
33603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33604 $(RAW_CXX_TARGET_EXPORTS) \
33605 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
33606 for flag in $(EXTRA_TARGET_FLAGS); do \
33607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33608 done; \
33609 (cd $(TARGET_SUBDIR)/libvtv && \
33610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33612 "RANLIB=$${RANLIB}" \
33613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33614 mostlyclean) \
33615 || exit 1
33617 @endif target-libvtv
33619 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
33620 maybe-clean-target-libvtv:
33621 @if target-libvtv
33622 maybe-clean-target-libvtv: clean-target-libvtv
33624 clean-target-libvtv:
33625 @: $(MAKE); $(unstage)
33626 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33627 r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(RAW_CXX_TARGET_EXPORTS) \
33630 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
33631 for flag in $(EXTRA_TARGET_FLAGS); do \
33632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33633 done; \
33634 (cd $(TARGET_SUBDIR)/libvtv && \
33635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33637 "RANLIB=$${RANLIB}" \
33638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33639 clean) \
33640 || exit 1
33642 @endif target-libvtv
33644 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
33645 maybe-distclean-target-libvtv:
33646 @if target-libvtv
33647 maybe-distclean-target-libvtv: distclean-target-libvtv
33649 distclean-target-libvtv:
33650 @: $(MAKE); $(unstage)
33651 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33652 r=`${PWD_COMMAND}`; export r; \
33653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33654 $(RAW_CXX_TARGET_EXPORTS) \
33655 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
33656 for flag in $(EXTRA_TARGET_FLAGS); do \
33657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33658 done; \
33659 (cd $(TARGET_SUBDIR)/libvtv && \
33660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33662 "RANLIB=$${RANLIB}" \
33663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33664 distclean) \
33665 || exit 1
33667 @endif target-libvtv
33669 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
33670 maybe-maintainer-clean-target-libvtv:
33671 @if target-libvtv
33672 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
33674 maintainer-clean-target-libvtv:
33675 @: $(MAKE); $(unstage)
33676 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33677 r=`${PWD_COMMAND}`; export r; \
33678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33679 $(RAW_CXX_TARGET_EXPORTS) \
33680 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
33681 for flag in $(EXTRA_TARGET_FLAGS); do \
33682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33683 done; \
33684 (cd $(TARGET_SUBDIR)/libvtv && \
33685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33687 "RANLIB=$${RANLIB}" \
33688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33689 maintainer-clean) \
33690 || exit 1
33692 @endif target-libvtv
33698 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
33699 maybe-configure-target-libcilkrts:
33700 @if gcc-bootstrap
33701 configure-target-libcilkrts: stage_current
33702 @endif gcc-bootstrap
33703 @if target-libcilkrts
33704 maybe-configure-target-libcilkrts: configure-target-libcilkrts
33705 configure-target-libcilkrts:
33706 @: $(MAKE); $(unstage)
33707 @r=`${PWD_COMMAND}`; export r; \
33708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33709 echo "Checking multilib configuration for libcilkrts..."; \
33710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
33711 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
33712 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
33713 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
33714 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
33715 else \
33716 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
33717 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
33718 fi; \
33719 else \
33720 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
33721 fi; \
33722 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
33723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
33724 $(NORMAL_TARGET_EXPORTS) \
33725 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
33726 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
33727 case $(srcdir) in \
33728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33729 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
33730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33731 esac; \
33732 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
33733 libsrcdir="$$s/libcilkrts"; \
33734 rm -f no-such-file || : ; \
33735 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33736 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33737 --target=${target_alias} $${srcdiroption} \
33738 || exit 1
33739 @endif target-libcilkrts
33745 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
33746 maybe-all-target-libcilkrts:
33747 @if gcc-bootstrap
33748 all-target-libcilkrts: stage_current
33749 @endif gcc-bootstrap
33750 @if target-libcilkrts
33751 TARGET-target-libcilkrts=all
33752 maybe-all-target-libcilkrts: all-target-libcilkrts
33753 all-target-libcilkrts: configure-target-libcilkrts
33754 @: $(MAKE); $(unstage)
33755 @r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 $(NORMAL_TARGET_EXPORTS) \
33758 (cd $(TARGET_SUBDIR)/libcilkrts && \
33759 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33760 $(TARGET-target-libcilkrts))
33761 @endif target-libcilkrts
33767 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
33768 maybe-check-target-libcilkrts:
33769 @if target-libcilkrts
33770 maybe-check-target-libcilkrts: check-target-libcilkrts
33772 check-target-libcilkrts:
33773 @: $(MAKE); $(unstage)
33774 @r=`${PWD_COMMAND}`; export r; \
33775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33776 $(NORMAL_TARGET_EXPORTS) \
33777 (cd $(TARGET_SUBDIR)/libcilkrts && \
33778 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33780 @endif target-libcilkrts
33782 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
33783 maybe-install-target-libcilkrts:
33784 @if target-libcilkrts
33785 maybe-install-target-libcilkrts: install-target-libcilkrts
33787 install-target-libcilkrts: installdirs
33788 @: $(MAKE); $(unstage)
33789 @r=`${PWD_COMMAND}`; export r; \
33790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33791 $(NORMAL_TARGET_EXPORTS) \
33792 (cd $(TARGET_SUBDIR)/libcilkrts && \
33793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33795 @endif target-libcilkrts
33797 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
33798 maybe-install-strip-target-libcilkrts:
33799 @if target-libcilkrts
33800 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
33802 install-strip-target-libcilkrts: installdirs
33803 @: $(MAKE); $(unstage)
33804 @r=`${PWD_COMMAND}`; export r; \
33805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33806 $(NORMAL_TARGET_EXPORTS) \
33807 (cd $(TARGET_SUBDIR)/libcilkrts && \
33808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33810 @endif target-libcilkrts
33812 # Other targets (info, dvi, pdf, etc.)
33814 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
33815 maybe-info-target-libcilkrts:
33816 @if target-libcilkrts
33817 maybe-info-target-libcilkrts: info-target-libcilkrts
33819 info-target-libcilkrts: \
33820 configure-target-libcilkrts
33821 @: $(MAKE); $(unstage)
33822 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33823 r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(NORMAL_TARGET_EXPORTS) \
33826 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
33827 for flag in $(EXTRA_TARGET_FLAGS); do \
33828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33829 done; \
33830 (cd $(TARGET_SUBDIR)/libcilkrts && \
33831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33833 "RANLIB=$${RANLIB}" \
33834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33835 info) \
33836 || exit 1
33838 @endif target-libcilkrts
33840 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
33841 maybe-dvi-target-libcilkrts:
33842 @if target-libcilkrts
33843 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
33845 dvi-target-libcilkrts: \
33846 configure-target-libcilkrts
33847 @: $(MAKE); $(unstage)
33848 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33849 r=`${PWD_COMMAND}`; export r; \
33850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33851 $(NORMAL_TARGET_EXPORTS) \
33852 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
33853 for flag in $(EXTRA_TARGET_FLAGS); do \
33854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33855 done; \
33856 (cd $(TARGET_SUBDIR)/libcilkrts && \
33857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33859 "RANLIB=$${RANLIB}" \
33860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33861 dvi) \
33862 || exit 1
33864 @endif target-libcilkrts
33866 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
33867 maybe-pdf-target-libcilkrts:
33868 @if target-libcilkrts
33869 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
33871 pdf-target-libcilkrts: \
33872 configure-target-libcilkrts
33873 @: $(MAKE); $(unstage)
33874 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33875 r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(NORMAL_TARGET_EXPORTS) \
33878 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
33879 for flag in $(EXTRA_TARGET_FLAGS); do \
33880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33881 done; \
33882 (cd $(TARGET_SUBDIR)/libcilkrts && \
33883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33885 "RANLIB=$${RANLIB}" \
33886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33887 pdf) \
33888 || exit 1
33890 @endif target-libcilkrts
33892 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
33893 maybe-html-target-libcilkrts:
33894 @if target-libcilkrts
33895 maybe-html-target-libcilkrts: html-target-libcilkrts
33897 html-target-libcilkrts: \
33898 configure-target-libcilkrts
33899 @: $(MAKE); $(unstage)
33900 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33901 r=`${PWD_COMMAND}`; export r; \
33902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33903 $(NORMAL_TARGET_EXPORTS) \
33904 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
33905 for flag in $(EXTRA_TARGET_FLAGS); do \
33906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33907 done; \
33908 (cd $(TARGET_SUBDIR)/libcilkrts && \
33909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33911 "RANLIB=$${RANLIB}" \
33912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33913 html) \
33914 || exit 1
33916 @endif target-libcilkrts
33918 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
33919 maybe-TAGS-target-libcilkrts:
33920 @if target-libcilkrts
33921 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
33923 TAGS-target-libcilkrts: \
33924 configure-target-libcilkrts
33925 @: $(MAKE); $(unstage)
33926 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33927 r=`${PWD_COMMAND}`; export r; \
33928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33929 $(NORMAL_TARGET_EXPORTS) \
33930 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
33931 for flag in $(EXTRA_TARGET_FLAGS); do \
33932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33933 done; \
33934 (cd $(TARGET_SUBDIR)/libcilkrts && \
33935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33937 "RANLIB=$${RANLIB}" \
33938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33939 TAGS) \
33940 || exit 1
33942 @endif target-libcilkrts
33944 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
33945 maybe-install-info-target-libcilkrts:
33946 @if target-libcilkrts
33947 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
33949 install-info-target-libcilkrts: \
33950 configure-target-libcilkrts \
33951 info-target-libcilkrts
33952 @: $(MAKE); $(unstage)
33953 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33954 r=`${PWD_COMMAND}`; export r; \
33955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33956 $(NORMAL_TARGET_EXPORTS) \
33957 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
33958 for flag in $(EXTRA_TARGET_FLAGS); do \
33959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33960 done; \
33961 (cd $(TARGET_SUBDIR)/libcilkrts && \
33962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33964 "RANLIB=$${RANLIB}" \
33965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33966 install-info) \
33967 || exit 1
33969 @endif target-libcilkrts
33971 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
33972 maybe-install-pdf-target-libcilkrts:
33973 @if target-libcilkrts
33974 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
33976 install-pdf-target-libcilkrts: \
33977 configure-target-libcilkrts \
33978 pdf-target-libcilkrts
33979 @: $(MAKE); $(unstage)
33980 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
33981 r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 $(NORMAL_TARGET_EXPORTS) \
33984 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
33985 for flag in $(EXTRA_TARGET_FLAGS); do \
33986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33987 done; \
33988 (cd $(TARGET_SUBDIR)/libcilkrts && \
33989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33991 "RANLIB=$${RANLIB}" \
33992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33993 install-pdf) \
33994 || exit 1
33996 @endif target-libcilkrts
33998 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
33999 maybe-install-html-target-libcilkrts:
34000 @if target-libcilkrts
34001 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
34003 install-html-target-libcilkrts: \
34004 configure-target-libcilkrts \
34005 html-target-libcilkrts
34006 @: $(MAKE); $(unstage)
34007 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34008 r=`${PWD_COMMAND}`; export r; \
34009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34010 $(NORMAL_TARGET_EXPORTS) \
34011 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
34012 for flag in $(EXTRA_TARGET_FLAGS); do \
34013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34014 done; \
34015 (cd $(TARGET_SUBDIR)/libcilkrts && \
34016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34018 "RANLIB=$${RANLIB}" \
34019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34020 install-html) \
34021 || exit 1
34023 @endif target-libcilkrts
34025 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
34026 maybe-installcheck-target-libcilkrts:
34027 @if target-libcilkrts
34028 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
34030 installcheck-target-libcilkrts: \
34031 configure-target-libcilkrts
34032 @: $(MAKE); $(unstage)
34033 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34034 r=`${PWD_COMMAND}`; export r; \
34035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34036 $(NORMAL_TARGET_EXPORTS) \
34037 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
34038 for flag in $(EXTRA_TARGET_FLAGS); do \
34039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34040 done; \
34041 (cd $(TARGET_SUBDIR)/libcilkrts && \
34042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34044 "RANLIB=$${RANLIB}" \
34045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34046 installcheck) \
34047 || exit 1
34049 @endif target-libcilkrts
34051 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
34052 maybe-mostlyclean-target-libcilkrts:
34053 @if target-libcilkrts
34054 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
34056 mostlyclean-target-libcilkrts:
34057 @: $(MAKE); $(unstage)
34058 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(NORMAL_TARGET_EXPORTS) \
34062 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
34063 for flag in $(EXTRA_TARGET_FLAGS); do \
34064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34065 done; \
34066 (cd $(TARGET_SUBDIR)/libcilkrts && \
34067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34069 "RANLIB=$${RANLIB}" \
34070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34071 mostlyclean) \
34072 || exit 1
34074 @endif target-libcilkrts
34076 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
34077 maybe-clean-target-libcilkrts:
34078 @if target-libcilkrts
34079 maybe-clean-target-libcilkrts: clean-target-libcilkrts
34081 clean-target-libcilkrts:
34082 @: $(MAKE); $(unstage)
34083 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34084 r=`${PWD_COMMAND}`; export r; \
34085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34086 $(NORMAL_TARGET_EXPORTS) \
34087 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
34088 for flag in $(EXTRA_TARGET_FLAGS); do \
34089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34090 done; \
34091 (cd $(TARGET_SUBDIR)/libcilkrts && \
34092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34094 "RANLIB=$${RANLIB}" \
34095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34096 clean) \
34097 || exit 1
34099 @endif target-libcilkrts
34101 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
34102 maybe-distclean-target-libcilkrts:
34103 @if target-libcilkrts
34104 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
34106 distclean-target-libcilkrts:
34107 @: $(MAKE); $(unstage)
34108 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34109 r=`${PWD_COMMAND}`; export r; \
34110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34111 $(NORMAL_TARGET_EXPORTS) \
34112 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
34113 for flag in $(EXTRA_TARGET_FLAGS); do \
34114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34115 done; \
34116 (cd $(TARGET_SUBDIR)/libcilkrts && \
34117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34119 "RANLIB=$${RANLIB}" \
34120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34121 distclean) \
34122 || exit 1
34124 @endif target-libcilkrts
34126 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
34127 maybe-maintainer-clean-target-libcilkrts:
34128 @if target-libcilkrts
34129 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
34131 maintainer-clean-target-libcilkrts:
34132 @: $(MAKE); $(unstage)
34133 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34134 r=`${PWD_COMMAND}`; export r; \
34135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34136 $(NORMAL_TARGET_EXPORTS) \
34137 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
34138 for flag in $(EXTRA_TARGET_FLAGS); do \
34139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34140 done; \
34141 (cd $(TARGET_SUBDIR)/libcilkrts && \
34142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34144 "RANLIB=$${RANLIB}" \
34145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34146 maintainer-clean) \
34147 || exit 1
34149 @endif target-libcilkrts
34155 .PHONY: configure-target-libssp maybe-configure-target-libssp
34156 maybe-configure-target-libssp:
34157 @if gcc-bootstrap
34158 configure-target-libssp: stage_current
34159 @endif gcc-bootstrap
34160 @if target-libssp
34161 maybe-configure-target-libssp: configure-target-libssp
34162 configure-target-libssp:
34163 @: $(MAKE); $(unstage)
34164 @r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 echo "Checking multilib configuration for libssp..."; \
34167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
34169 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
34170 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
34171 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
34172 else \
34173 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
34174 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34175 fi; \
34176 else \
34177 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
34178 fi; \
34179 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
34180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
34181 $(NORMAL_TARGET_EXPORTS) \
34182 echo Configuring in $(TARGET_SUBDIR)/libssp; \
34183 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
34184 case $(srcdir) in \
34185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34186 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
34187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34188 esac; \
34189 srcdiroption="--srcdir=$${topdir}/libssp"; \
34190 libsrcdir="$$s/libssp"; \
34191 rm -f no-such-file || : ; \
34192 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34193 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34194 --target=${target_alias} $${srcdiroption} \
34195 || exit 1
34196 @endif target-libssp
34202 .PHONY: all-target-libssp maybe-all-target-libssp
34203 maybe-all-target-libssp:
34204 @if gcc-bootstrap
34205 all-target-libssp: stage_current
34206 @endif gcc-bootstrap
34207 @if target-libssp
34208 TARGET-target-libssp=all
34209 maybe-all-target-libssp: all-target-libssp
34210 all-target-libssp: configure-target-libssp
34211 @: $(MAKE); $(unstage)
34212 @r=`${PWD_COMMAND}`; export r; \
34213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34214 $(NORMAL_TARGET_EXPORTS) \
34215 (cd $(TARGET_SUBDIR)/libssp && \
34216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34217 $(TARGET-target-libssp))
34218 @endif target-libssp
34224 .PHONY: check-target-libssp maybe-check-target-libssp
34225 maybe-check-target-libssp:
34226 @if target-libssp
34227 maybe-check-target-libssp: check-target-libssp
34229 check-target-libssp:
34230 @: $(MAKE); $(unstage)
34231 @r=`${PWD_COMMAND}`; export r; \
34232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34233 $(NORMAL_TARGET_EXPORTS) \
34234 (cd $(TARGET_SUBDIR)/libssp && \
34235 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34237 @endif target-libssp
34239 .PHONY: install-target-libssp maybe-install-target-libssp
34240 maybe-install-target-libssp:
34241 @if target-libssp
34242 maybe-install-target-libssp: install-target-libssp
34244 install-target-libssp: installdirs
34245 @: $(MAKE); $(unstage)
34246 @r=`${PWD_COMMAND}`; export r; \
34247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34248 $(NORMAL_TARGET_EXPORTS) \
34249 (cd $(TARGET_SUBDIR)/libssp && \
34250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34252 @endif target-libssp
34254 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
34255 maybe-install-strip-target-libssp:
34256 @if target-libssp
34257 maybe-install-strip-target-libssp: install-strip-target-libssp
34259 install-strip-target-libssp: installdirs
34260 @: $(MAKE); $(unstage)
34261 @r=`${PWD_COMMAND}`; export r; \
34262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34263 $(NORMAL_TARGET_EXPORTS) \
34264 (cd $(TARGET_SUBDIR)/libssp && \
34265 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34267 @endif target-libssp
34269 # Other targets (info, dvi, pdf, etc.)
34271 .PHONY: maybe-info-target-libssp info-target-libssp
34272 maybe-info-target-libssp:
34273 @if target-libssp
34274 maybe-info-target-libssp: info-target-libssp
34276 info-target-libssp: \
34277 configure-target-libssp
34278 @: $(MAKE); $(unstage)
34279 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34280 r=`${PWD_COMMAND}`; export r; \
34281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34282 $(NORMAL_TARGET_EXPORTS) \
34283 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
34284 for flag in $(EXTRA_TARGET_FLAGS); do \
34285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34286 done; \
34287 (cd $(TARGET_SUBDIR)/libssp && \
34288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34290 "RANLIB=$${RANLIB}" \
34291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34292 info) \
34293 || exit 1
34295 @endif target-libssp
34297 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
34298 maybe-dvi-target-libssp:
34299 @if target-libssp
34300 maybe-dvi-target-libssp: dvi-target-libssp
34302 dvi-target-libssp: \
34303 configure-target-libssp
34304 @: $(MAKE); $(unstage)
34305 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34306 r=`${PWD_COMMAND}`; export r; \
34307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34308 $(NORMAL_TARGET_EXPORTS) \
34309 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
34310 for flag in $(EXTRA_TARGET_FLAGS); do \
34311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34312 done; \
34313 (cd $(TARGET_SUBDIR)/libssp && \
34314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34316 "RANLIB=$${RANLIB}" \
34317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34318 dvi) \
34319 || exit 1
34321 @endif target-libssp
34323 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
34324 maybe-pdf-target-libssp:
34325 @if target-libssp
34326 maybe-pdf-target-libssp: pdf-target-libssp
34328 pdf-target-libssp: \
34329 configure-target-libssp
34330 @: $(MAKE); $(unstage)
34331 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34332 r=`${PWD_COMMAND}`; export r; \
34333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34334 $(NORMAL_TARGET_EXPORTS) \
34335 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
34336 for flag in $(EXTRA_TARGET_FLAGS); do \
34337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34338 done; \
34339 (cd $(TARGET_SUBDIR)/libssp && \
34340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34342 "RANLIB=$${RANLIB}" \
34343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34344 pdf) \
34345 || exit 1
34347 @endif target-libssp
34349 .PHONY: maybe-html-target-libssp html-target-libssp
34350 maybe-html-target-libssp:
34351 @if target-libssp
34352 maybe-html-target-libssp: html-target-libssp
34354 html-target-libssp: \
34355 configure-target-libssp
34356 @: $(MAKE); $(unstage)
34357 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34358 r=`${PWD_COMMAND}`; export r; \
34359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34360 $(NORMAL_TARGET_EXPORTS) \
34361 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
34362 for flag in $(EXTRA_TARGET_FLAGS); do \
34363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34364 done; \
34365 (cd $(TARGET_SUBDIR)/libssp && \
34366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34368 "RANLIB=$${RANLIB}" \
34369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34370 html) \
34371 || exit 1
34373 @endif target-libssp
34375 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
34376 maybe-TAGS-target-libssp:
34377 @if target-libssp
34378 maybe-TAGS-target-libssp: TAGS-target-libssp
34380 TAGS-target-libssp: \
34381 configure-target-libssp
34382 @: $(MAKE); $(unstage)
34383 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34384 r=`${PWD_COMMAND}`; export r; \
34385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34386 $(NORMAL_TARGET_EXPORTS) \
34387 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
34388 for flag in $(EXTRA_TARGET_FLAGS); do \
34389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34390 done; \
34391 (cd $(TARGET_SUBDIR)/libssp && \
34392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34394 "RANLIB=$${RANLIB}" \
34395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34396 TAGS) \
34397 || exit 1
34399 @endif target-libssp
34401 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
34402 maybe-install-info-target-libssp:
34403 @if target-libssp
34404 maybe-install-info-target-libssp: install-info-target-libssp
34406 install-info-target-libssp: \
34407 configure-target-libssp \
34408 info-target-libssp
34409 @: $(MAKE); $(unstage)
34410 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34411 r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 $(NORMAL_TARGET_EXPORTS) \
34414 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
34415 for flag in $(EXTRA_TARGET_FLAGS); do \
34416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34417 done; \
34418 (cd $(TARGET_SUBDIR)/libssp && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34421 "RANLIB=$${RANLIB}" \
34422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34423 install-info) \
34424 || exit 1
34426 @endif target-libssp
34428 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
34429 maybe-install-pdf-target-libssp:
34430 @if target-libssp
34431 maybe-install-pdf-target-libssp: install-pdf-target-libssp
34433 install-pdf-target-libssp: \
34434 configure-target-libssp \
34435 pdf-target-libssp
34436 @: $(MAKE); $(unstage)
34437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34438 r=`${PWD_COMMAND}`; export r; \
34439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34440 $(NORMAL_TARGET_EXPORTS) \
34441 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
34442 for flag in $(EXTRA_TARGET_FLAGS); do \
34443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34444 done; \
34445 (cd $(TARGET_SUBDIR)/libssp && \
34446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34448 "RANLIB=$${RANLIB}" \
34449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34450 install-pdf) \
34451 || exit 1
34453 @endif target-libssp
34455 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
34456 maybe-install-html-target-libssp:
34457 @if target-libssp
34458 maybe-install-html-target-libssp: install-html-target-libssp
34460 install-html-target-libssp: \
34461 configure-target-libssp \
34462 html-target-libssp
34463 @: $(MAKE); $(unstage)
34464 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34465 r=`${PWD_COMMAND}`; export r; \
34466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34467 $(NORMAL_TARGET_EXPORTS) \
34468 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34469 for flag in $(EXTRA_TARGET_FLAGS); do \
34470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34471 done; \
34472 (cd $(TARGET_SUBDIR)/libssp && \
34473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34475 "RANLIB=$${RANLIB}" \
34476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34477 install-html) \
34478 || exit 1
34480 @endif target-libssp
34482 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34483 maybe-installcheck-target-libssp:
34484 @if target-libssp
34485 maybe-installcheck-target-libssp: installcheck-target-libssp
34487 installcheck-target-libssp: \
34488 configure-target-libssp
34489 @: $(MAKE); $(unstage)
34490 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34491 r=`${PWD_COMMAND}`; export r; \
34492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34493 $(NORMAL_TARGET_EXPORTS) \
34494 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34495 for flag in $(EXTRA_TARGET_FLAGS); do \
34496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34497 done; \
34498 (cd $(TARGET_SUBDIR)/libssp && \
34499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34501 "RANLIB=$${RANLIB}" \
34502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34503 installcheck) \
34504 || exit 1
34506 @endif target-libssp
34508 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34509 maybe-mostlyclean-target-libssp:
34510 @if target-libssp
34511 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34513 mostlyclean-target-libssp:
34514 @: $(MAKE); $(unstage)
34515 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34516 r=`${PWD_COMMAND}`; export r; \
34517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34518 $(NORMAL_TARGET_EXPORTS) \
34519 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34520 for flag in $(EXTRA_TARGET_FLAGS); do \
34521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34522 done; \
34523 (cd $(TARGET_SUBDIR)/libssp && \
34524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34526 "RANLIB=$${RANLIB}" \
34527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34528 mostlyclean) \
34529 || exit 1
34531 @endif target-libssp
34533 .PHONY: maybe-clean-target-libssp clean-target-libssp
34534 maybe-clean-target-libssp:
34535 @if target-libssp
34536 maybe-clean-target-libssp: clean-target-libssp
34538 clean-target-libssp:
34539 @: $(MAKE); $(unstage)
34540 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34541 r=`${PWD_COMMAND}`; export r; \
34542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34543 $(NORMAL_TARGET_EXPORTS) \
34544 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34545 for flag in $(EXTRA_TARGET_FLAGS); do \
34546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34547 done; \
34548 (cd $(TARGET_SUBDIR)/libssp && \
34549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34551 "RANLIB=$${RANLIB}" \
34552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34553 clean) \
34554 || exit 1
34556 @endif target-libssp
34558 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34559 maybe-distclean-target-libssp:
34560 @if target-libssp
34561 maybe-distclean-target-libssp: distclean-target-libssp
34563 distclean-target-libssp:
34564 @: $(MAKE); $(unstage)
34565 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34566 r=`${PWD_COMMAND}`; export r; \
34567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34568 $(NORMAL_TARGET_EXPORTS) \
34569 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34570 for flag in $(EXTRA_TARGET_FLAGS); do \
34571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34572 done; \
34573 (cd $(TARGET_SUBDIR)/libssp && \
34574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34576 "RANLIB=$${RANLIB}" \
34577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34578 distclean) \
34579 || exit 1
34581 @endif target-libssp
34583 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34584 maybe-maintainer-clean-target-libssp:
34585 @if target-libssp
34586 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34588 maintainer-clean-target-libssp:
34589 @: $(MAKE); $(unstage)
34590 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34591 r=`${PWD_COMMAND}`; export r; \
34592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34593 $(NORMAL_TARGET_EXPORTS) \
34594 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34595 for flag in $(EXTRA_TARGET_FLAGS); do \
34596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34597 done; \
34598 (cd $(TARGET_SUBDIR)/libssp && \
34599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34601 "RANLIB=$${RANLIB}" \
34602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34603 maintainer-clean) \
34604 || exit 1
34606 @endif target-libssp
34612 .PHONY: configure-target-newlib maybe-configure-target-newlib
34613 maybe-configure-target-newlib:
34614 @if gcc-bootstrap
34615 configure-target-newlib: stage_current
34616 @endif gcc-bootstrap
34617 @if target-newlib
34618 maybe-configure-target-newlib: configure-target-newlib
34619 configure-target-newlib:
34620 @: $(MAKE); $(unstage)
34621 @r=`${PWD_COMMAND}`; export r; \
34622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34623 echo "Checking multilib configuration for newlib..."; \
34624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34626 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34627 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34628 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34629 else \
34630 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34631 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34632 fi; \
34633 else \
34634 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34635 fi; \
34636 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34638 $(NORMAL_TARGET_EXPORTS) \
34639 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34640 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34641 case $(srcdir) in \
34642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34643 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34645 esac; \
34646 srcdiroption="--srcdir=$${topdir}/newlib"; \
34647 libsrcdir="$$s/newlib"; \
34648 rm -f no-such-file || : ; \
34649 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34650 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34651 --target=${target_alias} $${srcdiroption} \
34652 || exit 1
34653 @endif target-newlib
34659 .PHONY: all-target-newlib maybe-all-target-newlib
34660 maybe-all-target-newlib:
34661 @if gcc-bootstrap
34662 all-target-newlib: stage_current
34663 @endif gcc-bootstrap
34664 @if target-newlib
34665 TARGET-target-newlib=all
34666 maybe-all-target-newlib: all-target-newlib
34667 all-target-newlib: configure-target-newlib
34668 @: $(MAKE); $(unstage)
34669 @r=`${PWD_COMMAND}`; export r; \
34670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34671 $(NORMAL_TARGET_EXPORTS) \
34672 (cd $(TARGET_SUBDIR)/newlib && \
34673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34674 $(TARGET-target-newlib))
34675 @endif target-newlib
34681 .PHONY: check-target-newlib maybe-check-target-newlib
34682 maybe-check-target-newlib:
34683 @if target-newlib
34684 maybe-check-target-newlib: check-target-newlib
34686 check-target-newlib:
34687 @: $(MAKE); $(unstage)
34688 @r=`${PWD_COMMAND}`; export r; \
34689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34690 $(NORMAL_TARGET_EXPORTS) \
34691 (cd $(TARGET_SUBDIR)/newlib && \
34692 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34694 @endif target-newlib
34696 .PHONY: install-target-newlib maybe-install-target-newlib
34697 maybe-install-target-newlib:
34698 @if target-newlib
34699 maybe-install-target-newlib: install-target-newlib
34701 install-target-newlib: installdirs
34702 @: $(MAKE); $(unstage)
34703 @r=`${PWD_COMMAND}`; export r; \
34704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34705 $(NORMAL_TARGET_EXPORTS) \
34706 (cd $(TARGET_SUBDIR)/newlib && \
34707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34709 @endif target-newlib
34711 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
34712 maybe-install-strip-target-newlib:
34713 @if target-newlib
34714 maybe-install-strip-target-newlib: install-strip-target-newlib
34716 install-strip-target-newlib: installdirs
34717 @: $(MAKE); $(unstage)
34718 @r=`${PWD_COMMAND}`; export r; \
34719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34720 $(NORMAL_TARGET_EXPORTS) \
34721 (cd $(TARGET_SUBDIR)/newlib && \
34722 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34724 @endif target-newlib
34726 # Other targets (info, dvi, pdf, etc.)
34728 .PHONY: maybe-info-target-newlib info-target-newlib
34729 maybe-info-target-newlib:
34730 @if target-newlib
34731 maybe-info-target-newlib: info-target-newlib
34733 info-target-newlib: \
34734 configure-target-newlib
34735 @: $(MAKE); $(unstage)
34736 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34737 r=`${PWD_COMMAND}`; export r; \
34738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34739 $(NORMAL_TARGET_EXPORTS) \
34740 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34741 for flag in $(EXTRA_TARGET_FLAGS); do \
34742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34743 done; \
34744 (cd $(TARGET_SUBDIR)/newlib && \
34745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34747 "RANLIB=$${RANLIB}" \
34748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34749 info) \
34750 || exit 1
34752 @endif target-newlib
34754 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34755 maybe-dvi-target-newlib:
34756 @if target-newlib
34757 maybe-dvi-target-newlib: dvi-target-newlib
34759 dvi-target-newlib: \
34760 configure-target-newlib
34761 @: $(MAKE); $(unstage)
34762 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34763 r=`${PWD_COMMAND}`; export r; \
34764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34765 $(NORMAL_TARGET_EXPORTS) \
34766 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34767 for flag in $(EXTRA_TARGET_FLAGS); do \
34768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34769 done; \
34770 (cd $(TARGET_SUBDIR)/newlib && \
34771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34773 "RANLIB=$${RANLIB}" \
34774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34775 dvi) \
34776 || exit 1
34778 @endif target-newlib
34780 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34781 maybe-pdf-target-newlib:
34782 @if target-newlib
34783 maybe-pdf-target-newlib: pdf-target-newlib
34785 pdf-target-newlib: \
34786 configure-target-newlib
34787 @: $(MAKE); $(unstage)
34788 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34789 r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(NORMAL_TARGET_EXPORTS) \
34792 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34793 for flag in $(EXTRA_TARGET_FLAGS); do \
34794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34795 done; \
34796 (cd $(TARGET_SUBDIR)/newlib && \
34797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34799 "RANLIB=$${RANLIB}" \
34800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34801 pdf) \
34802 || exit 1
34804 @endif target-newlib
34806 .PHONY: maybe-html-target-newlib html-target-newlib
34807 maybe-html-target-newlib:
34808 @if target-newlib
34809 maybe-html-target-newlib: html-target-newlib
34811 html-target-newlib: \
34812 configure-target-newlib
34813 @: $(MAKE); $(unstage)
34814 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34815 r=`${PWD_COMMAND}`; export r; \
34816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34817 $(NORMAL_TARGET_EXPORTS) \
34818 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34819 for flag in $(EXTRA_TARGET_FLAGS); do \
34820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34821 done; \
34822 (cd $(TARGET_SUBDIR)/newlib && \
34823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34825 "RANLIB=$${RANLIB}" \
34826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34827 html) \
34828 || exit 1
34830 @endif target-newlib
34832 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34833 maybe-TAGS-target-newlib:
34834 @if target-newlib
34835 maybe-TAGS-target-newlib: TAGS-target-newlib
34837 TAGS-target-newlib: \
34838 configure-target-newlib
34839 @: $(MAKE); $(unstage)
34840 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34841 r=`${PWD_COMMAND}`; export r; \
34842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34843 $(NORMAL_TARGET_EXPORTS) \
34844 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34845 for flag in $(EXTRA_TARGET_FLAGS); do \
34846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34847 done; \
34848 (cd $(TARGET_SUBDIR)/newlib && \
34849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34851 "RANLIB=$${RANLIB}" \
34852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34853 TAGS) \
34854 || exit 1
34856 @endif target-newlib
34858 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34859 maybe-install-info-target-newlib:
34860 @if target-newlib
34861 maybe-install-info-target-newlib: install-info-target-newlib
34863 install-info-target-newlib: \
34864 configure-target-newlib \
34865 info-target-newlib
34866 @: $(MAKE); $(unstage)
34867 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34868 r=`${PWD_COMMAND}`; export r; \
34869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34870 $(NORMAL_TARGET_EXPORTS) \
34871 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34872 for flag in $(EXTRA_TARGET_FLAGS); do \
34873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34874 done; \
34875 (cd $(TARGET_SUBDIR)/newlib && \
34876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34878 "RANLIB=$${RANLIB}" \
34879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34880 install-info) \
34881 || exit 1
34883 @endif target-newlib
34885 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
34886 maybe-install-pdf-target-newlib:
34887 @if target-newlib
34888 maybe-install-pdf-target-newlib: install-pdf-target-newlib
34890 install-pdf-target-newlib: \
34891 configure-target-newlib \
34892 pdf-target-newlib
34893 @: $(MAKE); $(unstage)
34894 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34895 r=`${PWD_COMMAND}`; export r; \
34896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34897 $(NORMAL_TARGET_EXPORTS) \
34898 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
34899 for flag in $(EXTRA_TARGET_FLAGS); do \
34900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34901 done; \
34902 (cd $(TARGET_SUBDIR)/newlib && \
34903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34905 "RANLIB=$${RANLIB}" \
34906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34907 install-pdf) \
34908 || exit 1
34910 @endif target-newlib
34912 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
34913 maybe-install-html-target-newlib:
34914 @if target-newlib
34915 maybe-install-html-target-newlib: install-html-target-newlib
34917 install-html-target-newlib: \
34918 configure-target-newlib \
34919 html-target-newlib
34920 @: $(MAKE); $(unstage)
34921 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34922 r=`${PWD_COMMAND}`; export r; \
34923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34924 $(NORMAL_TARGET_EXPORTS) \
34925 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
34926 for flag in $(EXTRA_TARGET_FLAGS); do \
34927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34928 done; \
34929 (cd $(TARGET_SUBDIR)/newlib && \
34930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34932 "RANLIB=$${RANLIB}" \
34933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34934 install-html) \
34935 || exit 1
34937 @endif target-newlib
34939 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
34940 maybe-installcheck-target-newlib:
34941 @if target-newlib
34942 maybe-installcheck-target-newlib: installcheck-target-newlib
34944 installcheck-target-newlib: \
34945 configure-target-newlib
34946 @: $(MAKE); $(unstage)
34947 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34948 r=`${PWD_COMMAND}`; export r; \
34949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34950 $(NORMAL_TARGET_EXPORTS) \
34951 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
34952 for flag in $(EXTRA_TARGET_FLAGS); do \
34953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34954 done; \
34955 (cd $(TARGET_SUBDIR)/newlib && \
34956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34958 "RANLIB=$${RANLIB}" \
34959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34960 installcheck) \
34961 || exit 1
34963 @endif target-newlib
34965 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
34966 maybe-mostlyclean-target-newlib:
34967 @if target-newlib
34968 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
34970 mostlyclean-target-newlib:
34971 @: $(MAKE); $(unstage)
34972 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34973 r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(NORMAL_TARGET_EXPORTS) \
34976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
34977 for flag in $(EXTRA_TARGET_FLAGS); do \
34978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34979 done; \
34980 (cd $(TARGET_SUBDIR)/newlib && \
34981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34983 "RANLIB=$${RANLIB}" \
34984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34985 mostlyclean) \
34986 || exit 1
34988 @endif target-newlib
34990 .PHONY: maybe-clean-target-newlib clean-target-newlib
34991 maybe-clean-target-newlib:
34992 @if target-newlib
34993 maybe-clean-target-newlib: clean-target-newlib
34995 clean-target-newlib:
34996 @: $(MAKE); $(unstage)
34997 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34998 r=`${PWD_COMMAND}`; export r; \
34999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35000 $(NORMAL_TARGET_EXPORTS) \
35001 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
35002 for flag in $(EXTRA_TARGET_FLAGS); do \
35003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35004 done; \
35005 (cd $(TARGET_SUBDIR)/newlib && \
35006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35008 "RANLIB=$${RANLIB}" \
35009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35010 clean) \
35011 || exit 1
35013 @endif target-newlib
35015 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
35016 maybe-distclean-target-newlib:
35017 @if target-newlib
35018 maybe-distclean-target-newlib: distclean-target-newlib
35020 distclean-target-newlib:
35021 @: $(MAKE); $(unstage)
35022 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35023 r=`${PWD_COMMAND}`; export r; \
35024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35025 $(NORMAL_TARGET_EXPORTS) \
35026 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
35027 for flag in $(EXTRA_TARGET_FLAGS); do \
35028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35029 done; \
35030 (cd $(TARGET_SUBDIR)/newlib && \
35031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35033 "RANLIB=$${RANLIB}" \
35034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35035 distclean) \
35036 || exit 1
35038 @endif target-newlib
35040 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
35041 maybe-maintainer-clean-target-newlib:
35042 @if target-newlib
35043 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
35045 maintainer-clean-target-newlib:
35046 @: $(MAKE); $(unstage)
35047 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
35048 r=`${PWD_COMMAND}`; export r; \
35049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35050 $(NORMAL_TARGET_EXPORTS) \
35051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
35052 for flag in $(EXTRA_TARGET_FLAGS); do \
35053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35054 done; \
35055 (cd $(TARGET_SUBDIR)/newlib && \
35056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35058 "RANLIB=$${RANLIB}" \
35059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35060 maintainer-clean) \
35061 || exit 1
35063 @endif target-newlib
35069 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
35070 maybe-configure-target-libgcc:
35071 @if gcc-bootstrap
35072 configure-target-libgcc: stage_current
35073 @endif gcc-bootstrap
35074 @if target-libgcc
35075 maybe-configure-target-libgcc: configure-target-libgcc
35076 configure-target-libgcc:
35077 @r=`${PWD_COMMAND}`; export r; \
35078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35079 echo "Checking multilib configuration for libgcc..."; \
35080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35081 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35082 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35083 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35084 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35085 else \
35086 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35087 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35088 fi; \
35089 else \
35090 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35091 fi; \
35092 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35094 $(NORMAL_TARGET_EXPORTS) \
35095 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
35096 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
35097 case $(srcdir) in \
35098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35099 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35101 esac; \
35102 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35103 libsrcdir="$$s/libgcc"; \
35104 rm -f no-such-file || : ; \
35105 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35107 --target=${target_alias} $${srcdiroption} \
35108 || exit 1
35109 @endif target-libgcc
35113 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
35114 maybe-configure-stage1-target-libgcc:
35115 @if target-libgcc-bootstrap
35116 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
35117 configure-stage1-target-libgcc:
35118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35120 @r=`${PWD_COMMAND}`; export r; \
35121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35122 TFLAGS="$(STAGE1_TFLAGS)"; \
35123 echo "Checking multilib configuration for libgcc..."; \
35124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35128 else \
35129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35131 fi; \
35132 else \
35133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35134 fi; \
35135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35136 $(NORMAL_TARGET_EXPORTS) \
35137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35140 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
35141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35143 case $(srcdir) in \
35144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35147 esac; \
35148 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35149 libsrcdir="$$s/libgcc"; \
35150 $(SHELL) $${libsrcdir}/configure \
35151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35152 --target=${target_alias} $${srcdiroption} \
35153 $(STAGE1_CONFIGURE_FLAGS)
35154 @endif target-libgcc-bootstrap
35156 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
35157 maybe-configure-stage2-target-libgcc:
35158 @if target-libgcc-bootstrap
35159 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
35160 configure-stage2-target-libgcc:
35161 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35162 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35163 @r=`${PWD_COMMAND}`; export r; \
35164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35165 TFLAGS="$(STAGE2_TFLAGS)"; \
35166 echo "Checking multilib configuration for libgcc..."; \
35167 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35168 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35169 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35170 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35171 else \
35172 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35173 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35174 fi; \
35175 else \
35176 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35177 fi; \
35178 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35179 $(NORMAL_TARGET_EXPORTS) \
35181 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35182 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35183 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35184 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
35185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35186 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35187 case $(srcdir) in \
35188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35189 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35191 esac; \
35192 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35193 libsrcdir="$$s/libgcc"; \
35194 $(SHELL) $${libsrcdir}/configure \
35195 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35196 --target=${target_alias} $${srcdiroption} \
35197 --with-build-libsubdir=$(HOST_SUBDIR) \
35198 $(STAGE2_CONFIGURE_FLAGS)
35199 @endif target-libgcc-bootstrap
35201 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
35202 maybe-configure-stage3-target-libgcc:
35203 @if target-libgcc-bootstrap
35204 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
35205 configure-stage3-target-libgcc:
35206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35207 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35208 @r=`${PWD_COMMAND}`; export r; \
35209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35210 TFLAGS="$(STAGE3_TFLAGS)"; \
35211 echo "Checking multilib configuration for libgcc..."; \
35212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35213 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35214 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35215 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35216 else \
35217 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35218 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35219 fi; \
35220 else \
35221 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35222 fi; \
35223 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35224 $(NORMAL_TARGET_EXPORTS) \
35226 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35229 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
35230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35231 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35232 case $(srcdir) in \
35233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35234 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35236 esac; \
35237 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35238 libsrcdir="$$s/libgcc"; \
35239 $(SHELL) $${libsrcdir}/configure \
35240 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35241 --target=${target_alias} $${srcdiroption} \
35242 --with-build-libsubdir=$(HOST_SUBDIR) \
35243 $(STAGE3_CONFIGURE_FLAGS)
35244 @endif target-libgcc-bootstrap
35246 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
35247 maybe-configure-stage4-target-libgcc:
35248 @if target-libgcc-bootstrap
35249 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
35250 configure-stage4-target-libgcc:
35251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35252 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35253 @r=`${PWD_COMMAND}`; export r; \
35254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35255 TFLAGS="$(STAGE4_TFLAGS)"; \
35256 echo "Checking multilib configuration for libgcc..."; \
35257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35258 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35259 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35260 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35261 else \
35262 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35263 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35264 fi; \
35265 else \
35266 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35267 fi; \
35268 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35269 $(NORMAL_TARGET_EXPORTS) \
35271 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35274 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
35275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35276 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35277 case $(srcdir) in \
35278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35279 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35281 esac; \
35282 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35283 libsrcdir="$$s/libgcc"; \
35284 $(SHELL) $${libsrcdir}/configure \
35285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35286 --target=${target_alias} $${srcdiroption} \
35287 --with-build-libsubdir=$(HOST_SUBDIR) \
35288 $(STAGE4_CONFIGURE_FLAGS)
35289 @endif target-libgcc-bootstrap
35291 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
35292 maybe-configure-stageprofile-target-libgcc:
35293 @if target-libgcc-bootstrap
35294 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35295 configure-stageprofile-target-libgcc:
35296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35297 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35298 @r=`${PWD_COMMAND}`; export r; \
35299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35300 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35301 echo "Checking multilib configuration for libgcc..."; \
35302 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35303 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35304 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35305 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35306 else \
35307 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35308 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35309 fi; \
35310 else \
35311 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35312 fi; \
35313 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35314 $(NORMAL_TARGET_EXPORTS) \
35316 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35319 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
35320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35321 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35322 case $(srcdir) in \
35323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35324 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35326 esac; \
35327 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35328 libsrcdir="$$s/libgcc"; \
35329 $(SHELL) $${libsrcdir}/configure \
35330 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35331 --target=${target_alias} $${srcdiroption} \
35332 --with-build-libsubdir=$(HOST_SUBDIR) \
35333 $(STAGEprofile_CONFIGURE_FLAGS)
35334 @endif target-libgcc-bootstrap
35336 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
35337 maybe-configure-stagefeedback-target-libgcc:
35338 @if target-libgcc-bootstrap
35339 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35340 configure-stagefeedback-target-libgcc:
35341 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35342 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
35343 @r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35346 echo "Checking multilib configuration for libgcc..."; \
35347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
35348 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35349 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
35350 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
35351 else \
35352 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
35353 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35354 fi; \
35355 else \
35356 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
35357 fi; \
35358 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
35359 $(NORMAL_TARGET_EXPORTS) \
35361 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
35362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
35363 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
35364 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
35365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
35366 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
35367 case $(srcdir) in \
35368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35369 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
35370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35371 esac; \
35372 srcdiroption="--srcdir=$${topdir}/libgcc"; \
35373 libsrcdir="$$s/libgcc"; \
35374 $(SHELL) $${libsrcdir}/configure \
35375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35376 --target=${target_alias} $${srcdiroption} \
35377 --with-build-libsubdir=$(HOST_SUBDIR) \
35378 $(STAGEfeedback_CONFIGURE_FLAGS)
35379 @endif target-libgcc-bootstrap
35385 .PHONY: all-target-libgcc maybe-all-target-libgcc
35386 maybe-all-target-libgcc:
35387 @if gcc-bootstrap
35388 all-target-libgcc: stage_current
35389 @endif gcc-bootstrap
35390 @if target-libgcc
35391 TARGET-target-libgcc=all
35392 maybe-all-target-libgcc: all-target-libgcc
35393 all-target-libgcc: configure-target-libgcc
35394 @r=`${PWD_COMMAND}`; export r; \
35395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35396 $(NORMAL_TARGET_EXPORTS) \
35397 (cd $(TARGET_SUBDIR)/libgcc && \
35398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35399 $(TARGET-target-libgcc))
35400 @endif target-libgcc
35404 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
35405 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
35406 maybe-all-stage1-target-libgcc:
35407 maybe-clean-stage1-target-libgcc:
35408 @if target-libgcc-bootstrap
35409 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
35410 all-stage1: all-stage1-target-libgcc
35411 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
35412 all-stage1-target-libgcc: configure-stage1-target-libgcc
35413 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35414 @r=`${PWD_COMMAND}`; export r; \
35415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35416 TFLAGS="$(STAGE1_TFLAGS)"; \
35417 $(NORMAL_TARGET_EXPORTS) \
35418 cd $(TARGET_SUBDIR)/libgcc && \
35419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35420 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35421 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35422 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35426 $(EXTRA_TARGET_FLAGS) \
35428 TFLAGS="$(STAGE1_TFLAGS)" \
35429 $(TARGET-stage1-target-libgcc)
35431 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
35432 clean-stage1: clean-stage1-target-libgcc
35433 clean-stage1-target-libgcc:
35434 @if [ $(current_stage) = stage1 ]; then \
35435 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35436 else \
35437 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
35438 $(MAKE) stage1-start; \
35439 fi; \
35440 cd $(TARGET_SUBDIR)/libgcc && \
35441 $(MAKE) $(EXTRA_TARGET_FLAGS) \
35442 clean
35443 @endif target-libgcc-bootstrap
35446 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
35447 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
35448 maybe-all-stage2-target-libgcc:
35449 maybe-clean-stage2-target-libgcc:
35450 @if target-libgcc-bootstrap
35451 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
35452 all-stage2: all-stage2-target-libgcc
35453 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
35454 all-stage2-target-libgcc: configure-stage2-target-libgcc
35455 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35456 @r=`${PWD_COMMAND}`; export r; \
35457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35458 TFLAGS="$(STAGE2_TFLAGS)"; \
35459 $(NORMAL_TARGET_EXPORTS) \
35461 cd $(TARGET_SUBDIR)/libgcc && \
35462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35463 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35464 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35465 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35469 $(EXTRA_TARGET_FLAGS) \
35470 TFLAGS="$(STAGE2_TFLAGS)" \
35471 $(TARGET-stage2-target-libgcc)
35473 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
35474 clean-stage2: clean-stage2-target-libgcc
35475 clean-stage2-target-libgcc:
35476 @if [ $(current_stage) = stage2 ]; then \
35477 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35478 else \
35479 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
35480 $(MAKE) stage2-start; \
35481 fi; \
35482 cd $(TARGET_SUBDIR)/libgcc && \
35483 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35484 @endif target-libgcc-bootstrap
35487 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
35488 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
35489 maybe-all-stage3-target-libgcc:
35490 maybe-clean-stage3-target-libgcc:
35491 @if target-libgcc-bootstrap
35492 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
35493 all-stage3: all-stage3-target-libgcc
35494 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
35495 all-stage3-target-libgcc: configure-stage3-target-libgcc
35496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35497 @r=`${PWD_COMMAND}`; export r; \
35498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35499 TFLAGS="$(STAGE3_TFLAGS)"; \
35500 $(NORMAL_TARGET_EXPORTS) \
35502 cd $(TARGET_SUBDIR)/libgcc && \
35503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35504 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35505 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35506 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35510 $(EXTRA_TARGET_FLAGS) \
35511 TFLAGS="$(STAGE3_TFLAGS)" \
35512 $(TARGET-stage3-target-libgcc)
35514 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
35515 clean-stage3: clean-stage3-target-libgcc
35516 clean-stage3-target-libgcc:
35517 @if [ $(current_stage) = stage3 ]; then \
35518 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35519 else \
35520 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
35521 $(MAKE) stage3-start; \
35522 fi; \
35523 cd $(TARGET_SUBDIR)/libgcc && \
35524 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35525 @endif target-libgcc-bootstrap
35528 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
35529 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
35530 maybe-all-stage4-target-libgcc:
35531 maybe-clean-stage4-target-libgcc:
35532 @if target-libgcc-bootstrap
35533 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
35534 all-stage4: all-stage4-target-libgcc
35535 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
35536 all-stage4-target-libgcc: configure-stage4-target-libgcc
35537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35538 @r=`${PWD_COMMAND}`; export r; \
35539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35540 TFLAGS="$(STAGE4_TFLAGS)"; \
35541 $(NORMAL_TARGET_EXPORTS) \
35543 cd $(TARGET_SUBDIR)/libgcc && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35551 $(EXTRA_TARGET_FLAGS) \
35552 TFLAGS="$(STAGE4_TFLAGS)" \
35553 $(TARGET-stage4-target-libgcc)
35555 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
35556 clean-stage4: clean-stage4-target-libgcc
35557 clean-stage4-target-libgcc:
35558 @if [ $(current_stage) = stage4 ]; then \
35559 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35560 else \
35561 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
35562 $(MAKE) stage4-start; \
35563 fi; \
35564 cd $(TARGET_SUBDIR)/libgcc && \
35565 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35566 @endif target-libgcc-bootstrap
35569 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
35570 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
35571 maybe-all-stageprofile-target-libgcc:
35572 maybe-clean-stageprofile-target-libgcc:
35573 @if target-libgcc-bootstrap
35574 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
35575 all-stageprofile: all-stageprofile-target-libgcc
35576 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
35577 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35578 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35579 @r=`${PWD_COMMAND}`; export r; \
35580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35581 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35582 $(NORMAL_TARGET_EXPORTS) \
35584 cd $(TARGET_SUBDIR)/libgcc && \
35585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35586 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35587 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35588 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35589 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35590 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35591 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35592 $(EXTRA_TARGET_FLAGS) \
35593 TFLAGS="$(STAGEprofile_TFLAGS)" \
35594 $(TARGET-stageprofile-target-libgcc)
35596 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
35597 clean-stageprofile: clean-stageprofile-target-libgcc
35598 clean-stageprofile-target-libgcc:
35599 @if [ $(current_stage) = stageprofile ]; then \
35600 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35601 else \
35602 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
35603 $(MAKE) stageprofile-start; \
35604 fi; \
35605 cd $(TARGET_SUBDIR)/libgcc && \
35606 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35607 @endif target-libgcc-bootstrap
35610 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
35611 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
35612 maybe-all-stagefeedback-target-libgcc:
35613 maybe-clean-stagefeedback-target-libgcc:
35614 @if target-libgcc-bootstrap
35615 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
35616 all-stagefeedback: all-stagefeedback-target-libgcc
35617 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
35618 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35619 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35620 @r=`${PWD_COMMAND}`; export r; \
35621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35622 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35623 $(NORMAL_TARGET_EXPORTS) \
35625 cd $(TARGET_SUBDIR)/libgcc && \
35626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35627 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35628 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35629 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35633 $(EXTRA_TARGET_FLAGS) \
35634 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35635 $(TARGET-stagefeedback-target-libgcc)
35637 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
35638 clean-stagefeedback: clean-stagefeedback-target-libgcc
35639 clean-stagefeedback-target-libgcc:
35640 @if [ $(current_stage) = stagefeedback ]; then \
35641 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35642 else \
35643 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
35644 $(MAKE) stagefeedback-start; \
35645 fi; \
35646 cd $(TARGET_SUBDIR)/libgcc && \
35647 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35648 @endif target-libgcc-bootstrap
35655 .PHONY: check-target-libgcc maybe-check-target-libgcc
35656 maybe-check-target-libgcc:
35657 @if target-libgcc
35658 maybe-check-target-libgcc: check-target-libgcc
35660 # Dummy target for uncheckable module.
35661 check-target-libgcc:
35663 @endif target-libgcc
35665 .PHONY: install-target-libgcc maybe-install-target-libgcc
35666 maybe-install-target-libgcc:
35667 @if target-libgcc
35668 maybe-install-target-libgcc: install-target-libgcc
35670 install-target-libgcc: installdirs
35671 @: $(MAKE); $(unstage)
35672 @r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 (cd $(TARGET_SUBDIR)/libgcc && \
35676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35678 @endif target-libgcc
35680 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
35681 maybe-install-strip-target-libgcc:
35682 @if target-libgcc
35683 maybe-install-strip-target-libgcc: install-strip-target-libgcc
35685 install-strip-target-libgcc: installdirs
35686 @: $(MAKE); $(unstage)
35687 @r=`${PWD_COMMAND}`; export r; \
35688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35689 $(NORMAL_TARGET_EXPORTS) \
35690 (cd $(TARGET_SUBDIR)/libgcc && \
35691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35693 @endif target-libgcc
35695 # Other targets (info, dvi, pdf, etc.)
35697 .PHONY: maybe-info-target-libgcc info-target-libgcc
35698 maybe-info-target-libgcc:
35699 @if target-libgcc
35700 maybe-info-target-libgcc: info-target-libgcc
35702 info-target-libgcc: \
35703 configure-target-libgcc
35704 @: $(MAKE); $(unstage)
35705 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35706 r=`${PWD_COMMAND}`; export r; \
35707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35708 $(NORMAL_TARGET_EXPORTS) \
35709 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
35710 for flag in $(EXTRA_TARGET_FLAGS); do \
35711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35712 done; \
35713 (cd $(TARGET_SUBDIR)/libgcc && \
35714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35716 "RANLIB=$${RANLIB}" \
35717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35718 info) \
35719 || exit 1
35721 @endif target-libgcc
35723 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
35724 maybe-dvi-target-libgcc:
35725 @if target-libgcc
35726 maybe-dvi-target-libgcc: dvi-target-libgcc
35728 dvi-target-libgcc: \
35729 configure-target-libgcc
35730 @: $(MAKE); $(unstage)
35731 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35732 r=`${PWD_COMMAND}`; export r; \
35733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35734 $(NORMAL_TARGET_EXPORTS) \
35735 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
35736 for flag in $(EXTRA_TARGET_FLAGS); do \
35737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35738 done; \
35739 (cd $(TARGET_SUBDIR)/libgcc && \
35740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35742 "RANLIB=$${RANLIB}" \
35743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35744 dvi) \
35745 || exit 1
35747 @endif target-libgcc
35749 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
35750 maybe-pdf-target-libgcc:
35751 @if target-libgcc
35752 maybe-pdf-target-libgcc: pdf-target-libgcc
35754 pdf-target-libgcc: \
35755 configure-target-libgcc
35756 @: $(MAKE); $(unstage)
35757 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35758 r=`${PWD_COMMAND}`; export r; \
35759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35760 $(NORMAL_TARGET_EXPORTS) \
35761 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
35762 for flag in $(EXTRA_TARGET_FLAGS); do \
35763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35764 done; \
35765 (cd $(TARGET_SUBDIR)/libgcc && \
35766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35768 "RANLIB=$${RANLIB}" \
35769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35770 pdf) \
35771 || exit 1
35773 @endif target-libgcc
35775 .PHONY: maybe-html-target-libgcc html-target-libgcc
35776 maybe-html-target-libgcc:
35777 @if target-libgcc
35778 maybe-html-target-libgcc: html-target-libgcc
35780 html-target-libgcc: \
35781 configure-target-libgcc
35782 @: $(MAKE); $(unstage)
35783 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35784 r=`${PWD_COMMAND}`; export r; \
35785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35786 $(NORMAL_TARGET_EXPORTS) \
35787 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
35788 for flag in $(EXTRA_TARGET_FLAGS); do \
35789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35790 done; \
35791 (cd $(TARGET_SUBDIR)/libgcc && \
35792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35794 "RANLIB=$${RANLIB}" \
35795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35796 html) \
35797 || exit 1
35799 @endif target-libgcc
35801 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
35802 maybe-TAGS-target-libgcc:
35803 @if target-libgcc
35804 maybe-TAGS-target-libgcc: TAGS-target-libgcc
35806 TAGS-target-libgcc: \
35807 configure-target-libgcc
35808 @: $(MAKE); $(unstage)
35809 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35810 r=`${PWD_COMMAND}`; export r; \
35811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35812 $(NORMAL_TARGET_EXPORTS) \
35813 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
35814 for flag in $(EXTRA_TARGET_FLAGS); do \
35815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35816 done; \
35817 (cd $(TARGET_SUBDIR)/libgcc && \
35818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35820 "RANLIB=$${RANLIB}" \
35821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35822 TAGS) \
35823 || exit 1
35825 @endif target-libgcc
35827 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
35828 maybe-install-info-target-libgcc:
35829 @if target-libgcc
35830 maybe-install-info-target-libgcc: install-info-target-libgcc
35832 install-info-target-libgcc: \
35833 configure-target-libgcc \
35834 info-target-libgcc
35835 @: $(MAKE); $(unstage)
35836 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35837 r=`${PWD_COMMAND}`; export r; \
35838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35839 $(NORMAL_TARGET_EXPORTS) \
35840 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
35841 for flag in $(EXTRA_TARGET_FLAGS); do \
35842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35843 done; \
35844 (cd $(TARGET_SUBDIR)/libgcc && \
35845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35847 "RANLIB=$${RANLIB}" \
35848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35849 install-info) \
35850 || exit 1
35852 @endif target-libgcc
35854 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
35855 maybe-install-pdf-target-libgcc:
35856 @if target-libgcc
35857 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
35859 install-pdf-target-libgcc: \
35860 configure-target-libgcc \
35861 pdf-target-libgcc
35862 @: $(MAKE); $(unstage)
35863 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35864 r=`${PWD_COMMAND}`; export r; \
35865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35866 $(NORMAL_TARGET_EXPORTS) \
35867 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
35868 for flag in $(EXTRA_TARGET_FLAGS); do \
35869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35870 done; \
35871 (cd $(TARGET_SUBDIR)/libgcc && \
35872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35874 "RANLIB=$${RANLIB}" \
35875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35876 install-pdf) \
35877 || exit 1
35879 @endif target-libgcc
35881 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
35882 maybe-install-html-target-libgcc:
35883 @if target-libgcc
35884 maybe-install-html-target-libgcc: install-html-target-libgcc
35886 install-html-target-libgcc: \
35887 configure-target-libgcc \
35888 html-target-libgcc
35889 @: $(MAKE); $(unstage)
35890 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(NORMAL_TARGET_EXPORTS) \
35894 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
35895 for flag in $(EXTRA_TARGET_FLAGS); do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 (cd $(TARGET_SUBDIR)/libgcc && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35903 install-html) \
35904 || exit 1
35906 @endif target-libgcc
35908 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
35909 maybe-installcheck-target-libgcc:
35910 @if target-libgcc
35911 maybe-installcheck-target-libgcc: installcheck-target-libgcc
35913 installcheck-target-libgcc: \
35914 configure-target-libgcc
35915 @: $(MAKE); $(unstage)
35916 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35917 r=`${PWD_COMMAND}`; export r; \
35918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35919 $(NORMAL_TARGET_EXPORTS) \
35920 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
35921 for flag in $(EXTRA_TARGET_FLAGS); do \
35922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35923 done; \
35924 (cd $(TARGET_SUBDIR)/libgcc && \
35925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35927 "RANLIB=$${RANLIB}" \
35928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35929 installcheck) \
35930 || exit 1
35932 @endif target-libgcc
35934 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
35935 maybe-mostlyclean-target-libgcc:
35936 @if target-libgcc
35937 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
35939 mostlyclean-target-libgcc:
35940 @: $(MAKE); $(unstage)
35941 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35942 r=`${PWD_COMMAND}`; export r; \
35943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35944 $(NORMAL_TARGET_EXPORTS) \
35945 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
35946 for flag in $(EXTRA_TARGET_FLAGS); do \
35947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35948 done; \
35949 (cd $(TARGET_SUBDIR)/libgcc && \
35950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35952 "RANLIB=$${RANLIB}" \
35953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35954 mostlyclean) \
35955 || exit 1
35957 @endif target-libgcc
35959 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
35960 maybe-clean-target-libgcc:
35961 @if target-libgcc
35962 maybe-clean-target-libgcc: clean-target-libgcc
35964 clean-target-libgcc:
35965 @: $(MAKE); $(unstage)
35966 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35967 r=`${PWD_COMMAND}`; export r; \
35968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35969 $(NORMAL_TARGET_EXPORTS) \
35970 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
35971 for flag in $(EXTRA_TARGET_FLAGS); do \
35972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35973 done; \
35974 (cd $(TARGET_SUBDIR)/libgcc && \
35975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35977 "RANLIB=$${RANLIB}" \
35978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35979 clean) \
35980 || exit 1
35982 @endif target-libgcc
35984 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
35985 maybe-distclean-target-libgcc:
35986 @if target-libgcc
35987 maybe-distclean-target-libgcc: distclean-target-libgcc
35989 distclean-target-libgcc:
35990 @: $(MAKE); $(unstage)
35991 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35992 r=`${PWD_COMMAND}`; export r; \
35993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35994 $(NORMAL_TARGET_EXPORTS) \
35995 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
35996 for flag in $(EXTRA_TARGET_FLAGS); do \
35997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35998 done; \
35999 (cd $(TARGET_SUBDIR)/libgcc && \
36000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36002 "RANLIB=$${RANLIB}" \
36003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36004 distclean) \
36005 || exit 1
36007 @endif target-libgcc
36009 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
36010 maybe-maintainer-clean-target-libgcc:
36011 @if target-libgcc
36012 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
36014 maintainer-clean-target-libgcc:
36015 @: $(MAKE); $(unstage)
36016 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
36017 r=`${PWD_COMMAND}`; export r; \
36018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36019 $(NORMAL_TARGET_EXPORTS) \
36020 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
36021 for flag in $(EXTRA_TARGET_FLAGS); do \
36022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36023 done; \
36024 (cd $(TARGET_SUBDIR)/libgcc && \
36025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36027 "RANLIB=$${RANLIB}" \
36028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36029 maintainer-clean) \
36030 || exit 1
36032 @endif target-libgcc
36038 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
36039 maybe-configure-target-libbacktrace:
36040 @if gcc-bootstrap
36041 configure-target-libbacktrace: stage_current
36042 @endif gcc-bootstrap
36043 @if target-libbacktrace
36044 maybe-configure-target-libbacktrace: configure-target-libbacktrace
36045 configure-target-libbacktrace:
36046 @: $(MAKE); $(unstage)
36047 @r=`${PWD_COMMAND}`; export r; \
36048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36049 echo "Checking multilib configuration for libbacktrace..."; \
36050 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
36051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
36052 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
36053 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
36054 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
36055 else \
36056 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
36057 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
36058 fi; \
36059 else \
36060 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
36061 fi; \
36062 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
36063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
36064 $(NORMAL_TARGET_EXPORTS) \
36065 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
36066 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
36067 case $(srcdir) in \
36068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36069 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
36070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36071 esac; \
36072 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
36073 libsrcdir="$$s/libbacktrace"; \
36074 rm -f no-such-file || : ; \
36075 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36077 --target=${target_alias} $${srcdiroption} \
36078 || exit 1
36079 @endif target-libbacktrace
36085 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
36086 maybe-all-target-libbacktrace:
36087 @if gcc-bootstrap
36088 all-target-libbacktrace: stage_current
36089 @endif gcc-bootstrap
36090 @if target-libbacktrace
36091 TARGET-target-libbacktrace=all
36092 maybe-all-target-libbacktrace: all-target-libbacktrace
36093 all-target-libbacktrace: configure-target-libbacktrace
36094 @: $(MAKE); $(unstage)
36095 @r=`${PWD_COMMAND}`; export r; \
36096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36097 $(NORMAL_TARGET_EXPORTS) \
36098 (cd $(TARGET_SUBDIR)/libbacktrace && \
36099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36100 $(TARGET-target-libbacktrace))
36101 @endif target-libbacktrace
36107 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
36108 maybe-check-target-libbacktrace:
36109 @if target-libbacktrace
36110 maybe-check-target-libbacktrace: check-target-libbacktrace
36112 check-target-libbacktrace:
36113 @: $(MAKE); $(unstage)
36114 @r=`${PWD_COMMAND}`; export r; \
36115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36116 $(NORMAL_TARGET_EXPORTS) \
36117 (cd $(TARGET_SUBDIR)/libbacktrace && \
36118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36120 @endif target-libbacktrace
36122 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
36123 maybe-install-target-libbacktrace:
36124 @if target-libbacktrace
36125 maybe-install-target-libbacktrace: install-target-libbacktrace
36127 install-target-libbacktrace: installdirs
36128 @: $(MAKE); $(unstage)
36129 @r=`${PWD_COMMAND}`; export r; \
36130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36131 $(NORMAL_TARGET_EXPORTS) \
36132 (cd $(TARGET_SUBDIR)/libbacktrace && \
36133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36135 @endif target-libbacktrace
36137 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
36138 maybe-install-strip-target-libbacktrace:
36139 @if target-libbacktrace
36140 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
36142 install-strip-target-libbacktrace: installdirs
36143 @: $(MAKE); $(unstage)
36144 @r=`${PWD_COMMAND}`; export r; \
36145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36146 $(NORMAL_TARGET_EXPORTS) \
36147 (cd $(TARGET_SUBDIR)/libbacktrace && \
36148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36150 @endif target-libbacktrace
36152 # Other targets (info, dvi, pdf, etc.)
36154 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
36155 maybe-info-target-libbacktrace:
36156 @if target-libbacktrace
36157 maybe-info-target-libbacktrace: info-target-libbacktrace
36159 info-target-libbacktrace: \
36160 configure-target-libbacktrace
36161 @: $(MAKE); $(unstage)
36162 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36163 r=`${PWD_COMMAND}`; export r; \
36164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36165 $(NORMAL_TARGET_EXPORTS) \
36166 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
36167 for flag in $(EXTRA_TARGET_FLAGS); do \
36168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36169 done; \
36170 (cd $(TARGET_SUBDIR)/libbacktrace && \
36171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36173 "RANLIB=$${RANLIB}" \
36174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36175 info) \
36176 || exit 1
36178 @endif target-libbacktrace
36180 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
36181 maybe-dvi-target-libbacktrace:
36182 @if target-libbacktrace
36183 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
36185 dvi-target-libbacktrace: \
36186 configure-target-libbacktrace
36187 @: $(MAKE); $(unstage)
36188 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36189 r=`${PWD_COMMAND}`; export r; \
36190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36191 $(NORMAL_TARGET_EXPORTS) \
36192 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
36193 for flag in $(EXTRA_TARGET_FLAGS); do \
36194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36195 done; \
36196 (cd $(TARGET_SUBDIR)/libbacktrace && \
36197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36199 "RANLIB=$${RANLIB}" \
36200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36201 dvi) \
36202 || exit 1
36204 @endif target-libbacktrace
36206 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
36207 maybe-pdf-target-libbacktrace:
36208 @if target-libbacktrace
36209 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
36211 pdf-target-libbacktrace: \
36212 configure-target-libbacktrace
36213 @: $(MAKE); $(unstage)
36214 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36215 r=`${PWD_COMMAND}`; export r; \
36216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36217 $(NORMAL_TARGET_EXPORTS) \
36218 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36219 for flag in $(EXTRA_TARGET_FLAGS); do \
36220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36221 done; \
36222 (cd $(TARGET_SUBDIR)/libbacktrace && \
36223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36225 "RANLIB=$${RANLIB}" \
36226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36227 pdf) \
36228 || exit 1
36230 @endif target-libbacktrace
36232 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
36233 maybe-html-target-libbacktrace:
36234 @if target-libbacktrace
36235 maybe-html-target-libbacktrace: html-target-libbacktrace
36237 html-target-libbacktrace: \
36238 configure-target-libbacktrace
36239 @: $(MAKE); $(unstage)
36240 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36241 r=`${PWD_COMMAND}`; export r; \
36242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36243 $(NORMAL_TARGET_EXPORTS) \
36244 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
36245 for flag in $(EXTRA_TARGET_FLAGS); do \
36246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36247 done; \
36248 (cd $(TARGET_SUBDIR)/libbacktrace && \
36249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36251 "RANLIB=$${RANLIB}" \
36252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36253 html) \
36254 || exit 1
36256 @endif target-libbacktrace
36258 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
36259 maybe-TAGS-target-libbacktrace:
36260 @if target-libbacktrace
36261 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
36263 TAGS-target-libbacktrace: \
36264 configure-target-libbacktrace
36265 @: $(MAKE); $(unstage)
36266 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36267 r=`${PWD_COMMAND}`; export r; \
36268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36269 $(NORMAL_TARGET_EXPORTS) \
36270 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
36271 for flag in $(EXTRA_TARGET_FLAGS); do \
36272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36273 done; \
36274 (cd $(TARGET_SUBDIR)/libbacktrace && \
36275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36277 "RANLIB=$${RANLIB}" \
36278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36279 TAGS) \
36280 || exit 1
36282 @endif target-libbacktrace
36284 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
36285 maybe-install-info-target-libbacktrace:
36286 @if target-libbacktrace
36287 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
36289 install-info-target-libbacktrace: \
36290 configure-target-libbacktrace \
36291 info-target-libbacktrace
36292 @: $(MAKE); $(unstage)
36293 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36294 r=`${PWD_COMMAND}`; export r; \
36295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36296 $(NORMAL_TARGET_EXPORTS) \
36297 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
36298 for flag in $(EXTRA_TARGET_FLAGS); do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 (cd $(TARGET_SUBDIR)/libbacktrace && \
36302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36304 "RANLIB=$${RANLIB}" \
36305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36306 install-info) \
36307 || exit 1
36309 @endif target-libbacktrace
36311 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
36312 maybe-install-pdf-target-libbacktrace:
36313 @if target-libbacktrace
36314 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
36316 install-pdf-target-libbacktrace: \
36317 configure-target-libbacktrace \
36318 pdf-target-libbacktrace
36319 @: $(MAKE); $(unstage)
36320 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36321 r=`${PWD_COMMAND}`; export r; \
36322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36323 $(NORMAL_TARGET_EXPORTS) \
36324 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
36325 for flag in $(EXTRA_TARGET_FLAGS); do \
36326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36327 done; \
36328 (cd $(TARGET_SUBDIR)/libbacktrace && \
36329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36331 "RANLIB=$${RANLIB}" \
36332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36333 install-pdf) \
36334 || exit 1
36336 @endif target-libbacktrace
36338 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
36339 maybe-install-html-target-libbacktrace:
36340 @if target-libbacktrace
36341 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
36343 install-html-target-libbacktrace: \
36344 configure-target-libbacktrace \
36345 html-target-libbacktrace
36346 @: $(MAKE); $(unstage)
36347 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36348 r=`${PWD_COMMAND}`; export r; \
36349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36350 $(NORMAL_TARGET_EXPORTS) \
36351 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
36352 for flag in $(EXTRA_TARGET_FLAGS); do \
36353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36354 done; \
36355 (cd $(TARGET_SUBDIR)/libbacktrace && \
36356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36358 "RANLIB=$${RANLIB}" \
36359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36360 install-html) \
36361 || exit 1
36363 @endif target-libbacktrace
36365 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
36366 maybe-installcheck-target-libbacktrace:
36367 @if target-libbacktrace
36368 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
36370 installcheck-target-libbacktrace: \
36371 configure-target-libbacktrace
36372 @: $(MAKE); $(unstage)
36373 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36374 r=`${PWD_COMMAND}`; export r; \
36375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36376 $(NORMAL_TARGET_EXPORTS) \
36377 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
36378 for flag in $(EXTRA_TARGET_FLAGS); do \
36379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36380 done; \
36381 (cd $(TARGET_SUBDIR)/libbacktrace && \
36382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36384 "RANLIB=$${RANLIB}" \
36385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36386 installcheck) \
36387 || exit 1
36389 @endif target-libbacktrace
36391 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
36392 maybe-mostlyclean-target-libbacktrace:
36393 @if target-libbacktrace
36394 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
36396 mostlyclean-target-libbacktrace:
36397 @: $(MAKE); $(unstage)
36398 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36399 r=`${PWD_COMMAND}`; export r; \
36400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36401 $(NORMAL_TARGET_EXPORTS) \
36402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36403 for flag in $(EXTRA_TARGET_FLAGS); do \
36404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36405 done; \
36406 (cd $(TARGET_SUBDIR)/libbacktrace && \
36407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36409 "RANLIB=$${RANLIB}" \
36410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36411 mostlyclean) \
36412 || exit 1
36414 @endif target-libbacktrace
36416 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
36417 maybe-clean-target-libbacktrace:
36418 @if target-libbacktrace
36419 maybe-clean-target-libbacktrace: clean-target-libbacktrace
36421 clean-target-libbacktrace:
36422 @: $(MAKE); $(unstage)
36423 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36424 r=`${PWD_COMMAND}`; export r; \
36425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36426 $(NORMAL_TARGET_EXPORTS) \
36427 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36428 for flag in $(EXTRA_TARGET_FLAGS); do \
36429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36430 done; \
36431 (cd $(TARGET_SUBDIR)/libbacktrace && \
36432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36434 "RANLIB=$${RANLIB}" \
36435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36436 clean) \
36437 || exit 1
36439 @endif target-libbacktrace
36441 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
36442 maybe-distclean-target-libbacktrace:
36443 @if target-libbacktrace
36444 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
36446 distclean-target-libbacktrace:
36447 @: $(MAKE); $(unstage)
36448 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36449 r=`${PWD_COMMAND}`; export r; \
36450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36451 $(NORMAL_TARGET_EXPORTS) \
36452 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
36453 for flag in $(EXTRA_TARGET_FLAGS); do \
36454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36455 done; \
36456 (cd $(TARGET_SUBDIR)/libbacktrace && \
36457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36459 "RANLIB=$${RANLIB}" \
36460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36461 distclean) \
36462 || exit 1
36464 @endif target-libbacktrace
36466 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
36467 maybe-maintainer-clean-target-libbacktrace:
36468 @if target-libbacktrace
36469 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
36471 maintainer-clean-target-libbacktrace:
36472 @: $(MAKE); $(unstage)
36473 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36474 r=`${PWD_COMMAND}`; export r; \
36475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36476 $(NORMAL_TARGET_EXPORTS) \
36477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36478 for flag in $(EXTRA_TARGET_FLAGS); do \
36479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36480 done; \
36481 (cd $(TARGET_SUBDIR)/libbacktrace && \
36482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36484 "RANLIB=$${RANLIB}" \
36485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36486 maintainer-clean) \
36487 || exit 1
36489 @endif target-libbacktrace
36495 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
36496 maybe-configure-target-libquadmath:
36497 @if gcc-bootstrap
36498 configure-target-libquadmath: stage_current
36499 @endif gcc-bootstrap
36500 @if target-libquadmath
36501 maybe-configure-target-libquadmath: configure-target-libquadmath
36502 configure-target-libquadmath:
36503 @: $(MAKE); $(unstage)
36504 @r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 echo "Checking multilib configuration for libquadmath..."; \
36507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
36509 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36510 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36511 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
36512 else \
36513 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
36514 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36515 fi; \
36516 else \
36517 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36518 fi; \
36519 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
36520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36521 $(NORMAL_TARGET_EXPORTS) \
36522 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
36523 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
36524 case $(srcdir) in \
36525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36526 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
36527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36528 esac; \
36529 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
36530 libsrcdir="$$s/libquadmath"; \
36531 rm -f no-such-file || : ; \
36532 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36534 --target=${target_alias} $${srcdiroption} \
36535 || exit 1
36536 @endif target-libquadmath
36542 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
36543 maybe-all-target-libquadmath:
36544 @if gcc-bootstrap
36545 all-target-libquadmath: stage_current
36546 @endif gcc-bootstrap
36547 @if target-libquadmath
36548 TARGET-target-libquadmath=all
36549 maybe-all-target-libquadmath: all-target-libquadmath
36550 all-target-libquadmath: configure-target-libquadmath
36551 @: $(MAKE); $(unstage)
36552 @r=`${PWD_COMMAND}`; export r; \
36553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36554 $(NORMAL_TARGET_EXPORTS) \
36555 (cd $(TARGET_SUBDIR)/libquadmath && \
36556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36557 $(TARGET-target-libquadmath))
36558 @endif target-libquadmath
36564 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
36565 maybe-check-target-libquadmath:
36566 @if target-libquadmath
36567 maybe-check-target-libquadmath: check-target-libquadmath
36569 check-target-libquadmath:
36570 @: $(MAKE); $(unstage)
36571 @r=`${PWD_COMMAND}`; export r; \
36572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36573 $(NORMAL_TARGET_EXPORTS) \
36574 (cd $(TARGET_SUBDIR)/libquadmath && \
36575 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36577 @endif target-libquadmath
36579 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
36580 maybe-install-target-libquadmath:
36581 @if target-libquadmath
36582 maybe-install-target-libquadmath: install-target-libquadmath
36584 install-target-libquadmath: installdirs
36585 @: $(MAKE); $(unstage)
36586 @r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(NORMAL_TARGET_EXPORTS) \
36589 (cd $(TARGET_SUBDIR)/libquadmath && \
36590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36592 @endif target-libquadmath
36594 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
36595 maybe-install-strip-target-libquadmath:
36596 @if target-libquadmath
36597 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
36599 install-strip-target-libquadmath: installdirs
36600 @: $(MAKE); $(unstage)
36601 @r=`${PWD_COMMAND}`; export r; \
36602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36603 $(NORMAL_TARGET_EXPORTS) \
36604 (cd $(TARGET_SUBDIR)/libquadmath && \
36605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36607 @endif target-libquadmath
36609 # Other targets (info, dvi, pdf, etc.)
36611 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
36612 maybe-info-target-libquadmath:
36613 @if target-libquadmath
36614 maybe-info-target-libquadmath: info-target-libquadmath
36616 info-target-libquadmath: \
36617 configure-target-libquadmath
36618 @: $(MAKE); $(unstage)
36619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36620 r=`${PWD_COMMAND}`; export r; \
36621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36622 $(NORMAL_TARGET_EXPORTS) \
36623 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
36624 for flag in $(EXTRA_TARGET_FLAGS); do \
36625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36626 done; \
36627 (cd $(TARGET_SUBDIR)/libquadmath && \
36628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36630 "RANLIB=$${RANLIB}" \
36631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36632 info) \
36633 || exit 1
36635 @endif target-libquadmath
36637 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
36638 maybe-dvi-target-libquadmath:
36639 @if target-libquadmath
36640 maybe-dvi-target-libquadmath: dvi-target-libquadmath
36642 dvi-target-libquadmath: \
36643 configure-target-libquadmath
36644 @: $(MAKE); $(unstage)
36645 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36646 r=`${PWD_COMMAND}`; export r; \
36647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36648 $(NORMAL_TARGET_EXPORTS) \
36649 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
36650 for flag in $(EXTRA_TARGET_FLAGS); do \
36651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36652 done; \
36653 (cd $(TARGET_SUBDIR)/libquadmath && \
36654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36656 "RANLIB=$${RANLIB}" \
36657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36658 dvi) \
36659 || exit 1
36661 @endif target-libquadmath
36663 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
36664 maybe-pdf-target-libquadmath:
36665 @if target-libquadmath
36666 maybe-pdf-target-libquadmath: pdf-target-libquadmath
36668 pdf-target-libquadmath: \
36669 configure-target-libquadmath
36670 @: $(MAKE); $(unstage)
36671 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36672 r=`${PWD_COMMAND}`; export r; \
36673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36674 $(NORMAL_TARGET_EXPORTS) \
36675 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36676 for flag in $(EXTRA_TARGET_FLAGS); do \
36677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36678 done; \
36679 (cd $(TARGET_SUBDIR)/libquadmath && \
36680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36682 "RANLIB=$${RANLIB}" \
36683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36684 pdf) \
36685 || exit 1
36687 @endif target-libquadmath
36689 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
36690 maybe-html-target-libquadmath:
36691 @if target-libquadmath
36692 maybe-html-target-libquadmath: html-target-libquadmath
36694 html-target-libquadmath: \
36695 configure-target-libquadmath
36696 @: $(MAKE); $(unstage)
36697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36698 r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 $(NORMAL_TARGET_EXPORTS) \
36701 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
36702 for flag in $(EXTRA_TARGET_FLAGS); do \
36703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36704 done; \
36705 (cd $(TARGET_SUBDIR)/libquadmath && \
36706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36708 "RANLIB=$${RANLIB}" \
36709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36710 html) \
36711 || exit 1
36713 @endif target-libquadmath
36715 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
36716 maybe-TAGS-target-libquadmath:
36717 @if target-libquadmath
36718 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
36720 TAGS-target-libquadmath: \
36721 configure-target-libquadmath
36722 @: $(MAKE); $(unstage)
36723 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36724 r=`${PWD_COMMAND}`; export r; \
36725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36726 $(NORMAL_TARGET_EXPORTS) \
36727 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
36728 for flag in $(EXTRA_TARGET_FLAGS); do \
36729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36730 done; \
36731 (cd $(TARGET_SUBDIR)/libquadmath && \
36732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36734 "RANLIB=$${RANLIB}" \
36735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36736 TAGS) \
36737 || exit 1
36739 @endif target-libquadmath
36741 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
36742 maybe-install-info-target-libquadmath:
36743 @if target-libquadmath
36744 maybe-install-info-target-libquadmath: install-info-target-libquadmath
36746 install-info-target-libquadmath: \
36747 configure-target-libquadmath \
36748 info-target-libquadmath
36749 @: $(MAKE); $(unstage)
36750 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36751 r=`${PWD_COMMAND}`; export r; \
36752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36753 $(NORMAL_TARGET_EXPORTS) \
36754 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
36755 for flag in $(EXTRA_TARGET_FLAGS); do \
36756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36757 done; \
36758 (cd $(TARGET_SUBDIR)/libquadmath && \
36759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36761 "RANLIB=$${RANLIB}" \
36762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36763 install-info) \
36764 || exit 1
36766 @endif target-libquadmath
36768 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
36769 maybe-install-pdf-target-libquadmath:
36770 @if target-libquadmath
36771 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
36773 install-pdf-target-libquadmath: \
36774 configure-target-libquadmath \
36775 pdf-target-libquadmath
36776 @: $(MAKE); $(unstage)
36777 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36778 r=`${PWD_COMMAND}`; export r; \
36779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36780 $(NORMAL_TARGET_EXPORTS) \
36781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36782 for flag in $(EXTRA_TARGET_FLAGS); do \
36783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36784 done; \
36785 (cd $(TARGET_SUBDIR)/libquadmath && \
36786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36788 "RANLIB=$${RANLIB}" \
36789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36790 install-pdf) \
36791 || exit 1
36793 @endif target-libquadmath
36795 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
36796 maybe-install-html-target-libquadmath:
36797 @if target-libquadmath
36798 maybe-install-html-target-libquadmath: install-html-target-libquadmath
36800 install-html-target-libquadmath: \
36801 configure-target-libquadmath \
36802 html-target-libquadmath
36803 @: $(MAKE); $(unstage)
36804 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36805 r=`${PWD_COMMAND}`; export r; \
36806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36807 $(NORMAL_TARGET_EXPORTS) \
36808 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
36809 for flag in $(EXTRA_TARGET_FLAGS); do \
36810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36811 done; \
36812 (cd $(TARGET_SUBDIR)/libquadmath && \
36813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36815 "RANLIB=$${RANLIB}" \
36816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36817 install-html) \
36818 || exit 1
36820 @endif target-libquadmath
36822 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
36823 maybe-installcheck-target-libquadmath:
36824 @if target-libquadmath
36825 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
36827 installcheck-target-libquadmath: \
36828 configure-target-libquadmath
36829 @: $(MAKE); $(unstage)
36830 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36831 r=`${PWD_COMMAND}`; export r; \
36832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36833 $(NORMAL_TARGET_EXPORTS) \
36834 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
36835 for flag in $(EXTRA_TARGET_FLAGS); do \
36836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36837 done; \
36838 (cd $(TARGET_SUBDIR)/libquadmath && \
36839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36841 "RANLIB=$${RANLIB}" \
36842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36843 installcheck) \
36844 || exit 1
36846 @endif target-libquadmath
36848 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
36849 maybe-mostlyclean-target-libquadmath:
36850 @if target-libquadmath
36851 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
36853 mostlyclean-target-libquadmath:
36854 @: $(MAKE); $(unstage)
36855 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36856 r=`${PWD_COMMAND}`; export r; \
36857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36858 $(NORMAL_TARGET_EXPORTS) \
36859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
36860 for flag in $(EXTRA_TARGET_FLAGS); do \
36861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36862 done; \
36863 (cd $(TARGET_SUBDIR)/libquadmath && \
36864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36866 "RANLIB=$${RANLIB}" \
36867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36868 mostlyclean) \
36869 || exit 1
36871 @endif target-libquadmath
36873 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
36874 maybe-clean-target-libquadmath:
36875 @if target-libquadmath
36876 maybe-clean-target-libquadmath: clean-target-libquadmath
36878 clean-target-libquadmath:
36879 @: $(MAKE); $(unstage)
36880 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36881 r=`${PWD_COMMAND}`; export r; \
36882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36883 $(NORMAL_TARGET_EXPORTS) \
36884 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
36885 for flag in $(EXTRA_TARGET_FLAGS); do \
36886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36887 done; \
36888 (cd $(TARGET_SUBDIR)/libquadmath && \
36889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36891 "RANLIB=$${RANLIB}" \
36892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36893 clean) \
36894 || exit 1
36896 @endif target-libquadmath
36898 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
36899 maybe-distclean-target-libquadmath:
36900 @if target-libquadmath
36901 maybe-distclean-target-libquadmath: distclean-target-libquadmath
36903 distclean-target-libquadmath:
36904 @: $(MAKE); $(unstage)
36905 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36906 r=`${PWD_COMMAND}`; export r; \
36907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36908 $(NORMAL_TARGET_EXPORTS) \
36909 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
36910 for flag in $(EXTRA_TARGET_FLAGS); do \
36911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36912 done; \
36913 (cd $(TARGET_SUBDIR)/libquadmath && \
36914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36916 "RANLIB=$${RANLIB}" \
36917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36918 distclean) \
36919 || exit 1
36921 @endif target-libquadmath
36923 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
36924 maybe-maintainer-clean-target-libquadmath:
36925 @if target-libquadmath
36926 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
36928 maintainer-clean-target-libquadmath:
36929 @: $(MAKE); $(unstage)
36930 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36931 r=`${PWD_COMMAND}`; export r; \
36932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36933 $(NORMAL_TARGET_EXPORTS) \
36934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
36935 for flag in $(EXTRA_TARGET_FLAGS); do \
36936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36937 done; \
36938 (cd $(TARGET_SUBDIR)/libquadmath && \
36939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36941 "RANLIB=$${RANLIB}" \
36942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36943 maintainer-clean) \
36944 || exit 1
36946 @endif target-libquadmath
36952 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
36953 maybe-configure-target-libgfortran:
36954 @if gcc-bootstrap
36955 configure-target-libgfortran: stage_current
36956 @endif gcc-bootstrap
36957 @if target-libgfortran
36958 maybe-configure-target-libgfortran: configure-target-libgfortran
36959 configure-target-libgfortran:
36960 @: $(MAKE); $(unstage)
36961 @r=`${PWD_COMMAND}`; export r; \
36962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36963 echo "Checking multilib configuration for libgfortran..."; \
36964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
36966 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36967 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36968 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
36969 else \
36970 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
36971 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36972 fi; \
36973 else \
36974 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36975 fi; \
36976 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
36977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36978 $(NORMAL_TARGET_EXPORTS) \
36979 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
36980 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
36981 case $(srcdir) in \
36982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36983 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
36984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36985 esac; \
36986 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
36987 libsrcdir="$$s/libgfortran"; \
36988 rm -f no-such-file || : ; \
36989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36991 --target=${target_alias} $${srcdiroption} \
36992 || exit 1
36993 @endif target-libgfortran
36999 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
37000 maybe-all-target-libgfortran:
37001 @if gcc-bootstrap
37002 all-target-libgfortran: stage_current
37003 @endif gcc-bootstrap
37004 @if target-libgfortran
37005 TARGET-target-libgfortran=all
37006 maybe-all-target-libgfortran: all-target-libgfortran
37007 all-target-libgfortran: configure-target-libgfortran
37008 @: $(MAKE); $(unstage)
37009 @r=`${PWD_COMMAND}`; export r; \
37010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37011 $(NORMAL_TARGET_EXPORTS) \
37012 (cd $(TARGET_SUBDIR)/libgfortran && \
37013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37014 $(TARGET-target-libgfortran))
37015 @endif target-libgfortran
37021 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
37022 maybe-check-target-libgfortran:
37023 @if target-libgfortran
37024 maybe-check-target-libgfortran: check-target-libgfortran
37026 check-target-libgfortran:
37027 @: $(MAKE); $(unstage)
37028 @r=`${PWD_COMMAND}`; export r; \
37029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37030 $(NORMAL_TARGET_EXPORTS) \
37031 (cd $(TARGET_SUBDIR)/libgfortran && \
37032 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37034 @endif target-libgfortran
37036 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
37037 maybe-install-target-libgfortran:
37038 @if target-libgfortran
37039 maybe-install-target-libgfortran: install-target-libgfortran
37041 install-target-libgfortran: installdirs
37042 @: $(MAKE); $(unstage)
37043 @r=`${PWD_COMMAND}`; export r; \
37044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37045 $(NORMAL_TARGET_EXPORTS) \
37046 (cd $(TARGET_SUBDIR)/libgfortran && \
37047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37049 @endif target-libgfortran
37051 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
37052 maybe-install-strip-target-libgfortran:
37053 @if target-libgfortran
37054 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
37056 install-strip-target-libgfortran: installdirs
37057 @: $(MAKE); $(unstage)
37058 @r=`${PWD_COMMAND}`; export r; \
37059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37060 $(NORMAL_TARGET_EXPORTS) \
37061 (cd $(TARGET_SUBDIR)/libgfortran && \
37062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37064 @endif target-libgfortran
37066 # Other targets (info, dvi, pdf, etc.)
37068 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
37069 maybe-info-target-libgfortran:
37070 @if target-libgfortran
37071 maybe-info-target-libgfortran: info-target-libgfortran
37073 info-target-libgfortran: \
37074 configure-target-libgfortran
37075 @: $(MAKE); $(unstage)
37076 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37077 r=`${PWD_COMMAND}`; export r; \
37078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37079 $(NORMAL_TARGET_EXPORTS) \
37080 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
37081 for flag in $(EXTRA_TARGET_FLAGS); do \
37082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37083 done; \
37084 (cd $(TARGET_SUBDIR)/libgfortran && \
37085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37087 "RANLIB=$${RANLIB}" \
37088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37089 info) \
37090 || exit 1
37092 @endif target-libgfortran
37094 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
37095 maybe-dvi-target-libgfortran:
37096 @if target-libgfortran
37097 maybe-dvi-target-libgfortran: dvi-target-libgfortran
37099 dvi-target-libgfortran: \
37100 configure-target-libgfortran
37101 @: $(MAKE); $(unstage)
37102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37103 r=`${PWD_COMMAND}`; export r; \
37104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37105 $(NORMAL_TARGET_EXPORTS) \
37106 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
37107 for flag in $(EXTRA_TARGET_FLAGS); do \
37108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37109 done; \
37110 (cd $(TARGET_SUBDIR)/libgfortran && \
37111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37113 "RANLIB=$${RANLIB}" \
37114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37115 dvi) \
37116 || exit 1
37118 @endif target-libgfortran
37120 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
37121 maybe-pdf-target-libgfortran:
37122 @if target-libgfortran
37123 maybe-pdf-target-libgfortran: pdf-target-libgfortran
37125 pdf-target-libgfortran: \
37126 configure-target-libgfortran
37127 @: $(MAKE); $(unstage)
37128 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37129 r=`${PWD_COMMAND}`; export r; \
37130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37131 $(NORMAL_TARGET_EXPORTS) \
37132 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37133 for flag in $(EXTRA_TARGET_FLAGS); do \
37134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37135 done; \
37136 (cd $(TARGET_SUBDIR)/libgfortran && \
37137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37139 "RANLIB=$${RANLIB}" \
37140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37141 pdf) \
37142 || exit 1
37144 @endif target-libgfortran
37146 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
37147 maybe-html-target-libgfortran:
37148 @if target-libgfortran
37149 maybe-html-target-libgfortran: html-target-libgfortran
37151 html-target-libgfortran: \
37152 configure-target-libgfortran
37153 @: $(MAKE); $(unstage)
37154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37155 r=`${PWD_COMMAND}`; export r; \
37156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37157 $(NORMAL_TARGET_EXPORTS) \
37158 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
37159 for flag in $(EXTRA_TARGET_FLAGS); do \
37160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37161 done; \
37162 (cd $(TARGET_SUBDIR)/libgfortran && \
37163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37165 "RANLIB=$${RANLIB}" \
37166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37167 html) \
37168 || exit 1
37170 @endif target-libgfortran
37172 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
37173 maybe-TAGS-target-libgfortran:
37174 @if target-libgfortran
37175 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
37177 TAGS-target-libgfortran: \
37178 configure-target-libgfortran
37179 @: $(MAKE); $(unstage)
37180 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37181 r=`${PWD_COMMAND}`; export r; \
37182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37183 $(NORMAL_TARGET_EXPORTS) \
37184 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
37185 for flag in $(EXTRA_TARGET_FLAGS); do \
37186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37187 done; \
37188 (cd $(TARGET_SUBDIR)/libgfortran && \
37189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37191 "RANLIB=$${RANLIB}" \
37192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37193 TAGS) \
37194 || exit 1
37196 @endif target-libgfortran
37198 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
37199 maybe-install-info-target-libgfortran:
37200 @if target-libgfortran
37201 maybe-install-info-target-libgfortran: install-info-target-libgfortran
37203 install-info-target-libgfortran: \
37204 configure-target-libgfortran \
37205 info-target-libgfortran
37206 @: $(MAKE); $(unstage)
37207 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37208 r=`${PWD_COMMAND}`; export r; \
37209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37210 $(NORMAL_TARGET_EXPORTS) \
37211 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
37212 for flag in $(EXTRA_TARGET_FLAGS); do \
37213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37214 done; \
37215 (cd $(TARGET_SUBDIR)/libgfortran && \
37216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37218 "RANLIB=$${RANLIB}" \
37219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37220 install-info) \
37221 || exit 1
37223 @endif target-libgfortran
37225 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
37226 maybe-install-pdf-target-libgfortran:
37227 @if target-libgfortran
37228 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
37230 install-pdf-target-libgfortran: \
37231 configure-target-libgfortran \
37232 pdf-target-libgfortran
37233 @: $(MAKE); $(unstage)
37234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37235 r=`${PWD_COMMAND}`; export r; \
37236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37237 $(NORMAL_TARGET_EXPORTS) \
37238 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37239 for flag in $(EXTRA_TARGET_FLAGS); do \
37240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37241 done; \
37242 (cd $(TARGET_SUBDIR)/libgfortran && \
37243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37245 "RANLIB=$${RANLIB}" \
37246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37247 install-pdf) \
37248 || exit 1
37250 @endif target-libgfortran
37252 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
37253 maybe-install-html-target-libgfortran:
37254 @if target-libgfortran
37255 maybe-install-html-target-libgfortran: install-html-target-libgfortran
37257 install-html-target-libgfortran: \
37258 configure-target-libgfortran \
37259 html-target-libgfortran
37260 @: $(MAKE); $(unstage)
37261 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37262 r=`${PWD_COMMAND}`; export r; \
37263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37264 $(NORMAL_TARGET_EXPORTS) \
37265 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
37266 for flag in $(EXTRA_TARGET_FLAGS); do \
37267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37268 done; \
37269 (cd $(TARGET_SUBDIR)/libgfortran && \
37270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37272 "RANLIB=$${RANLIB}" \
37273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37274 install-html) \
37275 || exit 1
37277 @endif target-libgfortran
37279 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
37280 maybe-installcheck-target-libgfortran:
37281 @if target-libgfortran
37282 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
37284 installcheck-target-libgfortran: \
37285 configure-target-libgfortran
37286 @: $(MAKE); $(unstage)
37287 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37288 r=`${PWD_COMMAND}`; export r; \
37289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37290 $(NORMAL_TARGET_EXPORTS) \
37291 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
37292 for flag in $(EXTRA_TARGET_FLAGS); do \
37293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37294 done; \
37295 (cd $(TARGET_SUBDIR)/libgfortran && \
37296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37298 "RANLIB=$${RANLIB}" \
37299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37300 installcheck) \
37301 || exit 1
37303 @endif target-libgfortran
37305 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
37306 maybe-mostlyclean-target-libgfortran:
37307 @if target-libgfortran
37308 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
37310 mostlyclean-target-libgfortran:
37311 @: $(MAKE); $(unstage)
37312 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37313 r=`${PWD_COMMAND}`; export r; \
37314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37315 $(NORMAL_TARGET_EXPORTS) \
37316 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
37317 for flag in $(EXTRA_TARGET_FLAGS); do \
37318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37319 done; \
37320 (cd $(TARGET_SUBDIR)/libgfortran && \
37321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37323 "RANLIB=$${RANLIB}" \
37324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37325 mostlyclean) \
37326 || exit 1
37328 @endif target-libgfortran
37330 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
37331 maybe-clean-target-libgfortran:
37332 @if target-libgfortran
37333 maybe-clean-target-libgfortran: clean-target-libgfortran
37335 clean-target-libgfortran:
37336 @: $(MAKE); $(unstage)
37337 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(NORMAL_TARGET_EXPORTS) \
37341 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
37342 for flag in $(EXTRA_TARGET_FLAGS); do \
37343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37344 done; \
37345 (cd $(TARGET_SUBDIR)/libgfortran && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37350 clean) \
37351 || exit 1
37353 @endif target-libgfortran
37355 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
37356 maybe-distclean-target-libgfortran:
37357 @if target-libgfortran
37358 maybe-distclean-target-libgfortran: distclean-target-libgfortran
37360 distclean-target-libgfortran:
37361 @: $(MAKE); $(unstage)
37362 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(NORMAL_TARGET_EXPORTS) \
37366 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
37367 for flag in $(EXTRA_TARGET_FLAGS); do \
37368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37369 done; \
37370 (cd $(TARGET_SUBDIR)/libgfortran && \
37371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37373 "RANLIB=$${RANLIB}" \
37374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37375 distclean) \
37376 || exit 1
37378 @endif target-libgfortran
37380 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
37381 maybe-maintainer-clean-target-libgfortran:
37382 @if target-libgfortran
37383 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
37385 maintainer-clean-target-libgfortran:
37386 @: $(MAKE); $(unstage)
37387 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37388 r=`${PWD_COMMAND}`; export r; \
37389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37390 $(NORMAL_TARGET_EXPORTS) \
37391 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
37392 for flag in $(EXTRA_TARGET_FLAGS); do \
37393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37394 done; \
37395 (cd $(TARGET_SUBDIR)/libgfortran && \
37396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37398 "RANLIB=$${RANLIB}" \
37399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37400 maintainer-clean) \
37401 || exit 1
37403 @endif target-libgfortran
37409 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
37410 maybe-configure-target-libobjc:
37411 @if gcc-bootstrap
37412 configure-target-libobjc: stage_current
37413 @endif gcc-bootstrap
37414 @if target-libobjc
37415 maybe-configure-target-libobjc: configure-target-libobjc
37416 configure-target-libobjc:
37417 @: $(MAKE); $(unstage)
37418 @r=`${PWD_COMMAND}`; export r; \
37419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37420 echo "Checking multilib configuration for libobjc..."; \
37421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
37423 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37424 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
37425 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
37426 else \
37427 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
37428 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37429 fi; \
37430 else \
37431 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
37432 fi; \
37433 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
37434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
37435 $(NORMAL_TARGET_EXPORTS) \
37436 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
37437 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
37438 case $(srcdir) in \
37439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37440 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
37441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37442 esac; \
37443 srcdiroption="--srcdir=$${topdir}/libobjc"; \
37444 libsrcdir="$$s/libobjc"; \
37445 rm -f no-such-file || : ; \
37446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37448 --target=${target_alias} $${srcdiroption} \
37449 || exit 1
37450 @endif target-libobjc
37456 .PHONY: all-target-libobjc maybe-all-target-libobjc
37457 maybe-all-target-libobjc:
37458 @if gcc-bootstrap
37459 all-target-libobjc: stage_current
37460 @endif gcc-bootstrap
37461 @if target-libobjc
37462 TARGET-target-libobjc=all
37463 maybe-all-target-libobjc: all-target-libobjc
37464 all-target-libobjc: configure-target-libobjc
37465 @: $(MAKE); $(unstage)
37466 @r=`${PWD_COMMAND}`; export r; \
37467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37468 $(NORMAL_TARGET_EXPORTS) \
37469 (cd $(TARGET_SUBDIR)/libobjc && \
37470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37471 $(TARGET-target-libobjc))
37472 @endif target-libobjc
37478 .PHONY: check-target-libobjc maybe-check-target-libobjc
37479 maybe-check-target-libobjc:
37480 @if target-libobjc
37481 maybe-check-target-libobjc: check-target-libobjc
37483 check-target-libobjc:
37484 @: $(MAKE); $(unstage)
37485 @r=`${PWD_COMMAND}`; export r; \
37486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37487 $(NORMAL_TARGET_EXPORTS) \
37488 (cd $(TARGET_SUBDIR)/libobjc && \
37489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37491 @endif target-libobjc
37493 .PHONY: install-target-libobjc maybe-install-target-libobjc
37494 maybe-install-target-libobjc:
37495 @if target-libobjc
37496 maybe-install-target-libobjc: install-target-libobjc
37498 install-target-libobjc: installdirs
37499 @: $(MAKE); $(unstage)
37500 @r=`${PWD_COMMAND}`; export r; \
37501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37502 $(NORMAL_TARGET_EXPORTS) \
37503 (cd $(TARGET_SUBDIR)/libobjc && \
37504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37506 @endif target-libobjc
37508 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
37509 maybe-install-strip-target-libobjc:
37510 @if target-libobjc
37511 maybe-install-strip-target-libobjc: install-strip-target-libobjc
37513 install-strip-target-libobjc: installdirs
37514 @: $(MAKE); $(unstage)
37515 @r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(NORMAL_TARGET_EXPORTS) \
37518 (cd $(TARGET_SUBDIR)/libobjc && \
37519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37521 @endif target-libobjc
37523 # Other targets (info, dvi, pdf, etc.)
37525 .PHONY: maybe-info-target-libobjc info-target-libobjc
37526 maybe-info-target-libobjc:
37527 @if target-libobjc
37528 maybe-info-target-libobjc: info-target-libobjc
37530 info-target-libobjc: \
37531 configure-target-libobjc
37532 @: $(MAKE); $(unstage)
37533 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37534 r=`${PWD_COMMAND}`; export r; \
37535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37536 $(NORMAL_TARGET_EXPORTS) \
37537 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
37538 for flag in $(EXTRA_TARGET_FLAGS); do \
37539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37540 done; \
37541 (cd $(TARGET_SUBDIR)/libobjc && \
37542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37544 "RANLIB=$${RANLIB}" \
37545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37546 info) \
37547 || exit 1
37549 @endif target-libobjc
37551 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
37552 maybe-dvi-target-libobjc:
37553 @if target-libobjc
37554 maybe-dvi-target-libobjc: dvi-target-libobjc
37556 dvi-target-libobjc: \
37557 configure-target-libobjc
37558 @: $(MAKE); $(unstage)
37559 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37560 r=`${PWD_COMMAND}`; export r; \
37561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37562 $(NORMAL_TARGET_EXPORTS) \
37563 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
37564 for flag in $(EXTRA_TARGET_FLAGS); do \
37565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37566 done; \
37567 (cd $(TARGET_SUBDIR)/libobjc && \
37568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37570 "RANLIB=$${RANLIB}" \
37571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37572 dvi) \
37573 || exit 1
37575 @endif target-libobjc
37577 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
37578 maybe-pdf-target-libobjc:
37579 @if target-libobjc
37580 maybe-pdf-target-libobjc: pdf-target-libobjc
37582 pdf-target-libobjc: \
37583 configure-target-libobjc
37584 @: $(MAKE); $(unstage)
37585 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37586 r=`${PWD_COMMAND}`; export r; \
37587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37588 $(NORMAL_TARGET_EXPORTS) \
37589 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
37590 for flag in $(EXTRA_TARGET_FLAGS); do \
37591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37592 done; \
37593 (cd $(TARGET_SUBDIR)/libobjc && \
37594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37596 "RANLIB=$${RANLIB}" \
37597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37598 pdf) \
37599 || exit 1
37601 @endif target-libobjc
37603 .PHONY: maybe-html-target-libobjc html-target-libobjc
37604 maybe-html-target-libobjc:
37605 @if target-libobjc
37606 maybe-html-target-libobjc: html-target-libobjc
37608 html-target-libobjc: \
37609 configure-target-libobjc
37610 @: $(MAKE); $(unstage)
37611 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37612 r=`${PWD_COMMAND}`; export r; \
37613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37614 $(NORMAL_TARGET_EXPORTS) \
37615 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
37616 for flag in $(EXTRA_TARGET_FLAGS); do \
37617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37618 done; \
37619 (cd $(TARGET_SUBDIR)/libobjc && \
37620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37622 "RANLIB=$${RANLIB}" \
37623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37624 html) \
37625 || exit 1
37627 @endif target-libobjc
37629 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
37630 maybe-TAGS-target-libobjc:
37631 @if target-libobjc
37632 maybe-TAGS-target-libobjc: TAGS-target-libobjc
37634 TAGS-target-libobjc: \
37635 configure-target-libobjc
37636 @: $(MAKE); $(unstage)
37637 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37638 r=`${PWD_COMMAND}`; export r; \
37639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37640 $(NORMAL_TARGET_EXPORTS) \
37641 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
37642 for flag in $(EXTRA_TARGET_FLAGS); do \
37643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37644 done; \
37645 (cd $(TARGET_SUBDIR)/libobjc && \
37646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37648 "RANLIB=$${RANLIB}" \
37649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37650 TAGS) \
37651 || exit 1
37653 @endif target-libobjc
37655 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
37656 maybe-install-info-target-libobjc:
37657 @if target-libobjc
37658 maybe-install-info-target-libobjc: install-info-target-libobjc
37660 install-info-target-libobjc: \
37661 configure-target-libobjc \
37662 info-target-libobjc
37663 @: $(MAKE); $(unstage)
37664 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37665 r=`${PWD_COMMAND}`; export r; \
37666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37667 $(NORMAL_TARGET_EXPORTS) \
37668 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
37669 for flag in $(EXTRA_TARGET_FLAGS); do \
37670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37671 done; \
37672 (cd $(TARGET_SUBDIR)/libobjc && \
37673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37675 "RANLIB=$${RANLIB}" \
37676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37677 install-info) \
37678 || exit 1
37680 @endif target-libobjc
37682 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
37683 maybe-install-pdf-target-libobjc:
37684 @if target-libobjc
37685 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
37687 install-pdf-target-libobjc: \
37688 configure-target-libobjc \
37689 pdf-target-libobjc
37690 @: $(MAKE); $(unstage)
37691 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37692 r=`${PWD_COMMAND}`; export r; \
37693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37694 $(NORMAL_TARGET_EXPORTS) \
37695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
37696 for flag in $(EXTRA_TARGET_FLAGS); do \
37697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37698 done; \
37699 (cd $(TARGET_SUBDIR)/libobjc && \
37700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37702 "RANLIB=$${RANLIB}" \
37703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37704 install-pdf) \
37705 || exit 1
37707 @endif target-libobjc
37709 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
37710 maybe-install-html-target-libobjc:
37711 @if target-libobjc
37712 maybe-install-html-target-libobjc: install-html-target-libobjc
37714 install-html-target-libobjc: \
37715 configure-target-libobjc \
37716 html-target-libobjc
37717 @: $(MAKE); $(unstage)
37718 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37719 r=`${PWD_COMMAND}`; export r; \
37720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37721 $(NORMAL_TARGET_EXPORTS) \
37722 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
37723 for flag in $(EXTRA_TARGET_FLAGS); do \
37724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37725 done; \
37726 (cd $(TARGET_SUBDIR)/libobjc && \
37727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37729 "RANLIB=$${RANLIB}" \
37730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37731 install-html) \
37732 || exit 1
37734 @endif target-libobjc
37736 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
37737 maybe-installcheck-target-libobjc:
37738 @if target-libobjc
37739 maybe-installcheck-target-libobjc: installcheck-target-libobjc
37741 installcheck-target-libobjc: \
37742 configure-target-libobjc
37743 @: $(MAKE); $(unstage)
37744 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37745 r=`${PWD_COMMAND}`; export r; \
37746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37747 $(NORMAL_TARGET_EXPORTS) \
37748 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
37749 for flag in $(EXTRA_TARGET_FLAGS); do \
37750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37751 done; \
37752 (cd $(TARGET_SUBDIR)/libobjc && \
37753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37755 "RANLIB=$${RANLIB}" \
37756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37757 installcheck) \
37758 || exit 1
37760 @endif target-libobjc
37762 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
37763 maybe-mostlyclean-target-libobjc:
37764 @if target-libobjc
37765 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
37767 mostlyclean-target-libobjc:
37768 @: $(MAKE); $(unstage)
37769 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37770 r=`${PWD_COMMAND}`; export r; \
37771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37772 $(NORMAL_TARGET_EXPORTS) \
37773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
37774 for flag in $(EXTRA_TARGET_FLAGS); do \
37775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37776 done; \
37777 (cd $(TARGET_SUBDIR)/libobjc && \
37778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37780 "RANLIB=$${RANLIB}" \
37781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37782 mostlyclean) \
37783 || exit 1
37785 @endif target-libobjc
37787 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
37788 maybe-clean-target-libobjc:
37789 @if target-libobjc
37790 maybe-clean-target-libobjc: clean-target-libobjc
37792 clean-target-libobjc:
37793 @: $(MAKE); $(unstage)
37794 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37795 r=`${PWD_COMMAND}`; export r; \
37796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37797 $(NORMAL_TARGET_EXPORTS) \
37798 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
37799 for flag in $(EXTRA_TARGET_FLAGS); do \
37800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37801 done; \
37802 (cd $(TARGET_SUBDIR)/libobjc && \
37803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37805 "RANLIB=$${RANLIB}" \
37806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37807 clean) \
37808 || exit 1
37810 @endif target-libobjc
37812 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
37813 maybe-distclean-target-libobjc:
37814 @if target-libobjc
37815 maybe-distclean-target-libobjc: distclean-target-libobjc
37817 distclean-target-libobjc:
37818 @: $(MAKE); $(unstage)
37819 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37820 r=`${PWD_COMMAND}`; export r; \
37821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37822 $(NORMAL_TARGET_EXPORTS) \
37823 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
37824 for flag in $(EXTRA_TARGET_FLAGS); do \
37825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37826 done; \
37827 (cd $(TARGET_SUBDIR)/libobjc && \
37828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37830 "RANLIB=$${RANLIB}" \
37831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37832 distclean) \
37833 || exit 1
37835 @endif target-libobjc
37837 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
37838 maybe-maintainer-clean-target-libobjc:
37839 @if target-libobjc
37840 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
37842 maintainer-clean-target-libobjc:
37843 @: $(MAKE); $(unstage)
37844 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37845 r=`${PWD_COMMAND}`; export r; \
37846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37847 $(NORMAL_TARGET_EXPORTS) \
37848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
37849 for flag in $(EXTRA_TARGET_FLAGS); do \
37850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37851 done; \
37852 (cd $(TARGET_SUBDIR)/libobjc && \
37853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37855 "RANLIB=$${RANLIB}" \
37856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37857 maintainer-clean) \
37858 || exit 1
37860 @endif target-libobjc
37866 .PHONY: configure-target-libgo maybe-configure-target-libgo
37867 maybe-configure-target-libgo:
37868 @if gcc-bootstrap
37869 configure-target-libgo: stage_current
37870 @endif gcc-bootstrap
37871 @if target-libgo
37872 maybe-configure-target-libgo: configure-target-libgo
37873 configure-target-libgo:
37874 @: $(MAKE); $(unstage)
37875 @r=`${PWD_COMMAND}`; export r; \
37876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37877 echo "Checking multilib configuration for libgo..."; \
37878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
37880 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
37881 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
37882 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
37883 else \
37884 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
37885 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37886 fi; \
37887 else \
37888 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37889 fi; \
37890 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
37891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37892 $(NORMAL_TARGET_EXPORTS) \
37893 echo Configuring in $(TARGET_SUBDIR)/libgo; \
37894 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
37895 case $(srcdir) in \
37896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37897 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
37898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37899 esac; \
37900 srcdiroption="--srcdir=$${topdir}/libgo"; \
37901 libsrcdir="$$s/libgo"; \
37902 rm -f no-such-file || : ; \
37903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37905 --target=${target_alias} $${srcdiroption} \
37906 || exit 1
37907 @endif target-libgo
37913 .PHONY: all-target-libgo maybe-all-target-libgo
37914 maybe-all-target-libgo:
37915 @if gcc-bootstrap
37916 all-target-libgo: stage_current
37917 @endif gcc-bootstrap
37918 @if target-libgo
37919 TARGET-target-libgo=all
37920 maybe-all-target-libgo: all-target-libgo
37921 all-target-libgo: configure-target-libgo
37922 @: $(MAKE); $(unstage)
37923 @r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(NORMAL_TARGET_EXPORTS) \
37926 (cd $(TARGET_SUBDIR)/libgo && \
37927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37928 $(TARGET-target-libgo))
37929 @endif target-libgo
37935 .PHONY: check-target-libgo maybe-check-target-libgo
37936 maybe-check-target-libgo:
37937 @if target-libgo
37938 maybe-check-target-libgo: check-target-libgo
37940 check-target-libgo:
37941 @: $(MAKE); $(unstage)
37942 @r=`${PWD_COMMAND}`; export r; \
37943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37944 $(NORMAL_TARGET_EXPORTS) \
37945 (cd $(TARGET_SUBDIR)/libgo && \
37946 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37948 @endif target-libgo
37950 .PHONY: install-target-libgo maybe-install-target-libgo
37951 maybe-install-target-libgo:
37952 @if target-libgo
37953 maybe-install-target-libgo: install-target-libgo
37955 install-target-libgo: installdirs
37956 @: $(MAKE); $(unstage)
37957 @r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 $(NORMAL_TARGET_EXPORTS) \
37960 (cd $(TARGET_SUBDIR)/libgo && \
37961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37963 @endif target-libgo
37965 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
37966 maybe-install-strip-target-libgo:
37967 @if target-libgo
37968 maybe-install-strip-target-libgo: install-strip-target-libgo
37970 install-strip-target-libgo: installdirs
37971 @: $(MAKE); $(unstage)
37972 @r=`${PWD_COMMAND}`; export r; \
37973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37974 $(NORMAL_TARGET_EXPORTS) \
37975 (cd $(TARGET_SUBDIR)/libgo && \
37976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37978 @endif target-libgo
37980 # Other targets (info, dvi, pdf, etc.)
37982 .PHONY: maybe-info-target-libgo info-target-libgo
37983 maybe-info-target-libgo:
37984 @if target-libgo
37985 maybe-info-target-libgo: info-target-libgo
37987 info-target-libgo: \
37988 configure-target-libgo
37989 @: $(MAKE); $(unstage)
37990 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37991 r=`${PWD_COMMAND}`; export r; \
37992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37993 $(NORMAL_TARGET_EXPORTS) \
37994 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
37995 for flag in $(EXTRA_TARGET_FLAGS); do \
37996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37997 done; \
37998 (cd $(TARGET_SUBDIR)/libgo && \
37999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38001 "RANLIB=$${RANLIB}" \
38002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38003 info) \
38004 || exit 1
38006 @endif target-libgo
38008 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
38009 maybe-dvi-target-libgo:
38010 @if target-libgo
38011 maybe-dvi-target-libgo: dvi-target-libgo
38013 dvi-target-libgo: \
38014 configure-target-libgo
38015 @: $(MAKE); $(unstage)
38016 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38017 r=`${PWD_COMMAND}`; export r; \
38018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38019 $(NORMAL_TARGET_EXPORTS) \
38020 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
38021 for flag in $(EXTRA_TARGET_FLAGS); do \
38022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38023 done; \
38024 (cd $(TARGET_SUBDIR)/libgo && \
38025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38027 "RANLIB=$${RANLIB}" \
38028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38029 dvi) \
38030 || exit 1
38032 @endif target-libgo
38034 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
38035 maybe-pdf-target-libgo:
38036 @if target-libgo
38037 maybe-pdf-target-libgo: pdf-target-libgo
38039 pdf-target-libgo: \
38040 configure-target-libgo
38041 @: $(MAKE); $(unstage)
38042 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38043 r=`${PWD_COMMAND}`; export r; \
38044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38045 $(NORMAL_TARGET_EXPORTS) \
38046 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
38047 for flag in $(EXTRA_TARGET_FLAGS); do \
38048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38049 done; \
38050 (cd $(TARGET_SUBDIR)/libgo && \
38051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38053 "RANLIB=$${RANLIB}" \
38054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38055 pdf) \
38056 || exit 1
38058 @endif target-libgo
38060 .PHONY: maybe-html-target-libgo html-target-libgo
38061 maybe-html-target-libgo:
38062 @if target-libgo
38063 maybe-html-target-libgo: html-target-libgo
38065 html-target-libgo: \
38066 configure-target-libgo
38067 @: $(MAKE); $(unstage)
38068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38069 r=`${PWD_COMMAND}`; export r; \
38070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38071 $(NORMAL_TARGET_EXPORTS) \
38072 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
38073 for flag in $(EXTRA_TARGET_FLAGS); do \
38074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38075 done; \
38076 (cd $(TARGET_SUBDIR)/libgo && \
38077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38079 "RANLIB=$${RANLIB}" \
38080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38081 html) \
38082 || exit 1
38084 @endif target-libgo
38086 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
38087 maybe-TAGS-target-libgo:
38088 @if target-libgo
38089 maybe-TAGS-target-libgo: TAGS-target-libgo
38091 TAGS-target-libgo: \
38092 configure-target-libgo
38093 @: $(MAKE); $(unstage)
38094 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38095 r=`${PWD_COMMAND}`; export r; \
38096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38097 $(NORMAL_TARGET_EXPORTS) \
38098 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
38099 for flag in $(EXTRA_TARGET_FLAGS); do \
38100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38101 done; \
38102 (cd $(TARGET_SUBDIR)/libgo && \
38103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38105 "RANLIB=$${RANLIB}" \
38106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38107 TAGS) \
38108 || exit 1
38110 @endif target-libgo
38112 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
38113 maybe-install-info-target-libgo:
38114 @if target-libgo
38115 maybe-install-info-target-libgo: install-info-target-libgo
38117 install-info-target-libgo: \
38118 configure-target-libgo \
38119 info-target-libgo
38120 @: $(MAKE); $(unstage)
38121 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38122 r=`${PWD_COMMAND}`; export r; \
38123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38124 $(NORMAL_TARGET_EXPORTS) \
38125 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
38126 for flag in $(EXTRA_TARGET_FLAGS); do \
38127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38128 done; \
38129 (cd $(TARGET_SUBDIR)/libgo && \
38130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38132 "RANLIB=$${RANLIB}" \
38133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38134 install-info) \
38135 || exit 1
38137 @endif target-libgo
38139 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
38140 maybe-install-pdf-target-libgo:
38141 @if target-libgo
38142 maybe-install-pdf-target-libgo: install-pdf-target-libgo
38144 install-pdf-target-libgo: \
38145 configure-target-libgo \
38146 pdf-target-libgo
38147 @: $(MAKE); $(unstage)
38148 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38149 r=`${PWD_COMMAND}`; export r; \
38150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38151 $(NORMAL_TARGET_EXPORTS) \
38152 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
38153 for flag in $(EXTRA_TARGET_FLAGS); do \
38154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38155 done; \
38156 (cd $(TARGET_SUBDIR)/libgo && \
38157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38159 "RANLIB=$${RANLIB}" \
38160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38161 install-pdf) \
38162 || exit 1
38164 @endif target-libgo
38166 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
38167 maybe-install-html-target-libgo:
38168 @if target-libgo
38169 maybe-install-html-target-libgo: install-html-target-libgo
38171 install-html-target-libgo: \
38172 configure-target-libgo \
38173 html-target-libgo
38174 @: $(MAKE); $(unstage)
38175 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38176 r=`${PWD_COMMAND}`; export r; \
38177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38178 $(NORMAL_TARGET_EXPORTS) \
38179 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
38180 for flag in $(EXTRA_TARGET_FLAGS); do \
38181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38182 done; \
38183 (cd $(TARGET_SUBDIR)/libgo && \
38184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38186 "RANLIB=$${RANLIB}" \
38187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38188 install-html) \
38189 || exit 1
38191 @endif target-libgo
38193 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
38194 maybe-installcheck-target-libgo:
38195 @if target-libgo
38196 maybe-installcheck-target-libgo: installcheck-target-libgo
38198 installcheck-target-libgo: \
38199 configure-target-libgo
38200 @: $(MAKE); $(unstage)
38201 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38202 r=`${PWD_COMMAND}`; export r; \
38203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38204 $(NORMAL_TARGET_EXPORTS) \
38205 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
38206 for flag in $(EXTRA_TARGET_FLAGS); do \
38207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38208 done; \
38209 (cd $(TARGET_SUBDIR)/libgo && \
38210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38212 "RANLIB=$${RANLIB}" \
38213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38214 installcheck) \
38215 || exit 1
38217 @endif target-libgo
38219 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
38220 maybe-mostlyclean-target-libgo:
38221 @if target-libgo
38222 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
38224 mostlyclean-target-libgo:
38225 @: $(MAKE); $(unstage)
38226 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38227 r=`${PWD_COMMAND}`; export r; \
38228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38229 $(NORMAL_TARGET_EXPORTS) \
38230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
38231 for flag in $(EXTRA_TARGET_FLAGS); do \
38232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38233 done; \
38234 (cd $(TARGET_SUBDIR)/libgo && \
38235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38237 "RANLIB=$${RANLIB}" \
38238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38239 mostlyclean) \
38240 || exit 1
38242 @endif target-libgo
38244 .PHONY: maybe-clean-target-libgo clean-target-libgo
38245 maybe-clean-target-libgo:
38246 @if target-libgo
38247 maybe-clean-target-libgo: clean-target-libgo
38249 clean-target-libgo:
38250 @: $(MAKE); $(unstage)
38251 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38252 r=`${PWD_COMMAND}`; export r; \
38253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38254 $(NORMAL_TARGET_EXPORTS) \
38255 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
38256 for flag in $(EXTRA_TARGET_FLAGS); do \
38257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38258 done; \
38259 (cd $(TARGET_SUBDIR)/libgo && \
38260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38262 "RANLIB=$${RANLIB}" \
38263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38264 clean) \
38265 || exit 1
38267 @endif target-libgo
38269 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
38270 maybe-distclean-target-libgo:
38271 @if target-libgo
38272 maybe-distclean-target-libgo: distclean-target-libgo
38274 distclean-target-libgo:
38275 @: $(MAKE); $(unstage)
38276 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38277 r=`${PWD_COMMAND}`; export r; \
38278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38279 $(NORMAL_TARGET_EXPORTS) \
38280 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
38281 for flag in $(EXTRA_TARGET_FLAGS); do \
38282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38283 done; \
38284 (cd $(TARGET_SUBDIR)/libgo && \
38285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38287 "RANLIB=$${RANLIB}" \
38288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38289 distclean) \
38290 || exit 1
38292 @endif target-libgo
38294 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
38295 maybe-maintainer-clean-target-libgo:
38296 @if target-libgo
38297 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
38299 maintainer-clean-target-libgo:
38300 @: $(MAKE); $(unstage)
38301 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
38302 r=`${PWD_COMMAND}`; export r; \
38303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38304 $(NORMAL_TARGET_EXPORTS) \
38305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
38306 for flag in $(EXTRA_TARGET_FLAGS); do \
38307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38308 done; \
38309 (cd $(TARGET_SUBDIR)/libgo && \
38310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38312 "RANLIB=$${RANLIB}" \
38313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38314 maintainer-clean) \
38315 || exit 1
38317 @endif target-libgo
38323 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
38324 maybe-configure-target-libtermcap:
38325 @if gcc-bootstrap
38326 configure-target-libtermcap: stage_current
38327 @endif gcc-bootstrap
38328 @if target-libtermcap
38329 maybe-configure-target-libtermcap: configure-target-libtermcap
38330 configure-target-libtermcap:
38331 @: $(MAKE); $(unstage)
38332 @r=`${PWD_COMMAND}`; export r; \
38333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38334 echo "Checking multilib configuration for libtermcap..."; \
38335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
38337 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38338 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38339 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
38340 else \
38341 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
38342 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38343 fi; \
38344 else \
38345 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38346 fi; \
38347 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
38348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38349 $(NORMAL_TARGET_EXPORTS) \
38350 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
38351 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
38352 case $(srcdir) in \
38353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38354 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
38355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38356 esac; \
38357 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
38358 libsrcdir="$$s/libtermcap"; \
38359 rm -f no-such-file || : ; \
38360 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38361 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38362 --target=${target_alias} $${srcdiroption} \
38363 || exit 1
38364 @endif target-libtermcap
38370 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
38371 maybe-all-target-libtermcap:
38372 @if gcc-bootstrap
38373 all-target-libtermcap: stage_current
38374 @endif gcc-bootstrap
38375 @if target-libtermcap
38376 TARGET-target-libtermcap=all
38377 maybe-all-target-libtermcap: all-target-libtermcap
38378 all-target-libtermcap: configure-target-libtermcap
38379 @: $(MAKE); $(unstage)
38380 @r=`${PWD_COMMAND}`; export r; \
38381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38382 $(NORMAL_TARGET_EXPORTS) \
38383 (cd $(TARGET_SUBDIR)/libtermcap && \
38384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38385 $(TARGET-target-libtermcap))
38386 @endif target-libtermcap
38392 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
38393 maybe-check-target-libtermcap:
38394 @if target-libtermcap
38395 maybe-check-target-libtermcap: check-target-libtermcap
38397 # Dummy target for uncheckable module.
38398 check-target-libtermcap:
38400 @endif target-libtermcap
38402 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
38403 maybe-install-target-libtermcap:
38404 @if target-libtermcap
38405 maybe-install-target-libtermcap: install-target-libtermcap
38407 install-target-libtermcap: installdirs
38408 @: $(MAKE); $(unstage)
38409 @r=`${PWD_COMMAND}`; export r; \
38410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38411 $(NORMAL_TARGET_EXPORTS) \
38412 (cd $(TARGET_SUBDIR)/libtermcap && \
38413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38415 @endif target-libtermcap
38417 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
38418 maybe-install-strip-target-libtermcap:
38419 @if target-libtermcap
38420 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
38422 install-strip-target-libtermcap: installdirs
38423 @: $(MAKE); $(unstage)
38424 @r=`${PWD_COMMAND}`; export r; \
38425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38426 $(NORMAL_TARGET_EXPORTS) \
38427 (cd $(TARGET_SUBDIR)/libtermcap && \
38428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38430 @endif target-libtermcap
38432 # Other targets (info, dvi, pdf, etc.)
38434 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
38435 maybe-info-target-libtermcap:
38436 @if target-libtermcap
38437 maybe-info-target-libtermcap: info-target-libtermcap
38439 info-target-libtermcap: \
38440 configure-target-libtermcap
38441 @: $(MAKE); $(unstage)
38442 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38443 r=`${PWD_COMMAND}`; export r; \
38444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38445 $(NORMAL_TARGET_EXPORTS) \
38446 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
38447 for flag in $(EXTRA_TARGET_FLAGS); do \
38448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38449 done; \
38450 (cd $(TARGET_SUBDIR)/libtermcap && \
38451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38453 "RANLIB=$${RANLIB}" \
38454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38455 info) \
38456 || exit 1
38458 @endif target-libtermcap
38460 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
38461 maybe-dvi-target-libtermcap:
38462 @if target-libtermcap
38463 maybe-dvi-target-libtermcap: dvi-target-libtermcap
38465 dvi-target-libtermcap: \
38466 configure-target-libtermcap
38467 @: $(MAKE); $(unstage)
38468 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38469 r=`${PWD_COMMAND}`; export r; \
38470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38471 $(NORMAL_TARGET_EXPORTS) \
38472 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38473 for flag in $(EXTRA_TARGET_FLAGS); do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38475 done; \
38476 (cd $(TARGET_SUBDIR)/libtermcap && \
38477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38479 "RANLIB=$${RANLIB}" \
38480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38481 dvi) \
38482 || exit 1
38484 @endif target-libtermcap
38486 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38487 maybe-pdf-target-libtermcap:
38488 @if target-libtermcap
38489 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38491 pdf-target-libtermcap: \
38492 configure-target-libtermcap
38493 @: $(MAKE); $(unstage)
38494 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38495 r=`${PWD_COMMAND}`; export r; \
38496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38497 $(NORMAL_TARGET_EXPORTS) \
38498 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38499 for flag in $(EXTRA_TARGET_FLAGS); do \
38500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38501 done; \
38502 (cd $(TARGET_SUBDIR)/libtermcap && \
38503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38505 "RANLIB=$${RANLIB}" \
38506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38507 pdf) \
38508 || exit 1
38510 @endif target-libtermcap
38512 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38513 maybe-html-target-libtermcap:
38514 @if target-libtermcap
38515 maybe-html-target-libtermcap: html-target-libtermcap
38517 html-target-libtermcap: \
38518 configure-target-libtermcap
38519 @: $(MAKE); $(unstage)
38520 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38521 r=`${PWD_COMMAND}`; export r; \
38522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38523 $(NORMAL_TARGET_EXPORTS) \
38524 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38525 for flag in $(EXTRA_TARGET_FLAGS); do \
38526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38527 done; \
38528 (cd $(TARGET_SUBDIR)/libtermcap && \
38529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38531 "RANLIB=$${RANLIB}" \
38532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38533 html) \
38534 || exit 1
38536 @endif target-libtermcap
38538 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38539 maybe-TAGS-target-libtermcap:
38540 @if target-libtermcap
38541 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38543 TAGS-target-libtermcap: \
38544 configure-target-libtermcap
38545 @: $(MAKE); $(unstage)
38546 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38547 r=`${PWD_COMMAND}`; export r; \
38548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38549 $(NORMAL_TARGET_EXPORTS) \
38550 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38551 for flag in $(EXTRA_TARGET_FLAGS); do \
38552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38553 done; \
38554 (cd $(TARGET_SUBDIR)/libtermcap && \
38555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38557 "RANLIB=$${RANLIB}" \
38558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38559 TAGS) \
38560 || exit 1
38562 @endif target-libtermcap
38564 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38565 maybe-install-info-target-libtermcap:
38566 @if target-libtermcap
38567 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38569 install-info-target-libtermcap: \
38570 configure-target-libtermcap \
38571 info-target-libtermcap
38572 @: $(MAKE); $(unstage)
38573 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38574 r=`${PWD_COMMAND}`; export r; \
38575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38576 $(NORMAL_TARGET_EXPORTS) \
38577 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38578 for flag in $(EXTRA_TARGET_FLAGS); do \
38579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38580 done; \
38581 (cd $(TARGET_SUBDIR)/libtermcap && \
38582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38584 "RANLIB=$${RANLIB}" \
38585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38586 install-info) \
38587 || exit 1
38589 @endif target-libtermcap
38591 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
38592 maybe-install-pdf-target-libtermcap:
38593 @if target-libtermcap
38594 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
38596 install-pdf-target-libtermcap: \
38597 configure-target-libtermcap \
38598 pdf-target-libtermcap
38599 @: $(MAKE); $(unstage)
38600 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38601 r=`${PWD_COMMAND}`; export r; \
38602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38603 $(NORMAL_TARGET_EXPORTS) \
38604 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38605 for flag in $(EXTRA_TARGET_FLAGS); do \
38606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38607 done; \
38608 (cd $(TARGET_SUBDIR)/libtermcap && \
38609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38611 "RANLIB=$${RANLIB}" \
38612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38613 install-pdf) \
38614 || exit 1
38616 @endif target-libtermcap
38618 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38619 maybe-install-html-target-libtermcap:
38620 @if target-libtermcap
38621 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38623 install-html-target-libtermcap: \
38624 configure-target-libtermcap \
38625 html-target-libtermcap
38626 @: $(MAKE); $(unstage)
38627 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38628 r=`${PWD_COMMAND}`; export r; \
38629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38630 $(NORMAL_TARGET_EXPORTS) \
38631 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38632 for flag in $(EXTRA_TARGET_FLAGS); do \
38633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38634 done; \
38635 (cd $(TARGET_SUBDIR)/libtermcap && \
38636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38638 "RANLIB=$${RANLIB}" \
38639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38640 install-html) \
38641 || exit 1
38643 @endif target-libtermcap
38645 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38646 maybe-installcheck-target-libtermcap:
38647 @if target-libtermcap
38648 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38650 installcheck-target-libtermcap: \
38651 configure-target-libtermcap
38652 @: $(MAKE); $(unstage)
38653 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38654 r=`${PWD_COMMAND}`; export r; \
38655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38656 $(NORMAL_TARGET_EXPORTS) \
38657 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38658 for flag in $(EXTRA_TARGET_FLAGS); do \
38659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38660 done; \
38661 (cd $(TARGET_SUBDIR)/libtermcap && \
38662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38664 "RANLIB=$${RANLIB}" \
38665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38666 installcheck) \
38667 || exit 1
38669 @endif target-libtermcap
38671 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38672 maybe-mostlyclean-target-libtermcap:
38673 @if target-libtermcap
38674 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38676 # libtermcap doesn't support mostlyclean.
38677 mostlyclean-target-libtermcap:
38679 @endif target-libtermcap
38681 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38682 maybe-clean-target-libtermcap:
38683 @if target-libtermcap
38684 maybe-clean-target-libtermcap: clean-target-libtermcap
38686 # libtermcap doesn't support clean.
38687 clean-target-libtermcap:
38689 @endif target-libtermcap
38691 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38692 maybe-distclean-target-libtermcap:
38693 @if target-libtermcap
38694 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38696 # libtermcap doesn't support distclean.
38697 distclean-target-libtermcap:
38699 @endif target-libtermcap
38701 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38702 maybe-maintainer-clean-target-libtermcap:
38703 @if target-libtermcap
38704 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38706 # libtermcap doesn't support maintainer-clean.
38707 maintainer-clean-target-libtermcap:
38709 @endif target-libtermcap
38715 .PHONY: configure-target-winsup maybe-configure-target-winsup
38716 maybe-configure-target-winsup:
38717 @if gcc-bootstrap
38718 configure-target-winsup: stage_current
38719 @endif gcc-bootstrap
38720 @if target-winsup
38721 maybe-configure-target-winsup: configure-target-winsup
38722 configure-target-winsup:
38723 @: $(MAKE); $(unstage)
38724 @r=`${PWD_COMMAND}`; export r; \
38725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38726 echo "Checking multilib configuration for winsup..."; \
38727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38729 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38730 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38731 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38732 else \
38733 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38734 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38735 fi; \
38736 else \
38737 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38738 fi; \
38739 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38741 $(NORMAL_TARGET_EXPORTS) \
38742 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38743 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38744 case $(srcdir) in \
38745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38746 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38748 esac; \
38749 srcdiroption="--srcdir=$${topdir}/winsup"; \
38750 libsrcdir="$$s/winsup"; \
38751 rm -f no-such-file || : ; \
38752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38753 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38754 --target=${target_alias} $${srcdiroption} \
38755 || exit 1
38756 @endif target-winsup
38762 .PHONY: all-target-winsup maybe-all-target-winsup
38763 maybe-all-target-winsup:
38764 @if gcc-bootstrap
38765 all-target-winsup: stage_current
38766 @endif gcc-bootstrap
38767 @if target-winsup
38768 TARGET-target-winsup=all
38769 maybe-all-target-winsup: all-target-winsup
38770 all-target-winsup: configure-target-winsup
38771 @: $(MAKE); $(unstage)
38772 @r=`${PWD_COMMAND}`; export r; \
38773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38774 $(NORMAL_TARGET_EXPORTS) \
38775 (cd $(TARGET_SUBDIR)/winsup && \
38776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38777 $(TARGET-target-winsup))
38778 @endif target-winsup
38784 .PHONY: check-target-winsup maybe-check-target-winsup
38785 maybe-check-target-winsup:
38786 @if target-winsup
38787 maybe-check-target-winsup: check-target-winsup
38789 check-target-winsup:
38790 @: $(MAKE); $(unstage)
38791 @r=`${PWD_COMMAND}`; export r; \
38792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38793 $(NORMAL_TARGET_EXPORTS) \
38794 (cd $(TARGET_SUBDIR)/winsup && \
38795 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38797 @endif target-winsup
38799 .PHONY: install-target-winsup maybe-install-target-winsup
38800 maybe-install-target-winsup:
38801 @if target-winsup
38802 maybe-install-target-winsup: install-target-winsup
38804 install-target-winsup: installdirs
38805 @: $(MAKE); $(unstage)
38806 @r=`${PWD_COMMAND}`; export r; \
38807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38808 $(NORMAL_TARGET_EXPORTS) \
38809 (cd $(TARGET_SUBDIR)/winsup && \
38810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38812 @endif target-winsup
38814 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
38815 maybe-install-strip-target-winsup:
38816 @if target-winsup
38817 maybe-install-strip-target-winsup: install-strip-target-winsup
38819 install-strip-target-winsup: installdirs
38820 @: $(MAKE); $(unstage)
38821 @r=`${PWD_COMMAND}`; export r; \
38822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38823 $(NORMAL_TARGET_EXPORTS) \
38824 (cd $(TARGET_SUBDIR)/winsup && \
38825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38827 @endif target-winsup
38829 # Other targets (info, dvi, pdf, etc.)
38831 .PHONY: maybe-info-target-winsup info-target-winsup
38832 maybe-info-target-winsup:
38833 @if target-winsup
38834 maybe-info-target-winsup: info-target-winsup
38836 info-target-winsup: \
38837 configure-target-winsup
38838 @: $(MAKE); $(unstage)
38839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38840 r=`${PWD_COMMAND}`; export r; \
38841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38842 $(NORMAL_TARGET_EXPORTS) \
38843 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
38844 for flag in $(EXTRA_TARGET_FLAGS); do \
38845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38846 done; \
38847 (cd $(TARGET_SUBDIR)/winsup && \
38848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38850 "RANLIB=$${RANLIB}" \
38851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38852 info) \
38853 || exit 1
38855 @endif target-winsup
38857 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
38858 maybe-dvi-target-winsup:
38859 @if target-winsup
38860 maybe-dvi-target-winsup: dvi-target-winsup
38862 dvi-target-winsup: \
38863 configure-target-winsup
38864 @: $(MAKE); $(unstage)
38865 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38866 r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(NORMAL_TARGET_EXPORTS) \
38869 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
38870 for flag in $(EXTRA_TARGET_FLAGS); do \
38871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38872 done; \
38873 (cd $(TARGET_SUBDIR)/winsup && \
38874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38876 "RANLIB=$${RANLIB}" \
38877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38878 dvi) \
38879 || exit 1
38881 @endif target-winsup
38883 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
38884 maybe-pdf-target-winsup:
38885 @if target-winsup
38886 maybe-pdf-target-winsup: pdf-target-winsup
38888 pdf-target-winsup: \
38889 configure-target-winsup
38890 @: $(MAKE); $(unstage)
38891 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38892 r=`${PWD_COMMAND}`; export r; \
38893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38894 $(NORMAL_TARGET_EXPORTS) \
38895 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
38896 for flag in $(EXTRA_TARGET_FLAGS); do \
38897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38898 done; \
38899 (cd $(TARGET_SUBDIR)/winsup && \
38900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38902 "RANLIB=$${RANLIB}" \
38903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38904 pdf) \
38905 || exit 1
38907 @endif target-winsup
38909 .PHONY: maybe-html-target-winsup html-target-winsup
38910 maybe-html-target-winsup:
38911 @if target-winsup
38912 maybe-html-target-winsup: html-target-winsup
38914 html-target-winsup: \
38915 configure-target-winsup
38916 @: $(MAKE); $(unstage)
38917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38918 r=`${PWD_COMMAND}`; export r; \
38919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38920 $(NORMAL_TARGET_EXPORTS) \
38921 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
38922 for flag in $(EXTRA_TARGET_FLAGS); do \
38923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38924 done; \
38925 (cd $(TARGET_SUBDIR)/winsup && \
38926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38928 "RANLIB=$${RANLIB}" \
38929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38930 html) \
38931 || exit 1
38933 @endif target-winsup
38935 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
38936 maybe-TAGS-target-winsup:
38937 @if target-winsup
38938 maybe-TAGS-target-winsup: TAGS-target-winsup
38940 TAGS-target-winsup: \
38941 configure-target-winsup
38942 @: $(MAKE); $(unstage)
38943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38944 r=`${PWD_COMMAND}`; export r; \
38945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38946 $(NORMAL_TARGET_EXPORTS) \
38947 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
38948 for flag in $(EXTRA_TARGET_FLAGS); do \
38949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38950 done; \
38951 (cd $(TARGET_SUBDIR)/winsup && \
38952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38954 "RANLIB=$${RANLIB}" \
38955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38956 TAGS) \
38957 || exit 1
38959 @endif target-winsup
38961 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
38962 maybe-install-info-target-winsup:
38963 @if target-winsup
38964 maybe-install-info-target-winsup: install-info-target-winsup
38966 install-info-target-winsup: \
38967 configure-target-winsup \
38968 info-target-winsup
38969 @: $(MAKE); $(unstage)
38970 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38971 r=`${PWD_COMMAND}`; export r; \
38972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38973 $(NORMAL_TARGET_EXPORTS) \
38974 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
38975 for flag in $(EXTRA_TARGET_FLAGS); do \
38976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38977 done; \
38978 (cd $(TARGET_SUBDIR)/winsup && \
38979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38981 "RANLIB=$${RANLIB}" \
38982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38983 install-info) \
38984 || exit 1
38986 @endif target-winsup
38988 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
38989 maybe-install-pdf-target-winsup:
38990 @if target-winsup
38991 maybe-install-pdf-target-winsup: install-pdf-target-winsup
38993 install-pdf-target-winsup: \
38994 configure-target-winsup \
38995 pdf-target-winsup
38996 @: $(MAKE); $(unstage)
38997 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38998 r=`${PWD_COMMAND}`; export r; \
38999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39000 $(NORMAL_TARGET_EXPORTS) \
39001 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 install-pdf) \
39011 || exit 1
39013 @endif target-winsup
39015 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
39016 maybe-install-html-target-winsup:
39017 @if target-winsup
39018 maybe-install-html-target-winsup: install-html-target-winsup
39020 install-html-target-winsup: \
39021 configure-target-winsup \
39022 html-target-winsup
39023 @: $(MAKE); $(unstage)
39024 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39025 r=`${PWD_COMMAND}`; export r; \
39026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39027 $(NORMAL_TARGET_EXPORTS) \
39028 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
39029 for flag in $(EXTRA_TARGET_FLAGS); do \
39030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39031 done; \
39032 (cd $(TARGET_SUBDIR)/winsup && \
39033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39035 "RANLIB=$${RANLIB}" \
39036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39037 install-html) \
39038 || exit 1
39040 @endif target-winsup
39042 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
39043 maybe-installcheck-target-winsup:
39044 @if target-winsup
39045 maybe-installcheck-target-winsup: installcheck-target-winsup
39047 installcheck-target-winsup: \
39048 configure-target-winsup
39049 @: $(MAKE); $(unstage)
39050 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39051 r=`${PWD_COMMAND}`; export r; \
39052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39053 $(NORMAL_TARGET_EXPORTS) \
39054 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
39055 for flag in $(EXTRA_TARGET_FLAGS); do \
39056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39057 done; \
39058 (cd $(TARGET_SUBDIR)/winsup && \
39059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39061 "RANLIB=$${RANLIB}" \
39062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39063 installcheck) \
39064 || exit 1
39066 @endif target-winsup
39068 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
39069 maybe-mostlyclean-target-winsup:
39070 @if target-winsup
39071 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
39073 mostlyclean-target-winsup:
39074 @: $(MAKE); $(unstage)
39075 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39076 r=`${PWD_COMMAND}`; export r; \
39077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39078 $(NORMAL_TARGET_EXPORTS) \
39079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
39080 for flag in $(EXTRA_TARGET_FLAGS); do \
39081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39082 done; \
39083 (cd $(TARGET_SUBDIR)/winsup && \
39084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39086 "RANLIB=$${RANLIB}" \
39087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39088 mostlyclean) \
39089 || exit 1
39091 @endif target-winsup
39093 .PHONY: maybe-clean-target-winsup clean-target-winsup
39094 maybe-clean-target-winsup:
39095 @if target-winsup
39096 maybe-clean-target-winsup: clean-target-winsup
39098 clean-target-winsup:
39099 @: $(MAKE); $(unstage)
39100 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39101 r=`${PWD_COMMAND}`; export r; \
39102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39103 $(NORMAL_TARGET_EXPORTS) \
39104 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
39105 for flag in $(EXTRA_TARGET_FLAGS); do \
39106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39107 done; \
39108 (cd $(TARGET_SUBDIR)/winsup && \
39109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39111 "RANLIB=$${RANLIB}" \
39112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39113 clean) \
39114 || exit 1
39116 @endif target-winsup
39118 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
39119 maybe-distclean-target-winsup:
39120 @if target-winsup
39121 maybe-distclean-target-winsup: distclean-target-winsup
39123 distclean-target-winsup:
39124 @: $(MAKE); $(unstage)
39125 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39126 r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 $(NORMAL_TARGET_EXPORTS) \
39129 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
39130 for flag in $(EXTRA_TARGET_FLAGS); do \
39131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39132 done; \
39133 (cd $(TARGET_SUBDIR)/winsup && \
39134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39136 "RANLIB=$${RANLIB}" \
39137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39138 distclean) \
39139 || exit 1
39141 @endif target-winsup
39143 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
39144 maybe-maintainer-clean-target-winsup:
39145 @if target-winsup
39146 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
39148 maintainer-clean-target-winsup:
39149 @: $(MAKE); $(unstage)
39150 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39151 r=`${PWD_COMMAND}`; export r; \
39152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39153 $(NORMAL_TARGET_EXPORTS) \
39154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
39155 for flag in $(EXTRA_TARGET_FLAGS); do \
39156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39157 done; \
39158 (cd $(TARGET_SUBDIR)/winsup && \
39159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39161 "RANLIB=$${RANLIB}" \
39162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39163 maintainer-clean) \
39164 || exit 1
39166 @endif target-winsup
39172 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
39173 maybe-configure-target-libgloss:
39174 @if gcc-bootstrap
39175 configure-target-libgloss: stage_current
39176 @endif gcc-bootstrap
39177 @if target-libgloss
39178 maybe-configure-target-libgloss: configure-target-libgloss
39179 configure-target-libgloss:
39180 @: $(MAKE); $(unstage)
39181 @r=`${PWD_COMMAND}`; export r; \
39182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39183 echo "Checking multilib configuration for libgloss..."; \
39184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
39186 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39187 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39188 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
39189 else \
39190 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
39191 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39192 fi; \
39193 else \
39194 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39195 fi; \
39196 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
39197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39198 $(NORMAL_TARGET_EXPORTS) \
39199 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
39200 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
39201 case $(srcdir) in \
39202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39203 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
39204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39205 esac; \
39206 srcdiroption="--srcdir=$${topdir}/libgloss"; \
39207 libsrcdir="$$s/libgloss"; \
39208 rm -f no-such-file || : ; \
39209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39210 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39211 --target=${target_alias} $${srcdiroption} \
39212 || exit 1
39213 @endif target-libgloss
39219 .PHONY: all-target-libgloss maybe-all-target-libgloss
39220 maybe-all-target-libgloss:
39221 @if gcc-bootstrap
39222 all-target-libgloss: stage_current
39223 @endif gcc-bootstrap
39224 @if target-libgloss
39225 TARGET-target-libgloss=all
39226 maybe-all-target-libgloss: all-target-libgloss
39227 all-target-libgloss: configure-target-libgloss
39228 @: $(MAKE); $(unstage)
39229 @r=`${PWD_COMMAND}`; export r; \
39230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39231 $(NORMAL_TARGET_EXPORTS) \
39232 (cd $(TARGET_SUBDIR)/libgloss && \
39233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39234 $(TARGET-target-libgloss))
39235 @endif target-libgloss
39241 .PHONY: check-target-libgloss maybe-check-target-libgloss
39242 maybe-check-target-libgloss:
39243 @if target-libgloss
39244 maybe-check-target-libgloss: check-target-libgloss
39246 # Dummy target for uncheckable module.
39247 check-target-libgloss:
39249 @endif target-libgloss
39251 .PHONY: install-target-libgloss maybe-install-target-libgloss
39252 maybe-install-target-libgloss:
39253 @if target-libgloss
39254 maybe-install-target-libgloss: install-target-libgloss
39256 install-target-libgloss: installdirs
39257 @: $(MAKE); $(unstage)
39258 @r=`${PWD_COMMAND}`; export r; \
39259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39260 $(NORMAL_TARGET_EXPORTS) \
39261 (cd $(TARGET_SUBDIR)/libgloss && \
39262 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39264 @endif target-libgloss
39266 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
39267 maybe-install-strip-target-libgloss:
39268 @if target-libgloss
39269 maybe-install-strip-target-libgloss: install-strip-target-libgloss
39271 install-strip-target-libgloss: installdirs
39272 @: $(MAKE); $(unstage)
39273 @r=`${PWD_COMMAND}`; export r; \
39274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39275 $(NORMAL_TARGET_EXPORTS) \
39276 (cd $(TARGET_SUBDIR)/libgloss && \
39277 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39279 @endif target-libgloss
39281 # Other targets (info, dvi, pdf, etc.)
39283 .PHONY: maybe-info-target-libgloss info-target-libgloss
39284 maybe-info-target-libgloss:
39285 @if target-libgloss
39286 maybe-info-target-libgloss: info-target-libgloss
39288 info-target-libgloss: \
39289 configure-target-libgloss
39290 @: $(MAKE); $(unstage)
39291 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39292 r=`${PWD_COMMAND}`; export r; \
39293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39294 $(NORMAL_TARGET_EXPORTS) \
39295 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
39296 for flag in $(EXTRA_TARGET_FLAGS); do \
39297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39298 done; \
39299 (cd $(TARGET_SUBDIR)/libgloss && \
39300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39302 "RANLIB=$${RANLIB}" \
39303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39304 info) \
39305 || exit 1
39307 @endif target-libgloss
39309 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
39310 maybe-dvi-target-libgloss:
39311 @if target-libgloss
39312 maybe-dvi-target-libgloss: dvi-target-libgloss
39314 dvi-target-libgloss: \
39315 configure-target-libgloss
39316 @: $(MAKE); $(unstage)
39317 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39318 r=`${PWD_COMMAND}`; export r; \
39319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39320 $(NORMAL_TARGET_EXPORTS) \
39321 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
39322 for flag in $(EXTRA_TARGET_FLAGS); do \
39323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39324 done; \
39325 (cd $(TARGET_SUBDIR)/libgloss && \
39326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39328 "RANLIB=$${RANLIB}" \
39329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39330 dvi) \
39331 || exit 1
39333 @endif target-libgloss
39335 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
39336 maybe-pdf-target-libgloss:
39337 @if target-libgloss
39338 maybe-pdf-target-libgloss: pdf-target-libgloss
39340 pdf-target-libgloss: \
39341 configure-target-libgloss
39342 @: $(MAKE); $(unstage)
39343 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39344 r=`${PWD_COMMAND}`; export r; \
39345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39346 $(NORMAL_TARGET_EXPORTS) \
39347 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
39348 for flag in $(EXTRA_TARGET_FLAGS); do \
39349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39350 done; \
39351 (cd $(TARGET_SUBDIR)/libgloss && \
39352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39354 "RANLIB=$${RANLIB}" \
39355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39356 pdf) \
39357 || exit 1
39359 @endif target-libgloss
39361 .PHONY: maybe-html-target-libgloss html-target-libgloss
39362 maybe-html-target-libgloss:
39363 @if target-libgloss
39364 maybe-html-target-libgloss: html-target-libgloss
39366 html-target-libgloss: \
39367 configure-target-libgloss
39368 @: $(MAKE); $(unstage)
39369 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39370 r=`${PWD_COMMAND}`; export r; \
39371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39372 $(NORMAL_TARGET_EXPORTS) \
39373 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
39374 for flag in $(EXTRA_TARGET_FLAGS); do \
39375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39376 done; \
39377 (cd $(TARGET_SUBDIR)/libgloss && \
39378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39380 "RANLIB=$${RANLIB}" \
39381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39382 html) \
39383 || exit 1
39385 @endif target-libgloss
39387 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
39388 maybe-TAGS-target-libgloss:
39389 @if target-libgloss
39390 maybe-TAGS-target-libgloss: TAGS-target-libgloss
39392 TAGS-target-libgloss: \
39393 configure-target-libgloss
39394 @: $(MAKE); $(unstage)
39395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39396 r=`${PWD_COMMAND}`; export r; \
39397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39398 $(NORMAL_TARGET_EXPORTS) \
39399 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
39400 for flag in $(EXTRA_TARGET_FLAGS); do \
39401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39402 done; \
39403 (cd $(TARGET_SUBDIR)/libgloss && \
39404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39406 "RANLIB=$${RANLIB}" \
39407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39408 TAGS) \
39409 || exit 1
39411 @endif target-libgloss
39413 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
39414 maybe-install-info-target-libgloss:
39415 @if target-libgloss
39416 maybe-install-info-target-libgloss: install-info-target-libgloss
39418 install-info-target-libgloss: \
39419 configure-target-libgloss \
39420 info-target-libgloss
39421 @: $(MAKE); $(unstage)
39422 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39423 r=`${PWD_COMMAND}`; export r; \
39424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39425 $(NORMAL_TARGET_EXPORTS) \
39426 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
39427 for flag in $(EXTRA_TARGET_FLAGS); do \
39428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39429 done; \
39430 (cd $(TARGET_SUBDIR)/libgloss && \
39431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39433 "RANLIB=$${RANLIB}" \
39434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39435 install-info) \
39436 || exit 1
39438 @endif target-libgloss
39440 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
39441 maybe-install-pdf-target-libgloss:
39442 @if target-libgloss
39443 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
39445 install-pdf-target-libgloss: \
39446 configure-target-libgloss \
39447 pdf-target-libgloss
39448 @: $(MAKE); $(unstage)
39449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39450 r=`${PWD_COMMAND}`; export r; \
39451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39452 $(NORMAL_TARGET_EXPORTS) \
39453 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
39454 for flag in $(EXTRA_TARGET_FLAGS); do \
39455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39456 done; \
39457 (cd $(TARGET_SUBDIR)/libgloss && \
39458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39460 "RANLIB=$${RANLIB}" \
39461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39462 install-pdf) \
39463 || exit 1
39465 @endif target-libgloss
39467 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39468 maybe-install-html-target-libgloss:
39469 @if target-libgloss
39470 maybe-install-html-target-libgloss: install-html-target-libgloss
39472 install-html-target-libgloss: \
39473 configure-target-libgloss \
39474 html-target-libgloss
39475 @: $(MAKE); $(unstage)
39476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39477 r=`${PWD_COMMAND}`; export r; \
39478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39479 $(NORMAL_TARGET_EXPORTS) \
39480 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39481 for flag in $(EXTRA_TARGET_FLAGS); do \
39482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39483 done; \
39484 (cd $(TARGET_SUBDIR)/libgloss && \
39485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39487 "RANLIB=$${RANLIB}" \
39488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39489 install-html) \
39490 || exit 1
39492 @endif target-libgloss
39494 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39495 maybe-installcheck-target-libgloss:
39496 @if target-libgloss
39497 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39499 installcheck-target-libgloss: \
39500 configure-target-libgloss
39501 @: $(MAKE); $(unstage)
39502 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39503 r=`${PWD_COMMAND}`; export r; \
39504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39505 $(NORMAL_TARGET_EXPORTS) \
39506 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39507 for flag in $(EXTRA_TARGET_FLAGS); do \
39508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39509 done; \
39510 (cd $(TARGET_SUBDIR)/libgloss && \
39511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39513 "RANLIB=$${RANLIB}" \
39514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39515 installcheck) \
39516 || exit 1
39518 @endif target-libgloss
39520 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39521 maybe-mostlyclean-target-libgloss:
39522 @if target-libgloss
39523 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39525 mostlyclean-target-libgloss:
39526 @: $(MAKE); $(unstage)
39527 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39528 r=`${PWD_COMMAND}`; export r; \
39529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39530 $(NORMAL_TARGET_EXPORTS) \
39531 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39532 for flag in $(EXTRA_TARGET_FLAGS); do \
39533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39534 done; \
39535 (cd $(TARGET_SUBDIR)/libgloss && \
39536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39538 "RANLIB=$${RANLIB}" \
39539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39540 mostlyclean) \
39541 || exit 1
39543 @endif target-libgloss
39545 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39546 maybe-clean-target-libgloss:
39547 @if target-libgloss
39548 maybe-clean-target-libgloss: clean-target-libgloss
39550 clean-target-libgloss:
39551 @: $(MAKE); $(unstage)
39552 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39553 r=`${PWD_COMMAND}`; export r; \
39554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39555 $(NORMAL_TARGET_EXPORTS) \
39556 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39557 for flag in $(EXTRA_TARGET_FLAGS); do \
39558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39559 done; \
39560 (cd $(TARGET_SUBDIR)/libgloss && \
39561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39563 "RANLIB=$${RANLIB}" \
39564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39565 clean) \
39566 || exit 1
39568 @endif target-libgloss
39570 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39571 maybe-distclean-target-libgloss:
39572 @if target-libgloss
39573 maybe-distclean-target-libgloss: distclean-target-libgloss
39575 distclean-target-libgloss:
39576 @: $(MAKE); $(unstage)
39577 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39578 r=`${PWD_COMMAND}`; export r; \
39579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39580 $(NORMAL_TARGET_EXPORTS) \
39581 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39582 for flag in $(EXTRA_TARGET_FLAGS); do \
39583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39584 done; \
39585 (cd $(TARGET_SUBDIR)/libgloss && \
39586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39588 "RANLIB=$${RANLIB}" \
39589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39590 distclean) \
39591 || exit 1
39593 @endif target-libgloss
39595 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39596 maybe-maintainer-clean-target-libgloss:
39597 @if target-libgloss
39598 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39600 maintainer-clean-target-libgloss:
39601 @: $(MAKE); $(unstage)
39602 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39603 r=`${PWD_COMMAND}`; export r; \
39604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39605 $(NORMAL_TARGET_EXPORTS) \
39606 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39607 for flag in $(EXTRA_TARGET_FLAGS); do \
39608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39609 done; \
39610 (cd $(TARGET_SUBDIR)/libgloss && \
39611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39613 "RANLIB=$${RANLIB}" \
39614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39615 maintainer-clean) \
39616 || exit 1
39618 @endif target-libgloss
39624 .PHONY: configure-target-libffi maybe-configure-target-libffi
39625 maybe-configure-target-libffi:
39626 @if gcc-bootstrap
39627 configure-target-libffi: stage_current
39628 @endif gcc-bootstrap
39629 @if target-libffi
39630 maybe-configure-target-libffi: configure-target-libffi
39631 configure-target-libffi:
39632 @: $(MAKE); $(unstage)
39633 @r=`${PWD_COMMAND}`; export r; \
39634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39635 echo "Checking multilib configuration for libffi..."; \
39636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39637 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
39638 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
39639 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
39640 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
39641 else \
39642 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
39643 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39644 fi; \
39645 else \
39646 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39647 fi; \
39648 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
39649 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39650 $(NORMAL_TARGET_EXPORTS) \
39651 echo Configuring in $(TARGET_SUBDIR)/libffi; \
39652 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
39653 case $(srcdir) in \
39654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39655 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
39656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39657 esac; \
39658 srcdiroption="--srcdir=$${topdir}/libffi"; \
39659 libsrcdir="$$s/libffi"; \
39660 rm -f no-such-file || : ; \
39661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39663 --target=${target_alias} $${srcdiroption} \
39664 || exit 1
39665 @endif target-libffi
39671 .PHONY: all-target-libffi maybe-all-target-libffi
39672 maybe-all-target-libffi:
39673 @if gcc-bootstrap
39674 all-target-libffi: stage_current
39675 @endif gcc-bootstrap
39676 @if target-libffi
39677 TARGET-target-libffi=all
39678 maybe-all-target-libffi: all-target-libffi
39679 all-target-libffi: configure-target-libffi
39680 @: $(MAKE); $(unstage)
39681 @r=`${PWD_COMMAND}`; export r; \
39682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39683 $(NORMAL_TARGET_EXPORTS) \
39684 (cd $(TARGET_SUBDIR)/libffi && \
39685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39686 $(TARGET-target-libffi))
39687 @endif target-libffi
39693 .PHONY: check-target-libffi maybe-check-target-libffi
39694 maybe-check-target-libffi:
39695 @if target-libffi
39696 maybe-check-target-libffi: check-target-libffi
39698 check-target-libffi:
39699 @: $(MAKE); $(unstage)
39700 @r=`${PWD_COMMAND}`; export r; \
39701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39702 $(NORMAL_TARGET_EXPORTS) \
39703 (cd $(TARGET_SUBDIR)/libffi && \
39704 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39706 @endif target-libffi
39708 .PHONY: install-target-libffi maybe-install-target-libffi
39709 maybe-install-target-libffi:
39710 @if target-libffi
39711 maybe-install-target-libffi: install-target-libffi
39713 # Dummy target for uninstallable.
39714 install-target-libffi:
39716 @endif target-libffi
39718 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
39719 maybe-install-strip-target-libffi:
39720 @if target-libffi
39721 maybe-install-strip-target-libffi: install-strip-target-libffi
39723 # Dummy target for uninstallable.
39724 install-strip-target-libffi:
39726 @endif target-libffi
39728 # Other targets (info, dvi, pdf, etc.)
39730 .PHONY: maybe-info-target-libffi info-target-libffi
39731 maybe-info-target-libffi:
39732 @if target-libffi
39733 maybe-info-target-libffi: info-target-libffi
39735 info-target-libffi: \
39736 configure-target-libffi
39737 @: $(MAKE); $(unstage)
39738 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39739 r=`${PWD_COMMAND}`; export r; \
39740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39741 $(NORMAL_TARGET_EXPORTS) \
39742 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
39743 for flag in $(EXTRA_TARGET_FLAGS); do \
39744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39745 done; \
39746 (cd $(TARGET_SUBDIR)/libffi && \
39747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39749 "RANLIB=$${RANLIB}" \
39750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39751 info) \
39752 || exit 1
39754 @endif target-libffi
39756 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
39757 maybe-dvi-target-libffi:
39758 @if target-libffi
39759 maybe-dvi-target-libffi: dvi-target-libffi
39761 dvi-target-libffi: \
39762 configure-target-libffi
39763 @: $(MAKE); $(unstage)
39764 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39765 r=`${PWD_COMMAND}`; export r; \
39766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39767 $(NORMAL_TARGET_EXPORTS) \
39768 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
39769 for flag in $(EXTRA_TARGET_FLAGS); do \
39770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39771 done; \
39772 (cd $(TARGET_SUBDIR)/libffi && \
39773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39775 "RANLIB=$${RANLIB}" \
39776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39777 dvi) \
39778 || exit 1
39780 @endif target-libffi
39782 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
39783 maybe-pdf-target-libffi:
39784 @if target-libffi
39785 maybe-pdf-target-libffi: pdf-target-libffi
39787 pdf-target-libffi: \
39788 configure-target-libffi
39789 @: $(MAKE); $(unstage)
39790 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39791 r=`${PWD_COMMAND}`; export r; \
39792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39793 $(NORMAL_TARGET_EXPORTS) \
39794 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
39795 for flag in $(EXTRA_TARGET_FLAGS); do \
39796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39797 done; \
39798 (cd $(TARGET_SUBDIR)/libffi && \
39799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39801 "RANLIB=$${RANLIB}" \
39802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39803 pdf) \
39804 || exit 1
39806 @endif target-libffi
39808 .PHONY: maybe-html-target-libffi html-target-libffi
39809 maybe-html-target-libffi:
39810 @if target-libffi
39811 maybe-html-target-libffi: html-target-libffi
39813 html-target-libffi: \
39814 configure-target-libffi
39815 @: $(MAKE); $(unstage)
39816 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39817 r=`${PWD_COMMAND}`; export r; \
39818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39819 $(NORMAL_TARGET_EXPORTS) \
39820 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
39821 for flag in $(EXTRA_TARGET_FLAGS); do \
39822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39823 done; \
39824 (cd $(TARGET_SUBDIR)/libffi && \
39825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39827 "RANLIB=$${RANLIB}" \
39828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39829 html) \
39830 || exit 1
39832 @endif target-libffi
39834 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
39835 maybe-TAGS-target-libffi:
39836 @if target-libffi
39837 maybe-TAGS-target-libffi: TAGS-target-libffi
39839 TAGS-target-libffi: \
39840 configure-target-libffi
39841 @: $(MAKE); $(unstage)
39842 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39843 r=`${PWD_COMMAND}`; export r; \
39844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39845 $(NORMAL_TARGET_EXPORTS) \
39846 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
39847 for flag in $(EXTRA_TARGET_FLAGS); do \
39848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39849 done; \
39850 (cd $(TARGET_SUBDIR)/libffi && \
39851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39853 "RANLIB=$${RANLIB}" \
39854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39855 TAGS) \
39856 || exit 1
39858 @endif target-libffi
39860 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
39861 maybe-install-info-target-libffi:
39862 @if target-libffi
39863 maybe-install-info-target-libffi: install-info-target-libffi
39865 install-info-target-libffi: \
39866 configure-target-libffi \
39867 info-target-libffi
39868 @: $(MAKE); $(unstage)
39869 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39870 r=`${PWD_COMMAND}`; export r; \
39871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39872 $(NORMAL_TARGET_EXPORTS) \
39873 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
39874 for flag in $(EXTRA_TARGET_FLAGS); do \
39875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39876 done; \
39877 (cd $(TARGET_SUBDIR)/libffi && \
39878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39880 "RANLIB=$${RANLIB}" \
39881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39882 install-info) \
39883 || exit 1
39885 @endif target-libffi
39887 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
39888 maybe-install-pdf-target-libffi:
39889 @if target-libffi
39890 maybe-install-pdf-target-libffi: install-pdf-target-libffi
39892 install-pdf-target-libffi: \
39893 configure-target-libffi \
39894 pdf-target-libffi
39895 @: $(MAKE); $(unstage)
39896 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39897 r=`${PWD_COMMAND}`; export r; \
39898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39899 $(NORMAL_TARGET_EXPORTS) \
39900 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
39901 for flag in $(EXTRA_TARGET_FLAGS); do \
39902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39903 done; \
39904 (cd $(TARGET_SUBDIR)/libffi && \
39905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39907 "RANLIB=$${RANLIB}" \
39908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39909 install-pdf) \
39910 || exit 1
39912 @endif target-libffi
39914 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
39915 maybe-install-html-target-libffi:
39916 @if target-libffi
39917 maybe-install-html-target-libffi: install-html-target-libffi
39919 install-html-target-libffi: \
39920 configure-target-libffi \
39921 html-target-libffi
39922 @: $(MAKE); $(unstage)
39923 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39924 r=`${PWD_COMMAND}`; export r; \
39925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39926 $(NORMAL_TARGET_EXPORTS) \
39927 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
39928 for flag in $(EXTRA_TARGET_FLAGS); do \
39929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39930 done; \
39931 (cd $(TARGET_SUBDIR)/libffi && \
39932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39934 "RANLIB=$${RANLIB}" \
39935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39936 install-html) \
39937 || exit 1
39939 @endif target-libffi
39941 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
39942 maybe-installcheck-target-libffi:
39943 @if target-libffi
39944 maybe-installcheck-target-libffi: installcheck-target-libffi
39946 installcheck-target-libffi: \
39947 configure-target-libffi
39948 @: $(MAKE); $(unstage)
39949 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39950 r=`${PWD_COMMAND}`; export r; \
39951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39952 $(NORMAL_TARGET_EXPORTS) \
39953 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
39954 for flag in $(EXTRA_TARGET_FLAGS); do \
39955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39956 done; \
39957 (cd $(TARGET_SUBDIR)/libffi && \
39958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39960 "RANLIB=$${RANLIB}" \
39961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39962 installcheck) \
39963 || exit 1
39965 @endif target-libffi
39967 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
39968 maybe-mostlyclean-target-libffi:
39969 @if target-libffi
39970 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
39972 mostlyclean-target-libffi:
39973 @: $(MAKE); $(unstage)
39974 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39975 r=`${PWD_COMMAND}`; export r; \
39976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39977 $(NORMAL_TARGET_EXPORTS) \
39978 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
39979 for flag in $(EXTRA_TARGET_FLAGS); do \
39980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39981 done; \
39982 (cd $(TARGET_SUBDIR)/libffi && \
39983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39985 "RANLIB=$${RANLIB}" \
39986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39987 mostlyclean) \
39988 || exit 1
39990 @endif target-libffi
39992 .PHONY: maybe-clean-target-libffi clean-target-libffi
39993 maybe-clean-target-libffi:
39994 @if target-libffi
39995 maybe-clean-target-libffi: clean-target-libffi
39997 clean-target-libffi:
39998 @: $(MAKE); $(unstage)
39999 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
40000 r=`${PWD_COMMAND}`; export r; \
40001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40002 $(NORMAL_TARGET_EXPORTS) \
40003 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
40004 for flag in $(EXTRA_TARGET_FLAGS); do \
40005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40006 done; \
40007 (cd $(TARGET_SUBDIR)/libffi && \
40008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40010 "RANLIB=$${RANLIB}" \
40011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40012 clean) \
40013 || exit 1
40015 @endif target-libffi
40017 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
40018 maybe-distclean-target-libffi:
40019 @if target-libffi
40020 maybe-distclean-target-libffi: distclean-target-libffi
40022 distclean-target-libffi:
40023 @: $(MAKE); $(unstage)
40024 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
40025 r=`${PWD_COMMAND}`; export r; \
40026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40027 $(NORMAL_TARGET_EXPORTS) \
40028 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
40029 for flag in $(EXTRA_TARGET_FLAGS); do \
40030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40031 done; \
40032 (cd $(TARGET_SUBDIR)/libffi && \
40033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40035 "RANLIB=$${RANLIB}" \
40036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40037 distclean) \
40038 || exit 1
40040 @endif target-libffi
40042 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
40043 maybe-maintainer-clean-target-libffi:
40044 @if target-libffi
40045 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
40047 maintainer-clean-target-libffi:
40048 @: $(MAKE); $(unstage)
40049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
40050 r=`${PWD_COMMAND}`; export r; \
40051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40052 $(NORMAL_TARGET_EXPORTS) \
40053 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
40054 for flag in $(EXTRA_TARGET_FLAGS); do \
40055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40056 done; \
40057 (cd $(TARGET_SUBDIR)/libffi && \
40058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40060 "RANLIB=$${RANLIB}" \
40061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40062 maintainer-clean) \
40063 || exit 1
40065 @endif target-libffi
40071 .PHONY: configure-target-libjava maybe-configure-target-libjava
40072 maybe-configure-target-libjava:
40073 @if gcc-bootstrap
40074 configure-target-libjava: stage_current
40075 @endif gcc-bootstrap
40076 @if target-libjava
40077 maybe-configure-target-libjava: configure-target-libjava
40078 configure-target-libjava:
40079 @: $(MAKE); $(unstage)
40080 @r=`${PWD_COMMAND}`; export r; \
40081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40082 echo "Checking multilib configuration for libjava..."; \
40083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
40084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
40085 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
40086 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
40087 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
40088 else \
40089 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
40090 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40091 fi; \
40092 else \
40093 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
40094 fi; \
40095 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
40096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
40097 $(RAW_CXX_TARGET_EXPORTS) \
40098 echo Configuring in $(TARGET_SUBDIR)/libjava; \
40099 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
40100 case $(srcdir) in \
40101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40102 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
40103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40104 esac; \
40105 srcdiroption="--srcdir=$${topdir}/libjava"; \
40106 libsrcdir="$$s/libjava"; \
40107 rm -f no-such-file || : ; \
40108 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40109 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40110 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
40111 || exit 1
40112 @endif target-libjava
40118 .PHONY: all-target-libjava maybe-all-target-libjava
40119 maybe-all-target-libjava:
40120 @if gcc-bootstrap
40121 all-target-libjava: stage_current
40122 @endif gcc-bootstrap
40123 @if target-libjava
40124 TARGET-target-libjava=all
40125 maybe-all-target-libjava: all-target-libjava
40126 all-target-libjava: configure-target-libjava
40127 @: $(MAKE); $(unstage)
40128 @r=`${PWD_COMMAND}`; export r; \
40129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40130 $(RAW_CXX_TARGET_EXPORTS) \
40131 (cd $(TARGET_SUBDIR)/libjava && \
40132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40133 $(TARGET-target-libjava))
40134 @endif target-libjava
40140 .PHONY: check-target-libjava maybe-check-target-libjava
40141 maybe-check-target-libjava:
40142 @if target-libjava
40143 maybe-check-target-libjava: check-target-libjava
40145 check-target-libjava:
40146 @: $(MAKE); $(unstage)
40147 @r=`${PWD_COMMAND}`; export r; \
40148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40149 $(RAW_CXX_TARGET_EXPORTS) \
40150 (cd $(TARGET_SUBDIR)/libjava && \
40151 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40153 @endif target-libjava
40155 .PHONY: install-target-libjava maybe-install-target-libjava
40156 maybe-install-target-libjava:
40157 @if target-libjava
40158 maybe-install-target-libjava: install-target-libjava
40160 install-target-libjava: installdirs
40161 @: $(MAKE); $(unstage)
40162 @r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 $(RAW_CXX_TARGET_EXPORTS) \
40165 (cd $(TARGET_SUBDIR)/libjava && \
40166 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40168 @endif target-libjava
40170 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
40171 maybe-install-strip-target-libjava:
40172 @if target-libjava
40173 maybe-install-strip-target-libjava: install-strip-target-libjava
40175 install-strip-target-libjava: installdirs
40176 @: $(MAKE); $(unstage)
40177 @r=`${PWD_COMMAND}`; export r; \
40178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40179 $(RAW_CXX_TARGET_EXPORTS) \
40180 (cd $(TARGET_SUBDIR)/libjava && \
40181 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40183 @endif target-libjava
40185 # Other targets (info, dvi, pdf, etc.)
40187 .PHONY: maybe-info-target-libjava info-target-libjava
40188 maybe-info-target-libjava:
40189 @if target-libjava
40190 maybe-info-target-libjava: info-target-libjava
40192 info-target-libjava: \
40193 configure-target-libjava
40194 @: $(MAKE); $(unstage)
40195 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40196 r=`${PWD_COMMAND}`; export r; \
40197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40198 $(RAW_CXX_TARGET_EXPORTS) \
40199 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
40200 for flag in $(EXTRA_TARGET_FLAGS); do \
40201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40202 done; \
40203 (cd $(TARGET_SUBDIR)/libjava && \
40204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40206 "RANLIB=$${RANLIB}" \
40207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40208 info) \
40209 || exit 1
40211 @endif target-libjava
40213 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
40214 maybe-dvi-target-libjava:
40215 @if target-libjava
40216 maybe-dvi-target-libjava: dvi-target-libjava
40218 dvi-target-libjava: \
40219 configure-target-libjava
40220 @: $(MAKE); $(unstage)
40221 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40222 r=`${PWD_COMMAND}`; export r; \
40223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40224 $(RAW_CXX_TARGET_EXPORTS) \
40225 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
40226 for flag in $(EXTRA_TARGET_FLAGS); do \
40227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40228 done; \
40229 (cd $(TARGET_SUBDIR)/libjava && \
40230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40232 "RANLIB=$${RANLIB}" \
40233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40234 dvi) \
40235 || exit 1
40237 @endif target-libjava
40239 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
40240 maybe-pdf-target-libjava:
40241 @if target-libjava
40242 maybe-pdf-target-libjava: pdf-target-libjava
40244 pdf-target-libjava: \
40245 configure-target-libjava
40246 @: $(MAKE); $(unstage)
40247 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40248 r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 $(RAW_CXX_TARGET_EXPORTS) \
40251 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
40252 for flag in $(EXTRA_TARGET_FLAGS); do \
40253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40254 done; \
40255 (cd $(TARGET_SUBDIR)/libjava && \
40256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40258 "RANLIB=$${RANLIB}" \
40259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40260 pdf) \
40261 || exit 1
40263 @endif target-libjava
40265 .PHONY: maybe-html-target-libjava html-target-libjava
40266 maybe-html-target-libjava:
40267 @if target-libjava
40268 maybe-html-target-libjava: html-target-libjava
40270 html-target-libjava: \
40271 configure-target-libjava
40272 @: $(MAKE); $(unstage)
40273 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40274 r=`${PWD_COMMAND}`; export r; \
40275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40276 $(RAW_CXX_TARGET_EXPORTS) \
40277 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
40278 for flag in $(EXTRA_TARGET_FLAGS); do \
40279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40280 done; \
40281 (cd $(TARGET_SUBDIR)/libjava && \
40282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40284 "RANLIB=$${RANLIB}" \
40285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40286 html) \
40287 || exit 1
40289 @endif target-libjava
40291 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
40292 maybe-TAGS-target-libjava:
40293 @if target-libjava
40294 maybe-TAGS-target-libjava: TAGS-target-libjava
40296 TAGS-target-libjava: \
40297 configure-target-libjava
40298 @: $(MAKE); $(unstage)
40299 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40300 r=`${PWD_COMMAND}`; export r; \
40301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40302 $(RAW_CXX_TARGET_EXPORTS) \
40303 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
40304 for flag in $(EXTRA_TARGET_FLAGS); do \
40305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40306 done; \
40307 (cd $(TARGET_SUBDIR)/libjava && \
40308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40310 "RANLIB=$${RANLIB}" \
40311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40312 TAGS) \
40313 || exit 1
40315 @endif target-libjava
40317 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
40318 maybe-install-info-target-libjava:
40319 @if target-libjava
40320 maybe-install-info-target-libjava: install-info-target-libjava
40322 install-info-target-libjava: \
40323 configure-target-libjava \
40324 info-target-libjava
40325 @: $(MAKE); $(unstage)
40326 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40327 r=`${PWD_COMMAND}`; export r; \
40328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40329 $(RAW_CXX_TARGET_EXPORTS) \
40330 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
40331 for flag in $(EXTRA_TARGET_FLAGS); do \
40332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40333 done; \
40334 (cd $(TARGET_SUBDIR)/libjava && \
40335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40337 "RANLIB=$${RANLIB}" \
40338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40339 install-info) \
40340 || exit 1
40342 @endif target-libjava
40344 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
40345 maybe-install-pdf-target-libjava:
40346 @if target-libjava
40347 maybe-install-pdf-target-libjava: install-pdf-target-libjava
40349 install-pdf-target-libjava: \
40350 configure-target-libjava \
40351 pdf-target-libjava
40352 @: $(MAKE); $(unstage)
40353 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40354 r=`${PWD_COMMAND}`; export r; \
40355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40356 $(RAW_CXX_TARGET_EXPORTS) \
40357 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
40358 for flag in $(EXTRA_TARGET_FLAGS); do \
40359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40360 done; \
40361 (cd $(TARGET_SUBDIR)/libjava && \
40362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40364 "RANLIB=$${RANLIB}" \
40365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40366 install-pdf) \
40367 || exit 1
40369 @endif target-libjava
40371 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
40372 maybe-install-html-target-libjava:
40373 @if target-libjava
40374 maybe-install-html-target-libjava: install-html-target-libjava
40376 install-html-target-libjava: \
40377 configure-target-libjava \
40378 html-target-libjava
40379 @: $(MAKE); $(unstage)
40380 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40381 r=`${PWD_COMMAND}`; export r; \
40382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40383 $(RAW_CXX_TARGET_EXPORTS) \
40384 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
40385 for flag in $(EXTRA_TARGET_FLAGS); do \
40386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40387 done; \
40388 (cd $(TARGET_SUBDIR)/libjava && \
40389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40391 "RANLIB=$${RANLIB}" \
40392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40393 install-html) \
40394 || exit 1
40396 @endif target-libjava
40398 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
40399 maybe-installcheck-target-libjava:
40400 @if target-libjava
40401 maybe-installcheck-target-libjava: installcheck-target-libjava
40403 installcheck-target-libjava: \
40404 configure-target-libjava
40405 @: $(MAKE); $(unstage)
40406 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40407 r=`${PWD_COMMAND}`; export r; \
40408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40409 $(RAW_CXX_TARGET_EXPORTS) \
40410 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
40411 for flag in $(EXTRA_TARGET_FLAGS); do \
40412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40413 done; \
40414 (cd $(TARGET_SUBDIR)/libjava && \
40415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40417 "RANLIB=$${RANLIB}" \
40418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40419 installcheck) \
40420 || exit 1
40422 @endif target-libjava
40424 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
40425 maybe-mostlyclean-target-libjava:
40426 @if target-libjava
40427 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
40429 mostlyclean-target-libjava:
40430 @: $(MAKE); $(unstage)
40431 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40432 r=`${PWD_COMMAND}`; export r; \
40433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40434 $(RAW_CXX_TARGET_EXPORTS) \
40435 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
40436 for flag in $(EXTRA_TARGET_FLAGS); do \
40437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 done; \
40439 (cd $(TARGET_SUBDIR)/libjava && \
40440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40442 "RANLIB=$${RANLIB}" \
40443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40444 mostlyclean) \
40445 || exit 1
40447 @endif target-libjava
40449 .PHONY: maybe-clean-target-libjava clean-target-libjava
40450 maybe-clean-target-libjava:
40451 @if target-libjava
40452 maybe-clean-target-libjava: clean-target-libjava
40454 clean-target-libjava:
40455 @: $(MAKE); $(unstage)
40456 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40457 r=`${PWD_COMMAND}`; export r; \
40458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40459 $(RAW_CXX_TARGET_EXPORTS) \
40460 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
40461 for flag in $(EXTRA_TARGET_FLAGS); do \
40462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40463 done; \
40464 (cd $(TARGET_SUBDIR)/libjava && \
40465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40467 "RANLIB=$${RANLIB}" \
40468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40469 clean) \
40470 || exit 1
40472 @endif target-libjava
40474 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
40475 maybe-distclean-target-libjava:
40476 @if target-libjava
40477 maybe-distclean-target-libjava: distclean-target-libjava
40479 distclean-target-libjava:
40480 @: $(MAKE); $(unstage)
40481 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40482 r=`${PWD_COMMAND}`; export r; \
40483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40484 $(RAW_CXX_TARGET_EXPORTS) \
40485 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
40486 for flag in $(EXTRA_TARGET_FLAGS); do \
40487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40488 done; \
40489 (cd $(TARGET_SUBDIR)/libjava && \
40490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40492 "RANLIB=$${RANLIB}" \
40493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40494 distclean) \
40495 || exit 1
40497 @endif target-libjava
40499 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
40500 maybe-maintainer-clean-target-libjava:
40501 @if target-libjava
40502 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
40504 maintainer-clean-target-libjava:
40505 @: $(MAKE); $(unstage)
40506 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40507 r=`${PWD_COMMAND}`; export r; \
40508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40509 $(RAW_CXX_TARGET_EXPORTS) \
40510 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
40511 for flag in $(EXTRA_TARGET_FLAGS); do \
40512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40513 done; \
40514 (cd $(TARGET_SUBDIR)/libjava && \
40515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40517 "RANLIB=$${RANLIB}" \
40518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40519 maintainer-clean) \
40520 || exit 1
40522 @endif target-libjava
40528 .PHONY: configure-target-zlib maybe-configure-target-zlib
40529 maybe-configure-target-zlib:
40530 @if gcc-bootstrap
40531 configure-target-zlib: stage_current
40532 @endif gcc-bootstrap
40533 @if target-zlib
40534 maybe-configure-target-zlib: configure-target-zlib
40535 configure-target-zlib:
40536 @: $(MAKE); $(unstage)
40537 @r=`${PWD_COMMAND}`; export r; \
40538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40539 echo "Checking multilib configuration for zlib..."; \
40540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40541 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
40542 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
40543 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
40544 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
40545 else \
40546 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
40547 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40548 fi; \
40549 else \
40550 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40551 fi; \
40552 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
40553 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40554 $(NORMAL_TARGET_EXPORTS) \
40555 echo Configuring in $(TARGET_SUBDIR)/zlib; \
40556 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
40557 case $(srcdir) in \
40558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40559 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
40560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40561 esac; \
40562 srcdiroption="--srcdir=$${topdir}/zlib"; \
40563 libsrcdir="$$s/zlib"; \
40564 rm -f no-such-file || : ; \
40565 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40566 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40567 --target=${target_alias} $${srcdiroption} \
40568 || exit 1
40569 @endif target-zlib
40575 .PHONY: all-target-zlib maybe-all-target-zlib
40576 maybe-all-target-zlib:
40577 @if gcc-bootstrap
40578 all-target-zlib: stage_current
40579 @endif gcc-bootstrap
40580 @if target-zlib
40581 TARGET-target-zlib=all
40582 maybe-all-target-zlib: all-target-zlib
40583 all-target-zlib: configure-target-zlib
40584 @: $(MAKE); $(unstage)
40585 @r=`${PWD_COMMAND}`; export r; \
40586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40587 $(NORMAL_TARGET_EXPORTS) \
40588 (cd $(TARGET_SUBDIR)/zlib && \
40589 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40590 $(TARGET-target-zlib))
40591 @endif target-zlib
40597 .PHONY: check-target-zlib maybe-check-target-zlib
40598 maybe-check-target-zlib:
40599 @if target-zlib
40600 maybe-check-target-zlib: check-target-zlib
40602 check-target-zlib:
40603 @: $(MAKE); $(unstage)
40604 @r=`${PWD_COMMAND}`; export r; \
40605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40606 $(NORMAL_TARGET_EXPORTS) \
40607 (cd $(TARGET_SUBDIR)/zlib && \
40608 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40610 @endif target-zlib
40612 .PHONY: install-target-zlib maybe-install-target-zlib
40613 maybe-install-target-zlib:
40614 @if target-zlib
40615 maybe-install-target-zlib: install-target-zlib
40617 install-target-zlib: installdirs
40618 @: $(MAKE); $(unstage)
40619 @r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 (cd $(TARGET_SUBDIR)/zlib && \
40623 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40625 @endif target-zlib
40627 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
40628 maybe-install-strip-target-zlib:
40629 @if target-zlib
40630 maybe-install-strip-target-zlib: install-strip-target-zlib
40632 install-strip-target-zlib: installdirs
40633 @: $(MAKE); $(unstage)
40634 @r=`${PWD_COMMAND}`; export r; \
40635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40636 $(NORMAL_TARGET_EXPORTS) \
40637 (cd $(TARGET_SUBDIR)/zlib && \
40638 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40640 @endif target-zlib
40642 # Other targets (info, dvi, pdf, etc.)
40644 .PHONY: maybe-info-target-zlib info-target-zlib
40645 maybe-info-target-zlib:
40646 @if target-zlib
40647 maybe-info-target-zlib: info-target-zlib
40649 info-target-zlib: \
40650 configure-target-zlib
40651 @: $(MAKE); $(unstage)
40652 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40653 r=`${PWD_COMMAND}`; export r; \
40654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40655 $(NORMAL_TARGET_EXPORTS) \
40656 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
40657 for flag in $(EXTRA_TARGET_FLAGS); do \
40658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40659 done; \
40660 (cd $(TARGET_SUBDIR)/zlib && \
40661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40663 "RANLIB=$${RANLIB}" \
40664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40665 info) \
40666 || exit 1
40668 @endif target-zlib
40670 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
40671 maybe-dvi-target-zlib:
40672 @if target-zlib
40673 maybe-dvi-target-zlib: dvi-target-zlib
40675 dvi-target-zlib: \
40676 configure-target-zlib
40677 @: $(MAKE); $(unstage)
40678 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40679 r=`${PWD_COMMAND}`; export r; \
40680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40681 $(NORMAL_TARGET_EXPORTS) \
40682 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
40683 for flag in $(EXTRA_TARGET_FLAGS); do \
40684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40685 done; \
40686 (cd $(TARGET_SUBDIR)/zlib && \
40687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40689 "RANLIB=$${RANLIB}" \
40690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40691 dvi) \
40692 || exit 1
40694 @endif target-zlib
40696 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
40697 maybe-pdf-target-zlib:
40698 @if target-zlib
40699 maybe-pdf-target-zlib: pdf-target-zlib
40701 pdf-target-zlib: \
40702 configure-target-zlib
40703 @: $(MAKE); $(unstage)
40704 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40705 r=`${PWD_COMMAND}`; export r; \
40706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40707 $(NORMAL_TARGET_EXPORTS) \
40708 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
40709 for flag in $(EXTRA_TARGET_FLAGS); do \
40710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40711 done; \
40712 (cd $(TARGET_SUBDIR)/zlib && \
40713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40715 "RANLIB=$${RANLIB}" \
40716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40717 pdf) \
40718 || exit 1
40720 @endif target-zlib
40722 .PHONY: maybe-html-target-zlib html-target-zlib
40723 maybe-html-target-zlib:
40724 @if target-zlib
40725 maybe-html-target-zlib: html-target-zlib
40727 html-target-zlib: \
40728 configure-target-zlib
40729 @: $(MAKE); $(unstage)
40730 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40731 r=`${PWD_COMMAND}`; export r; \
40732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40733 $(NORMAL_TARGET_EXPORTS) \
40734 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
40735 for flag in $(EXTRA_TARGET_FLAGS); do \
40736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40737 done; \
40738 (cd $(TARGET_SUBDIR)/zlib && \
40739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40741 "RANLIB=$${RANLIB}" \
40742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40743 html) \
40744 || exit 1
40746 @endif target-zlib
40748 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
40749 maybe-TAGS-target-zlib:
40750 @if target-zlib
40751 maybe-TAGS-target-zlib: TAGS-target-zlib
40753 TAGS-target-zlib: \
40754 configure-target-zlib
40755 @: $(MAKE); $(unstage)
40756 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40757 r=`${PWD_COMMAND}`; export r; \
40758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40759 $(NORMAL_TARGET_EXPORTS) \
40760 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
40761 for flag in $(EXTRA_TARGET_FLAGS); do \
40762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40763 done; \
40764 (cd $(TARGET_SUBDIR)/zlib && \
40765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40767 "RANLIB=$${RANLIB}" \
40768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40769 TAGS) \
40770 || exit 1
40772 @endif target-zlib
40774 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
40775 maybe-install-info-target-zlib:
40776 @if target-zlib
40777 maybe-install-info-target-zlib: install-info-target-zlib
40779 install-info-target-zlib: \
40780 configure-target-zlib \
40781 info-target-zlib
40782 @: $(MAKE); $(unstage)
40783 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40784 r=`${PWD_COMMAND}`; export r; \
40785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40786 $(NORMAL_TARGET_EXPORTS) \
40787 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
40788 for flag in $(EXTRA_TARGET_FLAGS); do \
40789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40790 done; \
40791 (cd $(TARGET_SUBDIR)/zlib && \
40792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40794 "RANLIB=$${RANLIB}" \
40795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40796 install-info) \
40797 || exit 1
40799 @endif target-zlib
40801 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
40802 maybe-install-pdf-target-zlib:
40803 @if target-zlib
40804 maybe-install-pdf-target-zlib: install-pdf-target-zlib
40806 install-pdf-target-zlib: \
40807 configure-target-zlib \
40808 pdf-target-zlib
40809 @: $(MAKE); $(unstage)
40810 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40811 r=`${PWD_COMMAND}`; export r; \
40812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40813 $(NORMAL_TARGET_EXPORTS) \
40814 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
40815 for flag in $(EXTRA_TARGET_FLAGS); do \
40816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40817 done; \
40818 (cd $(TARGET_SUBDIR)/zlib && \
40819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40821 "RANLIB=$${RANLIB}" \
40822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40823 install-pdf) \
40824 || exit 1
40826 @endif target-zlib
40828 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
40829 maybe-install-html-target-zlib:
40830 @if target-zlib
40831 maybe-install-html-target-zlib: install-html-target-zlib
40833 install-html-target-zlib: \
40834 configure-target-zlib \
40835 html-target-zlib
40836 @: $(MAKE); $(unstage)
40837 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40838 r=`${PWD_COMMAND}`; export r; \
40839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40840 $(NORMAL_TARGET_EXPORTS) \
40841 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
40842 for flag in $(EXTRA_TARGET_FLAGS); do \
40843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40844 done; \
40845 (cd $(TARGET_SUBDIR)/zlib && \
40846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40848 "RANLIB=$${RANLIB}" \
40849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40850 install-html) \
40851 || exit 1
40853 @endif target-zlib
40855 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
40856 maybe-installcheck-target-zlib:
40857 @if target-zlib
40858 maybe-installcheck-target-zlib: installcheck-target-zlib
40860 installcheck-target-zlib: \
40861 configure-target-zlib
40862 @: $(MAKE); $(unstage)
40863 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40864 r=`${PWD_COMMAND}`; export r; \
40865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40866 $(NORMAL_TARGET_EXPORTS) \
40867 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
40868 for flag in $(EXTRA_TARGET_FLAGS); do \
40869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40870 done; \
40871 (cd $(TARGET_SUBDIR)/zlib && \
40872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40874 "RANLIB=$${RANLIB}" \
40875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40876 installcheck) \
40877 || exit 1
40879 @endif target-zlib
40881 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
40882 maybe-mostlyclean-target-zlib:
40883 @if target-zlib
40884 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
40886 mostlyclean-target-zlib:
40887 @: $(MAKE); $(unstage)
40888 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40889 r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 $(NORMAL_TARGET_EXPORTS) \
40892 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
40893 for flag in $(EXTRA_TARGET_FLAGS); do \
40894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40895 done; \
40896 (cd $(TARGET_SUBDIR)/zlib && \
40897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40899 "RANLIB=$${RANLIB}" \
40900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40901 mostlyclean) \
40902 || exit 1
40904 @endif target-zlib
40906 .PHONY: maybe-clean-target-zlib clean-target-zlib
40907 maybe-clean-target-zlib:
40908 @if target-zlib
40909 maybe-clean-target-zlib: clean-target-zlib
40911 clean-target-zlib:
40912 @: $(MAKE); $(unstage)
40913 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40914 r=`${PWD_COMMAND}`; export r; \
40915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40916 $(NORMAL_TARGET_EXPORTS) \
40917 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
40918 for flag in $(EXTRA_TARGET_FLAGS); do \
40919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40920 done; \
40921 (cd $(TARGET_SUBDIR)/zlib && \
40922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40924 "RANLIB=$${RANLIB}" \
40925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40926 clean) \
40927 || exit 1
40929 @endif target-zlib
40931 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
40932 maybe-distclean-target-zlib:
40933 @if target-zlib
40934 maybe-distclean-target-zlib: distclean-target-zlib
40936 distclean-target-zlib:
40937 @: $(MAKE); $(unstage)
40938 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40939 r=`${PWD_COMMAND}`; export r; \
40940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40941 $(NORMAL_TARGET_EXPORTS) \
40942 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
40943 for flag in $(EXTRA_TARGET_FLAGS); do \
40944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40945 done; \
40946 (cd $(TARGET_SUBDIR)/zlib && \
40947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40949 "RANLIB=$${RANLIB}" \
40950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40951 distclean) \
40952 || exit 1
40954 @endif target-zlib
40956 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
40957 maybe-maintainer-clean-target-zlib:
40958 @if target-zlib
40959 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
40961 maintainer-clean-target-zlib:
40962 @: $(MAKE); $(unstage)
40963 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40964 r=`${PWD_COMMAND}`; export r; \
40965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40966 $(NORMAL_TARGET_EXPORTS) \
40967 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
40968 for flag in $(EXTRA_TARGET_FLAGS); do \
40969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40970 done; \
40971 (cd $(TARGET_SUBDIR)/zlib && \
40972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40974 "RANLIB=$${RANLIB}" \
40975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40976 maintainer-clean) \
40977 || exit 1
40979 @endif target-zlib
40985 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
40986 maybe-configure-target-boehm-gc:
40987 @if gcc-bootstrap
40988 configure-target-boehm-gc: stage_current
40989 @endif gcc-bootstrap
40990 @if target-boehm-gc
40991 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40992 configure-target-boehm-gc:
40993 @: $(MAKE); $(unstage)
40994 @r=`${PWD_COMMAND}`; export r; \
40995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40996 echo "Checking multilib configuration for boehm-gc..."; \
40997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40998 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40999 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
41000 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
41001 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
41002 else \
41003 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
41004 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
41005 fi; \
41006 else \
41007 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
41008 fi; \
41009 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
41010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
41011 $(NORMAL_TARGET_EXPORTS) \
41012 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
41013 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
41014 case $(srcdir) in \
41015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41016 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
41017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41018 esac; \
41019 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
41020 libsrcdir="$$s/boehm-gc"; \
41021 rm -f no-such-file || : ; \
41022 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41023 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41024 --target=${target_alias} $${srcdiroption} \
41025 || exit 1
41026 @endif target-boehm-gc
41032 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
41033 maybe-all-target-boehm-gc:
41034 @if gcc-bootstrap
41035 all-target-boehm-gc: stage_current
41036 @endif gcc-bootstrap
41037 @if target-boehm-gc
41038 TARGET-target-boehm-gc=all
41039 maybe-all-target-boehm-gc: all-target-boehm-gc
41040 all-target-boehm-gc: configure-target-boehm-gc
41041 @: $(MAKE); $(unstage)
41042 @r=`${PWD_COMMAND}`; export r; \
41043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41044 $(NORMAL_TARGET_EXPORTS) \
41045 (cd $(TARGET_SUBDIR)/boehm-gc && \
41046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41047 $(TARGET-target-boehm-gc))
41048 @endif target-boehm-gc
41054 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
41055 maybe-check-target-boehm-gc:
41056 @if target-boehm-gc
41057 maybe-check-target-boehm-gc: check-target-boehm-gc
41059 check-target-boehm-gc:
41060 @: $(MAKE); $(unstage)
41061 @r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 $(NORMAL_TARGET_EXPORTS) \
41064 (cd $(TARGET_SUBDIR)/boehm-gc && \
41065 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41067 @endif target-boehm-gc
41069 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
41070 maybe-install-target-boehm-gc:
41071 @if target-boehm-gc
41072 maybe-install-target-boehm-gc: install-target-boehm-gc
41074 install-target-boehm-gc: installdirs
41075 @: $(MAKE); $(unstage)
41076 @r=`${PWD_COMMAND}`; export r; \
41077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41078 $(NORMAL_TARGET_EXPORTS) \
41079 (cd $(TARGET_SUBDIR)/boehm-gc && \
41080 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41082 @endif target-boehm-gc
41084 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
41085 maybe-install-strip-target-boehm-gc:
41086 @if target-boehm-gc
41087 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
41089 install-strip-target-boehm-gc: installdirs
41090 @: $(MAKE); $(unstage)
41091 @r=`${PWD_COMMAND}`; export r; \
41092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41093 $(NORMAL_TARGET_EXPORTS) \
41094 (cd $(TARGET_SUBDIR)/boehm-gc && \
41095 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41097 @endif target-boehm-gc
41099 # Other targets (info, dvi, pdf, etc.)
41101 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
41102 maybe-info-target-boehm-gc:
41103 @if target-boehm-gc
41104 maybe-info-target-boehm-gc: info-target-boehm-gc
41106 info-target-boehm-gc: \
41107 configure-target-boehm-gc
41108 @: $(MAKE); $(unstage)
41109 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41110 r=`${PWD_COMMAND}`; export r; \
41111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41112 $(NORMAL_TARGET_EXPORTS) \
41113 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
41114 for flag in $(EXTRA_TARGET_FLAGS); do \
41115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41116 done; \
41117 (cd $(TARGET_SUBDIR)/boehm-gc && \
41118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41120 "RANLIB=$${RANLIB}" \
41121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41122 info) \
41123 || exit 1
41125 @endif target-boehm-gc
41127 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
41128 maybe-dvi-target-boehm-gc:
41129 @if target-boehm-gc
41130 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
41132 dvi-target-boehm-gc: \
41133 configure-target-boehm-gc
41134 @: $(MAKE); $(unstage)
41135 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41136 r=`${PWD_COMMAND}`; export r; \
41137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41138 $(NORMAL_TARGET_EXPORTS) \
41139 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
41140 for flag in $(EXTRA_TARGET_FLAGS); do \
41141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41142 done; \
41143 (cd $(TARGET_SUBDIR)/boehm-gc && \
41144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41146 "RANLIB=$${RANLIB}" \
41147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41148 dvi) \
41149 || exit 1
41151 @endif target-boehm-gc
41153 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
41154 maybe-pdf-target-boehm-gc:
41155 @if target-boehm-gc
41156 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
41158 pdf-target-boehm-gc: \
41159 configure-target-boehm-gc
41160 @: $(MAKE); $(unstage)
41161 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41162 r=`${PWD_COMMAND}`; export r; \
41163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41164 $(NORMAL_TARGET_EXPORTS) \
41165 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41166 for flag in $(EXTRA_TARGET_FLAGS); do \
41167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41168 done; \
41169 (cd $(TARGET_SUBDIR)/boehm-gc && \
41170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41172 "RANLIB=$${RANLIB}" \
41173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41174 pdf) \
41175 || exit 1
41177 @endif target-boehm-gc
41179 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
41180 maybe-html-target-boehm-gc:
41181 @if target-boehm-gc
41182 maybe-html-target-boehm-gc: html-target-boehm-gc
41184 html-target-boehm-gc: \
41185 configure-target-boehm-gc
41186 @: $(MAKE); $(unstage)
41187 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41188 r=`${PWD_COMMAND}`; export r; \
41189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41190 $(NORMAL_TARGET_EXPORTS) \
41191 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
41192 for flag in $(EXTRA_TARGET_FLAGS); do \
41193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41194 done; \
41195 (cd $(TARGET_SUBDIR)/boehm-gc && \
41196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41198 "RANLIB=$${RANLIB}" \
41199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41200 html) \
41201 || exit 1
41203 @endif target-boehm-gc
41205 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
41206 maybe-TAGS-target-boehm-gc:
41207 @if target-boehm-gc
41208 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
41210 TAGS-target-boehm-gc: \
41211 configure-target-boehm-gc
41212 @: $(MAKE); $(unstage)
41213 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41214 r=`${PWD_COMMAND}`; export r; \
41215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41216 $(NORMAL_TARGET_EXPORTS) \
41217 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
41218 for flag in $(EXTRA_TARGET_FLAGS); do \
41219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41220 done; \
41221 (cd $(TARGET_SUBDIR)/boehm-gc && \
41222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41224 "RANLIB=$${RANLIB}" \
41225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41226 TAGS) \
41227 || exit 1
41229 @endif target-boehm-gc
41231 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
41232 maybe-install-info-target-boehm-gc:
41233 @if target-boehm-gc
41234 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
41236 install-info-target-boehm-gc: \
41237 configure-target-boehm-gc \
41238 info-target-boehm-gc
41239 @: $(MAKE); $(unstage)
41240 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41241 r=`${PWD_COMMAND}`; export r; \
41242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41243 $(NORMAL_TARGET_EXPORTS) \
41244 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
41245 for flag in $(EXTRA_TARGET_FLAGS); do \
41246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41247 done; \
41248 (cd $(TARGET_SUBDIR)/boehm-gc && \
41249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41251 "RANLIB=$${RANLIB}" \
41252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41253 install-info) \
41254 || exit 1
41256 @endif target-boehm-gc
41258 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
41259 maybe-install-pdf-target-boehm-gc:
41260 @if target-boehm-gc
41261 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
41263 install-pdf-target-boehm-gc: \
41264 configure-target-boehm-gc \
41265 pdf-target-boehm-gc
41266 @: $(MAKE); $(unstage)
41267 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41268 r=`${PWD_COMMAND}`; export r; \
41269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41270 $(NORMAL_TARGET_EXPORTS) \
41271 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
41272 for flag in $(EXTRA_TARGET_FLAGS); do \
41273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41274 done; \
41275 (cd $(TARGET_SUBDIR)/boehm-gc && \
41276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41278 "RANLIB=$${RANLIB}" \
41279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41280 install-pdf) \
41281 || exit 1
41283 @endif target-boehm-gc
41285 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
41286 maybe-install-html-target-boehm-gc:
41287 @if target-boehm-gc
41288 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
41290 install-html-target-boehm-gc: \
41291 configure-target-boehm-gc \
41292 html-target-boehm-gc
41293 @: $(MAKE); $(unstage)
41294 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41295 r=`${PWD_COMMAND}`; export r; \
41296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41297 $(NORMAL_TARGET_EXPORTS) \
41298 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
41299 for flag in $(EXTRA_TARGET_FLAGS); do \
41300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41301 done; \
41302 (cd $(TARGET_SUBDIR)/boehm-gc && \
41303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41305 "RANLIB=$${RANLIB}" \
41306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41307 install-html) \
41308 || exit 1
41310 @endif target-boehm-gc
41312 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
41313 maybe-installcheck-target-boehm-gc:
41314 @if target-boehm-gc
41315 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
41317 installcheck-target-boehm-gc: \
41318 configure-target-boehm-gc
41319 @: $(MAKE); $(unstage)
41320 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41321 r=`${PWD_COMMAND}`; export r; \
41322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41323 $(NORMAL_TARGET_EXPORTS) \
41324 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
41325 for flag in $(EXTRA_TARGET_FLAGS); do \
41326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41327 done; \
41328 (cd $(TARGET_SUBDIR)/boehm-gc && \
41329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41331 "RANLIB=$${RANLIB}" \
41332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41333 installcheck) \
41334 || exit 1
41336 @endif target-boehm-gc
41338 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
41339 maybe-mostlyclean-target-boehm-gc:
41340 @if target-boehm-gc
41341 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
41343 mostlyclean-target-boehm-gc:
41344 @: $(MAKE); $(unstage)
41345 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41346 r=`${PWD_COMMAND}`; export r; \
41347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41348 $(NORMAL_TARGET_EXPORTS) \
41349 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41350 for flag in $(EXTRA_TARGET_FLAGS); do \
41351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41352 done; \
41353 (cd $(TARGET_SUBDIR)/boehm-gc && \
41354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41356 "RANLIB=$${RANLIB}" \
41357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41358 mostlyclean) \
41359 || exit 1
41361 @endif target-boehm-gc
41363 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
41364 maybe-clean-target-boehm-gc:
41365 @if target-boehm-gc
41366 maybe-clean-target-boehm-gc: clean-target-boehm-gc
41368 clean-target-boehm-gc:
41369 @: $(MAKE); $(unstage)
41370 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41371 r=`${PWD_COMMAND}`; export r; \
41372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41373 $(NORMAL_TARGET_EXPORTS) \
41374 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41375 for flag in $(EXTRA_TARGET_FLAGS); do \
41376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41377 done; \
41378 (cd $(TARGET_SUBDIR)/boehm-gc && \
41379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41381 "RANLIB=$${RANLIB}" \
41382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41383 clean) \
41384 || exit 1
41386 @endif target-boehm-gc
41388 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
41389 maybe-distclean-target-boehm-gc:
41390 @if target-boehm-gc
41391 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
41393 distclean-target-boehm-gc:
41394 @: $(MAKE); $(unstage)
41395 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41396 r=`${PWD_COMMAND}`; export r; \
41397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41398 $(NORMAL_TARGET_EXPORTS) \
41399 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
41400 for flag in $(EXTRA_TARGET_FLAGS); do \
41401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41402 done; \
41403 (cd $(TARGET_SUBDIR)/boehm-gc && \
41404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41406 "RANLIB=$${RANLIB}" \
41407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41408 distclean) \
41409 || exit 1
41411 @endif target-boehm-gc
41413 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
41414 maybe-maintainer-clean-target-boehm-gc:
41415 @if target-boehm-gc
41416 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
41418 maintainer-clean-target-boehm-gc:
41419 @: $(MAKE); $(unstage)
41420 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
41421 r=`${PWD_COMMAND}`; export r; \
41422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41423 $(NORMAL_TARGET_EXPORTS) \
41424 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
41425 for flag in $(EXTRA_TARGET_FLAGS); do \
41426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41427 done; \
41428 (cd $(TARGET_SUBDIR)/boehm-gc && \
41429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41431 "RANLIB=$${RANLIB}" \
41432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41433 maintainer-clean) \
41434 || exit 1
41436 @endif target-boehm-gc
41442 .PHONY: configure-target-rda maybe-configure-target-rda
41443 maybe-configure-target-rda:
41444 @if gcc-bootstrap
41445 configure-target-rda: stage_current
41446 @endif gcc-bootstrap
41447 @if target-rda
41448 maybe-configure-target-rda: configure-target-rda
41449 configure-target-rda:
41450 @: $(MAKE); $(unstage)
41451 @r=`${PWD_COMMAND}`; export r; \
41452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41453 echo "Checking multilib configuration for rda..."; \
41454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41455 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
41456 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
41457 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
41458 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
41459 else \
41460 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
41461 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41462 fi; \
41463 else \
41464 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
41465 fi; \
41466 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
41467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41468 $(NORMAL_TARGET_EXPORTS) \
41469 echo Configuring in $(TARGET_SUBDIR)/rda; \
41470 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
41471 case $(srcdir) in \
41472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41473 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
41474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41475 esac; \
41476 srcdiroption="--srcdir=$${topdir}/rda"; \
41477 libsrcdir="$$s/rda"; \
41478 rm -f no-such-file || : ; \
41479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41480 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41481 --target=${target_alias} $${srcdiroption} \
41482 || exit 1
41483 @endif target-rda
41489 .PHONY: all-target-rda maybe-all-target-rda
41490 maybe-all-target-rda:
41491 @if gcc-bootstrap
41492 all-target-rda: stage_current
41493 @endif gcc-bootstrap
41494 @if target-rda
41495 TARGET-target-rda=all
41496 maybe-all-target-rda: all-target-rda
41497 all-target-rda: configure-target-rda
41498 @: $(MAKE); $(unstage)
41499 @r=`${PWD_COMMAND}`; export r; \
41500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41501 $(NORMAL_TARGET_EXPORTS) \
41502 (cd $(TARGET_SUBDIR)/rda && \
41503 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41504 $(TARGET-target-rda))
41505 @endif target-rda
41511 .PHONY: check-target-rda maybe-check-target-rda
41512 maybe-check-target-rda:
41513 @if target-rda
41514 maybe-check-target-rda: check-target-rda
41516 check-target-rda:
41517 @: $(MAKE); $(unstage)
41518 @r=`${PWD_COMMAND}`; export r; \
41519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41520 $(NORMAL_TARGET_EXPORTS) \
41521 (cd $(TARGET_SUBDIR)/rda && \
41522 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41524 @endif target-rda
41526 .PHONY: install-target-rda maybe-install-target-rda
41527 maybe-install-target-rda:
41528 @if target-rda
41529 maybe-install-target-rda: install-target-rda
41531 install-target-rda: installdirs
41532 @: $(MAKE); $(unstage)
41533 @r=`${PWD_COMMAND}`; export r; \
41534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41535 $(NORMAL_TARGET_EXPORTS) \
41536 (cd $(TARGET_SUBDIR)/rda && \
41537 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41539 @endif target-rda
41541 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
41542 maybe-install-strip-target-rda:
41543 @if target-rda
41544 maybe-install-strip-target-rda: install-strip-target-rda
41546 install-strip-target-rda: installdirs
41547 @: $(MAKE); $(unstage)
41548 @r=`${PWD_COMMAND}`; export r; \
41549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41550 $(NORMAL_TARGET_EXPORTS) \
41551 (cd $(TARGET_SUBDIR)/rda && \
41552 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41554 @endif target-rda
41556 # Other targets (info, dvi, pdf, etc.)
41558 .PHONY: maybe-info-target-rda info-target-rda
41559 maybe-info-target-rda:
41560 @if target-rda
41561 maybe-info-target-rda: info-target-rda
41563 info-target-rda: \
41564 configure-target-rda
41565 @: $(MAKE); $(unstage)
41566 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41567 r=`${PWD_COMMAND}`; export r; \
41568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41569 $(NORMAL_TARGET_EXPORTS) \
41570 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 info) \
41580 || exit 1
41582 @endif target-rda
41584 .PHONY: maybe-dvi-target-rda dvi-target-rda
41585 maybe-dvi-target-rda:
41586 @if target-rda
41587 maybe-dvi-target-rda: dvi-target-rda
41589 dvi-target-rda: \
41590 configure-target-rda
41591 @: $(MAKE); $(unstage)
41592 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41593 r=`${PWD_COMMAND}`; export r; \
41594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41595 $(NORMAL_TARGET_EXPORTS) \
41596 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 dvi) \
41606 || exit 1
41608 @endif target-rda
41610 .PHONY: maybe-pdf-target-rda pdf-target-rda
41611 maybe-pdf-target-rda:
41612 @if target-rda
41613 maybe-pdf-target-rda: pdf-target-rda
41615 pdf-target-rda: \
41616 configure-target-rda
41617 @: $(MAKE); $(unstage)
41618 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41619 r=`${PWD_COMMAND}`; export r; \
41620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41621 $(NORMAL_TARGET_EXPORTS) \
41622 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
41623 for flag in $(EXTRA_TARGET_FLAGS); do \
41624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41625 done; \
41626 (cd $(TARGET_SUBDIR)/rda && \
41627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41629 "RANLIB=$${RANLIB}" \
41630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41631 pdf) \
41632 || exit 1
41634 @endif target-rda
41636 .PHONY: maybe-html-target-rda html-target-rda
41637 maybe-html-target-rda:
41638 @if target-rda
41639 maybe-html-target-rda: html-target-rda
41641 html-target-rda: \
41642 configure-target-rda
41643 @: $(MAKE); $(unstage)
41644 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41645 r=`${PWD_COMMAND}`; export r; \
41646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41647 $(NORMAL_TARGET_EXPORTS) \
41648 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
41649 for flag in $(EXTRA_TARGET_FLAGS); do \
41650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41651 done; \
41652 (cd $(TARGET_SUBDIR)/rda && \
41653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41655 "RANLIB=$${RANLIB}" \
41656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41657 html) \
41658 || exit 1
41660 @endif target-rda
41662 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
41663 maybe-TAGS-target-rda:
41664 @if target-rda
41665 maybe-TAGS-target-rda: TAGS-target-rda
41667 TAGS-target-rda: \
41668 configure-target-rda
41669 @: $(MAKE); $(unstage)
41670 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41671 r=`${PWD_COMMAND}`; export r; \
41672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41673 $(NORMAL_TARGET_EXPORTS) \
41674 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
41675 for flag in $(EXTRA_TARGET_FLAGS); do \
41676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41677 done; \
41678 (cd $(TARGET_SUBDIR)/rda && \
41679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41681 "RANLIB=$${RANLIB}" \
41682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41683 TAGS) \
41684 || exit 1
41686 @endif target-rda
41688 .PHONY: maybe-install-info-target-rda install-info-target-rda
41689 maybe-install-info-target-rda:
41690 @if target-rda
41691 maybe-install-info-target-rda: install-info-target-rda
41693 install-info-target-rda: \
41694 configure-target-rda \
41695 info-target-rda
41696 @: $(MAKE); $(unstage)
41697 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41698 r=`${PWD_COMMAND}`; export r; \
41699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41700 $(NORMAL_TARGET_EXPORTS) \
41701 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
41702 for flag in $(EXTRA_TARGET_FLAGS); do \
41703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41704 done; \
41705 (cd $(TARGET_SUBDIR)/rda && \
41706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41708 "RANLIB=$${RANLIB}" \
41709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41710 install-info) \
41711 || exit 1
41713 @endif target-rda
41715 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
41716 maybe-install-pdf-target-rda:
41717 @if target-rda
41718 maybe-install-pdf-target-rda: install-pdf-target-rda
41720 install-pdf-target-rda: \
41721 configure-target-rda \
41722 pdf-target-rda
41723 @: $(MAKE); $(unstage)
41724 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41725 r=`${PWD_COMMAND}`; export r; \
41726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41727 $(NORMAL_TARGET_EXPORTS) \
41728 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 install-pdf) \
41738 || exit 1
41740 @endif target-rda
41742 .PHONY: maybe-install-html-target-rda install-html-target-rda
41743 maybe-install-html-target-rda:
41744 @if target-rda
41745 maybe-install-html-target-rda: install-html-target-rda
41747 install-html-target-rda: \
41748 configure-target-rda \
41749 html-target-rda
41750 @: $(MAKE); $(unstage)
41751 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41752 r=`${PWD_COMMAND}`; export r; \
41753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41754 $(NORMAL_TARGET_EXPORTS) \
41755 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
41756 for flag in $(EXTRA_TARGET_FLAGS); do \
41757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41758 done; \
41759 (cd $(TARGET_SUBDIR)/rda && \
41760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41762 "RANLIB=$${RANLIB}" \
41763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41764 install-html) \
41765 || exit 1
41767 @endif target-rda
41769 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
41770 maybe-installcheck-target-rda:
41771 @if target-rda
41772 maybe-installcheck-target-rda: installcheck-target-rda
41774 installcheck-target-rda: \
41775 configure-target-rda
41776 @: $(MAKE); $(unstage)
41777 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41778 r=`${PWD_COMMAND}`; export r; \
41779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41780 $(NORMAL_TARGET_EXPORTS) \
41781 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
41782 for flag in $(EXTRA_TARGET_FLAGS); do \
41783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41784 done; \
41785 (cd $(TARGET_SUBDIR)/rda && \
41786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41788 "RANLIB=$${RANLIB}" \
41789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41790 installcheck) \
41791 || exit 1
41793 @endif target-rda
41795 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
41796 maybe-mostlyclean-target-rda:
41797 @if target-rda
41798 maybe-mostlyclean-target-rda: mostlyclean-target-rda
41800 mostlyclean-target-rda:
41801 @: $(MAKE); $(unstage)
41802 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41803 r=`${PWD_COMMAND}`; export r; \
41804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41805 $(NORMAL_TARGET_EXPORTS) \
41806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
41807 for flag in $(EXTRA_TARGET_FLAGS); do \
41808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41809 done; \
41810 (cd $(TARGET_SUBDIR)/rda && \
41811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41813 "RANLIB=$${RANLIB}" \
41814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41815 mostlyclean) \
41816 || exit 1
41818 @endif target-rda
41820 .PHONY: maybe-clean-target-rda clean-target-rda
41821 maybe-clean-target-rda:
41822 @if target-rda
41823 maybe-clean-target-rda: clean-target-rda
41825 clean-target-rda:
41826 @: $(MAKE); $(unstage)
41827 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41828 r=`${PWD_COMMAND}`; export r; \
41829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41830 $(NORMAL_TARGET_EXPORTS) \
41831 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
41832 for flag in $(EXTRA_TARGET_FLAGS); do \
41833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41834 done; \
41835 (cd $(TARGET_SUBDIR)/rda && \
41836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41838 "RANLIB=$${RANLIB}" \
41839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41840 clean) \
41841 || exit 1
41843 @endif target-rda
41845 .PHONY: maybe-distclean-target-rda distclean-target-rda
41846 maybe-distclean-target-rda:
41847 @if target-rda
41848 maybe-distclean-target-rda: distclean-target-rda
41850 distclean-target-rda:
41851 @: $(MAKE); $(unstage)
41852 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41853 r=`${PWD_COMMAND}`; export r; \
41854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41855 $(NORMAL_TARGET_EXPORTS) \
41856 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
41857 for flag in $(EXTRA_TARGET_FLAGS); do \
41858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41859 done; \
41860 (cd $(TARGET_SUBDIR)/rda && \
41861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41863 "RANLIB=$${RANLIB}" \
41864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41865 distclean) \
41866 || exit 1
41868 @endif target-rda
41870 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
41871 maybe-maintainer-clean-target-rda:
41872 @if target-rda
41873 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
41875 maintainer-clean-target-rda:
41876 @: $(MAKE); $(unstage)
41877 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41878 r=`${PWD_COMMAND}`; export r; \
41879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41880 $(NORMAL_TARGET_EXPORTS) \
41881 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
41882 for flag in $(EXTRA_TARGET_FLAGS); do \
41883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41884 done; \
41885 (cd $(TARGET_SUBDIR)/rda && \
41886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41888 "RANLIB=$${RANLIB}" \
41889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41890 maintainer-clean) \
41891 || exit 1
41893 @endif target-rda
41899 .PHONY: configure-target-libada maybe-configure-target-libada
41900 maybe-configure-target-libada:
41901 @if gcc-bootstrap
41902 configure-target-libada: stage_current
41903 @endif gcc-bootstrap
41904 @if target-libada
41905 maybe-configure-target-libada: configure-target-libada
41906 configure-target-libada:
41907 @: $(MAKE); $(unstage)
41908 @r=`${PWD_COMMAND}`; export r; \
41909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41910 echo "Checking multilib configuration for libada..."; \
41911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41912 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
41913 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
41914 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
41915 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
41916 else \
41917 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
41918 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41919 fi; \
41920 else \
41921 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41922 fi; \
41923 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
41924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41925 $(NORMAL_TARGET_EXPORTS) \
41926 echo Configuring in $(TARGET_SUBDIR)/libada; \
41927 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
41928 case $(srcdir) in \
41929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41930 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
41931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41932 esac; \
41933 srcdiroption="--srcdir=$${topdir}/libada"; \
41934 libsrcdir="$$s/libada"; \
41935 rm -f no-such-file || : ; \
41936 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41938 --target=${target_alias} $${srcdiroption} \
41939 || exit 1
41940 @endif target-libada
41946 .PHONY: all-target-libada maybe-all-target-libada
41947 maybe-all-target-libada:
41948 @if gcc-bootstrap
41949 all-target-libada: stage_current
41950 @endif gcc-bootstrap
41951 @if target-libada
41952 TARGET-target-libada=all
41953 maybe-all-target-libada: all-target-libada
41954 all-target-libada: configure-target-libada
41955 @: $(MAKE); $(unstage)
41956 @r=`${PWD_COMMAND}`; export r; \
41957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41958 $(NORMAL_TARGET_EXPORTS) \
41959 (cd $(TARGET_SUBDIR)/libada && \
41960 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41961 $(TARGET-target-libada))
41962 @endif target-libada
41968 .PHONY: check-target-libada maybe-check-target-libada
41969 maybe-check-target-libada:
41970 @if target-libada
41971 maybe-check-target-libada: check-target-libada
41973 check-target-libada:
41974 @: $(MAKE); $(unstage)
41975 @r=`${PWD_COMMAND}`; export r; \
41976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41977 $(NORMAL_TARGET_EXPORTS) \
41978 (cd $(TARGET_SUBDIR)/libada && \
41979 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41981 @endif target-libada
41983 .PHONY: install-target-libada maybe-install-target-libada
41984 maybe-install-target-libada:
41985 @if target-libada
41986 maybe-install-target-libada: install-target-libada
41988 install-target-libada: installdirs
41989 @: $(MAKE); $(unstage)
41990 @r=`${PWD_COMMAND}`; export r; \
41991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41992 $(NORMAL_TARGET_EXPORTS) \
41993 (cd $(TARGET_SUBDIR)/libada && \
41994 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41996 @endif target-libada
41998 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
41999 maybe-install-strip-target-libada:
42000 @if target-libada
42001 maybe-install-strip-target-libada: install-strip-target-libada
42003 install-strip-target-libada: installdirs
42004 @: $(MAKE); $(unstage)
42005 @r=`${PWD_COMMAND}`; export r; \
42006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42007 $(NORMAL_TARGET_EXPORTS) \
42008 (cd $(TARGET_SUBDIR)/libada && \
42009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42011 @endif target-libada
42013 # Other targets (info, dvi, pdf, etc.)
42015 .PHONY: maybe-info-target-libada info-target-libada
42016 maybe-info-target-libada:
42017 @if target-libada
42018 maybe-info-target-libada: info-target-libada
42020 info-target-libada: \
42021 configure-target-libada
42022 @: $(MAKE); $(unstage)
42023 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42024 r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 $(NORMAL_TARGET_EXPORTS) \
42027 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 info) \
42037 || exit 1
42039 @endif target-libada
42041 .PHONY: maybe-dvi-target-libada dvi-target-libada
42042 maybe-dvi-target-libada:
42043 @if target-libada
42044 maybe-dvi-target-libada: dvi-target-libada
42046 dvi-target-libada: \
42047 configure-target-libada
42048 @: $(MAKE); $(unstage)
42049 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42050 r=`${PWD_COMMAND}`; export r; \
42051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42052 $(NORMAL_TARGET_EXPORTS) \
42053 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 dvi) \
42063 || exit 1
42065 @endif target-libada
42067 .PHONY: maybe-pdf-target-libada pdf-target-libada
42068 maybe-pdf-target-libada:
42069 @if target-libada
42070 maybe-pdf-target-libada: pdf-target-libada
42072 pdf-target-libada: \
42073 configure-target-libada
42074 @: $(MAKE); $(unstage)
42075 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42076 r=`${PWD_COMMAND}`; export r; \
42077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42078 $(NORMAL_TARGET_EXPORTS) \
42079 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
42080 for flag in $(EXTRA_TARGET_FLAGS); do \
42081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42082 done; \
42083 (cd $(TARGET_SUBDIR)/libada && \
42084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42086 "RANLIB=$${RANLIB}" \
42087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42088 pdf) \
42089 || exit 1
42091 @endif target-libada
42093 .PHONY: maybe-html-target-libada html-target-libada
42094 maybe-html-target-libada:
42095 @if target-libada
42096 maybe-html-target-libada: html-target-libada
42098 html-target-libada: \
42099 configure-target-libada
42100 @: $(MAKE); $(unstage)
42101 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42102 r=`${PWD_COMMAND}`; export r; \
42103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42104 $(NORMAL_TARGET_EXPORTS) \
42105 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
42106 for flag in $(EXTRA_TARGET_FLAGS); do \
42107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42108 done; \
42109 (cd $(TARGET_SUBDIR)/libada && \
42110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42112 "RANLIB=$${RANLIB}" \
42113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42114 html) \
42115 || exit 1
42117 @endif target-libada
42119 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
42120 maybe-TAGS-target-libada:
42121 @if target-libada
42122 maybe-TAGS-target-libada: TAGS-target-libada
42124 TAGS-target-libada: \
42125 configure-target-libada
42126 @: $(MAKE); $(unstage)
42127 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42128 r=`${PWD_COMMAND}`; export r; \
42129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42130 $(NORMAL_TARGET_EXPORTS) \
42131 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
42132 for flag in $(EXTRA_TARGET_FLAGS); do \
42133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42134 done; \
42135 (cd $(TARGET_SUBDIR)/libada && \
42136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42138 "RANLIB=$${RANLIB}" \
42139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42140 TAGS) \
42141 || exit 1
42143 @endif target-libada
42145 .PHONY: maybe-install-info-target-libada install-info-target-libada
42146 maybe-install-info-target-libada:
42147 @if target-libada
42148 maybe-install-info-target-libada: install-info-target-libada
42150 install-info-target-libada: \
42151 configure-target-libada \
42152 info-target-libada
42153 @: $(MAKE); $(unstage)
42154 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42155 r=`${PWD_COMMAND}`; export r; \
42156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42157 $(NORMAL_TARGET_EXPORTS) \
42158 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
42159 for flag in $(EXTRA_TARGET_FLAGS); do \
42160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42161 done; \
42162 (cd $(TARGET_SUBDIR)/libada && \
42163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42165 "RANLIB=$${RANLIB}" \
42166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42167 install-info) \
42168 || exit 1
42170 @endif target-libada
42172 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
42173 maybe-install-pdf-target-libada:
42174 @if target-libada
42175 maybe-install-pdf-target-libada: install-pdf-target-libada
42177 install-pdf-target-libada: \
42178 configure-target-libada \
42179 pdf-target-libada
42180 @: $(MAKE); $(unstage)
42181 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42182 r=`${PWD_COMMAND}`; export r; \
42183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42184 $(NORMAL_TARGET_EXPORTS) \
42185 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 install-pdf) \
42195 || exit 1
42197 @endif target-libada
42199 .PHONY: maybe-install-html-target-libada install-html-target-libada
42200 maybe-install-html-target-libada:
42201 @if target-libada
42202 maybe-install-html-target-libada: install-html-target-libada
42204 install-html-target-libada: \
42205 configure-target-libada \
42206 html-target-libada
42207 @: $(MAKE); $(unstage)
42208 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42209 r=`${PWD_COMMAND}`; export r; \
42210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42211 $(NORMAL_TARGET_EXPORTS) \
42212 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
42213 for flag in $(EXTRA_TARGET_FLAGS); do \
42214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42215 done; \
42216 (cd $(TARGET_SUBDIR)/libada && \
42217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42219 "RANLIB=$${RANLIB}" \
42220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42221 install-html) \
42222 || exit 1
42224 @endif target-libada
42226 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
42227 maybe-installcheck-target-libada:
42228 @if target-libada
42229 maybe-installcheck-target-libada: installcheck-target-libada
42231 installcheck-target-libada: \
42232 configure-target-libada
42233 @: $(MAKE); $(unstage)
42234 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42235 r=`${PWD_COMMAND}`; export r; \
42236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42237 $(NORMAL_TARGET_EXPORTS) \
42238 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
42239 for flag in $(EXTRA_TARGET_FLAGS); do \
42240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42241 done; \
42242 (cd $(TARGET_SUBDIR)/libada && \
42243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42245 "RANLIB=$${RANLIB}" \
42246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42247 installcheck) \
42248 || exit 1
42250 @endif target-libada
42252 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
42253 maybe-mostlyclean-target-libada:
42254 @if target-libada
42255 maybe-mostlyclean-target-libada: mostlyclean-target-libada
42257 mostlyclean-target-libada:
42258 @: $(MAKE); $(unstage)
42259 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42260 r=`${PWD_COMMAND}`; export r; \
42261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42262 $(NORMAL_TARGET_EXPORTS) \
42263 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
42264 for flag in $(EXTRA_TARGET_FLAGS); do \
42265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42266 done; \
42267 (cd $(TARGET_SUBDIR)/libada && \
42268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42270 "RANLIB=$${RANLIB}" \
42271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42272 mostlyclean) \
42273 || exit 1
42275 @endif target-libada
42277 .PHONY: maybe-clean-target-libada clean-target-libada
42278 maybe-clean-target-libada:
42279 @if target-libada
42280 maybe-clean-target-libada: clean-target-libada
42282 clean-target-libada:
42283 @: $(MAKE); $(unstage)
42284 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42285 r=`${PWD_COMMAND}`; export r; \
42286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42287 $(NORMAL_TARGET_EXPORTS) \
42288 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
42289 for flag in $(EXTRA_TARGET_FLAGS); do \
42290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42291 done; \
42292 (cd $(TARGET_SUBDIR)/libada && \
42293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42295 "RANLIB=$${RANLIB}" \
42296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42297 clean) \
42298 || exit 1
42300 @endif target-libada
42302 .PHONY: maybe-distclean-target-libada distclean-target-libada
42303 maybe-distclean-target-libada:
42304 @if target-libada
42305 maybe-distclean-target-libada: distclean-target-libada
42307 distclean-target-libada:
42308 @: $(MAKE); $(unstage)
42309 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42310 r=`${PWD_COMMAND}`; export r; \
42311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42312 $(NORMAL_TARGET_EXPORTS) \
42313 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
42314 for flag in $(EXTRA_TARGET_FLAGS); do \
42315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42316 done; \
42317 (cd $(TARGET_SUBDIR)/libada && \
42318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42320 "RANLIB=$${RANLIB}" \
42321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42322 distclean) \
42323 || exit 1
42325 @endif target-libada
42327 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
42328 maybe-maintainer-clean-target-libada:
42329 @if target-libada
42330 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
42332 maintainer-clean-target-libada:
42333 @: $(MAKE); $(unstage)
42334 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
42335 r=`${PWD_COMMAND}`; export r; \
42336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42337 $(NORMAL_TARGET_EXPORTS) \
42338 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
42339 for flag in $(EXTRA_TARGET_FLAGS); do \
42340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42341 done; \
42342 (cd $(TARGET_SUBDIR)/libada && \
42343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42345 "RANLIB=$${RANLIB}" \
42346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42347 maintainer-clean) \
42348 || exit 1
42350 @endif target-libada
42356 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
42357 maybe-configure-target-libgomp:
42358 @if gcc-bootstrap
42359 configure-target-libgomp: stage_current
42360 @endif gcc-bootstrap
42361 @if target-libgomp
42362 maybe-configure-target-libgomp: configure-target-libgomp
42363 configure-target-libgomp:
42364 @r=`${PWD_COMMAND}`; export r; \
42365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42366 echo "Checking multilib configuration for libgomp..."; \
42367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42369 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42370 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42371 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42372 else \
42373 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42374 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42375 fi; \
42376 else \
42377 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42378 fi; \
42379 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42381 $(NORMAL_TARGET_EXPORTS) \
42382 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
42383 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
42384 case $(srcdir) in \
42385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42386 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42388 esac; \
42389 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42390 libsrcdir="$$s/libgomp"; \
42391 rm -f no-such-file || : ; \
42392 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42393 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42394 --target=${target_alias} $${srcdiroption} \
42395 || exit 1
42396 @endif target-libgomp
42400 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
42401 maybe-configure-stage1-target-libgomp:
42402 @if target-libgomp-bootstrap
42403 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
42404 configure-stage1-target-libgomp:
42405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42406 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42407 @r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 TFLAGS="$(STAGE1_TFLAGS)"; \
42410 echo "Checking multilib configuration for libgomp..."; \
42411 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42412 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42413 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42414 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42415 else \
42416 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42417 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42418 fi; \
42419 else \
42420 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42421 fi; \
42422 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42423 $(NORMAL_TARGET_EXPORTS) \
42424 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42425 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42426 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42427 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
42428 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42429 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42430 case $(srcdir) in \
42431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42432 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42434 esac; \
42435 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42436 libsrcdir="$$s/libgomp"; \
42437 $(SHELL) $${libsrcdir}/configure \
42438 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42439 --target=${target_alias} $${srcdiroption} \
42440 $(STAGE1_CONFIGURE_FLAGS)
42441 @endif target-libgomp-bootstrap
42443 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
42444 maybe-configure-stage2-target-libgomp:
42445 @if target-libgomp-bootstrap
42446 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
42447 configure-stage2-target-libgomp:
42448 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42449 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42450 @r=`${PWD_COMMAND}`; export r; \
42451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42452 TFLAGS="$(STAGE2_TFLAGS)"; \
42453 echo "Checking multilib configuration for libgomp..."; \
42454 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42455 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42456 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42457 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42458 else \
42459 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42460 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42461 fi; \
42462 else \
42463 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42464 fi; \
42465 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42466 $(NORMAL_TARGET_EXPORTS) \
42468 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42469 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42470 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42471 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
42472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42473 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42474 case $(srcdir) in \
42475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42476 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42478 esac; \
42479 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42480 libsrcdir="$$s/libgomp"; \
42481 $(SHELL) $${libsrcdir}/configure \
42482 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42483 --target=${target_alias} $${srcdiroption} \
42484 --with-build-libsubdir=$(HOST_SUBDIR) \
42485 $(STAGE2_CONFIGURE_FLAGS)
42486 @endif target-libgomp-bootstrap
42488 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
42489 maybe-configure-stage3-target-libgomp:
42490 @if target-libgomp-bootstrap
42491 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
42492 configure-stage3-target-libgomp:
42493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42494 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42495 @r=`${PWD_COMMAND}`; export r; \
42496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42497 TFLAGS="$(STAGE3_TFLAGS)"; \
42498 echo "Checking multilib configuration for libgomp..."; \
42499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42500 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42501 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42502 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42503 else \
42504 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42505 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42506 fi; \
42507 else \
42508 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42509 fi; \
42510 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42511 $(NORMAL_TARGET_EXPORTS) \
42513 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42516 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
42517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42518 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42519 case $(srcdir) in \
42520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42521 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42523 esac; \
42524 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42525 libsrcdir="$$s/libgomp"; \
42526 $(SHELL) $${libsrcdir}/configure \
42527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42528 --target=${target_alias} $${srcdiroption} \
42529 --with-build-libsubdir=$(HOST_SUBDIR) \
42530 $(STAGE3_CONFIGURE_FLAGS)
42531 @endif target-libgomp-bootstrap
42533 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
42534 maybe-configure-stage4-target-libgomp:
42535 @if target-libgomp-bootstrap
42536 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
42537 configure-stage4-target-libgomp:
42538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42539 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42540 @r=`${PWD_COMMAND}`; export r; \
42541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42542 TFLAGS="$(STAGE4_TFLAGS)"; \
42543 echo "Checking multilib configuration for libgomp..."; \
42544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42545 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42546 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42547 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42548 else \
42549 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42550 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42551 fi; \
42552 else \
42553 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42554 fi; \
42555 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42556 $(NORMAL_TARGET_EXPORTS) \
42558 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42559 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42560 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42561 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
42562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42563 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42564 case $(srcdir) in \
42565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42566 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42568 esac; \
42569 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42570 libsrcdir="$$s/libgomp"; \
42571 $(SHELL) $${libsrcdir}/configure \
42572 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42573 --target=${target_alias} $${srcdiroption} \
42574 --with-build-libsubdir=$(HOST_SUBDIR) \
42575 $(STAGE4_CONFIGURE_FLAGS)
42576 @endif target-libgomp-bootstrap
42578 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
42579 maybe-configure-stageprofile-target-libgomp:
42580 @if target-libgomp-bootstrap
42581 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42582 configure-stageprofile-target-libgomp:
42583 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42584 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42585 @r=`${PWD_COMMAND}`; export r; \
42586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42587 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42588 echo "Checking multilib configuration for libgomp..."; \
42589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42590 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42591 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42592 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42593 else \
42594 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42595 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42596 fi; \
42597 else \
42598 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42599 fi; \
42600 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42601 $(NORMAL_TARGET_EXPORTS) \
42603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42606 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
42607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42608 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42609 case $(srcdir) in \
42610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42611 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42613 esac; \
42614 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42615 libsrcdir="$$s/libgomp"; \
42616 $(SHELL) $${libsrcdir}/configure \
42617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42618 --target=${target_alias} $${srcdiroption} \
42619 --with-build-libsubdir=$(HOST_SUBDIR) \
42620 $(STAGEprofile_CONFIGURE_FLAGS)
42621 @endif target-libgomp-bootstrap
42623 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
42624 maybe-configure-stagefeedback-target-libgomp:
42625 @if target-libgomp-bootstrap
42626 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42627 configure-stagefeedback-target-libgomp:
42628 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42630 @r=`${PWD_COMMAND}`; export r; \
42631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42632 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42633 echo "Checking multilib configuration for libgomp..."; \
42634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42635 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42636 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42637 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42638 else \
42639 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42640 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42641 fi; \
42642 else \
42643 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42644 fi; \
42645 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42646 $(NORMAL_TARGET_EXPORTS) \
42648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42651 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
42652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42653 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42654 case $(srcdir) in \
42655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42656 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42658 esac; \
42659 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42660 libsrcdir="$$s/libgomp"; \
42661 $(SHELL) $${libsrcdir}/configure \
42662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42663 --target=${target_alias} $${srcdiroption} \
42664 --with-build-libsubdir=$(HOST_SUBDIR) \
42665 $(STAGEfeedback_CONFIGURE_FLAGS)
42666 @endif target-libgomp-bootstrap
42672 .PHONY: all-target-libgomp maybe-all-target-libgomp
42673 maybe-all-target-libgomp:
42674 @if gcc-bootstrap
42675 all-target-libgomp: stage_current
42676 @endif gcc-bootstrap
42677 @if target-libgomp
42678 TARGET-target-libgomp=all
42679 maybe-all-target-libgomp: all-target-libgomp
42680 all-target-libgomp: configure-target-libgomp
42681 @r=`${PWD_COMMAND}`; export r; \
42682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42683 $(NORMAL_TARGET_EXPORTS) \
42684 (cd $(TARGET_SUBDIR)/libgomp && \
42685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42686 $(TARGET-target-libgomp))
42687 @endif target-libgomp
42691 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
42692 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
42693 maybe-all-stage1-target-libgomp:
42694 maybe-clean-stage1-target-libgomp:
42695 @if target-libgomp-bootstrap
42696 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
42697 all-stage1: all-stage1-target-libgomp
42698 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
42699 all-stage1-target-libgomp: configure-stage1-target-libgomp
42700 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42701 @r=`${PWD_COMMAND}`; export r; \
42702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42703 TFLAGS="$(STAGE1_TFLAGS)"; \
42704 $(NORMAL_TARGET_EXPORTS) \
42705 cd $(TARGET_SUBDIR)/libgomp && \
42706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42707 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42708 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42709 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42713 $(EXTRA_TARGET_FLAGS) \
42715 TFLAGS="$(STAGE1_TFLAGS)" \
42716 $(TARGET-stage1-target-libgomp)
42718 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
42719 clean-stage1: clean-stage1-target-libgomp
42720 clean-stage1-target-libgomp:
42721 @if [ $(current_stage) = stage1 ]; then \
42722 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42723 else \
42724 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
42725 $(MAKE) stage1-start; \
42726 fi; \
42727 cd $(TARGET_SUBDIR)/libgomp && \
42728 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42729 clean
42730 @endif target-libgomp-bootstrap
42733 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
42734 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
42735 maybe-all-stage2-target-libgomp:
42736 maybe-clean-stage2-target-libgomp:
42737 @if target-libgomp-bootstrap
42738 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
42739 all-stage2: all-stage2-target-libgomp
42740 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
42741 all-stage2-target-libgomp: configure-stage2-target-libgomp
42742 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42743 @r=`${PWD_COMMAND}`; export r; \
42744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42745 TFLAGS="$(STAGE2_TFLAGS)"; \
42746 $(NORMAL_TARGET_EXPORTS) \
42748 cd $(TARGET_SUBDIR)/libgomp && \
42749 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42750 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42751 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42752 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42753 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42754 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42755 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42756 $(EXTRA_TARGET_FLAGS) \
42757 TFLAGS="$(STAGE2_TFLAGS)" \
42758 $(TARGET-stage2-target-libgomp)
42760 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
42761 clean-stage2: clean-stage2-target-libgomp
42762 clean-stage2-target-libgomp:
42763 @if [ $(current_stage) = stage2 ]; then \
42764 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42765 else \
42766 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
42767 $(MAKE) stage2-start; \
42768 fi; \
42769 cd $(TARGET_SUBDIR)/libgomp && \
42770 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42771 @endif target-libgomp-bootstrap
42774 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
42775 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
42776 maybe-all-stage3-target-libgomp:
42777 maybe-clean-stage3-target-libgomp:
42778 @if target-libgomp-bootstrap
42779 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
42780 all-stage3: all-stage3-target-libgomp
42781 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
42782 all-stage3-target-libgomp: configure-stage3-target-libgomp
42783 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42784 @r=`${PWD_COMMAND}`; export r; \
42785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42786 TFLAGS="$(STAGE3_TFLAGS)"; \
42787 $(NORMAL_TARGET_EXPORTS) \
42789 cd $(TARGET_SUBDIR)/libgomp && \
42790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42791 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42792 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42793 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42797 $(EXTRA_TARGET_FLAGS) \
42798 TFLAGS="$(STAGE3_TFLAGS)" \
42799 $(TARGET-stage3-target-libgomp)
42801 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
42802 clean-stage3: clean-stage3-target-libgomp
42803 clean-stage3-target-libgomp:
42804 @if [ $(current_stage) = stage3 ]; then \
42805 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42806 else \
42807 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
42808 $(MAKE) stage3-start; \
42809 fi; \
42810 cd $(TARGET_SUBDIR)/libgomp && \
42811 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42812 @endif target-libgomp-bootstrap
42815 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
42816 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
42817 maybe-all-stage4-target-libgomp:
42818 maybe-clean-stage4-target-libgomp:
42819 @if target-libgomp-bootstrap
42820 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
42821 all-stage4: all-stage4-target-libgomp
42822 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
42823 all-stage4-target-libgomp: configure-stage4-target-libgomp
42824 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42825 @r=`${PWD_COMMAND}`; export r; \
42826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42827 TFLAGS="$(STAGE4_TFLAGS)"; \
42828 $(NORMAL_TARGET_EXPORTS) \
42830 cd $(TARGET_SUBDIR)/libgomp && \
42831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42832 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42833 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42834 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42838 $(EXTRA_TARGET_FLAGS) \
42839 TFLAGS="$(STAGE4_TFLAGS)" \
42840 $(TARGET-stage4-target-libgomp)
42842 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
42843 clean-stage4: clean-stage4-target-libgomp
42844 clean-stage4-target-libgomp:
42845 @if [ $(current_stage) = stage4 ]; then \
42846 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42847 else \
42848 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
42849 $(MAKE) stage4-start; \
42850 fi; \
42851 cd $(TARGET_SUBDIR)/libgomp && \
42852 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42853 @endif target-libgomp-bootstrap
42856 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
42857 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
42858 maybe-all-stageprofile-target-libgomp:
42859 maybe-clean-stageprofile-target-libgomp:
42860 @if target-libgomp-bootstrap
42861 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
42862 all-stageprofile: all-stageprofile-target-libgomp
42863 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
42864 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
42865 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42866 @r=`${PWD_COMMAND}`; export r; \
42867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42868 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42869 $(NORMAL_TARGET_EXPORTS) \
42871 cd $(TARGET_SUBDIR)/libgomp && \
42872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42873 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42879 $(EXTRA_TARGET_FLAGS) \
42880 TFLAGS="$(STAGEprofile_TFLAGS)" \
42881 $(TARGET-stageprofile-target-libgomp)
42883 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
42884 clean-stageprofile: clean-stageprofile-target-libgomp
42885 clean-stageprofile-target-libgomp:
42886 @if [ $(current_stage) = stageprofile ]; then \
42887 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42888 else \
42889 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
42890 $(MAKE) stageprofile-start; \
42891 fi; \
42892 cd $(TARGET_SUBDIR)/libgomp && \
42893 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42894 @endif target-libgomp-bootstrap
42897 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
42898 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
42899 maybe-all-stagefeedback-target-libgomp:
42900 maybe-clean-stagefeedback-target-libgomp:
42901 @if target-libgomp-bootstrap
42902 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
42903 all-stagefeedback: all-stagefeedback-target-libgomp
42904 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
42905 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
42906 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42907 @r=`${PWD_COMMAND}`; export r; \
42908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42910 $(NORMAL_TARGET_EXPORTS) \
42912 cd $(TARGET_SUBDIR)/libgomp && \
42913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42914 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42915 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42916 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42920 $(EXTRA_TARGET_FLAGS) \
42921 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42922 $(TARGET-stagefeedback-target-libgomp)
42924 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
42925 clean-stagefeedback: clean-stagefeedback-target-libgomp
42926 clean-stagefeedback-target-libgomp:
42927 @if [ $(current_stage) = stagefeedback ]; then \
42928 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
42929 else \
42930 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
42931 $(MAKE) stagefeedback-start; \
42932 fi; \
42933 cd $(TARGET_SUBDIR)/libgomp && \
42934 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
42935 @endif target-libgomp-bootstrap
42942 .PHONY: check-target-libgomp maybe-check-target-libgomp
42943 maybe-check-target-libgomp:
42944 @if target-libgomp
42945 maybe-check-target-libgomp: check-target-libgomp
42947 check-target-libgomp:
42948 @: $(MAKE); $(unstage)
42949 @r=`${PWD_COMMAND}`; export r; \
42950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42951 $(NORMAL_TARGET_EXPORTS) \
42952 (cd $(TARGET_SUBDIR)/libgomp && \
42953 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42955 @endif target-libgomp
42957 .PHONY: install-target-libgomp maybe-install-target-libgomp
42958 maybe-install-target-libgomp:
42959 @if target-libgomp
42960 maybe-install-target-libgomp: install-target-libgomp
42962 install-target-libgomp: installdirs
42963 @: $(MAKE); $(unstage)
42964 @r=`${PWD_COMMAND}`; export r; \
42965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42966 $(NORMAL_TARGET_EXPORTS) \
42967 (cd $(TARGET_SUBDIR)/libgomp && \
42968 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42970 @endif target-libgomp
42972 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
42973 maybe-install-strip-target-libgomp:
42974 @if target-libgomp
42975 maybe-install-strip-target-libgomp: install-strip-target-libgomp
42977 install-strip-target-libgomp: installdirs
42978 @: $(MAKE); $(unstage)
42979 @r=`${PWD_COMMAND}`; export r; \
42980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42981 $(NORMAL_TARGET_EXPORTS) \
42982 (cd $(TARGET_SUBDIR)/libgomp && \
42983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42985 @endif target-libgomp
42987 # Other targets (info, dvi, pdf, etc.)
42989 .PHONY: maybe-info-target-libgomp info-target-libgomp
42990 maybe-info-target-libgomp:
42991 @if target-libgomp
42992 maybe-info-target-libgomp: info-target-libgomp
42994 info-target-libgomp: \
42995 configure-target-libgomp
42996 @: $(MAKE); $(unstage)
42997 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42998 r=`${PWD_COMMAND}`; export r; \
42999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43000 $(NORMAL_TARGET_EXPORTS) \
43001 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
43002 for flag in $(EXTRA_TARGET_FLAGS); do \
43003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43004 done; \
43005 (cd $(TARGET_SUBDIR)/libgomp && \
43006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43008 "RANLIB=$${RANLIB}" \
43009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43010 info) \
43011 || exit 1
43013 @endif target-libgomp
43015 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
43016 maybe-dvi-target-libgomp:
43017 @if target-libgomp
43018 maybe-dvi-target-libgomp: dvi-target-libgomp
43020 dvi-target-libgomp: \
43021 configure-target-libgomp
43022 @: $(MAKE); $(unstage)
43023 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43024 r=`${PWD_COMMAND}`; export r; \
43025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43026 $(NORMAL_TARGET_EXPORTS) \
43027 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
43028 for flag in $(EXTRA_TARGET_FLAGS); do \
43029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43030 done; \
43031 (cd $(TARGET_SUBDIR)/libgomp && \
43032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43034 "RANLIB=$${RANLIB}" \
43035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43036 dvi) \
43037 || exit 1
43039 @endif target-libgomp
43041 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
43042 maybe-pdf-target-libgomp:
43043 @if target-libgomp
43044 maybe-pdf-target-libgomp: pdf-target-libgomp
43046 pdf-target-libgomp: \
43047 configure-target-libgomp
43048 @: $(MAKE); $(unstage)
43049 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43050 r=`${PWD_COMMAND}`; export r; \
43051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43052 $(NORMAL_TARGET_EXPORTS) \
43053 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
43054 for flag in $(EXTRA_TARGET_FLAGS); do \
43055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43056 done; \
43057 (cd $(TARGET_SUBDIR)/libgomp && \
43058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43060 "RANLIB=$${RANLIB}" \
43061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43062 pdf) \
43063 || exit 1
43065 @endif target-libgomp
43067 .PHONY: maybe-html-target-libgomp html-target-libgomp
43068 maybe-html-target-libgomp:
43069 @if target-libgomp
43070 maybe-html-target-libgomp: html-target-libgomp
43072 html-target-libgomp: \
43073 configure-target-libgomp
43074 @: $(MAKE); $(unstage)
43075 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43076 r=`${PWD_COMMAND}`; export r; \
43077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43078 $(NORMAL_TARGET_EXPORTS) \
43079 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
43080 for flag in $(EXTRA_TARGET_FLAGS); do \
43081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43082 done; \
43083 (cd $(TARGET_SUBDIR)/libgomp && \
43084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43086 "RANLIB=$${RANLIB}" \
43087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43088 html) \
43089 || exit 1
43091 @endif target-libgomp
43093 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
43094 maybe-TAGS-target-libgomp:
43095 @if target-libgomp
43096 maybe-TAGS-target-libgomp: TAGS-target-libgomp
43098 TAGS-target-libgomp: \
43099 configure-target-libgomp
43100 @: $(MAKE); $(unstage)
43101 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43102 r=`${PWD_COMMAND}`; export r; \
43103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43104 $(NORMAL_TARGET_EXPORTS) \
43105 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
43106 for flag in $(EXTRA_TARGET_FLAGS); do \
43107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43108 done; \
43109 (cd $(TARGET_SUBDIR)/libgomp && \
43110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43112 "RANLIB=$${RANLIB}" \
43113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43114 TAGS) \
43115 || exit 1
43117 @endif target-libgomp
43119 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
43120 maybe-install-info-target-libgomp:
43121 @if target-libgomp
43122 maybe-install-info-target-libgomp: install-info-target-libgomp
43124 install-info-target-libgomp: \
43125 configure-target-libgomp \
43126 info-target-libgomp
43127 @: $(MAKE); $(unstage)
43128 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43129 r=`${PWD_COMMAND}`; export r; \
43130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43131 $(NORMAL_TARGET_EXPORTS) \
43132 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
43133 for flag in $(EXTRA_TARGET_FLAGS); do \
43134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43135 done; \
43136 (cd $(TARGET_SUBDIR)/libgomp && \
43137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43139 "RANLIB=$${RANLIB}" \
43140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43141 install-info) \
43142 || exit 1
43144 @endif target-libgomp
43146 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
43147 maybe-install-pdf-target-libgomp:
43148 @if target-libgomp
43149 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
43151 install-pdf-target-libgomp: \
43152 configure-target-libgomp \
43153 pdf-target-libgomp
43154 @: $(MAKE); $(unstage)
43155 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43156 r=`${PWD_COMMAND}`; export r; \
43157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43158 $(NORMAL_TARGET_EXPORTS) \
43159 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
43160 for flag in $(EXTRA_TARGET_FLAGS); do \
43161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43162 done; \
43163 (cd $(TARGET_SUBDIR)/libgomp && \
43164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43166 "RANLIB=$${RANLIB}" \
43167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43168 install-pdf) \
43169 || exit 1
43171 @endif target-libgomp
43173 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
43174 maybe-install-html-target-libgomp:
43175 @if target-libgomp
43176 maybe-install-html-target-libgomp: install-html-target-libgomp
43178 install-html-target-libgomp: \
43179 configure-target-libgomp \
43180 html-target-libgomp
43181 @: $(MAKE); $(unstage)
43182 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43183 r=`${PWD_COMMAND}`; export r; \
43184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43185 $(NORMAL_TARGET_EXPORTS) \
43186 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
43187 for flag in $(EXTRA_TARGET_FLAGS); do \
43188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43189 done; \
43190 (cd $(TARGET_SUBDIR)/libgomp && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43193 "RANLIB=$${RANLIB}" \
43194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43195 install-html) \
43196 || exit 1
43198 @endif target-libgomp
43200 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
43201 maybe-installcheck-target-libgomp:
43202 @if target-libgomp
43203 maybe-installcheck-target-libgomp: installcheck-target-libgomp
43205 installcheck-target-libgomp: \
43206 configure-target-libgomp
43207 @: $(MAKE); $(unstage)
43208 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43209 r=`${PWD_COMMAND}`; export r; \
43210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43211 $(NORMAL_TARGET_EXPORTS) \
43212 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
43213 for flag in $(EXTRA_TARGET_FLAGS); do \
43214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43215 done; \
43216 (cd $(TARGET_SUBDIR)/libgomp && \
43217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43219 "RANLIB=$${RANLIB}" \
43220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43221 installcheck) \
43222 || exit 1
43224 @endif target-libgomp
43226 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
43227 maybe-mostlyclean-target-libgomp:
43228 @if target-libgomp
43229 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
43231 mostlyclean-target-libgomp:
43232 @: $(MAKE); $(unstage)
43233 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43234 r=`${PWD_COMMAND}`; export r; \
43235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43236 $(NORMAL_TARGET_EXPORTS) \
43237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
43238 for flag in $(EXTRA_TARGET_FLAGS); do \
43239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43240 done; \
43241 (cd $(TARGET_SUBDIR)/libgomp && \
43242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43244 "RANLIB=$${RANLIB}" \
43245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43246 mostlyclean) \
43247 || exit 1
43249 @endif target-libgomp
43251 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
43252 maybe-clean-target-libgomp:
43253 @if target-libgomp
43254 maybe-clean-target-libgomp: clean-target-libgomp
43256 clean-target-libgomp:
43257 @: $(MAKE); $(unstage)
43258 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43259 r=`${PWD_COMMAND}`; export r; \
43260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43261 $(NORMAL_TARGET_EXPORTS) \
43262 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
43263 for flag in $(EXTRA_TARGET_FLAGS); do \
43264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43265 done; \
43266 (cd $(TARGET_SUBDIR)/libgomp && \
43267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43269 "RANLIB=$${RANLIB}" \
43270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43271 clean) \
43272 || exit 1
43274 @endif target-libgomp
43276 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
43277 maybe-distclean-target-libgomp:
43278 @if target-libgomp
43279 maybe-distclean-target-libgomp: distclean-target-libgomp
43281 distclean-target-libgomp:
43282 @: $(MAKE); $(unstage)
43283 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43284 r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 $(NORMAL_TARGET_EXPORTS) \
43287 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
43288 for flag in $(EXTRA_TARGET_FLAGS); do \
43289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43290 done; \
43291 (cd $(TARGET_SUBDIR)/libgomp && \
43292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43294 "RANLIB=$${RANLIB}" \
43295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43296 distclean) \
43297 || exit 1
43299 @endif target-libgomp
43301 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
43302 maybe-maintainer-clean-target-libgomp:
43303 @if target-libgomp
43304 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
43306 maintainer-clean-target-libgomp:
43307 @: $(MAKE); $(unstage)
43308 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43309 r=`${PWD_COMMAND}`; export r; \
43310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43311 $(NORMAL_TARGET_EXPORTS) \
43312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
43313 for flag in $(EXTRA_TARGET_FLAGS); do \
43314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43315 done; \
43316 (cd $(TARGET_SUBDIR)/libgomp && \
43317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43319 "RANLIB=$${RANLIB}" \
43320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43321 maintainer-clean) \
43322 || exit 1
43324 @endif target-libgomp
43330 .PHONY: configure-target-libitm maybe-configure-target-libitm
43331 maybe-configure-target-libitm:
43332 @if gcc-bootstrap
43333 configure-target-libitm: stage_current
43334 @endif gcc-bootstrap
43335 @if target-libitm
43336 maybe-configure-target-libitm: configure-target-libitm
43337 configure-target-libitm:
43338 @: $(MAKE); $(unstage)
43339 @r=`${PWD_COMMAND}`; export r; \
43340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43341 echo "Checking multilib configuration for libitm..."; \
43342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43343 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
43344 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
43345 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
43346 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
43347 else \
43348 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
43349 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43350 fi; \
43351 else \
43352 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43353 fi; \
43354 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
43355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43356 $(NORMAL_TARGET_EXPORTS) \
43357 echo Configuring in $(TARGET_SUBDIR)/libitm; \
43358 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
43359 case $(srcdir) in \
43360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43361 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
43362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43363 esac; \
43364 srcdiroption="--srcdir=$${topdir}/libitm"; \
43365 libsrcdir="$$s/libitm"; \
43366 rm -f no-such-file || : ; \
43367 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43368 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43369 --target=${target_alias} $${srcdiroption} \
43370 || exit 1
43371 @endif target-libitm
43377 .PHONY: all-target-libitm maybe-all-target-libitm
43378 maybe-all-target-libitm:
43379 @if gcc-bootstrap
43380 all-target-libitm: stage_current
43381 @endif gcc-bootstrap
43382 @if target-libitm
43383 TARGET-target-libitm=all
43384 maybe-all-target-libitm: all-target-libitm
43385 all-target-libitm: configure-target-libitm
43386 @: $(MAKE); $(unstage)
43387 @r=`${PWD_COMMAND}`; export r; \
43388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43389 $(NORMAL_TARGET_EXPORTS) \
43390 (cd $(TARGET_SUBDIR)/libitm && \
43391 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43392 $(TARGET-target-libitm))
43393 @endif target-libitm
43399 .PHONY: check-target-libitm maybe-check-target-libitm
43400 maybe-check-target-libitm:
43401 @if target-libitm
43402 maybe-check-target-libitm: check-target-libitm
43404 check-target-libitm:
43405 @: $(MAKE); $(unstage)
43406 @r=`${PWD_COMMAND}`; export r; \
43407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43408 $(NORMAL_TARGET_EXPORTS) \
43409 (cd $(TARGET_SUBDIR)/libitm && \
43410 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43412 @endif target-libitm
43414 .PHONY: install-target-libitm maybe-install-target-libitm
43415 maybe-install-target-libitm:
43416 @if target-libitm
43417 maybe-install-target-libitm: install-target-libitm
43419 install-target-libitm: installdirs
43420 @: $(MAKE); $(unstage)
43421 @r=`${PWD_COMMAND}`; export r; \
43422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43423 $(NORMAL_TARGET_EXPORTS) \
43424 (cd $(TARGET_SUBDIR)/libitm && \
43425 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43427 @endif target-libitm
43429 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
43430 maybe-install-strip-target-libitm:
43431 @if target-libitm
43432 maybe-install-strip-target-libitm: install-strip-target-libitm
43434 install-strip-target-libitm: installdirs
43435 @: $(MAKE); $(unstage)
43436 @r=`${PWD_COMMAND}`; export r; \
43437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43438 $(NORMAL_TARGET_EXPORTS) \
43439 (cd $(TARGET_SUBDIR)/libitm && \
43440 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43442 @endif target-libitm
43444 # Other targets (info, dvi, pdf, etc.)
43446 .PHONY: maybe-info-target-libitm info-target-libitm
43447 maybe-info-target-libitm:
43448 @if target-libitm
43449 maybe-info-target-libitm: info-target-libitm
43451 info-target-libitm: \
43452 configure-target-libitm
43453 @: $(MAKE); $(unstage)
43454 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43455 r=`${PWD_COMMAND}`; export r; \
43456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43457 $(NORMAL_TARGET_EXPORTS) \
43458 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
43459 for flag in $(EXTRA_TARGET_FLAGS); do \
43460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43461 done; \
43462 (cd $(TARGET_SUBDIR)/libitm && \
43463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43465 "RANLIB=$${RANLIB}" \
43466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43467 info) \
43468 || exit 1
43470 @endif target-libitm
43472 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
43473 maybe-dvi-target-libitm:
43474 @if target-libitm
43475 maybe-dvi-target-libitm: dvi-target-libitm
43477 dvi-target-libitm: \
43478 configure-target-libitm
43479 @: $(MAKE); $(unstage)
43480 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43481 r=`${PWD_COMMAND}`; export r; \
43482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43483 $(NORMAL_TARGET_EXPORTS) \
43484 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
43485 for flag in $(EXTRA_TARGET_FLAGS); do \
43486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43487 done; \
43488 (cd $(TARGET_SUBDIR)/libitm && \
43489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43491 "RANLIB=$${RANLIB}" \
43492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43493 dvi) \
43494 || exit 1
43496 @endif target-libitm
43498 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
43499 maybe-pdf-target-libitm:
43500 @if target-libitm
43501 maybe-pdf-target-libitm: pdf-target-libitm
43503 pdf-target-libitm: \
43504 configure-target-libitm
43505 @: $(MAKE); $(unstage)
43506 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43507 r=`${PWD_COMMAND}`; export r; \
43508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43509 $(NORMAL_TARGET_EXPORTS) \
43510 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
43511 for flag in $(EXTRA_TARGET_FLAGS); do \
43512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43513 done; \
43514 (cd $(TARGET_SUBDIR)/libitm && \
43515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43517 "RANLIB=$${RANLIB}" \
43518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43519 pdf) \
43520 || exit 1
43522 @endif target-libitm
43524 .PHONY: maybe-html-target-libitm html-target-libitm
43525 maybe-html-target-libitm:
43526 @if target-libitm
43527 maybe-html-target-libitm: html-target-libitm
43529 html-target-libitm: \
43530 configure-target-libitm
43531 @: $(MAKE); $(unstage)
43532 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43533 r=`${PWD_COMMAND}`; export r; \
43534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43535 $(NORMAL_TARGET_EXPORTS) \
43536 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
43537 for flag in $(EXTRA_TARGET_FLAGS); do \
43538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43539 done; \
43540 (cd $(TARGET_SUBDIR)/libitm && \
43541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43543 "RANLIB=$${RANLIB}" \
43544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43545 html) \
43546 || exit 1
43548 @endif target-libitm
43550 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
43551 maybe-TAGS-target-libitm:
43552 @if target-libitm
43553 maybe-TAGS-target-libitm: TAGS-target-libitm
43555 TAGS-target-libitm: \
43556 configure-target-libitm
43557 @: $(MAKE); $(unstage)
43558 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43559 r=`${PWD_COMMAND}`; export r; \
43560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43561 $(NORMAL_TARGET_EXPORTS) \
43562 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
43563 for flag in $(EXTRA_TARGET_FLAGS); do \
43564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43565 done; \
43566 (cd $(TARGET_SUBDIR)/libitm && \
43567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43569 "RANLIB=$${RANLIB}" \
43570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43571 TAGS) \
43572 || exit 1
43574 @endif target-libitm
43576 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
43577 maybe-install-info-target-libitm:
43578 @if target-libitm
43579 maybe-install-info-target-libitm: install-info-target-libitm
43581 install-info-target-libitm: \
43582 configure-target-libitm \
43583 info-target-libitm
43584 @: $(MAKE); $(unstage)
43585 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43586 r=`${PWD_COMMAND}`; export r; \
43587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43588 $(NORMAL_TARGET_EXPORTS) \
43589 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
43590 for flag in $(EXTRA_TARGET_FLAGS); do \
43591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43592 done; \
43593 (cd $(TARGET_SUBDIR)/libitm && \
43594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43596 "RANLIB=$${RANLIB}" \
43597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43598 install-info) \
43599 || exit 1
43601 @endif target-libitm
43603 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
43604 maybe-install-pdf-target-libitm:
43605 @if target-libitm
43606 maybe-install-pdf-target-libitm: install-pdf-target-libitm
43608 install-pdf-target-libitm: \
43609 configure-target-libitm \
43610 pdf-target-libitm
43611 @: $(MAKE); $(unstage)
43612 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43613 r=`${PWD_COMMAND}`; export r; \
43614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43615 $(NORMAL_TARGET_EXPORTS) \
43616 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
43617 for flag in $(EXTRA_TARGET_FLAGS); do \
43618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43619 done; \
43620 (cd $(TARGET_SUBDIR)/libitm && \
43621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43623 "RANLIB=$${RANLIB}" \
43624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43625 install-pdf) \
43626 || exit 1
43628 @endif target-libitm
43630 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
43631 maybe-install-html-target-libitm:
43632 @if target-libitm
43633 maybe-install-html-target-libitm: install-html-target-libitm
43635 install-html-target-libitm: \
43636 configure-target-libitm \
43637 html-target-libitm
43638 @: $(MAKE); $(unstage)
43639 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43640 r=`${PWD_COMMAND}`; export r; \
43641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43642 $(NORMAL_TARGET_EXPORTS) \
43643 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
43644 for flag in $(EXTRA_TARGET_FLAGS); do \
43645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43646 done; \
43647 (cd $(TARGET_SUBDIR)/libitm && \
43648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43650 "RANLIB=$${RANLIB}" \
43651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43652 install-html) \
43653 || exit 1
43655 @endif target-libitm
43657 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
43658 maybe-installcheck-target-libitm:
43659 @if target-libitm
43660 maybe-installcheck-target-libitm: installcheck-target-libitm
43662 installcheck-target-libitm: \
43663 configure-target-libitm
43664 @: $(MAKE); $(unstage)
43665 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43666 r=`${PWD_COMMAND}`; export r; \
43667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43668 $(NORMAL_TARGET_EXPORTS) \
43669 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
43670 for flag in $(EXTRA_TARGET_FLAGS); do \
43671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43672 done; \
43673 (cd $(TARGET_SUBDIR)/libitm && \
43674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43676 "RANLIB=$${RANLIB}" \
43677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43678 installcheck) \
43679 || exit 1
43681 @endif target-libitm
43683 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
43684 maybe-mostlyclean-target-libitm:
43685 @if target-libitm
43686 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
43688 mostlyclean-target-libitm:
43689 @: $(MAKE); $(unstage)
43690 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43691 r=`${PWD_COMMAND}`; export r; \
43692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43693 $(NORMAL_TARGET_EXPORTS) \
43694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
43695 for flag in $(EXTRA_TARGET_FLAGS); do \
43696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43697 done; \
43698 (cd $(TARGET_SUBDIR)/libitm && \
43699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43701 "RANLIB=$${RANLIB}" \
43702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43703 mostlyclean) \
43704 || exit 1
43706 @endif target-libitm
43708 .PHONY: maybe-clean-target-libitm clean-target-libitm
43709 maybe-clean-target-libitm:
43710 @if target-libitm
43711 maybe-clean-target-libitm: clean-target-libitm
43713 clean-target-libitm:
43714 @: $(MAKE); $(unstage)
43715 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43716 r=`${PWD_COMMAND}`; export r; \
43717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43718 $(NORMAL_TARGET_EXPORTS) \
43719 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
43720 for flag in $(EXTRA_TARGET_FLAGS); do \
43721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43722 done; \
43723 (cd $(TARGET_SUBDIR)/libitm && \
43724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43726 "RANLIB=$${RANLIB}" \
43727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43728 clean) \
43729 || exit 1
43731 @endif target-libitm
43733 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
43734 maybe-distclean-target-libitm:
43735 @if target-libitm
43736 maybe-distclean-target-libitm: distclean-target-libitm
43738 distclean-target-libitm:
43739 @: $(MAKE); $(unstage)
43740 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43741 r=`${PWD_COMMAND}`; export r; \
43742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43743 $(NORMAL_TARGET_EXPORTS) \
43744 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
43745 for flag in $(EXTRA_TARGET_FLAGS); do \
43746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43747 done; \
43748 (cd $(TARGET_SUBDIR)/libitm && \
43749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43751 "RANLIB=$${RANLIB}" \
43752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43753 distclean) \
43754 || exit 1
43756 @endif target-libitm
43758 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
43759 maybe-maintainer-clean-target-libitm:
43760 @if target-libitm
43761 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
43763 maintainer-clean-target-libitm:
43764 @: $(MAKE); $(unstage)
43765 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43766 r=`${PWD_COMMAND}`; export r; \
43767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43768 $(NORMAL_TARGET_EXPORTS) \
43769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
43770 for flag in $(EXTRA_TARGET_FLAGS); do \
43771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43772 done; \
43773 (cd $(TARGET_SUBDIR)/libitm && \
43774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43776 "RANLIB=$${RANLIB}" \
43777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43778 maintainer-clean) \
43779 || exit 1
43781 @endif target-libitm
43787 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
43788 maybe-configure-target-libatomic:
43789 @if gcc-bootstrap
43790 configure-target-libatomic: stage_current
43791 @endif gcc-bootstrap
43792 @if target-libatomic
43793 maybe-configure-target-libatomic: configure-target-libatomic
43794 configure-target-libatomic:
43795 @: $(MAKE); $(unstage)
43796 @r=`${PWD_COMMAND}`; export r; \
43797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43798 echo "Checking multilib configuration for libatomic..."; \
43799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
43801 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43802 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
43803 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
43804 else \
43805 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
43806 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43807 fi; \
43808 else \
43809 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
43810 fi; \
43811 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
43812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
43813 $(NORMAL_TARGET_EXPORTS) \
43814 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
43815 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
43816 case $(srcdir) in \
43817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43818 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
43819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43820 esac; \
43821 srcdiroption="--srcdir=$${topdir}/libatomic"; \
43822 libsrcdir="$$s/libatomic"; \
43823 rm -f no-such-file || : ; \
43824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43825 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43826 --target=${target_alias} $${srcdiroption} \
43827 || exit 1
43828 @endif target-libatomic
43834 .PHONY: all-target-libatomic maybe-all-target-libatomic
43835 maybe-all-target-libatomic:
43836 @if gcc-bootstrap
43837 all-target-libatomic: stage_current
43838 @endif gcc-bootstrap
43839 @if target-libatomic
43840 TARGET-target-libatomic=all
43841 maybe-all-target-libatomic: all-target-libatomic
43842 all-target-libatomic: configure-target-libatomic
43843 @: $(MAKE); $(unstage)
43844 @r=`${PWD_COMMAND}`; export r; \
43845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43846 $(NORMAL_TARGET_EXPORTS) \
43847 (cd $(TARGET_SUBDIR)/libatomic && \
43848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43849 $(TARGET-target-libatomic))
43850 @endif target-libatomic
43856 .PHONY: check-target-libatomic maybe-check-target-libatomic
43857 maybe-check-target-libatomic:
43858 @if target-libatomic
43859 maybe-check-target-libatomic: check-target-libatomic
43861 check-target-libatomic:
43862 @: $(MAKE); $(unstage)
43863 @r=`${PWD_COMMAND}`; export r; \
43864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43865 $(NORMAL_TARGET_EXPORTS) \
43866 (cd $(TARGET_SUBDIR)/libatomic && \
43867 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43869 @endif target-libatomic
43871 .PHONY: install-target-libatomic maybe-install-target-libatomic
43872 maybe-install-target-libatomic:
43873 @if target-libatomic
43874 maybe-install-target-libatomic: install-target-libatomic
43876 install-target-libatomic: installdirs
43877 @: $(MAKE); $(unstage)
43878 @r=`${PWD_COMMAND}`; export r; \
43879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43880 $(NORMAL_TARGET_EXPORTS) \
43881 (cd $(TARGET_SUBDIR)/libatomic && \
43882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43884 @endif target-libatomic
43886 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
43887 maybe-install-strip-target-libatomic:
43888 @if target-libatomic
43889 maybe-install-strip-target-libatomic: install-strip-target-libatomic
43891 install-strip-target-libatomic: installdirs
43892 @: $(MAKE); $(unstage)
43893 @r=`${PWD_COMMAND}`; export r; \
43894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43895 $(NORMAL_TARGET_EXPORTS) \
43896 (cd $(TARGET_SUBDIR)/libatomic && \
43897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43899 @endif target-libatomic
43901 # Other targets (info, dvi, pdf, etc.)
43903 .PHONY: maybe-info-target-libatomic info-target-libatomic
43904 maybe-info-target-libatomic:
43905 @if target-libatomic
43906 maybe-info-target-libatomic: info-target-libatomic
43908 info-target-libatomic: \
43909 configure-target-libatomic
43910 @: $(MAKE); $(unstage)
43911 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43912 r=`${PWD_COMMAND}`; export r; \
43913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43914 $(NORMAL_TARGET_EXPORTS) \
43915 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
43916 for flag in $(EXTRA_TARGET_FLAGS); do \
43917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43918 done; \
43919 (cd $(TARGET_SUBDIR)/libatomic && \
43920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43922 "RANLIB=$${RANLIB}" \
43923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43924 info) \
43925 || exit 1
43927 @endif target-libatomic
43929 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
43930 maybe-dvi-target-libatomic:
43931 @if target-libatomic
43932 maybe-dvi-target-libatomic: dvi-target-libatomic
43934 dvi-target-libatomic: \
43935 configure-target-libatomic
43936 @: $(MAKE); $(unstage)
43937 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43938 r=`${PWD_COMMAND}`; export r; \
43939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43940 $(NORMAL_TARGET_EXPORTS) \
43941 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
43942 for flag in $(EXTRA_TARGET_FLAGS); do \
43943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43944 done; \
43945 (cd $(TARGET_SUBDIR)/libatomic && \
43946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43948 "RANLIB=$${RANLIB}" \
43949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43950 dvi) \
43951 || exit 1
43953 @endif target-libatomic
43955 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
43956 maybe-pdf-target-libatomic:
43957 @if target-libatomic
43958 maybe-pdf-target-libatomic: pdf-target-libatomic
43960 pdf-target-libatomic: \
43961 configure-target-libatomic
43962 @: $(MAKE); $(unstage)
43963 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43964 r=`${PWD_COMMAND}`; export r; \
43965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43966 $(NORMAL_TARGET_EXPORTS) \
43967 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
43968 for flag in $(EXTRA_TARGET_FLAGS); do \
43969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43970 done; \
43971 (cd $(TARGET_SUBDIR)/libatomic && \
43972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43974 "RANLIB=$${RANLIB}" \
43975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43976 pdf) \
43977 || exit 1
43979 @endif target-libatomic
43981 .PHONY: maybe-html-target-libatomic html-target-libatomic
43982 maybe-html-target-libatomic:
43983 @if target-libatomic
43984 maybe-html-target-libatomic: html-target-libatomic
43986 html-target-libatomic: \
43987 configure-target-libatomic
43988 @: $(MAKE); $(unstage)
43989 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43990 r=`${PWD_COMMAND}`; export r; \
43991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43992 $(NORMAL_TARGET_EXPORTS) \
43993 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
43994 for flag in $(EXTRA_TARGET_FLAGS); do \
43995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43996 done; \
43997 (cd $(TARGET_SUBDIR)/libatomic && \
43998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44000 "RANLIB=$${RANLIB}" \
44001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44002 html) \
44003 || exit 1
44005 @endif target-libatomic
44007 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
44008 maybe-TAGS-target-libatomic:
44009 @if target-libatomic
44010 maybe-TAGS-target-libatomic: TAGS-target-libatomic
44012 TAGS-target-libatomic: \
44013 configure-target-libatomic
44014 @: $(MAKE); $(unstage)
44015 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44016 r=`${PWD_COMMAND}`; export r; \
44017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44018 $(NORMAL_TARGET_EXPORTS) \
44019 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
44020 for flag in $(EXTRA_TARGET_FLAGS); do \
44021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44022 done; \
44023 (cd $(TARGET_SUBDIR)/libatomic && \
44024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44026 "RANLIB=$${RANLIB}" \
44027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44028 TAGS) \
44029 || exit 1
44031 @endif target-libatomic
44033 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
44034 maybe-install-info-target-libatomic:
44035 @if target-libatomic
44036 maybe-install-info-target-libatomic: install-info-target-libatomic
44038 install-info-target-libatomic: \
44039 configure-target-libatomic \
44040 info-target-libatomic
44041 @: $(MAKE); $(unstage)
44042 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44043 r=`${PWD_COMMAND}`; export r; \
44044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44045 $(NORMAL_TARGET_EXPORTS) \
44046 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
44047 for flag in $(EXTRA_TARGET_FLAGS); do \
44048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44049 done; \
44050 (cd $(TARGET_SUBDIR)/libatomic && \
44051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44053 "RANLIB=$${RANLIB}" \
44054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44055 install-info) \
44056 || exit 1
44058 @endif target-libatomic
44060 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
44061 maybe-install-pdf-target-libatomic:
44062 @if target-libatomic
44063 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
44065 install-pdf-target-libatomic: \
44066 configure-target-libatomic \
44067 pdf-target-libatomic
44068 @: $(MAKE); $(unstage)
44069 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44070 r=`${PWD_COMMAND}`; export r; \
44071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44072 $(NORMAL_TARGET_EXPORTS) \
44073 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
44074 for flag in $(EXTRA_TARGET_FLAGS); do \
44075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44076 done; \
44077 (cd $(TARGET_SUBDIR)/libatomic && \
44078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44080 "RANLIB=$${RANLIB}" \
44081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44082 install-pdf) \
44083 || exit 1
44085 @endif target-libatomic
44087 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
44088 maybe-install-html-target-libatomic:
44089 @if target-libatomic
44090 maybe-install-html-target-libatomic: install-html-target-libatomic
44092 install-html-target-libatomic: \
44093 configure-target-libatomic \
44094 html-target-libatomic
44095 @: $(MAKE); $(unstage)
44096 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44097 r=`${PWD_COMMAND}`; export r; \
44098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44099 $(NORMAL_TARGET_EXPORTS) \
44100 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
44101 for flag in $(EXTRA_TARGET_FLAGS); do \
44102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44103 done; \
44104 (cd $(TARGET_SUBDIR)/libatomic && \
44105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44107 "RANLIB=$${RANLIB}" \
44108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44109 install-html) \
44110 || exit 1
44112 @endif target-libatomic
44114 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
44115 maybe-installcheck-target-libatomic:
44116 @if target-libatomic
44117 maybe-installcheck-target-libatomic: installcheck-target-libatomic
44119 installcheck-target-libatomic: \
44120 configure-target-libatomic
44121 @: $(MAKE); $(unstage)
44122 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44123 r=`${PWD_COMMAND}`; export r; \
44124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44125 $(NORMAL_TARGET_EXPORTS) \
44126 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
44127 for flag in $(EXTRA_TARGET_FLAGS); do \
44128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44129 done; \
44130 (cd $(TARGET_SUBDIR)/libatomic && \
44131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44133 "RANLIB=$${RANLIB}" \
44134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44135 installcheck) \
44136 || exit 1
44138 @endif target-libatomic
44140 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
44141 maybe-mostlyclean-target-libatomic:
44142 @if target-libatomic
44143 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
44145 mostlyclean-target-libatomic:
44146 @: $(MAKE); $(unstage)
44147 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44148 r=`${PWD_COMMAND}`; export r; \
44149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44150 $(NORMAL_TARGET_EXPORTS) \
44151 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
44152 for flag in $(EXTRA_TARGET_FLAGS); do \
44153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44154 done; \
44155 (cd $(TARGET_SUBDIR)/libatomic && \
44156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44158 "RANLIB=$${RANLIB}" \
44159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44160 mostlyclean) \
44161 || exit 1
44163 @endif target-libatomic
44165 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
44166 maybe-clean-target-libatomic:
44167 @if target-libatomic
44168 maybe-clean-target-libatomic: clean-target-libatomic
44170 clean-target-libatomic:
44171 @: $(MAKE); $(unstage)
44172 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44173 r=`${PWD_COMMAND}`; export r; \
44174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44175 $(NORMAL_TARGET_EXPORTS) \
44176 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
44177 for flag in $(EXTRA_TARGET_FLAGS); do \
44178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44179 done; \
44180 (cd $(TARGET_SUBDIR)/libatomic && \
44181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44183 "RANLIB=$${RANLIB}" \
44184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44185 clean) \
44186 || exit 1
44188 @endif target-libatomic
44190 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
44191 maybe-distclean-target-libatomic:
44192 @if target-libatomic
44193 maybe-distclean-target-libatomic: distclean-target-libatomic
44195 distclean-target-libatomic:
44196 @: $(MAKE); $(unstage)
44197 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44198 r=`${PWD_COMMAND}`; export r; \
44199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44200 $(NORMAL_TARGET_EXPORTS) \
44201 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
44202 for flag in $(EXTRA_TARGET_FLAGS); do \
44203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44204 done; \
44205 (cd $(TARGET_SUBDIR)/libatomic && \
44206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44208 "RANLIB=$${RANLIB}" \
44209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44210 distclean) \
44211 || exit 1
44213 @endif target-libatomic
44215 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
44216 maybe-maintainer-clean-target-libatomic:
44217 @if target-libatomic
44218 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
44220 maintainer-clean-target-libatomic:
44221 @: $(MAKE); $(unstage)
44222 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44223 r=`${PWD_COMMAND}`; export r; \
44224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44225 $(NORMAL_TARGET_EXPORTS) \
44226 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
44227 for flag in $(EXTRA_TARGET_FLAGS); do \
44228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44229 done; \
44230 (cd $(TARGET_SUBDIR)/libatomic && \
44231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44233 "RANLIB=$${RANLIB}" \
44234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44235 maintainer-clean) \
44236 || exit 1
44238 @endif target-libatomic
44242 @if target-libgomp
44243 .PHONY: check-target-libgomp-c++
44244 check-target-libgomp-c++:
44245 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
44247 @endif target-libgomp
44249 @if target-libitm
44250 .PHONY: check-target-libitm-c++
44251 check-target-libitm-c++:
44252 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
44254 @endif target-libitm
44256 # ----------
44257 # GCC module
44258 # ----------
44260 @if gcc-no-bootstrap
44261 .PHONY: cross
44262 cross: all-build all-gas all-ld
44263 @r=`${PWD_COMMAND}`; export r; \
44264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44265 $(HOST_EXPORTS) \
44266 echo "Building the C and C++ compiler"; \
44267 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44268 @r=`${PWD_COMMAND}`; export r; \
44269 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44270 echo "Building runtime libraries"; \
44271 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44272 @endif gcc-no-bootstrap
44274 @if gcc
44276 .PHONY: check-gcc-c check-c
44277 check-gcc-c:
44278 r=`${PWD_COMMAND}`; export r; \
44279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44280 $(HOST_EXPORTS) \
44281 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
44282 check-c: check-gcc-c
44284 .PHONY: check-gcc-c++ check-c++
44285 check-gcc-c++:
44286 r=`${PWD_COMMAND}`; export r; \
44287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44288 $(HOST_EXPORTS) \
44289 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
44290 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
44292 .PHONY: check-gcc-fortran check-fortran
44293 check-gcc-fortran:
44294 r=`${PWD_COMMAND}`; export r; \
44295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44296 $(HOST_EXPORTS) \
44297 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
44298 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
44300 .PHONY: check-gcc-java check-java
44301 check-gcc-java:
44302 r=`${PWD_COMMAND}`; export r; \
44303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44304 $(HOST_EXPORTS) \
44305 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
44306 check-java: check-gcc-java check-target-libjava
44308 .PHONY: check-gcc-ada check-ada
44309 check-gcc-ada:
44310 r=`${PWD_COMMAND}`; export r; \
44311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44312 $(HOST_EXPORTS) \
44313 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
44314 check-ada: check-gcc-ada check-target-libada
44316 .PHONY: check-gcc-objc check-objc
44317 check-gcc-objc:
44318 r=`${PWD_COMMAND}`; export r; \
44319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44320 $(HOST_EXPORTS) \
44321 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
44322 check-objc: check-gcc-objc check-target-libobjc
44324 .PHONY: check-gcc-obj-c++ check-obj-c++
44325 check-gcc-obj-c++:
44326 r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44328 $(HOST_EXPORTS) \
44329 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
44330 check-obj-c++: check-gcc-obj-c++
44332 .PHONY: check-gcc-go check-go
44333 check-gcc-go:
44334 r=`${PWD_COMMAND}`; export r; \
44335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44336 $(HOST_EXPORTS) \
44337 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
44338 check-go: check-gcc-go check-target-libgo
44341 # The gcc part of install-no-fixedincludes, which relies on an intimate
44342 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
44343 .PHONY: gcc-install-no-fixedincludes
44344 gcc-install-no-fixedincludes:
44345 @if [ -f ./gcc/Makefile ]; then \
44346 r=`${PWD_COMMAND}`; export r; \
44347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44348 $(HOST_EXPORTS) \
44349 (cd ./gcc \
44350 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
44351 else true; fi
44352 @endif gcc
44354 # ---------------------
44355 # GCC bootstrap support
44356 # ---------------------
44358 # We track the current stage (the one in 'gcc') in the stage_current file.
44359 # stage_last instead tracks the stage that was built last. These targets
44360 # are dummy when toplevel bootstrap is not active.
44362 # While making host and target tools, symlinks to the final stage must be
44363 # there, so $(unstage) should be run at various points. To avoid excessive
44364 # recursive invocations of make, we "inline" them using a variable. These
44365 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44366 # to avoid warnings from the GNU Make job server.
44368 unstage = :
44369 stage = :
44370 current_stage = ""
44372 @if gcc-bootstrap
44373 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44374 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44375 current_stage = "`cat stage_current 2> /dev/null`"
44376 @endif gcc-bootstrap
44378 .PHONY: unstage stage
44379 unstage:
44380 @: $(MAKE); $(unstage)
44381 stage:
44382 @: $(MAKE); $(stage)
44384 # Disable commands for lean bootstrap.
44385 LEAN = false
44387 # We name the build directories for the various stages "stage1-gcc",
44388 # "stage2-gcc","stage3-gcc", etc.
44390 # Since the 'compare' process will fail (on debugging information) if any
44391 # directory names are different, we need to link the gcc directory for
44392 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44393 # the build directories constant as well. For the latter, we use naked names
44394 # like 'gcc', because the scripts in that directory assume it. We use
44395 # mv on platforms where symlinks to directories do not work or are not
44396 # reliable.
44398 # 'touch' doesn't work right on some platforms.
44399 STAMP = echo timestamp >
44401 # We only want to compare .o files, so set this!
44402 objext = .o
44405 .PHONY: stage1-start stage1-end
44407 stage1-start::
44408 @: $(MAKE); $(stage); \
44409 echo stage1 > stage_current ; \
44410 echo stage1 > stage_last; \
44411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44412 @if bfd
44413 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44414 mkdir stage1-bfd; \
44415 mv stage1-bfd bfd
44416 @endif bfd
44417 @if opcodes
44418 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44419 mkdir stage1-opcodes; \
44420 mv stage1-opcodes opcodes
44421 @endif opcodes
44422 @if binutils
44423 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44424 mkdir stage1-binutils; \
44425 mv stage1-binutils binutils
44426 @endif binutils
44427 @if gas
44428 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44429 mkdir stage1-gas; \
44430 mv stage1-gas gas
44431 @endif gas
44432 @if gcc
44433 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44434 mkdir stage1-gcc; \
44435 mv stage1-gcc gcc
44436 @endif gcc
44437 @if gmp
44438 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44439 mkdir stage1-gmp; \
44440 mv stage1-gmp gmp
44441 @endif gmp
44442 @if mpfr
44443 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44444 mkdir stage1-mpfr; \
44445 mv stage1-mpfr mpfr
44446 @endif mpfr
44447 @if mpc
44448 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
44449 mkdir stage1-mpc; \
44450 mv stage1-mpc mpc
44451 @endif mpc
44452 @if isl
44453 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
44454 mkdir stage1-isl; \
44455 mv stage1-isl isl
44456 @endif isl
44457 @if cloog
44458 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
44459 mkdir stage1-cloog; \
44460 mv stage1-cloog cloog
44461 @endif cloog
44462 @if libelf
44463 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
44464 mkdir stage1-libelf; \
44465 mv stage1-libelf libelf
44466 @endif libelf
44467 @if gold
44468 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
44469 mkdir stage1-gold; \
44470 mv stage1-gold gold
44471 @endif gold
44472 @if intl
44473 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44474 mkdir stage1-intl; \
44475 mv stage1-intl intl
44476 @endif intl
44477 @if ld
44478 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44479 mkdir stage1-ld; \
44480 mv stage1-ld ld
44481 @endif ld
44482 @if libbacktrace
44483 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
44484 mkdir stage1-libbacktrace; \
44485 mv stage1-libbacktrace libbacktrace
44486 @endif libbacktrace
44487 @if libcpp
44488 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44489 mkdir stage1-libcpp; \
44490 mv stage1-libcpp libcpp
44491 @endif libcpp
44492 @if libdecnumber
44493 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
44494 mkdir stage1-libdecnumber; \
44495 mv stage1-libdecnumber libdecnumber
44496 @endif libdecnumber
44497 @if libiberty
44498 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
44499 mkdir stage1-libiberty; \
44500 mv stage1-libiberty libiberty
44501 @endif libiberty
44502 @if zlib
44503 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
44504 mkdir stage1-zlib; \
44505 mv stage1-zlib zlib
44506 @endif zlib
44507 @if lto-plugin
44508 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
44509 mkdir stage1-lto-plugin; \
44510 mv stage1-lto-plugin lto-plugin
44511 @endif lto-plugin
44512 @[ -d stage1-$(TARGET_SUBDIR) ] || \
44513 mkdir stage1-$(TARGET_SUBDIR); \
44514 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
44516 stage1-end::
44517 @if bfd
44518 @if test -d $(HOST_SUBDIR)/bfd ; then \
44519 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
44521 @endif bfd
44522 @if opcodes
44523 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44524 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
44526 @endif opcodes
44527 @if binutils
44528 @if test -d $(HOST_SUBDIR)/binutils ; then \
44529 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
44531 @endif binutils
44532 @if gas
44533 @if test -d $(HOST_SUBDIR)/gas ; then \
44534 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
44536 @endif gas
44537 @if gcc
44538 @if test -d $(HOST_SUBDIR)/gcc ; then \
44539 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
44541 @endif gcc
44542 @if gmp
44543 @if test -d $(HOST_SUBDIR)/gmp ; then \
44544 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
44546 @endif gmp
44547 @if mpfr
44548 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44549 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
44551 @endif mpfr
44552 @if mpc
44553 @if test -d $(HOST_SUBDIR)/mpc ; then \
44554 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
44556 @endif mpc
44557 @if isl
44558 @if test -d $(HOST_SUBDIR)/isl ; then \
44559 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
44561 @endif isl
44562 @if cloog
44563 @if test -d $(HOST_SUBDIR)/cloog ; then \
44564 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
44566 @endif cloog
44567 @if libelf
44568 @if test -d $(HOST_SUBDIR)/libelf ; then \
44569 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
44571 @endif libelf
44572 @if gold
44573 @if test -d $(HOST_SUBDIR)/gold ; then \
44574 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
44576 @endif gold
44577 @if intl
44578 @if test -d $(HOST_SUBDIR)/intl ; then \
44579 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
44581 @endif intl
44582 @if ld
44583 @if test -d $(HOST_SUBDIR)/ld ; then \
44584 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
44586 @endif ld
44587 @if libbacktrace
44588 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44589 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
44591 @endif libbacktrace
44592 @if libcpp
44593 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44594 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
44596 @endif libcpp
44597 @if libdecnumber
44598 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44599 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
44601 @endif libdecnumber
44602 @if libiberty
44603 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44604 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
44606 @endif libiberty
44607 @if zlib
44608 @if test -d $(HOST_SUBDIR)/zlib ; then \
44609 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
44611 @endif zlib
44612 @if lto-plugin
44613 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44614 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
44616 @endif lto-plugin
44617 @if test -d $(TARGET_SUBDIR) ; then \
44618 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
44620 rm -f stage_current
44622 # Bubble a bug fix through all the stages up to stage 1. They are
44623 # remade, but not reconfigured. The next stage (if any) will not be
44624 # reconfigured either.
44625 .PHONY: stage1-bubble
44626 stage1-bubble::
44627 @r=`${PWD_COMMAND}`; export r; \
44628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44629 if test -f stage1-lean ; then \
44630 echo Skipping rebuild of stage1 ; \
44631 else \
44632 $(MAKE) stage1-start; \
44633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
44636 .PHONY: all-stage1 clean-stage1
44637 do-clean: clean-stage1
44639 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44640 # only possibility, but now it conflicts with no-bootstrap rules
44641 @if gcc-bootstrap
44646 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44648 .PHONY: distclean-stage1
44649 distclean-stage1::
44650 @: $(MAKE); $(stage)
44651 @test "`cat stage_last`" != stage1 || rm -f stage_last
44652 rm -rf stage1-*
44655 @endif gcc-bootstrap
44658 .PHONY: stage2-start stage2-end
44660 stage2-start::
44661 @: $(MAKE); $(stage); \
44662 echo stage2 > stage_current ; \
44663 echo stage2 > stage_last; \
44664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44665 @if bfd
44666 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
44667 mkdir stage2-bfd; \
44668 mv stage2-bfd bfd ; \
44669 mv stage1-bfd prev-bfd || test -f stage1-lean
44670 @endif bfd
44671 @if opcodes
44672 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
44673 mkdir stage2-opcodes; \
44674 mv stage2-opcodes opcodes ; \
44675 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44676 @endif opcodes
44677 @if binutils
44678 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
44679 mkdir stage2-binutils; \
44680 mv stage2-binutils binutils ; \
44681 mv stage1-binutils prev-binutils || test -f stage1-lean
44682 @endif binutils
44683 @if gas
44684 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
44685 mkdir stage2-gas; \
44686 mv stage2-gas gas ; \
44687 mv stage1-gas prev-gas || test -f stage1-lean
44688 @endif gas
44689 @if gcc
44690 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
44691 mkdir stage2-gcc; \
44692 mv stage2-gcc gcc ; \
44693 mv stage1-gcc prev-gcc || test -f stage1-lean
44694 @endif gcc
44695 @if gmp
44696 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
44697 mkdir stage2-gmp; \
44698 mv stage2-gmp gmp ; \
44699 mv stage1-gmp prev-gmp || test -f stage1-lean
44700 @endif gmp
44701 @if mpfr
44702 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
44703 mkdir stage2-mpfr; \
44704 mv stage2-mpfr mpfr ; \
44705 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44706 @endif mpfr
44707 @if mpc
44708 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
44709 mkdir stage2-mpc; \
44710 mv stage2-mpc mpc ; \
44711 mv stage1-mpc prev-mpc || test -f stage1-lean
44712 @endif mpc
44713 @if isl
44714 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
44715 mkdir stage2-isl; \
44716 mv stage2-isl isl ; \
44717 mv stage1-isl prev-isl || test -f stage1-lean
44718 @endif isl
44719 @if cloog
44720 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
44721 mkdir stage2-cloog; \
44722 mv stage2-cloog cloog ; \
44723 mv stage1-cloog prev-cloog || test -f stage1-lean
44724 @endif cloog
44725 @if libelf
44726 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
44727 mkdir stage2-libelf; \
44728 mv stage2-libelf libelf ; \
44729 mv stage1-libelf prev-libelf || test -f stage1-lean
44730 @endif libelf
44731 @if gold
44732 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
44733 mkdir stage2-gold; \
44734 mv stage2-gold gold ; \
44735 mv stage1-gold prev-gold || test -f stage1-lean
44736 @endif gold
44737 @if intl
44738 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
44739 mkdir stage2-intl; \
44740 mv stage2-intl intl ; \
44741 mv stage1-intl prev-intl || test -f stage1-lean
44742 @endif intl
44743 @if ld
44744 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
44745 mkdir stage2-ld; \
44746 mv stage2-ld ld ; \
44747 mv stage1-ld prev-ld || test -f stage1-lean
44748 @endif ld
44749 @if libbacktrace
44750 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
44751 mkdir stage2-libbacktrace; \
44752 mv stage2-libbacktrace libbacktrace ; \
44753 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44754 @endif libbacktrace
44755 @if libcpp
44756 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
44757 mkdir stage2-libcpp; \
44758 mv stage2-libcpp libcpp ; \
44759 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44760 @endif libcpp
44761 @if libdecnumber
44762 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
44763 mkdir stage2-libdecnumber; \
44764 mv stage2-libdecnumber libdecnumber ; \
44765 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44766 @endif libdecnumber
44767 @if libiberty
44768 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
44769 mkdir stage2-libiberty; \
44770 mv stage2-libiberty libiberty ; \
44771 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44772 @endif libiberty
44773 @if zlib
44774 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
44775 mkdir stage2-zlib; \
44776 mv stage2-zlib zlib ; \
44777 mv stage1-zlib prev-zlib || test -f stage1-lean
44778 @endif zlib
44779 @if lto-plugin
44780 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
44781 mkdir stage2-lto-plugin; \
44782 mv stage2-lto-plugin lto-plugin ; \
44783 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44784 @endif lto-plugin
44785 @[ -d stage2-$(TARGET_SUBDIR) ] || \
44786 mkdir stage2-$(TARGET_SUBDIR); \
44787 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44788 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44790 stage2-end::
44791 @if bfd
44792 @if test -d $(HOST_SUBDIR)/bfd ; then \
44793 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
44794 mv prev-bfd stage1-bfd ; : ; \
44796 @endif bfd
44797 @if opcodes
44798 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44799 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
44800 mv prev-opcodes stage1-opcodes ; : ; \
44802 @endif opcodes
44803 @if binutils
44804 @if test -d $(HOST_SUBDIR)/binutils ; then \
44805 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
44806 mv prev-binutils stage1-binutils ; : ; \
44808 @endif binutils
44809 @if gas
44810 @if test -d $(HOST_SUBDIR)/gas ; then \
44811 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
44812 mv prev-gas stage1-gas ; : ; \
44814 @endif gas
44815 @if gcc
44816 @if test -d $(HOST_SUBDIR)/gcc ; then \
44817 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
44818 mv prev-gcc stage1-gcc ; : ; \
44820 @endif gcc
44821 @if gmp
44822 @if test -d $(HOST_SUBDIR)/gmp ; then \
44823 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
44824 mv prev-gmp stage1-gmp ; : ; \
44826 @endif gmp
44827 @if mpfr
44828 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44829 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
44830 mv prev-mpfr stage1-mpfr ; : ; \
44832 @endif mpfr
44833 @if mpc
44834 @if test -d $(HOST_SUBDIR)/mpc ; then \
44835 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
44836 mv prev-mpc stage1-mpc ; : ; \
44838 @endif mpc
44839 @if isl
44840 @if test -d $(HOST_SUBDIR)/isl ; then \
44841 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
44842 mv prev-isl stage1-isl ; : ; \
44844 @endif isl
44845 @if cloog
44846 @if test -d $(HOST_SUBDIR)/cloog ; then \
44847 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
44848 mv prev-cloog stage1-cloog ; : ; \
44850 @endif cloog
44851 @if libelf
44852 @if test -d $(HOST_SUBDIR)/libelf ; then \
44853 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
44854 mv prev-libelf stage1-libelf ; : ; \
44856 @endif libelf
44857 @if gold
44858 @if test -d $(HOST_SUBDIR)/gold ; then \
44859 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
44860 mv prev-gold stage1-gold ; : ; \
44862 @endif gold
44863 @if intl
44864 @if test -d $(HOST_SUBDIR)/intl ; then \
44865 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
44866 mv prev-intl stage1-intl ; : ; \
44868 @endif intl
44869 @if ld
44870 @if test -d $(HOST_SUBDIR)/ld ; then \
44871 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
44872 mv prev-ld stage1-ld ; : ; \
44874 @endif ld
44875 @if libbacktrace
44876 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44877 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
44878 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44880 @endif libbacktrace
44881 @if libcpp
44882 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44883 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
44884 mv prev-libcpp stage1-libcpp ; : ; \
44886 @endif libcpp
44887 @if libdecnumber
44888 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44889 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
44890 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44892 @endif libdecnumber
44893 @if libiberty
44894 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44895 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
44896 mv prev-libiberty stage1-libiberty ; : ; \
44898 @endif libiberty
44899 @if zlib
44900 @if test -d $(HOST_SUBDIR)/zlib ; then \
44901 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
44902 mv prev-zlib stage1-zlib ; : ; \
44904 @endif zlib
44905 @if lto-plugin
44906 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44907 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
44908 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44910 @endif lto-plugin
44911 @if test -d $(TARGET_SUBDIR) ; then \
44912 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
44913 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44915 rm -f stage_current
44917 # Bubble a bug fix through all the stages up to stage 2. They are
44918 # remade, but not reconfigured. The next stage (if any) will not be
44919 # reconfigured either.
44920 .PHONY: stage2-bubble
44921 stage2-bubble:: stage1-bubble
44922 @r=`${PWD_COMMAND}`; export r; \
44923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44924 if test -f stage2-lean || test -f stage1-lean ; then \
44925 echo Skipping rebuild of stage2 ; \
44926 else \
44927 $(MAKE) stage2-start; \
44928 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
44931 .PHONY: all-stage2 clean-stage2
44932 do-clean: clean-stage2
44934 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44935 # only possibility, but now it conflicts with no-bootstrap rules
44936 @if gcc-bootstrap
44940 .PHONY: bootstrap2 bootstrap2-lean
44941 bootstrap2:
44942 echo stage2 > stage_final
44943 @r=`${PWD_COMMAND}`; export r; \
44944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44945 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
44946 @: $(MAKE); $(unstage)
44947 @r=`${PWD_COMMAND}`; export r; \
44948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44949 TFLAGS="$(STAGE2_TFLAGS)"; \
44950 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44952 bootstrap2-lean:
44953 echo stage2 > stage_final
44954 @r=`${PWD_COMMAND}`; export r; \
44955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
44957 @: $(MAKE); $(unstage)
44958 @r=`${PWD_COMMAND}`; export r; \
44959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44960 TFLAGS="$(STAGE2_TFLAGS)"; \
44961 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44964 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44965 distclean-stage1:: distclean-stage2
44966 .PHONY: distclean-stage2
44967 distclean-stage2::
44968 @: $(MAKE); $(stage)
44969 @test "`cat stage_last`" != stage2 || rm -f stage_last
44970 rm -rf stage2-*
44973 @endif gcc-bootstrap
44976 .PHONY: stage3-start stage3-end
44978 stage3-start::
44979 @: $(MAKE); $(stage); \
44980 echo stage3 > stage_current ; \
44981 echo stage3 > stage_last; \
44982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44983 @if bfd
44984 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44985 mkdir stage3-bfd; \
44986 mv stage3-bfd bfd ; \
44987 mv stage2-bfd prev-bfd || test -f stage2-lean
44988 @endif bfd
44989 @if opcodes
44990 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44991 mkdir stage3-opcodes; \
44992 mv stage3-opcodes opcodes ; \
44993 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44994 @endif opcodes
44995 @if binutils
44996 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44997 mkdir stage3-binutils; \
44998 mv stage3-binutils binutils ; \
44999 mv stage2-binutils prev-binutils || test -f stage2-lean
45000 @endif binutils
45001 @if gas
45002 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
45003 mkdir stage3-gas; \
45004 mv stage3-gas gas ; \
45005 mv stage2-gas prev-gas || test -f stage2-lean
45006 @endif gas
45007 @if gcc
45008 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
45009 mkdir stage3-gcc; \
45010 mv stage3-gcc gcc ; \
45011 mv stage2-gcc prev-gcc || test -f stage2-lean
45012 @endif gcc
45013 @if gmp
45014 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
45015 mkdir stage3-gmp; \
45016 mv stage3-gmp gmp ; \
45017 mv stage2-gmp prev-gmp || test -f stage2-lean
45018 @endif gmp
45019 @if mpfr
45020 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
45021 mkdir stage3-mpfr; \
45022 mv stage3-mpfr mpfr ; \
45023 mv stage2-mpfr prev-mpfr || test -f stage2-lean
45024 @endif mpfr
45025 @if mpc
45026 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
45027 mkdir stage3-mpc; \
45028 mv stage3-mpc mpc ; \
45029 mv stage2-mpc prev-mpc || test -f stage2-lean
45030 @endif mpc
45031 @if isl
45032 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
45033 mkdir stage3-isl; \
45034 mv stage3-isl isl ; \
45035 mv stage2-isl prev-isl || test -f stage2-lean
45036 @endif isl
45037 @if cloog
45038 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
45039 mkdir stage3-cloog; \
45040 mv stage3-cloog cloog ; \
45041 mv stage2-cloog prev-cloog || test -f stage2-lean
45042 @endif cloog
45043 @if libelf
45044 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
45045 mkdir stage3-libelf; \
45046 mv stage3-libelf libelf ; \
45047 mv stage2-libelf prev-libelf || test -f stage2-lean
45048 @endif libelf
45049 @if gold
45050 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
45051 mkdir stage3-gold; \
45052 mv stage3-gold gold ; \
45053 mv stage2-gold prev-gold || test -f stage2-lean
45054 @endif gold
45055 @if intl
45056 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
45057 mkdir stage3-intl; \
45058 mv stage3-intl intl ; \
45059 mv stage2-intl prev-intl || test -f stage2-lean
45060 @endif intl
45061 @if ld
45062 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
45063 mkdir stage3-ld; \
45064 mv stage3-ld ld ; \
45065 mv stage2-ld prev-ld || test -f stage2-lean
45066 @endif ld
45067 @if libbacktrace
45068 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
45069 mkdir stage3-libbacktrace; \
45070 mv stage3-libbacktrace libbacktrace ; \
45071 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
45072 @endif libbacktrace
45073 @if libcpp
45074 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
45075 mkdir stage3-libcpp; \
45076 mv stage3-libcpp libcpp ; \
45077 mv stage2-libcpp prev-libcpp || test -f stage2-lean
45078 @endif libcpp
45079 @if libdecnumber
45080 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
45081 mkdir stage3-libdecnumber; \
45082 mv stage3-libdecnumber libdecnumber ; \
45083 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
45084 @endif libdecnumber
45085 @if libiberty
45086 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
45087 mkdir stage3-libiberty; \
45088 mv stage3-libiberty libiberty ; \
45089 mv stage2-libiberty prev-libiberty || test -f stage2-lean
45090 @endif libiberty
45091 @if zlib
45092 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
45093 mkdir stage3-zlib; \
45094 mv stage3-zlib zlib ; \
45095 mv stage2-zlib prev-zlib || test -f stage2-lean
45096 @endif zlib
45097 @if lto-plugin
45098 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
45099 mkdir stage3-lto-plugin; \
45100 mv stage3-lto-plugin lto-plugin ; \
45101 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
45102 @endif lto-plugin
45103 @[ -d stage3-$(TARGET_SUBDIR) ] || \
45104 mkdir stage3-$(TARGET_SUBDIR); \
45105 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45106 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
45108 stage3-end::
45109 @if bfd
45110 @if test -d $(HOST_SUBDIR)/bfd ; then \
45111 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
45112 mv prev-bfd stage2-bfd ; : ; \
45114 @endif bfd
45115 @if opcodes
45116 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45117 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
45118 mv prev-opcodes stage2-opcodes ; : ; \
45120 @endif opcodes
45121 @if binutils
45122 @if test -d $(HOST_SUBDIR)/binutils ; then \
45123 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
45124 mv prev-binutils stage2-binutils ; : ; \
45126 @endif binutils
45127 @if gas
45128 @if test -d $(HOST_SUBDIR)/gas ; then \
45129 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
45130 mv prev-gas stage2-gas ; : ; \
45132 @endif gas
45133 @if gcc
45134 @if test -d $(HOST_SUBDIR)/gcc ; then \
45135 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
45136 mv prev-gcc stage2-gcc ; : ; \
45138 @endif gcc
45139 @if gmp
45140 @if test -d $(HOST_SUBDIR)/gmp ; then \
45141 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
45142 mv prev-gmp stage2-gmp ; : ; \
45144 @endif gmp
45145 @if mpfr
45146 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45147 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
45148 mv prev-mpfr stage2-mpfr ; : ; \
45150 @endif mpfr
45151 @if mpc
45152 @if test -d $(HOST_SUBDIR)/mpc ; then \
45153 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
45154 mv prev-mpc stage2-mpc ; : ; \
45156 @endif mpc
45157 @if isl
45158 @if test -d $(HOST_SUBDIR)/isl ; then \
45159 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
45160 mv prev-isl stage2-isl ; : ; \
45162 @endif isl
45163 @if cloog
45164 @if test -d $(HOST_SUBDIR)/cloog ; then \
45165 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
45166 mv prev-cloog stage2-cloog ; : ; \
45168 @endif cloog
45169 @if libelf
45170 @if test -d $(HOST_SUBDIR)/libelf ; then \
45171 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
45172 mv prev-libelf stage2-libelf ; : ; \
45174 @endif libelf
45175 @if gold
45176 @if test -d $(HOST_SUBDIR)/gold ; then \
45177 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
45178 mv prev-gold stage2-gold ; : ; \
45180 @endif gold
45181 @if intl
45182 @if test -d $(HOST_SUBDIR)/intl ; then \
45183 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
45184 mv prev-intl stage2-intl ; : ; \
45186 @endif intl
45187 @if ld
45188 @if test -d $(HOST_SUBDIR)/ld ; then \
45189 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
45190 mv prev-ld stage2-ld ; : ; \
45192 @endif ld
45193 @if libbacktrace
45194 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45195 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
45196 mv prev-libbacktrace stage2-libbacktrace ; : ; \
45198 @endif libbacktrace
45199 @if libcpp
45200 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45201 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
45202 mv prev-libcpp stage2-libcpp ; : ; \
45204 @endif libcpp
45205 @if libdecnumber
45206 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45207 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
45208 mv prev-libdecnumber stage2-libdecnumber ; : ; \
45210 @endif libdecnumber
45211 @if libiberty
45212 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45213 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
45214 mv prev-libiberty stage2-libiberty ; : ; \
45216 @endif libiberty
45217 @if zlib
45218 @if test -d $(HOST_SUBDIR)/zlib ; then \
45219 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
45220 mv prev-zlib stage2-zlib ; : ; \
45222 @endif zlib
45223 @if lto-plugin
45224 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45225 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
45226 mv prev-lto-plugin stage2-lto-plugin ; : ; \
45228 @endif lto-plugin
45229 @if test -d $(TARGET_SUBDIR) ; then \
45230 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
45231 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45233 rm -f stage_current
45235 # Bubble a bug fix through all the stages up to stage 3. They are
45236 # remade, but not reconfigured. The next stage (if any) will not be
45237 # reconfigured either.
45238 .PHONY: stage3-bubble
45239 stage3-bubble:: stage2-bubble
45240 @r=`${PWD_COMMAND}`; export r; \
45241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45242 if test -f stage3-lean || test -f stage2-lean ; then \
45243 echo Skipping rebuild of stage3 ; \
45244 else \
45245 $(MAKE) stage3-start; \
45246 if $(LEAN); then \
45247 rm -rf stage1-* ; \
45248 $(STAMP) stage1-lean ; \
45249 fi; \
45250 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45252 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45254 .PHONY: all-stage3 clean-stage3
45255 do-clean: clean-stage3
45257 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45258 # only possibility, but now it conflicts with no-bootstrap rules
45259 @if gcc-bootstrap
45261 compare:
45262 @r=`${PWD_COMMAND}`; export r; \
45263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45264 if test -f stage2-lean; then \
45265 echo Cannot compare object files as stage 2 was deleted. ; \
45266 exit 0 ; \
45267 fi; \
45268 : $(MAKE); $(stage); \
45269 rm -f .bad_compare ; \
45270 echo Comparing stages 2 and 3 ; \
45271 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
45272 files=`find stage3-* -name "*$(objext)" -print | \
45273 sed -n s,^stage$$sed-,,p` ; \
45274 for file in $${files} ; do \
45275 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
45276 if test ! -f $$f1; then continue; fi; \
45277 $(do-compare) > /dev/null 2>&1; \
45278 if test $$? -eq 1; then \
45279 case $$file in \
45280 @compare_exclusions@) \
45281 echo warning: $$file differs ;; \
45282 *) \
45283 echo $$file differs >> .bad_compare ;; \
45284 esac ; \
45285 fi ; \
45286 done ; \
45287 if [ -f .bad_compare ]; then \
45288 echo "Bootstrap comparison failure!"; \
45289 cat .bad_compare; \
45290 exit 1; \
45291 else \
45292 echo Comparison successful.; \
45293 fi ; \
45294 $(STAMP) compare
45295 if $(LEAN); then \
45296 rm -rf stage2-*; \
45297 $(STAMP) stage2-lean; \
45302 .PHONY: bootstrap bootstrap-lean
45303 bootstrap:
45304 echo stage3 > stage_final
45305 @r=`${PWD_COMMAND}`; export r; \
45306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45307 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45308 @: $(MAKE); $(unstage)
45309 @r=`${PWD_COMMAND}`; export r; \
45310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45311 TFLAGS="$(STAGE3_TFLAGS)"; \
45312 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45314 bootstrap-lean:
45315 echo stage3 > stage_final
45316 @r=`${PWD_COMMAND}`; export r; \
45317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45319 @: $(MAKE); $(unstage)
45320 @r=`${PWD_COMMAND}`; export r; \
45321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45322 TFLAGS="$(STAGE3_TFLAGS)"; \
45323 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45326 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45327 distclean-stage2:: distclean-stage3
45328 .PHONY: distclean-stage3
45329 distclean-stage3::
45330 @: $(MAKE); $(stage)
45331 @test "`cat stage_last`" != stage3 || rm -f stage_last
45332 rm -rf stage3-* compare
45335 .PHONY: cleanstrap
45336 cleanstrap: do-distclean local-clean
45337 echo stage3 > stage_final
45338 @r=`${PWD_COMMAND}`; export r; \
45339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45340 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45341 @: $(MAKE); $(unstage)
45342 @r=`${PWD_COMMAND}`; export r; \
45343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45344 TFLAGS="$(STAGE3_TFLAGS)"; \
45345 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45347 @endif gcc-bootstrap
45350 .PHONY: stage4-start stage4-end
45352 stage4-start::
45353 @: $(MAKE); $(stage); \
45354 echo stage4 > stage_current ; \
45355 echo stage4 > stage_last; \
45356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45357 @if bfd
45358 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45359 mkdir stage4-bfd; \
45360 mv stage4-bfd bfd ; \
45361 mv stage3-bfd prev-bfd || test -f stage3-lean
45362 @endif bfd
45363 @if opcodes
45364 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45365 mkdir stage4-opcodes; \
45366 mv stage4-opcodes opcodes ; \
45367 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45368 @endif opcodes
45369 @if binutils
45370 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45371 mkdir stage4-binutils; \
45372 mv stage4-binutils binutils ; \
45373 mv stage3-binutils prev-binutils || test -f stage3-lean
45374 @endif binutils
45375 @if gas
45376 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45377 mkdir stage4-gas; \
45378 mv stage4-gas gas ; \
45379 mv stage3-gas prev-gas || test -f stage3-lean
45380 @endif gas
45381 @if gcc
45382 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45383 mkdir stage4-gcc; \
45384 mv stage4-gcc gcc ; \
45385 mv stage3-gcc prev-gcc || test -f stage3-lean
45386 @endif gcc
45387 @if gmp
45388 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45389 mkdir stage4-gmp; \
45390 mv stage4-gmp gmp ; \
45391 mv stage3-gmp prev-gmp || test -f stage3-lean
45392 @endif gmp
45393 @if mpfr
45394 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45395 mkdir stage4-mpfr; \
45396 mv stage4-mpfr mpfr ; \
45397 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45398 @endif mpfr
45399 @if mpc
45400 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
45401 mkdir stage4-mpc; \
45402 mv stage4-mpc mpc ; \
45403 mv stage3-mpc prev-mpc || test -f stage3-lean
45404 @endif mpc
45405 @if isl
45406 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
45407 mkdir stage4-isl; \
45408 mv stage4-isl isl ; \
45409 mv stage3-isl prev-isl || test -f stage3-lean
45410 @endif isl
45411 @if cloog
45412 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
45413 mkdir stage4-cloog; \
45414 mv stage4-cloog cloog ; \
45415 mv stage3-cloog prev-cloog || test -f stage3-lean
45416 @endif cloog
45417 @if libelf
45418 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
45419 mkdir stage4-libelf; \
45420 mv stage4-libelf libelf ; \
45421 mv stage3-libelf prev-libelf || test -f stage3-lean
45422 @endif libelf
45423 @if gold
45424 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
45425 mkdir stage4-gold; \
45426 mv stage4-gold gold ; \
45427 mv stage3-gold prev-gold || test -f stage3-lean
45428 @endif gold
45429 @if intl
45430 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45431 mkdir stage4-intl; \
45432 mv stage4-intl intl ; \
45433 mv stage3-intl prev-intl || test -f stage3-lean
45434 @endif intl
45435 @if ld
45436 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45437 mkdir stage4-ld; \
45438 mv stage4-ld ld ; \
45439 mv stage3-ld prev-ld || test -f stage3-lean
45440 @endif ld
45441 @if libbacktrace
45442 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
45443 mkdir stage4-libbacktrace; \
45444 mv stage4-libbacktrace libbacktrace ; \
45445 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
45446 @endif libbacktrace
45447 @if libcpp
45448 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45449 mkdir stage4-libcpp; \
45450 mv stage4-libcpp libcpp ; \
45451 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45452 @endif libcpp
45453 @if libdecnumber
45454 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45455 mkdir stage4-libdecnumber; \
45456 mv stage4-libdecnumber libdecnumber ; \
45457 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45458 @endif libdecnumber
45459 @if libiberty
45460 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45461 mkdir stage4-libiberty; \
45462 mv stage4-libiberty libiberty ; \
45463 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45464 @endif libiberty
45465 @if zlib
45466 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45467 mkdir stage4-zlib; \
45468 mv stage4-zlib zlib ; \
45469 mv stage3-zlib prev-zlib || test -f stage3-lean
45470 @endif zlib
45471 @if lto-plugin
45472 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
45473 mkdir stage4-lto-plugin; \
45474 mv stage4-lto-plugin lto-plugin ; \
45475 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
45476 @endif lto-plugin
45477 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45478 mkdir stage4-$(TARGET_SUBDIR); \
45479 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45480 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45482 stage4-end::
45483 @if bfd
45484 @if test -d $(HOST_SUBDIR)/bfd ; then \
45485 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45486 mv prev-bfd stage3-bfd ; : ; \
45488 @endif bfd
45489 @if opcodes
45490 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45491 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
45492 mv prev-opcodes stage3-opcodes ; : ; \
45494 @endif opcodes
45495 @if binutils
45496 @if test -d $(HOST_SUBDIR)/binutils ; then \
45497 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
45498 mv prev-binutils stage3-binutils ; : ; \
45500 @endif binutils
45501 @if gas
45502 @if test -d $(HOST_SUBDIR)/gas ; then \
45503 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
45504 mv prev-gas stage3-gas ; : ; \
45506 @endif gas
45507 @if gcc
45508 @if test -d $(HOST_SUBDIR)/gcc ; then \
45509 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
45510 mv prev-gcc stage3-gcc ; : ; \
45512 @endif gcc
45513 @if gmp
45514 @if test -d $(HOST_SUBDIR)/gmp ; then \
45515 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
45516 mv prev-gmp stage3-gmp ; : ; \
45518 @endif gmp
45519 @if mpfr
45520 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45521 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
45522 mv prev-mpfr stage3-mpfr ; : ; \
45524 @endif mpfr
45525 @if mpc
45526 @if test -d $(HOST_SUBDIR)/mpc ; then \
45527 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
45528 mv prev-mpc stage3-mpc ; : ; \
45530 @endif mpc
45531 @if isl
45532 @if test -d $(HOST_SUBDIR)/isl ; then \
45533 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
45534 mv prev-isl stage3-isl ; : ; \
45536 @endif isl
45537 @if cloog
45538 @if test -d $(HOST_SUBDIR)/cloog ; then \
45539 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
45540 mv prev-cloog stage3-cloog ; : ; \
45542 @endif cloog
45543 @if libelf
45544 @if test -d $(HOST_SUBDIR)/libelf ; then \
45545 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
45546 mv prev-libelf stage3-libelf ; : ; \
45548 @endif libelf
45549 @if gold
45550 @if test -d $(HOST_SUBDIR)/gold ; then \
45551 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
45552 mv prev-gold stage3-gold ; : ; \
45554 @endif gold
45555 @if intl
45556 @if test -d $(HOST_SUBDIR)/intl ; then \
45557 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
45558 mv prev-intl stage3-intl ; : ; \
45560 @endif intl
45561 @if ld
45562 @if test -d $(HOST_SUBDIR)/ld ; then \
45563 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
45564 mv prev-ld stage3-ld ; : ; \
45566 @endif ld
45567 @if libbacktrace
45568 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45569 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
45570 mv prev-libbacktrace stage3-libbacktrace ; : ; \
45572 @endif libbacktrace
45573 @if libcpp
45574 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45575 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
45576 mv prev-libcpp stage3-libcpp ; : ; \
45578 @endif libcpp
45579 @if libdecnumber
45580 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45581 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
45582 mv prev-libdecnumber stage3-libdecnumber ; : ; \
45584 @endif libdecnumber
45585 @if libiberty
45586 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45587 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
45588 mv prev-libiberty stage3-libiberty ; : ; \
45590 @endif libiberty
45591 @if zlib
45592 @if test -d $(HOST_SUBDIR)/zlib ; then \
45593 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
45594 mv prev-zlib stage3-zlib ; : ; \
45596 @endif zlib
45597 @if lto-plugin
45598 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45599 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
45600 mv prev-lto-plugin stage3-lto-plugin ; : ; \
45602 @endif lto-plugin
45603 @if test -d $(TARGET_SUBDIR) ; then \
45604 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
45605 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
45607 rm -f stage_current
45609 # Bubble a bug fix through all the stages up to stage 4. They are
45610 # remade, but not reconfigured. The next stage (if any) will not be
45611 # reconfigured either.
45612 .PHONY: stage4-bubble
45613 stage4-bubble:: stage3-bubble
45614 @r=`${PWD_COMMAND}`; export r; \
45615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45616 if test -f stage4-lean || test -f stage3-lean ; then \
45617 echo Skipping rebuild of stage4 ; \
45618 else \
45619 $(MAKE) stage4-start; \
45620 if $(LEAN); then \
45621 rm -rf stage2-* ; \
45622 $(STAMP) stage2-lean ; \
45623 fi; \
45624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
45626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
45628 .PHONY: all-stage4 clean-stage4
45629 do-clean: clean-stage4
45631 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45632 # only possibility, but now it conflicts with no-bootstrap rules
45633 @if gcc-bootstrap
45635 compare3:
45636 @r=`${PWD_COMMAND}`; export r; \
45637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45638 if test -f stage3-lean; then \
45639 echo Cannot compare object files as stage 3 was deleted. ; \
45640 exit 0 ; \
45641 fi; \
45642 : $(MAKE); $(stage); \
45643 rm -f .bad_compare ; \
45644 echo Comparing stages 3 and 4 ; \
45645 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
45646 files=`find stage4-* -name "*$(objext)" -print | \
45647 sed -n s,^stage$$sed-,,p` ; \
45648 for file in $${files} ; do \
45649 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
45650 if test ! -f $$f1; then continue; fi; \
45651 $(do-compare3) > /dev/null 2>&1; \
45652 if test $$? -eq 1; then \
45653 case $$file in \
45654 @compare_exclusions@) \
45655 echo warning: $$file differs ;; \
45656 *) \
45657 echo $$file differs >> .bad_compare ;; \
45658 esac ; \
45659 fi ; \
45660 done ; \
45661 if [ -f .bad_compare ]; then \
45662 echo "Bootstrap comparison failure!"; \
45663 cat .bad_compare; \
45664 exit 1; \
45665 else \
45666 echo Comparison successful.; \
45667 fi ; \
45668 $(STAMP) compare3
45669 if $(LEAN); then \
45670 rm -rf stage3-*; \
45671 $(STAMP) stage3-lean; \
45676 .PHONY: bootstrap4 bootstrap4-lean
45677 bootstrap4:
45678 echo stage4 > stage_final
45679 @r=`${PWD_COMMAND}`; export r; \
45680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45681 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
45682 @: $(MAKE); $(unstage)
45683 @r=`${PWD_COMMAND}`; export r; \
45684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45685 TFLAGS="$(STAGE4_TFLAGS)"; \
45686 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45688 bootstrap4-lean:
45689 echo stage4 > stage_final
45690 @r=`${PWD_COMMAND}`; export r; \
45691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45692 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
45693 @: $(MAKE); $(unstage)
45694 @r=`${PWD_COMMAND}`; export r; \
45695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45696 TFLAGS="$(STAGE4_TFLAGS)"; \
45697 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45700 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45701 distclean-stage3:: distclean-stage4
45702 .PHONY: distclean-stage4
45703 distclean-stage4::
45704 @: $(MAKE); $(stage)
45705 @test "`cat stage_last`" != stage4 || rm -f stage_last
45706 rm -rf stage4-* compare3
45709 @endif gcc-bootstrap
45712 .PHONY: stageprofile-start stageprofile-end
45714 stageprofile-start::
45715 @: $(MAKE); $(stage); \
45716 echo stageprofile > stage_current ; \
45717 echo stageprofile > stage_last; \
45718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45719 @if bfd
45720 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
45721 mkdir stageprofile-bfd; \
45722 mv stageprofile-bfd bfd ; \
45723 mv stage1-bfd prev-bfd || test -f stage1-lean
45724 @endif bfd
45725 @if opcodes
45726 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
45727 mkdir stageprofile-opcodes; \
45728 mv stageprofile-opcodes opcodes ; \
45729 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45730 @endif opcodes
45731 @if binutils
45732 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
45733 mkdir stageprofile-binutils; \
45734 mv stageprofile-binutils binutils ; \
45735 mv stage1-binutils prev-binutils || test -f stage1-lean
45736 @endif binutils
45737 @if gas
45738 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
45739 mkdir stageprofile-gas; \
45740 mv stageprofile-gas gas ; \
45741 mv stage1-gas prev-gas || test -f stage1-lean
45742 @endif gas
45743 @if gcc
45744 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
45745 mkdir stageprofile-gcc; \
45746 mv stageprofile-gcc gcc ; \
45747 mv stage1-gcc prev-gcc || test -f stage1-lean
45748 @endif gcc
45749 @if gmp
45750 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
45751 mkdir stageprofile-gmp; \
45752 mv stageprofile-gmp gmp ; \
45753 mv stage1-gmp prev-gmp || test -f stage1-lean
45754 @endif gmp
45755 @if mpfr
45756 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
45757 mkdir stageprofile-mpfr; \
45758 mv stageprofile-mpfr mpfr ; \
45759 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45760 @endif mpfr
45761 @if mpc
45762 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
45763 mkdir stageprofile-mpc; \
45764 mv stageprofile-mpc mpc ; \
45765 mv stage1-mpc prev-mpc || test -f stage1-lean
45766 @endif mpc
45767 @if isl
45768 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
45769 mkdir stageprofile-isl; \
45770 mv stageprofile-isl isl ; \
45771 mv stage1-isl prev-isl || test -f stage1-lean
45772 @endif isl
45773 @if cloog
45774 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
45775 mkdir stageprofile-cloog; \
45776 mv stageprofile-cloog cloog ; \
45777 mv stage1-cloog prev-cloog || test -f stage1-lean
45778 @endif cloog
45779 @if libelf
45780 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
45781 mkdir stageprofile-libelf; \
45782 mv stageprofile-libelf libelf ; \
45783 mv stage1-libelf prev-libelf || test -f stage1-lean
45784 @endif libelf
45785 @if gold
45786 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
45787 mkdir stageprofile-gold; \
45788 mv stageprofile-gold gold ; \
45789 mv stage1-gold prev-gold || test -f stage1-lean
45790 @endif gold
45791 @if intl
45792 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
45793 mkdir stageprofile-intl; \
45794 mv stageprofile-intl intl ; \
45795 mv stage1-intl prev-intl || test -f stage1-lean
45796 @endif intl
45797 @if ld
45798 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
45799 mkdir stageprofile-ld; \
45800 mv stageprofile-ld ld ; \
45801 mv stage1-ld prev-ld || test -f stage1-lean
45802 @endif ld
45803 @if libbacktrace
45804 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
45805 mkdir stageprofile-libbacktrace; \
45806 mv stageprofile-libbacktrace libbacktrace ; \
45807 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
45808 @endif libbacktrace
45809 @if libcpp
45810 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
45811 mkdir stageprofile-libcpp; \
45812 mv stageprofile-libcpp libcpp ; \
45813 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45814 @endif libcpp
45815 @if libdecnumber
45816 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
45817 mkdir stageprofile-libdecnumber; \
45818 mv stageprofile-libdecnumber libdecnumber ; \
45819 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45820 @endif libdecnumber
45821 @if libiberty
45822 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
45823 mkdir stageprofile-libiberty; \
45824 mv stageprofile-libiberty libiberty ; \
45825 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45826 @endif libiberty
45827 @if zlib
45828 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
45829 mkdir stageprofile-zlib; \
45830 mv stageprofile-zlib zlib ; \
45831 mv stage1-zlib prev-zlib || test -f stage1-lean
45832 @endif zlib
45833 @if lto-plugin
45834 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
45835 mkdir stageprofile-lto-plugin; \
45836 mv stageprofile-lto-plugin lto-plugin ; \
45837 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
45838 @endif lto-plugin
45839 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
45840 mkdir stageprofile-$(TARGET_SUBDIR); \
45841 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45842 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45844 stageprofile-end::
45845 @if bfd
45846 @if test -d $(HOST_SUBDIR)/bfd ; then \
45847 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
45848 mv prev-bfd stage1-bfd ; : ; \
45850 @endif bfd
45851 @if opcodes
45852 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45853 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
45854 mv prev-opcodes stage1-opcodes ; : ; \
45856 @endif opcodes
45857 @if binutils
45858 @if test -d $(HOST_SUBDIR)/binutils ; then \
45859 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
45860 mv prev-binutils stage1-binutils ; : ; \
45862 @endif binutils
45863 @if gas
45864 @if test -d $(HOST_SUBDIR)/gas ; then \
45865 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
45866 mv prev-gas stage1-gas ; : ; \
45868 @endif gas
45869 @if gcc
45870 @if test -d $(HOST_SUBDIR)/gcc ; then \
45871 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
45872 mv prev-gcc stage1-gcc ; : ; \
45874 @endif gcc
45875 @if gmp
45876 @if test -d $(HOST_SUBDIR)/gmp ; then \
45877 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
45878 mv prev-gmp stage1-gmp ; : ; \
45880 @endif gmp
45881 @if mpfr
45882 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45883 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
45884 mv prev-mpfr stage1-mpfr ; : ; \
45886 @endif mpfr
45887 @if mpc
45888 @if test -d $(HOST_SUBDIR)/mpc ; then \
45889 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
45890 mv prev-mpc stage1-mpc ; : ; \
45892 @endif mpc
45893 @if isl
45894 @if test -d $(HOST_SUBDIR)/isl ; then \
45895 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
45896 mv prev-isl stage1-isl ; : ; \
45898 @endif isl
45899 @if cloog
45900 @if test -d $(HOST_SUBDIR)/cloog ; then \
45901 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
45902 mv prev-cloog stage1-cloog ; : ; \
45904 @endif cloog
45905 @if libelf
45906 @if test -d $(HOST_SUBDIR)/libelf ; then \
45907 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
45908 mv prev-libelf stage1-libelf ; : ; \
45910 @endif libelf
45911 @if gold
45912 @if test -d $(HOST_SUBDIR)/gold ; then \
45913 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
45914 mv prev-gold stage1-gold ; : ; \
45916 @endif gold
45917 @if intl
45918 @if test -d $(HOST_SUBDIR)/intl ; then \
45919 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
45920 mv prev-intl stage1-intl ; : ; \
45922 @endif intl
45923 @if ld
45924 @if test -d $(HOST_SUBDIR)/ld ; then \
45925 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
45926 mv prev-ld stage1-ld ; : ; \
45928 @endif ld
45929 @if libbacktrace
45930 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45931 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
45932 mv prev-libbacktrace stage1-libbacktrace ; : ; \
45934 @endif libbacktrace
45935 @if libcpp
45936 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45937 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
45938 mv prev-libcpp stage1-libcpp ; : ; \
45940 @endif libcpp
45941 @if libdecnumber
45942 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45943 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
45944 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45946 @endif libdecnumber
45947 @if libiberty
45948 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45949 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
45950 mv prev-libiberty stage1-libiberty ; : ; \
45952 @endif libiberty
45953 @if zlib
45954 @if test -d $(HOST_SUBDIR)/zlib ; then \
45955 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
45956 mv prev-zlib stage1-zlib ; : ; \
45958 @endif zlib
45959 @if lto-plugin
45960 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45961 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
45962 mv prev-lto-plugin stage1-lto-plugin ; : ; \
45964 @endif lto-plugin
45965 @if test -d $(TARGET_SUBDIR) ; then \
45966 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
45967 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45969 rm -f stage_current
45971 # Bubble a bug fix through all the stages up to stage profile. They are
45972 # remade, but not reconfigured. The next stage (if any) will not be
45973 # reconfigured either.
45974 .PHONY: stageprofile-bubble
45975 stageprofile-bubble:: stage1-bubble
45976 @r=`${PWD_COMMAND}`; export r; \
45977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45978 if test -f stageprofile-lean || test -f stage1-lean ; then \
45979 echo Skipping rebuild of stageprofile ; \
45980 else \
45981 $(MAKE) stageprofile-start; \
45982 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45985 .PHONY: all-stageprofile clean-stageprofile
45986 do-clean: clean-stageprofile
45988 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45989 # only possibility, but now it conflicts with no-bootstrap rules
45990 @if gcc-bootstrap
45995 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45996 distclean-stage1:: distclean-stageprofile
45997 .PHONY: distclean-stageprofile
45998 distclean-stageprofile::
45999 @: $(MAKE); $(stage)
46000 @test "`cat stage_last`" != stageprofile || rm -f stage_last
46001 rm -rf stageprofile-*
46004 @endif gcc-bootstrap
46007 .PHONY: stagefeedback-start stagefeedback-end
46009 stagefeedback-start::
46010 @: $(MAKE); $(stage); \
46011 echo stagefeedback > stage_current ; \
46012 echo stagefeedback > stage_last; \
46013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46014 @if bfd
46015 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
46016 mkdir stagefeedback-bfd; \
46017 mv stagefeedback-bfd bfd ; \
46018 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
46019 @endif bfd
46020 @if opcodes
46021 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
46022 mkdir stagefeedback-opcodes; \
46023 mv stagefeedback-opcodes opcodes ; \
46024 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
46025 @endif opcodes
46026 @if binutils
46027 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
46028 mkdir stagefeedback-binutils; \
46029 mv stagefeedback-binutils binutils ; \
46030 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
46031 @endif binutils
46032 @if gas
46033 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
46034 mkdir stagefeedback-gas; \
46035 mv stagefeedback-gas gas ; \
46036 mv stageprofile-gas prev-gas || test -f stageprofile-lean
46037 @endif gas
46038 @if gcc
46039 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
46040 mkdir stagefeedback-gcc; \
46041 mv stagefeedback-gcc gcc ; \
46042 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
46043 @endif gcc
46044 @if gmp
46045 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
46046 mkdir stagefeedback-gmp; \
46047 mv stagefeedback-gmp gmp ; \
46048 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
46049 @endif gmp
46050 @if mpfr
46051 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
46052 mkdir stagefeedback-mpfr; \
46053 mv stagefeedback-mpfr mpfr ; \
46054 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
46055 @endif mpfr
46056 @if mpc
46057 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
46058 mkdir stagefeedback-mpc; \
46059 mv stagefeedback-mpc mpc ; \
46060 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
46061 @endif mpc
46062 @if isl
46063 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
46064 mkdir stagefeedback-isl; \
46065 mv stagefeedback-isl isl ; \
46066 mv stageprofile-isl prev-isl || test -f stageprofile-lean
46067 @endif isl
46068 @if cloog
46069 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
46070 mkdir stagefeedback-cloog; \
46071 mv stagefeedback-cloog cloog ; \
46072 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
46073 @endif cloog
46074 @if libelf
46075 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
46076 mkdir stagefeedback-libelf; \
46077 mv stagefeedback-libelf libelf ; \
46078 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
46079 @endif libelf
46080 @if gold
46081 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
46082 mkdir stagefeedback-gold; \
46083 mv stagefeedback-gold gold ; \
46084 mv stageprofile-gold prev-gold || test -f stageprofile-lean
46085 @endif gold
46086 @if intl
46087 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
46088 mkdir stagefeedback-intl; \
46089 mv stagefeedback-intl intl ; \
46090 mv stageprofile-intl prev-intl || test -f stageprofile-lean
46091 @endif intl
46092 @if ld
46093 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
46094 mkdir stagefeedback-ld; \
46095 mv stagefeedback-ld ld ; \
46096 mv stageprofile-ld prev-ld || test -f stageprofile-lean
46097 @endif ld
46098 @if libbacktrace
46099 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
46100 mkdir stagefeedback-libbacktrace; \
46101 mv stagefeedback-libbacktrace libbacktrace ; \
46102 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
46103 @endif libbacktrace
46104 @if libcpp
46105 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
46106 mkdir stagefeedback-libcpp; \
46107 mv stagefeedback-libcpp libcpp ; \
46108 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
46109 @endif libcpp
46110 @if libdecnumber
46111 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
46112 mkdir stagefeedback-libdecnumber; \
46113 mv stagefeedback-libdecnumber libdecnumber ; \
46114 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
46115 @endif libdecnumber
46116 @if libiberty
46117 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
46118 mkdir stagefeedback-libiberty; \
46119 mv stagefeedback-libiberty libiberty ; \
46120 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
46121 @endif libiberty
46122 @if zlib
46123 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
46124 mkdir stagefeedback-zlib; \
46125 mv stagefeedback-zlib zlib ; \
46126 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
46127 @endif zlib
46128 @if lto-plugin
46129 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
46130 mkdir stagefeedback-lto-plugin; \
46131 mv stagefeedback-lto-plugin lto-plugin ; \
46132 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
46133 @endif lto-plugin
46134 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
46135 mkdir stagefeedback-$(TARGET_SUBDIR); \
46136 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46137 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
46139 stagefeedback-end::
46140 @if bfd
46141 @if test -d $(HOST_SUBDIR)/bfd ; then \
46142 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
46143 mv prev-bfd stageprofile-bfd ; : ; \
46145 @endif bfd
46146 @if opcodes
46147 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46148 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
46149 mv prev-opcodes stageprofile-opcodes ; : ; \
46151 @endif opcodes
46152 @if binutils
46153 @if test -d $(HOST_SUBDIR)/binutils ; then \
46154 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
46155 mv prev-binutils stageprofile-binutils ; : ; \
46157 @endif binutils
46158 @if gas
46159 @if test -d $(HOST_SUBDIR)/gas ; then \
46160 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
46161 mv prev-gas stageprofile-gas ; : ; \
46163 @endif gas
46164 @if gcc
46165 @if test -d $(HOST_SUBDIR)/gcc ; then \
46166 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
46167 mv prev-gcc stageprofile-gcc ; : ; \
46169 @endif gcc
46170 @if gmp
46171 @if test -d $(HOST_SUBDIR)/gmp ; then \
46172 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
46173 mv prev-gmp stageprofile-gmp ; : ; \
46175 @endif gmp
46176 @if mpfr
46177 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46178 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
46179 mv prev-mpfr stageprofile-mpfr ; : ; \
46181 @endif mpfr
46182 @if mpc
46183 @if test -d $(HOST_SUBDIR)/mpc ; then \
46184 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
46185 mv prev-mpc stageprofile-mpc ; : ; \
46187 @endif mpc
46188 @if isl
46189 @if test -d $(HOST_SUBDIR)/isl ; then \
46190 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
46191 mv prev-isl stageprofile-isl ; : ; \
46193 @endif isl
46194 @if cloog
46195 @if test -d $(HOST_SUBDIR)/cloog ; then \
46196 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
46197 mv prev-cloog stageprofile-cloog ; : ; \
46199 @endif cloog
46200 @if libelf
46201 @if test -d $(HOST_SUBDIR)/libelf ; then \
46202 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
46203 mv prev-libelf stageprofile-libelf ; : ; \
46205 @endif libelf
46206 @if gold
46207 @if test -d $(HOST_SUBDIR)/gold ; then \
46208 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
46209 mv prev-gold stageprofile-gold ; : ; \
46211 @endif gold
46212 @if intl
46213 @if test -d $(HOST_SUBDIR)/intl ; then \
46214 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
46215 mv prev-intl stageprofile-intl ; : ; \
46217 @endif intl
46218 @if ld
46219 @if test -d $(HOST_SUBDIR)/ld ; then \
46220 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
46221 mv prev-ld stageprofile-ld ; : ; \
46223 @endif ld
46224 @if libbacktrace
46225 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46226 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
46227 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
46229 @endif libbacktrace
46230 @if libcpp
46231 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46232 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
46233 mv prev-libcpp stageprofile-libcpp ; : ; \
46235 @endif libcpp
46236 @if libdecnumber
46237 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46238 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
46239 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
46241 @endif libdecnumber
46242 @if libiberty
46243 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46244 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
46245 mv prev-libiberty stageprofile-libiberty ; : ; \
46247 @endif libiberty
46248 @if zlib
46249 @if test -d $(HOST_SUBDIR)/zlib ; then \
46250 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
46251 mv prev-zlib stageprofile-zlib ; : ; \
46253 @endif zlib
46254 @if lto-plugin
46255 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46256 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
46257 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
46259 @endif lto-plugin
46260 @if test -d $(TARGET_SUBDIR) ; then \
46261 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
46262 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
46264 rm -f stage_current
46266 # Bubble a bug fix through all the stages up to stage feedback. They are
46267 # remade, but not reconfigured. The next stage (if any) will not be
46268 # reconfigured either.
46269 .PHONY: stagefeedback-bubble
46270 stagefeedback-bubble:: stageprofile-bubble
46271 @r=`${PWD_COMMAND}`; export r; \
46272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46273 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
46274 echo Skipping rebuild of stagefeedback ; \
46275 else \
46276 $(MAKE) stagefeedback-start; \
46277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
46280 .PHONY: all-stagefeedback clean-stagefeedback
46281 do-clean: clean-stagefeedback
46283 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46284 # only possibility, but now it conflicts with no-bootstrap rules
46285 @if gcc-bootstrap
46289 .PHONY: profiledbootstrap profiledbootstrap-lean
46290 profiledbootstrap:
46291 echo stagefeedback > stage_final
46292 @r=`${PWD_COMMAND}`; export r; \
46293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46294 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
46295 @: $(MAKE); $(unstage)
46296 @r=`${PWD_COMMAND}`; export r; \
46297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46298 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46299 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46301 profiledbootstrap-lean:
46302 echo stagefeedback > stage_final
46303 @r=`${PWD_COMMAND}`; export r; \
46304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46305 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
46306 @: $(MAKE); $(unstage)
46307 @r=`${PWD_COMMAND}`; export r; \
46308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46309 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46310 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46313 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46314 distclean-stageprofile:: distclean-stagefeedback
46315 .PHONY: distclean-stagefeedback
46316 distclean-stagefeedback::
46317 @: $(MAKE); $(stage)
46318 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
46319 rm -rf stagefeedback-*
46322 @endif gcc-bootstrap
46326 stageprofile-end::
46327 $(MAKE) distclean-stagefeedback
46329 stagefeedback-start::
46330 @r=`${PWD_COMMAND}`; export r; \
46331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46332 for i in prev-*; do \
46333 j=`echo $$i | sed s/^prev-//` ; \
46334 cd $$r/$$i && \
46335 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
46336 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
46337 done
46339 @if gcc-bootstrap
46340 do-distclean: distclean-stage1
46342 # Provide a GCC build when we're building target libraries. This does
46343 # not work as a dependency, just as the minimum necessary to avoid errors.
46344 stage_last:
46345 @r=`${PWD_COMMAND}`; export r; \
46346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46347 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
46349 # Same as unstage, but not phony and defaulting to stage1-start. We place
46350 # it in the dependency so that for example `make -j3 all-gcc' works.
46351 stage_current:
46352 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
46354 .PHONY: restrap
46355 restrap::
46356 @: $(MAKE); $(stage)
46357 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
46358 restrap:: all
46359 @endif gcc-bootstrap
46361 # --------------------------------------
46362 # Dependencies between different modules
46363 # --------------------------------------
46365 # Generic dependencies for target modules on host stuff, especially gcc
46366 @if gcc-bootstrap
46367 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
46368 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
46369 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
46370 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
46371 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
46372 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
46373 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
46374 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
46375 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
46376 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
46377 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
46378 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
46379 configure-stage1-target-libvtv: maybe-all-stage1-gcc
46380 configure-stage2-target-libvtv: maybe-all-stage2-gcc
46381 configure-stage3-target-libvtv: maybe-all-stage3-gcc
46382 configure-stage4-target-libvtv: maybe-all-stage4-gcc
46383 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
46384 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
46385 configure-target-libcilkrts: stage_last
46386 configure-target-libssp: stage_last
46387 configure-target-newlib: stage_last
46388 configure-stage1-target-libgcc: maybe-all-stage1-gcc
46389 configure-stage2-target-libgcc: maybe-all-stage2-gcc
46390 configure-stage3-target-libgcc: maybe-all-stage3-gcc
46391 configure-stage4-target-libgcc: maybe-all-stage4-gcc
46392 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
46393 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
46394 configure-target-libbacktrace: stage_last
46395 configure-target-libquadmath: stage_last
46396 configure-target-libgfortran: stage_last
46397 configure-target-libobjc: stage_last
46398 configure-target-libgo: stage_last
46399 configure-target-libtermcap: stage_last
46400 configure-target-winsup: stage_last
46401 configure-target-libgloss: stage_last
46402 configure-target-libffi: stage_last
46403 configure-target-libjava: stage_last
46404 configure-target-zlib: stage_last
46405 configure-target-boehm-gc: stage_last
46406 configure-target-rda: stage_last
46407 configure-target-libada: stage_last
46408 configure-stage1-target-libgomp: maybe-all-stage1-gcc
46409 configure-stage2-target-libgomp: maybe-all-stage2-gcc
46410 configure-stage3-target-libgomp: maybe-all-stage3-gcc
46411 configure-stage4-target-libgomp: maybe-all-stage4-gcc
46412 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
46413 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
46414 configure-target-libitm: stage_last
46415 configure-target-libatomic: stage_last
46416 @endif gcc-bootstrap
46418 @if gcc-no-bootstrap
46419 configure-target-libstdc++-v3: maybe-all-gcc
46420 configure-target-libsanitizer: maybe-all-gcc
46421 configure-target-libvtv: maybe-all-gcc
46422 configure-target-libcilkrts: maybe-all-gcc
46423 configure-target-libssp: maybe-all-gcc
46424 configure-target-newlib: maybe-all-gcc
46425 configure-target-libgcc: maybe-all-gcc
46426 configure-target-libbacktrace: maybe-all-gcc
46427 configure-target-libquadmath: maybe-all-gcc
46428 configure-target-libgfortran: maybe-all-gcc
46429 configure-target-libobjc: maybe-all-gcc
46430 configure-target-libgo: maybe-all-gcc
46431 configure-target-libtermcap: maybe-all-gcc
46432 configure-target-winsup: maybe-all-gcc
46433 configure-target-libgloss: maybe-all-gcc
46434 configure-target-libffi: maybe-all-gcc
46435 configure-target-libjava: maybe-all-gcc
46436 configure-target-zlib: maybe-all-gcc
46437 configure-target-boehm-gc: maybe-all-gcc
46438 configure-target-rda: maybe-all-gcc
46439 configure-target-libada: maybe-all-gcc
46440 configure-target-libgomp: maybe-all-gcc
46441 configure-target-libitm: maybe-all-gcc
46442 configure-target-libatomic: maybe-all-gcc
46443 @endif gcc-no-bootstrap
46446 # There are two types of dependencies here: 'hard' dependencies, where one
46447 # module simply won't build without the other; and 'soft' dependencies, where
46448 # if the depended-on module is missing, the depending module will do without
46449 # or find a substitute somewhere (perhaps installed). Soft dependencies
46450 # are made here to depend on a 'maybe-' target. If you're not sure,
46451 # it's safer to use a soft dependency.
46458 # With all the machinery above in place, it is pretty easy to generate
46459 # dependencies. Host dependencies are a bit more complex because we have
46460 # to check for bootstrap/prebootstrap dependencies. To resolve
46461 # prebootstrap dependencies, prebootstrap modules are gathered in
46462 # a hash table.
46463 all-build-bison: maybe-all-build-texinfo
46464 all-build-flex: maybe-all-build-texinfo
46465 all-build-flex: maybe-all-build-bison
46466 all-build-flex: maybe-all-build-m4
46467 all-build-libiberty: maybe-all-build-texinfo
46468 all-build-m4: maybe-all-build-texinfo
46469 all-build-fixincludes: maybe-all-build-libiberty
46470 configure-gcc: maybe-configure-intl
46472 configure-stage1-gcc: maybe-configure-stage1-intl
46473 configure-stage2-gcc: maybe-configure-stage2-intl
46474 configure-stage3-gcc: maybe-configure-stage3-intl
46475 configure-stage4-gcc: maybe-configure-stage4-intl
46476 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
46477 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
46478 configure-gcc: maybe-all-gmp
46480 configure-stage1-gcc: maybe-all-stage1-gmp
46481 configure-stage2-gcc: maybe-all-stage2-gmp
46482 configure-stage3-gcc: maybe-all-stage3-gmp
46483 configure-stage4-gcc: maybe-all-stage4-gmp
46484 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
46485 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
46486 configure-gcc: maybe-all-lto-plugin
46488 configure-stage1-gcc: maybe-all-stage1-lto-plugin
46489 configure-stage2-gcc: maybe-all-stage2-lto-plugin
46490 configure-stage3-gcc: maybe-all-stage3-lto-plugin
46491 configure-stage4-gcc: maybe-all-stage4-lto-plugin
46492 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46493 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46494 configure-gcc: maybe-all-binutils
46496 configure-stage1-gcc: maybe-all-stage1-binutils
46497 configure-stage2-gcc: maybe-all-stage2-binutils
46498 configure-stage3-gcc: maybe-all-stage3-binutils
46499 configure-stage4-gcc: maybe-all-stage4-binutils
46500 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
46501 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
46502 configure-gcc: maybe-all-gas
46504 configure-stage1-gcc: maybe-all-stage1-gas
46505 configure-stage2-gcc: maybe-all-stage2-gas
46506 configure-stage3-gcc: maybe-all-stage3-gas
46507 configure-stage4-gcc: maybe-all-stage4-gas
46508 configure-stageprofile-gcc: maybe-all-stageprofile-gas
46509 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
46510 configure-gcc: maybe-all-ld
46512 configure-stage1-gcc: maybe-all-stage1-ld
46513 configure-stage2-gcc: maybe-all-stage2-ld
46514 configure-stage3-gcc: maybe-all-stage3-ld
46515 configure-stage4-gcc: maybe-all-stage4-ld
46516 configure-stageprofile-gcc: maybe-all-stageprofile-ld
46517 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
46518 configure-gcc: maybe-all-gold
46520 configure-stage1-gcc: maybe-all-stage1-gold
46521 configure-stage2-gcc: maybe-all-stage2-gold
46522 configure-stage3-gcc: maybe-all-stage3-gold
46523 configure-stage4-gcc: maybe-all-stage4-gold
46524 configure-stageprofile-gcc: maybe-all-stageprofile-gold
46525 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
46526 configure-gcc: maybe-all-libelf
46528 configure-stage1-gcc: maybe-all-stage1-libelf
46529 configure-stage2-gcc: maybe-all-stage2-libelf
46530 configure-stage3-gcc: maybe-all-stage3-libelf
46531 configure-stage4-gcc: maybe-all-stage4-libelf
46532 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
46533 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
46534 all-gcc: all-libiberty
46536 all-stage1-gcc: all-stage1-libiberty
46537 all-stage2-gcc: all-stage2-libiberty
46538 all-stage3-gcc: all-stage3-libiberty
46539 all-stage4-gcc: all-stage4-libiberty
46540 all-stageprofile-gcc: all-stageprofile-libiberty
46541 all-stagefeedback-gcc: all-stagefeedback-libiberty
46542 all-gcc: maybe-all-intl
46544 all-stage1-gcc: maybe-all-stage1-intl
46545 all-stage2-gcc: maybe-all-stage2-intl
46546 all-stage3-gcc: maybe-all-stage3-intl
46547 all-stage4-gcc: maybe-all-stage4-intl
46548 all-stageprofile-gcc: maybe-all-stageprofile-intl
46549 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
46550 all-gcc: maybe-all-mpfr
46552 all-stage1-gcc: maybe-all-stage1-mpfr
46553 all-stage2-gcc: maybe-all-stage2-mpfr
46554 all-stage3-gcc: maybe-all-stage3-mpfr
46555 all-stage4-gcc: maybe-all-stage4-mpfr
46556 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
46557 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
46558 all-gcc: maybe-all-mpc
46560 all-stage1-gcc: maybe-all-stage1-mpc
46561 all-stage2-gcc: maybe-all-stage2-mpc
46562 all-stage3-gcc: maybe-all-stage3-mpc
46563 all-stage4-gcc: maybe-all-stage4-mpc
46564 all-stageprofile-gcc: maybe-all-stageprofile-mpc
46565 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
46566 all-gcc: maybe-all-cloog
46568 all-stage1-gcc: maybe-all-stage1-cloog
46569 all-stage2-gcc: maybe-all-stage2-cloog
46570 all-stage3-gcc: maybe-all-stage3-cloog
46571 all-stage4-gcc: maybe-all-stage4-cloog
46572 all-stageprofile-gcc: maybe-all-stageprofile-cloog
46573 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
46574 all-gcc: maybe-all-build-texinfo
46576 all-stage1-gcc: maybe-all-build-texinfo
46577 all-stage2-gcc: maybe-all-build-texinfo
46578 all-stage3-gcc: maybe-all-build-texinfo
46579 all-stage4-gcc: maybe-all-build-texinfo
46580 all-stageprofile-gcc: maybe-all-build-texinfo
46581 all-stagefeedback-gcc: maybe-all-build-texinfo
46582 all-gcc: maybe-all-build-bison
46584 all-stage1-gcc: maybe-all-build-bison
46585 all-stage2-gcc: maybe-all-build-bison
46586 all-stage3-gcc: maybe-all-build-bison
46587 all-stage4-gcc: maybe-all-build-bison
46588 all-stageprofile-gcc: maybe-all-build-bison
46589 all-stagefeedback-gcc: maybe-all-build-bison
46590 all-gcc: maybe-all-build-flex
46592 all-stage1-gcc: maybe-all-build-flex
46593 all-stage2-gcc: maybe-all-build-flex
46594 all-stage3-gcc: maybe-all-build-flex
46595 all-stage4-gcc: maybe-all-build-flex
46596 all-stageprofile-gcc: maybe-all-build-flex
46597 all-stagefeedback-gcc: maybe-all-build-flex
46598 all-gcc: maybe-all-build-libiberty
46600 all-stage1-gcc: maybe-all-build-libiberty
46601 all-stage2-gcc: maybe-all-build-libiberty
46602 all-stage3-gcc: maybe-all-build-libiberty
46603 all-stage4-gcc: maybe-all-build-libiberty
46604 all-stageprofile-gcc: maybe-all-build-libiberty
46605 all-stagefeedback-gcc: maybe-all-build-libiberty
46606 all-gcc: maybe-all-build-fixincludes
46608 all-stage1-gcc: maybe-all-build-fixincludes
46609 all-stage2-gcc: maybe-all-build-fixincludes
46610 all-stage3-gcc: maybe-all-build-fixincludes
46611 all-stage4-gcc: maybe-all-build-fixincludes
46612 all-stageprofile-gcc: maybe-all-build-fixincludes
46613 all-stagefeedback-gcc: maybe-all-build-fixincludes
46614 all-gcc: maybe-all-zlib
46616 all-stage1-gcc: maybe-all-stage1-zlib
46617 all-stage2-gcc: maybe-all-stage2-zlib
46618 all-stage3-gcc: maybe-all-stage3-zlib
46619 all-stage4-gcc: maybe-all-stage4-zlib
46620 all-stageprofile-gcc: maybe-all-stageprofile-zlib
46621 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
46622 all-gcc: all-libbacktrace
46624 all-stage1-gcc: all-stage1-libbacktrace
46625 all-stage2-gcc: all-stage2-libbacktrace
46626 all-stage3-gcc: all-stage3-libbacktrace
46627 all-stage4-gcc: all-stage4-libbacktrace
46628 all-stageprofile-gcc: all-stageprofile-libbacktrace
46629 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
46630 all-gcc: all-libcpp
46632 all-stage1-gcc: all-stage1-libcpp
46633 all-stage2-gcc: all-stage2-libcpp
46634 all-stage3-gcc: all-stage3-libcpp
46635 all-stage4-gcc: all-stage4-libcpp
46636 all-stageprofile-gcc: all-stageprofile-libcpp
46637 all-stagefeedback-gcc: all-stagefeedback-libcpp
46638 all-gcc: all-libdecnumber
46640 all-stage1-gcc: all-stage1-libdecnumber
46641 all-stage2-gcc: all-stage2-libdecnumber
46642 all-stage3-gcc: all-stage3-libdecnumber
46643 all-stage4-gcc: all-stage4-libdecnumber
46644 all-stageprofile-gcc: all-stageprofile-libdecnumber
46645 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
46646 all-gcc: maybe-all-libiberty
46648 all-stage1-gcc: maybe-all-stage1-libiberty
46649 all-stage2-gcc: maybe-all-stage2-libiberty
46650 all-stage3-gcc: maybe-all-stage3-libiberty
46651 all-stage4-gcc: maybe-all-stage4-libiberty
46652 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
46653 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
46654 all-gcc: maybe-all-fixincludes
46655 all-gcc: maybe-all-lto-plugin
46657 all-stage1-gcc: maybe-all-stage1-lto-plugin
46658 all-stage2-gcc: maybe-all-stage2-lto-plugin
46659 all-stage3-gcc: maybe-all-stage3-lto-plugin
46660 all-stage4-gcc: maybe-all-stage4-lto-plugin
46661 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
46662 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
46663 info-gcc: maybe-all-build-libiberty
46665 info-stage1-gcc: maybe-all-build-libiberty
46666 info-stage2-gcc: maybe-all-build-libiberty
46667 info-stage3-gcc: maybe-all-build-libiberty
46668 info-stage4-gcc: maybe-all-build-libiberty
46669 info-stageprofile-gcc: maybe-all-build-libiberty
46670 info-stagefeedback-gcc: maybe-all-build-libiberty
46671 dvi-gcc: maybe-all-build-libiberty
46673 dvi-stage1-gcc: maybe-all-build-libiberty
46674 dvi-stage2-gcc: maybe-all-build-libiberty
46675 dvi-stage3-gcc: maybe-all-build-libiberty
46676 dvi-stage4-gcc: maybe-all-build-libiberty
46677 dvi-stageprofile-gcc: maybe-all-build-libiberty
46678 dvi-stagefeedback-gcc: maybe-all-build-libiberty
46679 pdf-gcc: maybe-all-build-libiberty
46681 pdf-stage1-gcc: maybe-all-build-libiberty
46682 pdf-stage2-gcc: maybe-all-build-libiberty
46683 pdf-stage3-gcc: maybe-all-build-libiberty
46684 pdf-stage4-gcc: maybe-all-build-libiberty
46685 pdf-stageprofile-gcc: maybe-all-build-libiberty
46686 pdf-stagefeedback-gcc: maybe-all-build-libiberty
46687 html-gcc: maybe-all-build-libiberty
46689 html-stage1-gcc: maybe-all-build-libiberty
46690 html-stage2-gcc: maybe-all-build-libiberty
46691 html-stage3-gcc: maybe-all-build-libiberty
46692 html-stage4-gcc: maybe-all-build-libiberty
46693 html-stageprofile-gcc: maybe-all-build-libiberty
46694 html-stagefeedback-gcc: maybe-all-build-libiberty
46695 install-gcc: maybe-install-fixincludes
46696 install-gcc: maybe-install-lto-plugin
46697 install-strip-gcc: maybe-install-strip-fixincludes
46698 install-strip-gcc: maybe-install-strip-lto-plugin
46699 configure-libcpp: configure-libiberty
46701 configure-stage1-libcpp: configure-stage1-libiberty
46702 configure-stage2-libcpp: configure-stage2-libiberty
46703 configure-stage3-libcpp: configure-stage3-libiberty
46704 configure-stage4-libcpp: configure-stage4-libiberty
46705 configure-stageprofile-libcpp: configure-stageprofile-libiberty
46706 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
46707 configure-libcpp: maybe-configure-intl
46709 configure-stage1-libcpp: maybe-configure-stage1-intl
46710 configure-stage2-libcpp: maybe-configure-stage2-intl
46711 configure-stage3-libcpp: maybe-configure-stage3-intl
46712 configure-stage4-libcpp: maybe-configure-stage4-intl
46713 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
46714 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
46715 all-libcpp: all-libiberty
46717 all-stage1-libcpp: all-stage1-libiberty
46718 all-stage2-libcpp: all-stage2-libiberty
46719 all-stage3-libcpp: all-stage3-libiberty
46720 all-stage4-libcpp: all-stage4-libiberty
46721 all-stageprofile-libcpp: all-stageprofile-libiberty
46722 all-stagefeedback-libcpp: all-stagefeedback-libiberty
46723 all-libcpp: maybe-all-intl
46725 all-stage1-libcpp: maybe-all-stage1-intl
46726 all-stage2-libcpp: maybe-all-stage2-intl
46727 all-stage3-libcpp: maybe-all-stage3-intl
46728 all-stage4-libcpp: maybe-all-stage4-intl
46729 all-stageprofile-libcpp: maybe-all-stageprofile-intl
46730 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
46731 all-fixincludes: maybe-all-libiberty
46732 all-gnattools: maybe-all-target-libada
46733 all-lto-plugin: maybe-all-libiberty
46735 all-stage1-lto-plugin: maybe-all-stage1-libiberty
46736 all-stage2-lto-plugin: maybe-all-stage2-libiberty
46737 all-stage3-lto-plugin: maybe-all-stage3-libiberty
46738 all-stage4-lto-plugin: maybe-all-stage4-libiberty
46739 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
46740 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
46741 all-utils: maybe-all-libiberty
46742 configure-mpfr: maybe-all-gmp
46744 configure-stage1-mpfr: maybe-all-stage1-gmp
46745 configure-stage2-mpfr: maybe-all-stage2-gmp
46746 configure-stage3-mpfr: maybe-all-stage3-gmp
46747 configure-stage4-mpfr: maybe-all-stage4-gmp
46748 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
46749 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
46750 configure-mpc: maybe-all-mpfr
46752 configure-stage1-mpc: maybe-all-stage1-mpfr
46753 configure-stage2-mpc: maybe-all-stage2-mpfr
46754 configure-stage3-mpc: maybe-all-stage3-mpfr
46755 configure-stage4-mpc: maybe-all-stage4-mpfr
46756 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
46757 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
46758 configure-isl: maybe-all-gmp
46760 configure-stage1-isl: maybe-all-stage1-gmp
46761 configure-stage2-isl: maybe-all-stage2-gmp
46762 configure-stage3-isl: maybe-all-stage3-gmp
46763 configure-stage4-isl: maybe-all-stage4-gmp
46764 configure-stageprofile-isl: maybe-all-stageprofile-gmp
46765 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
46766 configure-cloog: maybe-all-isl
46768 configure-stage1-cloog: maybe-all-stage1-isl
46769 configure-stage2-cloog: maybe-all-stage2-isl
46770 configure-stage3-cloog: maybe-all-stage3-isl
46771 configure-stage4-cloog: maybe-all-stage4-isl
46772 configure-stageprofile-cloog: maybe-all-stageprofile-isl
46773 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
46774 configure-cloog: maybe-all-gmp
46776 configure-stage1-cloog: maybe-all-stage1-gmp
46777 configure-stage2-cloog: maybe-all-stage2-gmp
46778 configure-stage3-cloog: maybe-all-stage3-gmp
46779 configure-stage4-cloog: maybe-all-stage4-gmp
46780 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
46781 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
46782 configure-gdb: maybe-all-intl
46783 configure-gdb: maybe-configure-sim
46784 configure-gdb: maybe-all-bfd
46785 configure-gdb: maybe-all-libiconv
46786 all-gdb: maybe-all-libiberty
46787 all-gdb: maybe-all-libiconv
46788 all-gdb: maybe-all-opcodes
46789 all-gdb: maybe-all-readline
46790 all-gdb: maybe-all-build-bison
46791 all-gdb: maybe-all-sim
46792 all-gdb: maybe-all-libdecnumber
46793 all-gdb: maybe-all-libtermcap
46794 configure-libgui: maybe-configure-tcl
46795 configure-libgui: maybe-configure-tk
46796 all-libgui: maybe-all-tcl
46797 all-libgui: maybe-all-tk
46798 all-libgui: maybe-all-itcl
46799 configure-bfd: configure-libiberty
46801 configure-stage1-bfd: configure-stage1-libiberty
46802 configure-stage2-bfd: configure-stage2-libiberty
46803 configure-stage3-bfd: configure-stage3-libiberty
46804 configure-stage4-bfd: configure-stage4-libiberty
46805 configure-stageprofile-bfd: configure-stageprofile-libiberty
46806 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
46807 configure-bfd: maybe-configure-intl
46809 configure-stage1-bfd: maybe-configure-stage1-intl
46810 configure-stage2-bfd: maybe-configure-stage2-intl
46811 configure-stage3-bfd: maybe-configure-stage3-intl
46812 configure-stage4-bfd: maybe-configure-stage4-intl
46813 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
46814 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
46815 all-bfd: maybe-all-libiberty
46817 all-stage1-bfd: maybe-all-stage1-libiberty
46818 all-stage2-bfd: maybe-all-stage2-libiberty
46819 all-stage3-bfd: maybe-all-stage3-libiberty
46820 all-stage4-bfd: maybe-all-stage4-libiberty
46821 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
46822 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
46823 all-bfd: maybe-all-intl
46825 all-stage1-bfd: maybe-all-stage1-intl
46826 all-stage2-bfd: maybe-all-stage2-intl
46827 all-stage3-bfd: maybe-all-stage3-intl
46828 all-stage4-bfd: maybe-all-stage4-intl
46829 all-stageprofile-bfd: maybe-all-stageprofile-intl
46830 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
46831 configure-opcodes: configure-libiberty
46833 configure-stage1-opcodes: configure-stage1-libiberty
46834 configure-stage2-opcodes: configure-stage2-libiberty
46835 configure-stage3-opcodes: configure-stage3-libiberty
46836 configure-stage4-opcodes: configure-stage4-libiberty
46837 configure-stageprofile-opcodes: configure-stageprofile-libiberty
46838 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
46839 all-opcodes: maybe-all-libiberty
46841 all-stage1-opcodes: maybe-all-stage1-libiberty
46842 all-stage2-opcodes: maybe-all-stage2-libiberty
46843 all-stage3-opcodes: maybe-all-stage3-libiberty
46844 all-stage4-opcodes: maybe-all-stage4-libiberty
46845 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46846 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46847 configure-binutils: maybe-configure-intl
46849 configure-stage1-binutils: maybe-configure-stage1-intl
46850 configure-stage2-binutils: maybe-configure-stage2-intl
46851 configure-stage3-binutils: maybe-configure-stage3-intl
46852 configure-stage4-binutils: maybe-configure-stage4-intl
46853 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
46854 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
46855 all-binutils: maybe-all-libiberty
46857 all-stage1-binutils: maybe-all-stage1-libiberty
46858 all-stage2-binutils: maybe-all-stage2-libiberty
46859 all-stage3-binutils: maybe-all-stage3-libiberty
46860 all-stage4-binutils: maybe-all-stage4-libiberty
46861 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
46862 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
46863 all-binutils: maybe-all-opcodes
46865 all-stage1-binutils: maybe-all-stage1-opcodes
46866 all-stage2-binutils: maybe-all-stage2-opcodes
46867 all-stage3-binutils: maybe-all-stage3-opcodes
46868 all-stage4-binutils: maybe-all-stage4-opcodes
46869 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
46870 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
46871 all-binutils: maybe-all-bfd
46873 all-stage1-binutils: maybe-all-stage1-bfd
46874 all-stage2-binutils: maybe-all-stage2-bfd
46875 all-stage3-binutils: maybe-all-stage3-bfd
46876 all-stage4-binutils: maybe-all-stage4-bfd
46877 all-stageprofile-binutils: maybe-all-stageprofile-bfd
46878 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
46879 all-binutils: maybe-all-build-flex
46881 all-stage1-binutils: maybe-all-build-flex
46882 all-stage2-binutils: maybe-all-build-flex
46883 all-stage3-binutils: maybe-all-build-flex
46884 all-stage4-binutils: maybe-all-build-flex
46885 all-stageprofile-binutils: maybe-all-build-flex
46886 all-stagefeedback-binutils: maybe-all-build-flex
46887 all-binutils: maybe-all-build-bison
46889 all-stage1-binutils: maybe-all-build-bison
46890 all-stage2-binutils: maybe-all-build-bison
46891 all-stage3-binutils: maybe-all-build-bison
46892 all-stage4-binutils: maybe-all-build-bison
46893 all-stageprofile-binutils: maybe-all-build-bison
46894 all-stagefeedback-binutils: maybe-all-build-bison
46895 all-binutils: maybe-all-intl
46897 all-stage1-binutils: maybe-all-stage1-intl
46898 all-stage2-binutils: maybe-all-stage2-intl
46899 all-stage3-binutils: maybe-all-stage3-intl
46900 all-stage4-binutils: maybe-all-stage4-intl
46901 all-stageprofile-binutils: maybe-all-stageprofile-intl
46902 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
46903 all-binutils: maybe-all-gas
46905 all-stage1-binutils: maybe-all-stage1-gas
46906 all-stage2-binutils: maybe-all-stage2-gas
46907 all-stage3-binutils: maybe-all-stage3-gas
46908 all-stage4-binutils: maybe-all-stage4-gas
46909 all-stageprofile-binutils: maybe-all-stageprofile-gas
46910 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
46911 install-binutils: maybe-install-opcodes
46912 install-strip-binutils: maybe-install-strip-opcodes
46913 install-opcodes: maybe-install-bfd
46914 install-strip-opcodes: maybe-install-strip-bfd
46915 configure-gas: maybe-configure-intl
46917 configure-stage1-gas: maybe-configure-stage1-intl
46918 configure-stage2-gas: maybe-configure-stage2-intl
46919 configure-stage3-gas: maybe-configure-stage3-intl
46920 configure-stage4-gas: maybe-configure-stage4-intl
46921 configure-stageprofile-gas: maybe-configure-stageprofile-intl
46922 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
46923 all-gas: maybe-all-libiberty
46925 all-stage1-gas: maybe-all-stage1-libiberty
46926 all-stage2-gas: maybe-all-stage2-libiberty
46927 all-stage3-gas: maybe-all-stage3-libiberty
46928 all-stage4-gas: maybe-all-stage4-libiberty
46929 all-stageprofile-gas: maybe-all-stageprofile-libiberty
46930 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
46931 all-gas: maybe-all-opcodes
46933 all-stage1-gas: maybe-all-stage1-opcodes
46934 all-stage2-gas: maybe-all-stage2-opcodes
46935 all-stage3-gas: maybe-all-stage3-opcodes
46936 all-stage4-gas: maybe-all-stage4-opcodes
46937 all-stageprofile-gas: maybe-all-stageprofile-opcodes
46938 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
46939 all-gas: maybe-all-bfd
46941 all-stage1-gas: maybe-all-stage1-bfd
46942 all-stage2-gas: maybe-all-stage2-bfd
46943 all-stage3-gas: maybe-all-stage3-bfd
46944 all-stage4-gas: maybe-all-stage4-bfd
46945 all-stageprofile-gas: maybe-all-stageprofile-bfd
46946 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
46947 all-gas: maybe-all-intl
46949 all-stage1-gas: maybe-all-stage1-intl
46950 all-stage2-gas: maybe-all-stage2-intl
46951 all-stage3-gas: maybe-all-stage3-intl
46952 all-stage4-gas: maybe-all-stage4-intl
46953 all-stageprofile-gas: maybe-all-stageprofile-intl
46954 all-stagefeedback-gas: maybe-all-stagefeedback-intl
46955 configure-gprof: maybe-configure-intl
46956 all-gprof: maybe-all-libiberty
46957 all-gprof: maybe-all-bfd
46958 all-gprof: maybe-all-opcodes
46959 all-gprof: maybe-all-intl
46960 all-gprof: maybe-all-gas
46961 configure-ld: maybe-configure-intl
46963 configure-stage1-ld: maybe-configure-stage1-intl
46964 configure-stage2-ld: maybe-configure-stage2-intl
46965 configure-stage3-ld: maybe-configure-stage3-intl
46966 configure-stage4-ld: maybe-configure-stage4-intl
46967 configure-stageprofile-ld: maybe-configure-stageprofile-intl
46968 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
46969 all-ld: maybe-all-libiberty
46971 all-stage1-ld: maybe-all-stage1-libiberty
46972 all-stage2-ld: maybe-all-stage2-libiberty
46973 all-stage3-ld: maybe-all-stage3-libiberty
46974 all-stage4-ld: maybe-all-stage4-libiberty
46975 all-stageprofile-ld: maybe-all-stageprofile-libiberty
46976 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
46977 all-ld: maybe-all-bfd
46979 all-stage1-ld: maybe-all-stage1-bfd
46980 all-stage2-ld: maybe-all-stage2-bfd
46981 all-stage3-ld: maybe-all-stage3-bfd
46982 all-stage4-ld: maybe-all-stage4-bfd
46983 all-stageprofile-ld: maybe-all-stageprofile-bfd
46984 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
46985 all-ld: maybe-all-opcodes
46987 all-stage1-ld: maybe-all-stage1-opcodes
46988 all-stage2-ld: maybe-all-stage2-opcodes
46989 all-stage3-ld: maybe-all-stage3-opcodes
46990 all-stage4-ld: maybe-all-stage4-opcodes
46991 all-stageprofile-ld: maybe-all-stageprofile-opcodes
46992 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
46993 all-ld: maybe-all-build-bison
46995 all-stage1-ld: maybe-all-build-bison
46996 all-stage2-ld: maybe-all-build-bison
46997 all-stage3-ld: maybe-all-build-bison
46998 all-stage4-ld: maybe-all-build-bison
46999 all-stageprofile-ld: maybe-all-build-bison
47000 all-stagefeedback-ld: maybe-all-build-bison
47001 all-ld: maybe-all-build-flex
47003 all-stage1-ld: maybe-all-build-flex
47004 all-stage2-ld: maybe-all-build-flex
47005 all-stage3-ld: maybe-all-build-flex
47006 all-stage4-ld: maybe-all-build-flex
47007 all-stageprofile-ld: maybe-all-build-flex
47008 all-stagefeedback-ld: maybe-all-build-flex
47009 all-ld: maybe-all-intl
47011 all-stage1-ld: maybe-all-stage1-intl
47012 all-stage2-ld: maybe-all-stage2-intl
47013 all-stage3-ld: maybe-all-stage3-intl
47014 all-stage4-ld: maybe-all-stage4-intl
47015 all-stageprofile-ld: maybe-all-stageprofile-intl
47016 all-stagefeedback-ld: maybe-all-stagefeedback-intl
47017 all-ld: maybe-all-gas
47019 all-stage1-ld: maybe-all-stage1-gas
47020 all-stage2-ld: maybe-all-stage2-gas
47021 all-stage3-ld: maybe-all-stage3-gas
47022 all-stage4-ld: maybe-all-stage4-gas
47023 all-stageprofile-ld: maybe-all-stageprofile-gas
47024 all-stagefeedback-ld: maybe-all-stagefeedback-gas
47025 install-ld: maybe-install-gold
47026 install-strip-ld: maybe-install-strip-gold
47027 configure-gold: maybe-configure-intl
47029 configure-stage1-gold: maybe-configure-stage1-intl
47030 configure-stage2-gold: maybe-configure-stage2-intl
47031 configure-stage3-gold: maybe-configure-stage3-intl
47032 configure-stage4-gold: maybe-configure-stage4-intl
47033 configure-stageprofile-gold: maybe-configure-stageprofile-intl
47034 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
47035 all-gold: maybe-all-libiberty
47037 all-stage1-gold: maybe-all-stage1-libiberty
47038 all-stage2-gold: maybe-all-stage2-libiberty
47039 all-stage3-gold: maybe-all-stage3-libiberty
47040 all-stage4-gold: maybe-all-stage4-libiberty
47041 all-stageprofile-gold: maybe-all-stageprofile-libiberty
47042 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
47043 all-gold: maybe-all-intl
47045 all-stage1-gold: maybe-all-stage1-intl
47046 all-stage2-gold: maybe-all-stage2-intl
47047 all-stage3-gold: maybe-all-stage3-intl
47048 all-stage4-gold: maybe-all-stage4-intl
47049 all-stageprofile-gold: maybe-all-stageprofile-intl
47050 all-stagefeedback-gold: maybe-all-stagefeedback-intl
47051 all-gold: maybe-all-bfd
47053 all-stage1-gold: maybe-all-stage1-bfd
47054 all-stage2-gold: maybe-all-stage2-bfd
47055 all-stage3-gold: maybe-all-stage3-bfd
47056 all-stage4-gold: maybe-all-stage4-bfd
47057 all-stageprofile-gold: maybe-all-stageprofile-bfd
47058 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
47059 all-gold: maybe-all-build-bison
47061 all-stage1-gold: maybe-all-build-bison
47062 all-stage2-gold: maybe-all-build-bison
47063 all-stage3-gold: maybe-all-build-bison
47064 all-stage4-gold: maybe-all-build-bison
47065 all-stageprofile-gold: maybe-all-build-bison
47066 all-stagefeedback-gold: maybe-all-build-bison
47067 all-gold: maybe-all-gas
47069 all-stage1-gold: maybe-all-stage1-gas
47070 all-stage2-gold: maybe-all-stage2-gas
47071 all-stage3-gold: maybe-all-stage3-gas
47072 all-stage4-gold: maybe-all-stage4-gas
47073 all-stageprofile-gold: maybe-all-stageprofile-gas
47074 all-stagefeedback-gold: maybe-all-stagefeedback-gas
47075 check-gold: maybe-all-binutils
47077 check-stage1-gold: maybe-all-stage1-binutils
47078 check-stage2-gold: maybe-all-stage2-binutils
47079 check-stage3-gold: maybe-all-stage3-binutils
47080 check-stage4-gold: maybe-all-stage4-binutils
47081 check-stageprofile-gold: maybe-all-stageprofile-binutils
47082 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
47083 check-gold: maybe-all-gas
47085 check-stage1-gold: maybe-all-stage1-gas
47086 check-stage2-gold: maybe-all-stage2-gas
47087 check-stage3-gold: maybe-all-stage3-gas
47088 check-stage4-gold: maybe-all-stage4-gas
47089 check-stageprofile-gold: maybe-all-stageprofile-gas
47090 check-stagefeedback-gold: maybe-all-stagefeedback-gas
47091 configure-opcodes: maybe-configure-intl
47093 configure-stage1-opcodes: maybe-configure-stage1-intl
47094 configure-stage2-opcodes: maybe-configure-stage2-intl
47095 configure-stage3-opcodes: maybe-configure-stage3-intl
47096 configure-stage4-opcodes: maybe-configure-stage4-intl
47097 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
47098 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
47099 all-opcodes: maybe-all-bfd
47101 all-stage1-opcodes: maybe-all-stage1-bfd
47102 all-stage2-opcodes: maybe-all-stage2-bfd
47103 all-stage3-opcodes: maybe-all-stage3-bfd
47104 all-stage4-opcodes: maybe-all-stage4-bfd
47105 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
47106 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
47107 all-opcodes: maybe-all-libiberty
47109 all-stage1-opcodes: maybe-all-stage1-libiberty
47110 all-stage2-opcodes: maybe-all-stage2-libiberty
47111 all-stage3-opcodes: maybe-all-stage3-libiberty
47112 all-stage4-opcodes: maybe-all-stage4-libiberty
47113 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
47114 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
47115 all-opcodes: maybe-all-intl
47117 all-stage1-opcodes: maybe-all-stage1-intl
47118 all-stage2-opcodes: maybe-all-stage2-intl
47119 all-stage3-opcodes: maybe-all-stage3-intl
47120 all-stage4-opcodes: maybe-all-stage4-intl
47121 all-stageprofile-opcodes: maybe-all-stageprofile-intl
47122 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
47123 all-dejagnu: maybe-all-tcl
47124 all-dejagnu: maybe-all-expect
47125 all-dejagnu: maybe-all-tk
47126 configure-expect: maybe-configure-tcl
47127 configure-expect: maybe-configure-tk
47128 all-expect: maybe-all-tcl
47129 all-expect: maybe-all-tk
47130 configure-itcl: maybe-configure-tcl
47131 configure-itcl: maybe-configure-tk
47132 all-itcl: maybe-all-tcl
47133 all-itcl: maybe-all-tk
47134 install-itcl: maybe-install-tcl
47135 install-strip-itcl: maybe-install-strip-tcl
47136 configure-tk: maybe-configure-tcl
47137 all-tk: maybe-all-tcl
47138 all-sid: maybe-all-libiberty
47139 all-sid: maybe-all-bfd
47140 all-sid: maybe-all-opcodes
47141 all-sid: maybe-all-tcl
47142 all-sid: maybe-all-tk
47143 install-sid: maybe-install-tcl
47144 install-strip-sid: maybe-install-strip-tcl
47145 install-sid: maybe-install-tk
47146 install-strip-sid: maybe-install-strip-tk
47147 configure-sim: maybe-configure-intl
47148 all-sim: maybe-all-intl
47149 all-sim: maybe-all-libiberty
47150 all-sim: maybe-all-bfd
47151 all-sim: maybe-all-opcodes
47152 all-sim: maybe-all-readline
47153 all-sim: maybe-configure-gdb
47154 all-fastjar: maybe-all-zlib
47155 all-fastjar: maybe-all-build-texinfo
47156 all-fastjar: maybe-all-libiberty
47157 all-bison: maybe-all-intl
47158 all-bison: maybe-all-build-texinfo
47159 all-flex: maybe-all-build-bison
47160 all-flex: maybe-all-intl
47161 all-flex: maybe-all-m4
47162 all-flex: maybe-all-build-texinfo
47163 all-m4: maybe-all-intl
47164 all-m4: maybe-all-build-texinfo
47165 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
47166 configure-target-fastjar: maybe-configure-target-zlib
47167 all-target-fastjar: maybe-all-target-zlib
47168 configure-target-libgo: maybe-configure-target-libffi
47169 configure-target-libgo: maybe-all-target-libstdc++-v3
47170 all-target-libgo: maybe-all-target-libbacktrace
47171 all-target-libgo: maybe-all-target-libffi
47172 all-target-libgo: maybe-all-target-libatomic
47173 configure-target-libjava: maybe-configure-target-zlib
47174 configure-target-libjava: maybe-configure-target-boehm-gc
47175 configure-target-libjava: maybe-configure-target-libffi
47176 all-target-libjava: maybe-all-fastjar
47177 all-target-libjava: maybe-all-target-zlib
47178 all-target-libjava: maybe-all-target-boehm-gc
47179 all-target-libjava: maybe-all-target-libffi
47180 configure-target-libobjc: maybe-configure-target-boehm-gc
47181 all-target-libobjc: maybe-all-target-boehm-gc
47182 configure-target-libstdc++-v3: maybe-configure-target-libgomp
47184 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47185 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47186 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47187 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47188 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47189 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47190 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
47192 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
47193 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
47194 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
47195 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
47196 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
47197 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
47198 configure-target-libvtv: maybe-all-target-libstdc++-v3
47200 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
47201 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
47202 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
47203 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
47204 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
47205 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
47206 all-target-libstdc++-v3: maybe-configure-target-libgomp
47208 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47209 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47210 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47211 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47212 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47213 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47214 install-target-libgo: maybe-install-target-libatomic
47215 install-target-libgfortran: maybe-install-target-libquadmath
47216 install-target-libgfortran: maybe-install-target-libgcc
47217 install-target-libsanitizer: maybe-install-target-libstdc++-v3
47218 install-target-libsanitizer: maybe-install-target-libgcc
47219 install-target-libvtv: maybe-install-target-libstdc++-v3
47220 install-target-libvtv: maybe-install-target-libgcc
47221 install-target-libcilkrts: maybe-install-target-libstdc++-v3
47222 install-target-libcilkrts: maybe-install-target-libgcc
47223 install-target-libjava: maybe-install-target-libgcc
47224 install-target-libitm: maybe-install-target-libgcc
47225 install-target-libobjc: maybe-install-target-libgcc
47226 install-target-libstdc++-v3: maybe-install-target-libgcc
47227 all-target-libgloss: maybe-all-target-newlib
47228 all-target-winsup: maybe-all-target-libtermcap
47229 configure-target-newlib: maybe-all-binutils
47230 configure-target-newlib: maybe-all-ld
47231 configure-target-libgfortran: maybe-all-target-libquadmath
47234 # Dependencies for target modules on other target modules are
47235 # described by lang_env_dependencies; the defaults apply to anything
47236 # not mentioned there.
47239 @if gcc-bootstrap
47240 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
47241 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
47242 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
47243 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
47244 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
47245 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
47246 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
47247 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
47248 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
47249 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
47250 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
47251 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
47252 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
47253 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
47254 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
47255 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
47256 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
47257 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
47258 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
47259 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
47260 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
47261 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
47262 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
47263 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
47264 @endif gcc-bootstrap
47266 @if gcc-no-bootstrap
47267 configure-target-libstdc++-v3: maybe-all-target-libgcc
47268 configure-target-libsanitizer: maybe-all-target-libgcc
47269 configure-target-libvtv: maybe-all-target-libgcc
47270 configure-target-libcilkrts: maybe-all-target-libgcc
47271 configure-target-libssp: maybe-all-target-libgcc
47272 configure-target-newlib: maybe-all-target-libgcc
47273 configure-target-libbacktrace: maybe-all-target-libgcc
47274 configure-target-libquadmath: maybe-all-target-libgcc
47275 configure-target-libgfortran: maybe-all-target-libgcc
47276 configure-target-libobjc: maybe-all-target-libgcc
47277 configure-target-libgo: maybe-all-target-libgcc
47278 configure-target-libtermcap: maybe-all-target-libgcc
47279 configure-target-winsup: maybe-all-target-libgcc
47280 configure-target-libgloss: maybe-all-target-libgcc
47281 configure-target-libffi: maybe-all-target-libgcc
47282 configure-target-libjava: maybe-all-target-libgcc
47283 configure-target-zlib: maybe-all-target-libgcc
47284 configure-target-boehm-gc: maybe-all-target-libgcc
47285 configure-target-rda: maybe-all-target-libgcc
47286 configure-target-libada: maybe-all-target-libgcc
47287 configure-target-libgomp: maybe-all-target-libgcc
47288 configure-target-libitm: maybe-all-target-libgcc
47289 configure-target-libatomic: maybe-all-target-libgcc
47290 @endif gcc-no-bootstrap
47293 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
47295 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
47297 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
47299 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
47300 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
47302 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
47306 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
47308 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
47310 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
47312 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
47314 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
47316 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
47318 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
47321 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
47323 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
47324 configure-target-libjava: maybe-all-target-libstdc++-v3
47326 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
47328 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
47330 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
47332 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
47334 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
47336 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
47337 configure-target-libitm: maybe-all-target-libstdc++-v3
47339 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
47342 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
47343 GDB_TK = @GDB_TK@
47344 INSTALL_GDB_TK = @INSTALL_GDB_TK@
47345 configure-gdb: $(CONFIGURE_GDB_TK)
47346 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
47347 install-gdb: $(INSTALL_GDB_TK)
47349 # Serialization dependencies. Host configures don't work well in parallel to
47350 # each other, due to contention over config.cache. Target configures and
47351 # build configures are similar.
47352 @serialization_dependencies@
47354 # --------------------------------
47355 # Regenerating top level configury
47356 # --------------------------------
47358 # Rebuilding Makefile.in, using autogen.
47359 AUTOGEN = autogen
47360 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
47361 cd $(srcdir) && $(AUTOGEN) Makefile.def
47363 # Rebuilding Makefile.
47364 Makefile: $(srcdir)/Makefile.in config.status
47365 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
47367 config.status: configure
47368 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
47370 # Rebuilding configure.
47371 AUTOCONF = autoconf
47372 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
47373 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
47374 cd $(srcdir) && $(AUTOCONF)
47376 # ------------------------------
47377 # Special directives to GNU Make
47378 # ------------------------------
47380 # Don't pass command-line variables to submakes.
47381 .NOEXPORT:
47382 MAKEOVERRIDES=
47384 # end of Makefile.in