PR target/59021
[official-gcc.git] / Makefile.in
blobe0ba7848434aeab90b15a52e65203ffc29c60a25
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/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_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)$(HOST_LIB_PATH_libcilkrts)
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-libssp
595 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
596 @endif target-libssp
598 @if target-libgomp
599 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
600 @endif target-libgomp
602 @if target-libcilkrts
603 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
604 @endif target-libcilkrts
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-libssp \
935 maybe-configure-target-newlib \
936 maybe-configure-target-libgcc \
937 maybe-configure-target-libbacktrace \
938 maybe-configure-target-libquadmath \
939 maybe-configure-target-libgfortran \
940 maybe-configure-target-libobjc \
941 maybe-configure-target-libgo \
942 maybe-configure-target-libtermcap \
943 maybe-configure-target-winsup \
944 maybe-configure-target-libgloss \
945 maybe-configure-target-libffi \
946 maybe-configure-target-libjava \
947 maybe-configure-target-zlib \
948 maybe-configure-target-boehm-gc \
949 maybe-configure-target-rda \
950 maybe-configure-target-libada \
951 maybe-configure-target-libcilkrts \
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-libssp
1089 all-target: maybe-all-target-newlib
1090 @if target-libgcc-no-bootstrap
1091 all-target: maybe-all-target-libgcc
1092 @endif target-libgcc-no-bootstrap
1093 all-target: maybe-all-target-libbacktrace
1094 all-target: maybe-all-target-libquadmath
1095 all-target: maybe-all-target-libgfortran
1096 all-target: maybe-all-target-libobjc
1097 all-target: maybe-all-target-libgo
1098 all-target: maybe-all-target-libtermcap
1099 all-target: maybe-all-target-winsup
1100 all-target: maybe-all-target-libgloss
1101 all-target: maybe-all-target-libffi
1102 all-target: maybe-all-target-libjava
1103 all-target: maybe-all-target-zlib
1104 all-target: maybe-all-target-boehm-gc
1105 all-target: maybe-all-target-rda
1106 all-target: maybe-all-target-libada
1107 @if target-libgomp-no-bootstrap
1108 all-target: maybe-all-target-libgomp
1109 @endif target-libgomp-no-bootstrap
1110 all-target: maybe-all-target-libcilkrts
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-libssp
1181 info-target: maybe-info-target-newlib
1182 info-target: maybe-info-target-libgcc
1183 info-target: maybe-info-target-libbacktrace
1184 info-target: maybe-info-target-libquadmath
1185 info-target: maybe-info-target-libgfortran
1186 info-target: maybe-info-target-libobjc
1187 info-target: maybe-info-target-libgo
1188 info-target: maybe-info-target-libtermcap
1189 info-target: maybe-info-target-winsup
1190 info-target: maybe-info-target-libgloss
1191 info-target: maybe-info-target-libffi
1192 info-target: maybe-info-target-libjava
1193 info-target: maybe-info-target-zlib
1194 info-target: maybe-info-target-boehm-gc
1195 info-target: maybe-info-target-rda
1196 info-target: maybe-info-target-libada
1197 info-target: maybe-info-target-libgomp
1198 info-target: maybe-info-target-libitm
1199 info-target: maybe-info-target-libatomic
1201 .PHONY: do-dvi
1202 do-dvi:
1203 @: $(MAKE); $(unstage)
1204 @r=`${PWD_COMMAND}`; export r; \
1205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1206 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1207 dvi-target
1210 .PHONY: dvi-host
1212 dvi-host: maybe-dvi-bfd
1213 dvi-host: maybe-dvi-opcodes
1214 dvi-host: maybe-dvi-binutils
1215 dvi-host: maybe-dvi-bison
1216 dvi-host: maybe-dvi-cgen
1217 dvi-host: maybe-dvi-dejagnu
1218 dvi-host: maybe-dvi-etc
1219 dvi-host: maybe-dvi-fastjar
1220 dvi-host: maybe-dvi-fixincludes
1221 dvi-host: maybe-dvi-flex
1222 dvi-host: maybe-dvi-gas
1223 dvi-host: maybe-dvi-gcc
1224 dvi-host: maybe-dvi-gmp
1225 dvi-host: maybe-dvi-mpfr
1226 dvi-host: maybe-dvi-mpc
1227 dvi-host: maybe-dvi-isl
1228 dvi-host: maybe-dvi-cloog
1229 dvi-host: maybe-dvi-libelf
1230 dvi-host: maybe-dvi-gold
1231 dvi-host: maybe-dvi-gprof
1232 dvi-host: maybe-dvi-intl
1233 dvi-host: maybe-dvi-tcl
1234 dvi-host: maybe-dvi-itcl
1235 dvi-host: maybe-dvi-ld
1236 dvi-host: maybe-dvi-libbacktrace
1237 dvi-host: maybe-dvi-libcpp
1238 dvi-host: maybe-dvi-libdecnumber
1239 dvi-host: maybe-dvi-libgui
1240 dvi-host: maybe-dvi-libiberty
1241 dvi-host: maybe-dvi-libiconv
1242 dvi-host: maybe-dvi-m4
1243 dvi-host: maybe-dvi-readline
1244 dvi-host: maybe-dvi-sid
1245 dvi-host: maybe-dvi-sim
1246 dvi-host: maybe-dvi-texinfo
1247 dvi-host: maybe-dvi-zlib
1248 dvi-host: maybe-dvi-gdb
1249 dvi-host: maybe-dvi-expect
1250 dvi-host: maybe-dvi-guile
1251 dvi-host: maybe-dvi-tk
1252 dvi-host: maybe-dvi-libtermcap
1253 dvi-host: maybe-dvi-utils
1254 dvi-host: maybe-dvi-gnattools
1255 dvi-host: maybe-dvi-lto-plugin
1257 .PHONY: dvi-target
1259 dvi-target: maybe-dvi-target-libstdc++-v3
1260 dvi-target: maybe-dvi-target-libsanitizer
1261 dvi-target: maybe-dvi-target-libvtv
1262 dvi-target: maybe-dvi-target-libssp
1263 dvi-target: maybe-dvi-target-newlib
1264 dvi-target: maybe-dvi-target-libgcc
1265 dvi-target: maybe-dvi-target-libbacktrace
1266 dvi-target: maybe-dvi-target-libquadmath
1267 dvi-target: maybe-dvi-target-libgfortran
1268 dvi-target: maybe-dvi-target-libobjc
1269 dvi-target: maybe-dvi-target-libgo
1270 dvi-target: maybe-dvi-target-libtermcap
1271 dvi-target: maybe-dvi-target-winsup
1272 dvi-target: maybe-dvi-target-libgloss
1273 dvi-target: maybe-dvi-target-libffi
1274 dvi-target: maybe-dvi-target-libjava
1275 dvi-target: maybe-dvi-target-zlib
1276 dvi-target: maybe-dvi-target-boehm-gc
1277 dvi-target: maybe-dvi-target-rda
1278 dvi-target: maybe-dvi-target-libada
1279 dvi-target: maybe-dvi-target-libgomp
1280 dvi-target: maybe-dvi-target-libitm
1281 dvi-target: maybe-dvi-target-libatomic
1283 .PHONY: do-pdf
1284 do-pdf:
1285 @: $(MAKE); $(unstage)
1286 @r=`${PWD_COMMAND}`; export r; \
1287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1289 pdf-target
1292 .PHONY: pdf-host
1294 pdf-host: maybe-pdf-bfd
1295 pdf-host: maybe-pdf-opcodes
1296 pdf-host: maybe-pdf-binutils
1297 pdf-host: maybe-pdf-bison
1298 pdf-host: maybe-pdf-cgen
1299 pdf-host: maybe-pdf-dejagnu
1300 pdf-host: maybe-pdf-etc
1301 pdf-host: maybe-pdf-fastjar
1302 pdf-host: maybe-pdf-fixincludes
1303 pdf-host: maybe-pdf-flex
1304 pdf-host: maybe-pdf-gas
1305 pdf-host: maybe-pdf-gcc
1306 pdf-host: maybe-pdf-gmp
1307 pdf-host: maybe-pdf-mpfr
1308 pdf-host: maybe-pdf-mpc
1309 pdf-host: maybe-pdf-isl
1310 pdf-host: maybe-pdf-cloog
1311 pdf-host: maybe-pdf-libelf
1312 pdf-host: maybe-pdf-gold
1313 pdf-host: maybe-pdf-gprof
1314 pdf-host: maybe-pdf-intl
1315 pdf-host: maybe-pdf-tcl
1316 pdf-host: maybe-pdf-itcl
1317 pdf-host: maybe-pdf-ld
1318 pdf-host: maybe-pdf-libbacktrace
1319 pdf-host: maybe-pdf-libcpp
1320 pdf-host: maybe-pdf-libdecnumber
1321 pdf-host: maybe-pdf-libgui
1322 pdf-host: maybe-pdf-libiberty
1323 pdf-host: maybe-pdf-libiconv
1324 pdf-host: maybe-pdf-m4
1325 pdf-host: maybe-pdf-readline
1326 pdf-host: maybe-pdf-sid
1327 pdf-host: maybe-pdf-sim
1328 pdf-host: maybe-pdf-texinfo
1329 pdf-host: maybe-pdf-zlib
1330 pdf-host: maybe-pdf-gdb
1331 pdf-host: maybe-pdf-expect
1332 pdf-host: maybe-pdf-guile
1333 pdf-host: maybe-pdf-tk
1334 pdf-host: maybe-pdf-libtermcap
1335 pdf-host: maybe-pdf-utils
1336 pdf-host: maybe-pdf-gnattools
1337 pdf-host: maybe-pdf-lto-plugin
1339 .PHONY: pdf-target
1341 pdf-target: maybe-pdf-target-libstdc++-v3
1342 pdf-target: maybe-pdf-target-libsanitizer
1343 pdf-target: maybe-pdf-target-libvtv
1344 pdf-target: maybe-pdf-target-libssp
1345 pdf-target: maybe-pdf-target-newlib
1346 pdf-target: maybe-pdf-target-libgcc
1347 pdf-target: maybe-pdf-target-libbacktrace
1348 pdf-target: maybe-pdf-target-libquadmath
1349 pdf-target: maybe-pdf-target-libgfortran
1350 pdf-target: maybe-pdf-target-libobjc
1351 pdf-target: maybe-pdf-target-libgo
1352 pdf-target: maybe-pdf-target-libtermcap
1353 pdf-target: maybe-pdf-target-winsup
1354 pdf-target: maybe-pdf-target-libgloss
1355 pdf-target: maybe-pdf-target-libffi
1356 pdf-target: maybe-pdf-target-libjava
1357 pdf-target: maybe-pdf-target-zlib
1358 pdf-target: maybe-pdf-target-boehm-gc
1359 pdf-target: maybe-pdf-target-rda
1360 pdf-target: maybe-pdf-target-libada
1361 pdf-target: maybe-pdf-target-libgomp
1362 pdf-target: maybe-pdf-target-libitm
1363 pdf-target: maybe-pdf-target-libatomic
1365 .PHONY: do-html
1366 do-html:
1367 @: $(MAKE); $(unstage)
1368 @r=`${PWD_COMMAND}`; export r; \
1369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1370 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1371 html-target
1374 .PHONY: html-host
1376 html-host: maybe-html-bfd
1377 html-host: maybe-html-opcodes
1378 html-host: maybe-html-binutils
1379 html-host: maybe-html-bison
1380 html-host: maybe-html-cgen
1381 html-host: maybe-html-dejagnu
1382 html-host: maybe-html-etc
1383 html-host: maybe-html-fastjar
1384 html-host: maybe-html-fixincludes
1385 html-host: maybe-html-flex
1386 html-host: maybe-html-gas
1387 html-host: maybe-html-gcc
1388 html-host: maybe-html-gmp
1389 html-host: maybe-html-mpfr
1390 html-host: maybe-html-mpc
1391 html-host: maybe-html-isl
1392 html-host: maybe-html-cloog
1393 html-host: maybe-html-libelf
1394 html-host: maybe-html-gold
1395 html-host: maybe-html-gprof
1396 html-host: maybe-html-intl
1397 html-host: maybe-html-tcl
1398 html-host: maybe-html-itcl
1399 html-host: maybe-html-ld
1400 html-host: maybe-html-libbacktrace
1401 html-host: maybe-html-libcpp
1402 html-host: maybe-html-libdecnumber
1403 html-host: maybe-html-libgui
1404 html-host: maybe-html-libiberty
1405 html-host: maybe-html-libiconv
1406 html-host: maybe-html-m4
1407 html-host: maybe-html-readline
1408 html-host: maybe-html-sid
1409 html-host: maybe-html-sim
1410 html-host: maybe-html-texinfo
1411 html-host: maybe-html-zlib
1412 html-host: maybe-html-gdb
1413 html-host: maybe-html-expect
1414 html-host: maybe-html-guile
1415 html-host: maybe-html-tk
1416 html-host: maybe-html-libtermcap
1417 html-host: maybe-html-utils
1418 html-host: maybe-html-gnattools
1419 html-host: maybe-html-lto-plugin
1421 .PHONY: html-target
1423 html-target: maybe-html-target-libstdc++-v3
1424 html-target: maybe-html-target-libsanitizer
1425 html-target: maybe-html-target-libvtv
1426 html-target: maybe-html-target-libssp
1427 html-target: maybe-html-target-newlib
1428 html-target: maybe-html-target-libgcc
1429 html-target: maybe-html-target-libbacktrace
1430 html-target: maybe-html-target-libquadmath
1431 html-target: maybe-html-target-libgfortran
1432 html-target: maybe-html-target-libobjc
1433 html-target: maybe-html-target-libgo
1434 html-target: maybe-html-target-libtermcap
1435 html-target: maybe-html-target-winsup
1436 html-target: maybe-html-target-libgloss
1437 html-target: maybe-html-target-libffi
1438 html-target: maybe-html-target-libjava
1439 html-target: maybe-html-target-zlib
1440 html-target: maybe-html-target-boehm-gc
1441 html-target: maybe-html-target-rda
1442 html-target: maybe-html-target-libada
1443 html-target: maybe-html-target-libgomp
1444 html-target: maybe-html-target-libitm
1445 html-target: maybe-html-target-libatomic
1447 .PHONY: do-TAGS
1448 do-TAGS:
1449 @: $(MAKE); $(unstage)
1450 @r=`${PWD_COMMAND}`; export r; \
1451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1452 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1453 TAGS-target
1456 .PHONY: TAGS-host
1458 TAGS-host: maybe-TAGS-bfd
1459 TAGS-host: maybe-TAGS-opcodes
1460 TAGS-host: maybe-TAGS-binutils
1461 TAGS-host: maybe-TAGS-bison
1462 TAGS-host: maybe-TAGS-cgen
1463 TAGS-host: maybe-TAGS-dejagnu
1464 TAGS-host: maybe-TAGS-etc
1465 TAGS-host: maybe-TAGS-fastjar
1466 TAGS-host: maybe-TAGS-fixincludes
1467 TAGS-host: maybe-TAGS-flex
1468 TAGS-host: maybe-TAGS-gas
1469 TAGS-host: maybe-TAGS-gcc
1470 TAGS-host: maybe-TAGS-gmp
1471 TAGS-host: maybe-TAGS-mpfr
1472 TAGS-host: maybe-TAGS-mpc
1473 TAGS-host: maybe-TAGS-isl
1474 TAGS-host: maybe-TAGS-cloog
1475 TAGS-host: maybe-TAGS-libelf
1476 TAGS-host: maybe-TAGS-gold
1477 TAGS-host: maybe-TAGS-gprof
1478 TAGS-host: maybe-TAGS-intl
1479 TAGS-host: maybe-TAGS-tcl
1480 TAGS-host: maybe-TAGS-itcl
1481 TAGS-host: maybe-TAGS-ld
1482 TAGS-host: maybe-TAGS-libbacktrace
1483 TAGS-host: maybe-TAGS-libcpp
1484 TAGS-host: maybe-TAGS-libdecnumber
1485 TAGS-host: maybe-TAGS-libgui
1486 TAGS-host: maybe-TAGS-libiberty
1487 TAGS-host: maybe-TAGS-libiconv
1488 TAGS-host: maybe-TAGS-m4
1489 TAGS-host: maybe-TAGS-readline
1490 TAGS-host: maybe-TAGS-sid
1491 TAGS-host: maybe-TAGS-sim
1492 TAGS-host: maybe-TAGS-texinfo
1493 TAGS-host: maybe-TAGS-zlib
1494 TAGS-host: maybe-TAGS-gdb
1495 TAGS-host: maybe-TAGS-expect
1496 TAGS-host: maybe-TAGS-guile
1497 TAGS-host: maybe-TAGS-tk
1498 TAGS-host: maybe-TAGS-libtermcap
1499 TAGS-host: maybe-TAGS-utils
1500 TAGS-host: maybe-TAGS-gnattools
1501 TAGS-host: maybe-TAGS-lto-plugin
1503 .PHONY: TAGS-target
1505 TAGS-target: maybe-TAGS-target-libstdc++-v3
1506 TAGS-target: maybe-TAGS-target-libsanitizer
1507 TAGS-target: maybe-TAGS-target-libvtv
1508 TAGS-target: maybe-TAGS-target-libssp
1509 TAGS-target: maybe-TAGS-target-newlib
1510 TAGS-target: maybe-TAGS-target-libgcc
1511 TAGS-target: maybe-TAGS-target-libbacktrace
1512 TAGS-target: maybe-TAGS-target-libquadmath
1513 TAGS-target: maybe-TAGS-target-libgfortran
1514 TAGS-target: maybe-TAGS-target-libobjc
1515 TAGS-target: maybe-TAGS-target-libgo
1516 TAGS-target: maybe-TAGS-target-libtermcap
1517 TAGS-target: maybe-TAGS-target-winsup
1518 TAGS-target: maybe-TAGS-target-libgloss
1519 TAGS-target: maybe-TAGS-target-libffi
1520 TAGS-target: maybe-TAGS-target-libjava
1521 TAGS-target: maybe-TAGS-target-zlib
1522 TAGS-target: maybe-TAGS-target-boehm-gc
1523 TAGS-target: maybe-TAGS-target-rda
1524 TAGS-target: maybe-TAGS-target-libada
1525 TAGS-target: maybe-TAGS-target-libgomp
1526 TAGS-target: maybe-TAGS-target-libitm
1527 TAGS-target: maybe-TAGS-target-libatomic
1529 .PHONY: do-install-info
1530 do-install-info:
1531 @: $(MAKE); $(unstage)
1532 @r=`${PWD_COMMAND}`; export r; \
1533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1534 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1535 install-info-target
1538 .PHONY: install-info-host
1540 install-info-host: maybe-install-info-bfd
1541 install-info-host: maybe-install-info-opcodes
1542 install-info-host: maybe-install-info-binutils
1543 install-info-host: maybe-install-info-bison
1544 install-info-host: maybe-install-info-cgen
1545 install-info-host: maybe-install-info-dejagnu
1546 install-info-host: maybe-install-info-etc
1547 install-info-host: maybe-install-info-fastjar
1548 install-info-host: maybe-install-info-fixincludes
1549 install-info-host: maybe-install-info-flex
1550 install-info-host: maybe-install-info-gas
1551 install-info-host: maybe-install-info-gcc
1552 install-info-host: maybe-install-info-gmp
1553 install-info-host: maybe-install-info-mpfr
1554 install-info-host: maybe-install-info-mpc
1555 install-info-host: maybe-install-info-isl
1556 install-info-host: maybe-install-info-cloog
1557 install-info-host: maybe-install-info-libelf
1558 install-info-host: maybe-install-info-gold
1559 install-info-host: maybe-install-info-gprof
1560 install-info-host: maybe-install-info-intl
1561 install-info-host: maybe-install-info-tcl
1562 install-info-host: maybe-install-info-itcl
1563 install-info-host: maybe-install-info-ld
1564 install-info-host: maybe-install-info-libbacktrace
1565 install-info-host: maybe-install-info-libcpp
1566 install-info-host: maybe-install-info-libdecnumber
1567 install-info-host: maybe-install-info-libgui
1568 install-info-host: maybe-install-info-libiberty
1569 install-info-host: maybe-install-info-libiconv
1570 install-info-host: maybe-install-info-m4
1571 install-info-host: maybe-install-info-readline
1572 install-info-host: maybe-install-info-sid
1573 install-info-host: maybe-install-info-sim
1574 install-info-host: maybe-install-info-texinfo
1575 install-info-host: maybe-install-info-zlib
1576 install-info-host: maybe-install-info-gdb
1577 install-info-host: maybe-install-info-expect
1578 install-info-host: maybe-install-info-guile
1579 install-info-host: maybe-install-info-tk
1580 install-info-host: maybe-install-info-libtermcap
1581 install-info-host: maybe-install-info-utils
1582 install-info-host: maybe-install-info-gnattools
1583 install-info-host: maybe-install-info-lto-plugin
1585 .PHONY: install-info-target
1587 install-info-target: maybe-install-info-target-libstdc++-v3
1588 install-info-target: maybe-install-info-target-libsanitizer
1589 install-info-target: maybe-install-info-target-libvtv
1590 install-info-target: maybe-install-info-target-libssp
1591 install-info-target: maybe-install-info-target-newlib
1592 install-info-target: maybe-install-info-target-libgcc
1593 install-info-target: maybe-install-info-target-libbacktrace
1594 install-info-target: maybe-install-info-target-libquadmath
1595 install-info-target: maybe-install-info-target-libgfortran
1596 install-info-target: maybe-install-info-target-libobjc
1597 install-info-target: maybe-install-info-target-libgo
1598 install-info-target: maybe-install-info-target-libtermcap
1599 install-info-target: maybe-install-info-target-winsup
1600 install-info-target: maybe-install-info-target-libgloss
1601 install-info-target: maybe-install-info-target-libffi
1602 install-info-target: maybe-install-info-target-libjava
1603 install-info-target: maybe-install-info-target-zlib
1604 install-info-target: maybe-install-info-target-boehm-gc
1605 install-info-target: maybe-install-info-target-rda
1606 install-info-target: maybe-install-info-target-libada
1607 install-info-target: maybe-install-info-target-libgomp
1608 install-info-target: maybe-install-info-target-libitm
1609 install-info-target: maybe-install-info-target-libatomic
1611 .PHONY: do-install-pdf
1612 do-install-pdf:
1613 @: $(MAKE); $(unstage)
1614 @r=`${PWD_COMMAND}`; export r; \
1615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1617 install-pdf-target
1620 .PHONY: install-pdf-host
1622 install-pdf-host: maybe-install-pdf-bfd
1623 install-pdf-host: maybe-install-pdf-opcodes
1624 install-pdf-host: maybe-install-pdf-binutils
1625 install-pdf-host: maybe-install-pdf-bison
1626 install-pdf-host: maybe-install-pdf-cgen
1627 install-pdf-host: maybe-install-pdf-dejagnu
1628 install-pdf-host: maybe-install-pdf-etc
1629 install-pdf-host: maybe-install-pdf-fastjar
1630 install-pdf-host: maybe-install-pdf-fixincludes
1631 install-pdf-host: maybe-install-pdf-flex
1632 install-pdf-host: maybe-install-pdf-gas
1633 install-pdf-host: maybe-install-pdf-gcc
1634 install-pdf-host: maybe-install-pdf-gmp
1635 install-pdf-host: maybe-install-pdf-mpfr
1636 install-pdf-host: maybe-install-pdf-mpc
1637 install-pdf-host: maybe-install-pdf-isl
1638 install-pdf-host: maybe-install-pdf-cloog
1639 install-pdf-host: maybe-install-pdf-libelf
1640 install-pdf-host: maybe-install-pdf-gold
1641 install-pdf-host: maybe-install-pdf-gprof
1642 install-pdf-host: maybe-install-pdf-intl
1643 install-pdf-host: maybe-install-pdf-tcl
1644 install-pdf-host: maybe-install-pdf-itcl
1645 install-pdf-host: maybe-install-pdf-ld
1646 install-pdf-host: maybe-install-pdf-libbacktrace
1647 install-pdf-host: maybe-install-pdf-libcpp
1648 install-pdf-host: maybe-install-pdf-libdecnumber
1649 install-pdf-host: maybe-install-pdf-libgui
1650 install-pdf-host: maybe-install-pdf-libiberty
1651 install-pdf-host: maybe-install-pdf-libiconv
1652 install-pdf-host: maybe-install-pdf-m4
1653 install-pdf-host: maybe-install-pdf-readline
1654 install-pdf-host: maybe-install-pdf-sid
1655 install-pdf-host: maybe-install-pdf-sim
1656 install-pdf-host: maybe-install-pdf-texinfo
1657 install-pdf-host: maybe-install-pdf-zlib
1658 install-pdf-host: maybe-install-pdf-gdb
1659 install-pdf-host: maybe-install-pdf-expect
1660 install-pdf-host: maybe-install-pdf-guile
1661 install-pdf-host: maybe-install-pdf-tk
1662 install-pdf-host: maybe-install-pdf-libtermcap
1663 install-pdf-host: maybe-install-pdf-utils
1664 install-pdf-host: maybe-install-pdf-gnattools
1665 install-pdf-host: maybe-install-pdf-lto-plugin
1667 .PHONY: install-pdf-target
1669 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1670 install-pdf-target: maybe-install-pdf-target-libsanitizer
1671 install-pdf-target: maybe-install-pdf-target-libvtv
1672 install-pdf-target: maybe-install-pdf-target-libssp
1673 install-pdf-target: maybe-install-pdf-target-newlib
1674 install-pdf-target: maybe-install-pdf-target-libgcc
1675 install-pdf-target: maybe-install-pdf-target-libbacktrace
1676 install-pdf-target: maybe-install-pdf-target-libquadmath
1677 install-pdf-target: maybe-install-pdf-target-libgfortran
1678 install-pdf-target: maybe-install-pdf-target-libobjc
1679 install-pdf-target: maybe-install-pdf-target-libgo
1680 install-pdf-target: maybe-install-pdf-target-libtermcap
1681 install-pdf-target: maybe-install-pdf-target-winsup
1682 install-pdf-target: maybe-install-pdf-target-libgloss
1683 install-pdf-target: maybe-install-pdf-target-libffi
1684 install-pdf-target: maybe-install-pdf-target-libjava
1685 install-pdf-target: maybe-install-pdf-target-zlib
1686 install-pdf-target: maybe-install-pdf-target-boehm-gc
1687 install-pdf-target: maybe-install-pdf-target-rda
1688 install-pdf-target: maybe-install-pdf-target-libada
1689 install-pdf-target: maybe-install-pdf-target-libgomp
1690 install-pdf-target: maybe-install-pdf-target-libitm
1691 install-pdf-target: maybe-install-pdf-target-libatomic
1693 .PHONY: do-install-html
1694 do-install-html:
1695 @: $(MAKE); $(unstage)
1696 @r=`${PWD_COMMAND}`; export r; \
1697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1698 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1699 install-html-target
1702 .PHONY: install-html-host
1704 install-html-host: maybe-install-html-bfd
1705 install-html-host: maybe-install-html-opcodes
1706 install-html-host: maybe-install-html-binutils
1707 install-html-host: maybe-install-html-bison
1708 install-html-host: maybe-install-html-cgen
1709 install-html-host: maybe-install-html-dejagnu
1710 install-html-host: maybe-install-html-etc
1711 install-html-host: maybe-install-html-fastjar
1712 install-html-host: maybe-install-html-fixincludes
1713 install-html-host: maybe-install-html-flex
1714 install-html-host: maybe-install-html-gas
1715 install-html-host: maybe-install-html-gcc
1716 install-html-host: maybe-install-html-gmp
1717 install-html-host: maybe-install-html-mpfr
1718 install-html-host: maybe-install-html-mpc
1719 install-html-host: maybe-install-html-isl
1720 install-html-host: maybe-install-html-cloog
1721 install-html-host: maybe-install-html-libelf
1722 install-html-host: maybe-install-html-gold
1723 install-html-host: maybe-install-html-gprof
1724 install-html-host: maybe-install-html-intl
1725 install-html-host: maybe-install-html-tcl
1726 install-html-host: maybe-install-html-itcl
1727 install-html-host: maybe-install-html-ld
1728 install-html-host: maybe-install-html-libbacktrace
1729 install-html-host: maybe-install-html-libcpp
1730 install-html-host: maybe-install-html-libdecnumber
1731 install-html-host: maybe-install-html-libgui
1732 install-html-host: maybe-install-html-libiberty
1733 install-html-host: maybe-install-html-libiconv
1734 install-html-host: maybe-install-html-m4
1735 install-html-host: maybe-install-html-readline
1736 install-html-host: maybe-install-html-sid
1737 install-html-host: maybe-install-html-sim
1738 install-html-host: maybe-install-html-texinfo
1739 install-html-host: maybe-install-html-zlib
1740 install-html-host: maybe-install-html-gdb
1741 install-html-host: maybe-install-html-expect
1742 install-html-host: maybe-install-html-guile
1743 install-html-host: maybe-install-html-tk
1744 install-html-host: maybe-install-html-libtermcap
1745 install-html-host: maybe-install-html-utils
1746 install-html-host: maybe-install-html-gnattools
1747 install-html-host: maybe-install-html-lto-plugin
1749 .PHONY: install-html-target
1751 install-html-target: maybe-install-html-target-libstdc++-v3
1752 install-html-target: maybe-install-html-target-libsanitizer
1753 install-html-target: maybe-install-html-target-libvtv
1754 install-html-target: maybe-install-html-target-libssp
1755 install-html-target: maybe-install-html-target-newlib
1756 install-html-target: maybe-install-html-target-libgcc
1757 install-html-target: maybe-install-html-target-libbacktrace
1758 install-html-target: maybe-install-html-target-libquadmath
1759 install-html-target: maybe-install-html-target-libgfortran
1760 install-html-target: maybe-install-html-target-libobjc
1761 install-html-target: maybe-install-html-target-libgo
1762 install-html-target: maybe-install-html-target-libtermcap
1763 install-html-target: maybe-install-html-target-winsup
1764 install-html-target: maybe-install-html-target-libgloss
1765 install-html-target: maybe-install-html-target-libffi
1766 install-html-target: maybe-install-html-target-libjava
1767 install-html-target: maybe-install-html-target-zlib
1768 install-html-target: maybe-install-html-target-boehm-gc
1769 install-html-target: maybe-install-html-target-rda
1770 install-html-target: maybe-install-html-target-libada
1771 install-html-target: maybe-install-html-target-libgomp
1772 install-html-target: maybe-install-html-target-libitm
1773 install-html-target: maybe-install-html-target-libatomic
1775 .PHONY: do-installcheck
1776 do-installcheck:
1777 @: $(MAKE); $(unstage)
1778 @r=`${PWD_COMMAND}`; export r; \
1779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1780 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1781 installcheck-target
1784 .PHONY: installcheck-host
1786 installcheck-host: maybe-installcheck-bfd
1787 installcheck-host: maybe-installcheck-opcodes
1788 installcheck-host: maybe-installcheck-binutils
1789 installcheck-host: maybe-installcheck-bison
1790 installcheck-host: maybe-installcheck-cgen
1791 installcheck-host: maybe-installcheck-dejagnu
1792 installcheck-host: maybe-installcheck-etc
1793 installcheck-host: maybe-installcheck-fastjar
1794 installcheck-host: maybe-installcheck-fixincludes
1795 installcheck-host: maybe-installcheck-flex
1796 installcheck-host: maybe-installcheck-gas
1797 installcheck-host: maybe-installcheck-gcc
1798 installcheck-host: maybe-installcheck-gmp
1799 installcheck-host: maybe-installcheck-mpfr
1800 installcheck-host: maybe-installcheck-mpc
1801 installcheck-host: maybe-installcheck-isl
1802 installcheck-host: maybe-installcheck-cloog
1803 installcheck-host: maybe-installcheck-libelf
1804 installcheck-host: maybe-installcheck-gold
1805 installcheck-host: maybe-installcheck-gprof
1806 installcheck-host: maybe-installcheck-intl
1807 installcheck-host: maybe-installcheck-tcl
1808 installcheck-host: maybe-installcheck-itcl
1809 installcheck-host: maybe-installcheck-ld
1810 installcheck-host: maybe-installcheck-libbacktrace
1811 installcheck-host: maybe-installcheck-libcpp
1812 installcheck-host: maybe-installcheck-libdecnumber
1813 installcheck-host: maybe-installcheck-libgui
1814 installcheck-host: maybe-installcheck-libiberty
1815 installcheck-host: maybe-installcheck-libiconv
1816 installcheck-host: maybe-installcheck-m4
1817 installcheck-host: maybe-installcheck-readline
1818 installcheck-host: maybe-installcheck-sid
1819 installcheck-host: maybe-installcheck-sim
1820 installcheck-host: maybe-installcheck-texinfo
1821 installcheck-host: maybe-installcheck-zlib
1822 installcheck-host: maybe-installcheck-gdb
1823 installcheck-host: maybe-installcheck-expect
1824 installcheck-host: maybe-installcheck-guile
1825 installcheck-host: maybe-installcheck-tk
1826 installcheck-host: maybe-installcheck-libtermcap
1827 installcheck-host: maybe-installcheck-utils
1828 installcheck-host: maybe-installcheck-gnattools
1829 installcheck-host: maybe-installcheck-lto-plugin
1831 .PHONY: installcheck-target
1833 installcheck-target: maybe-installcheck-target-libstdc++-v3
1834 installcheck-target: maybe-installcheck-target-libsanitizer
1835 installcheck-target: maybe-installcheck-target-libvtv
1836 installcheck-target: maybe-installcheck-target-libssp
1837 installcheck-target: maybe-installcheck-target-newlib
1838 installcheck-target: maybe-installcheck-target-libgcc
1839 installcheck-target: maybe-installcheck-target-libbacktrace
1840 installcheck-target: maybe-installcheck-target-libquadmath
1841 installcheck-target: maybe-installcheck-target-libgfortran
1842 installcheck-target: maybe-installcheck-target-libobjc
1843 installcheck-target: maybe-installcheck-target-libgo
1844 installcheck-target: maybe-installcheck-target-libtermcap
1845 installcheck-target: maybe-installcheck-target-winsup
1846 installcheck-target: maybe-installcheck-target-libgloss
1847 installcheck-target: maybe-installcheck-target-libffi
1848 installcheck-target: maybe-installcheck-target-libjava
1849 installcheck-target: maybe-installcheck-target-zlib
1850 installcheck-target: maybe-installcheck-target-boehm-gc
1851 installcheck-target: maybe-installcheck-target-rda
1852 installcheck-target: maybe-installcheck-target-libada
1853 installcheck-target: maybe-installcheck-target-libgomp
1854 installcheck-target: maybe-installcheck-target-libitm
1855 installcheck-target: maybe-installcheck-target-libatomic
1857 .PHONY: do-mostlyclean
1858 do-mostlyclean:
1859 @: $(MAKE); $(unstage)
1860 @r=`${PWD_COMMAND}`; export r; \
1861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1862 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1863 mostlyclean-target
1866 .PHONY: mostlyclean-host
1868 mostlyclean-host: maybe-mostlyclean-bfd
1869 mostlyclean-host: maybe-mostlyclean-opcodes
1870 mostlyclean-host: maybe-mostlyclean-binutils
1871 mostlyclean-host: maybe-mostlyclean-bison
1872 mostlyclean-host: maybe-mostlyclean-cgen
1873 mostlyclean-host: maybe-mostlyclean-dejagnu
1874 mostlyclean-host: maybe-mostlyclean-etc
1875 mostlyclean-host: maybe-mostlyclean-fastjar
1876 mostlyclean-host: maybe-mostlyclean-fixincludes
1877 mostlyclean-host: maybe-mostlyclean-flex
1878 mostlyclean-host: maybe-mostlyclean-gas
1879 mostlyclean-host: maybe-mostlyclean-gcc
1880 mostlyclean-host: maybe-mostlyclean-gmp
1881 mostlyclean-host: maybe-mostlyclean-mpfr
1882 mostlyclean-host: maybe-mostlyclean-mpc
1883 mostlyclean-host: maybe-mostlyclean-isl
1884 mostlyclean-host: maybe-mostlyclean-cloog
1885 mostlyclean-host: maybe-mostlyclean-libelf
1886 mostlyclean-host: maybe-mostlyclean-gold
1887 mostlyclean-host: maybe-mostlyclean-gprof
1888 mostlyclean-host: maybe-mostlyclean-intl
1889 mostlyclean-host: maybe-mostlyclean-tcl
1890 mostlyclean-host: maybe-mostlyclean-itcl
1891 mostlyclean-host: maybe-mostlyclean-ld
1892 mostlyclean-host: maybe-mostlyclean-libbacktrace
1893 mostlyclean-host: maybe-mostlyclean-libcpp
1894 mostlyclean-host: maybe-mostlyclean-libdecnumber
1895 mostlyclean-host: maybe-mostlyclean-libgui
1896 mostlyclean-host: maybe-mostlyclean-libiberty
1897 mostlyclean-host: maybe-mostlyclean-libiconv
1898 mostlyclean-host: maybe-mostlyclean-m4
1899 mostlyclean-host: maybe-mostlyclean-readline
1900 mostlyclean-host: maybe-mostlyclean-sid
1901 mostlyclean-host: maybe-mostlyclean-sim
1902 mostlyclean-host: maybe-mostlyclean-texinfo
1903 mostlyclean-host: maybe-mostlyclean-zlib
1904 mostlyclean-host: maybe-mostlyclean-gdb
1905 mostlyclean-host: maybe-mostlyclean-expect
1906 mostlyclean-host: maybe-mostlyclean-guile
1907 mostlyclean-host: maybe-mostlyclean-tk
1908 mostlyclean-host: maybe-mostlyclean-libtermcap
1909 mostlyclean-host: maybe-mostlyclean-utils
1910 mostlyclean-host: maybe-mostlyclean-gnattools
1911 mostlyclean-host: maybe-mostlyclean-lto-plugin
1913 .PHONY: mostlyclean-target
1915 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1916 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1917 mostlyclean-target: maybe-mostlyclean-target-libvtv
1918 mostlyclean-target: maybe-mostlyclean-target-libssp
1919 mostlyclean-target: maybe-mostlyclean-target-newlib
1920 mostlyclean-target: maybe-mostlyclean-target-libgcc
1921 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1922 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1923 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1924 mostlyclean-target: maybe-mostlyclean-target-libobjc
1925 mostlyclean-target: maybe-mostlyclean-target-libgo
1926 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1927 mostlyclean-target: maybe-mostlyclean-target-winsup
1928 mostlyclean-target: maybe-mostlyclean-target-libgloss
1929 mostlyclean-target: maybe-mostlyclean-target-libffi
1930 mostlyclean-target: maybe-mostlyclean-target-libjava
1931 mostlyclean-target: maybe-mostlyclean-target-zlib
1932 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1933 mostlyclean-target: maybe-mostlyclean-target-rda
1934 mostlyclean-target: maybe-mostlyclean-target-libada
1935 mostlyclean-target: maybe-mostlyclean-target-libgomp
1936 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1937 mostlyclean-target: maybe-mostlyclean-target-libitm
1938 mostlyclean-target: maybe-mostlyclean-target-libatomic
1940 .PHONY: do-clean
1941 do-clean:
1942 @: $(MAKE); $(unstage)
1943 @r=`${PWD_COMMAND}`; export r; \
1944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1945 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1946 clean-target
1949 .PHONY: clean-host
1951 clean-host: maybe-clean-bfd
1952 clean-host: maybe-clean-opcodes
1953 clean-host: maybe-clean-binutils
1954 clean-host: maybe-clean-bison
1955 clean-host: maybe-clean-cgen
1956 clean-host: maybe-clean-dejagnu
1957 clean-host: maybe-clean-etc
1958 clean-host: maybe-clean-fastjar
1959 clean-host: maybe-clean-fixincludes
1960 clean-host: maybe-clean-flex
1961 clean-host: maybe-clean-gas
1962 clean-host: maybe-clean-gcc
1963 clean-host: maybe-clean-gmp
1964 clean-host: maybe-clean-mpfr
1965 clean-host: maybe-clean-mpc
1966 clean-host: maybe-clean-isl
1967 clean-host: maybe-clean-cloog
1968 clean-host: maybe-clean-libelf
1969 clean-host: maybe-clean-gold
1970 clean-host: maybe-clean-gprof
1971 clean-host: maybe-clean-intl
1972 clean-host: maybe-clean-tcl
1973 clean-host: maybe-clean-itcl
1974 clean-host: maybe-clean-ld
1975 clean-host: maybe-clean-libbacktrace
1976 clean-host: maybe-clean-libcpp
1977 clean-host: maybe-clean-libdecnumber
1978 clean-host: maybe-clean-libgui
1979 clean-host: maybe-clean-libiberty
1980 clean-host: maybe-clean-libiconv
1981 clean-host: maybe-clean-m4
1982 clean-host: maybe-clean-readline
1983 clean-host: maybe-clean-sid
1984 clean-host: maybe-clean-sim
1985 clean-host: maybe-clean-texinfo
1986 clean-host: maybe-clean-zlib
1987 clean-host: maybe-clean-gdb
1988 clean-host: maybe-clean-expect
1989 clean-host: maybe-clean-guile
1990 clean-host: maybe-clean-tk
1991 clean-host: maybe-clean-libtermcap
1992 clean-host: maybe-clean-utils
1993 clean-host: maybe-clean-gnattools
1994 clean-host: maybe-clean-lto-plugin
1996 .PHONY: clean-target
1998 clean-target: maybe-clean-target-libstdc++-v3
1999 clean-target: maybe-clean-target-libsanitizer
2000 clean-target: maybe-clean-target-libvtv
2001 clean-target: maybe-clean-target-libssp
2002 clean-target: maybe-clean-target-newlib
2003 clean-target: maybe-clean-target-libgcc
2004 clean-target: maybe-clean-target-libbacktrace
2005 clean-target: maybe-clean-target-libquadmath
2006 clean-target: maybe-clean-target-libgfortran
2007 clean-target: maybe-clean-target-libobjc
2008 clean-target: maybe-clean-target-libgo
2009 clean-target: maybe-clean-target-libtermcap
2010 clean-target: maybe-clean-target-winsup
2011 clean-target: maybe-clean-target-libgloss
2012 clean-target: maybe-clean-target-libffi
2013 clean-target: maybe-clean-target-libjava
2014 clean-target: maybe-clean-target-zlib
2015 clean-target: maybe-clean-target-boehm-gc
2016 clean-target: maybe-clean-target-rda
2017 clean-target: maybe-clean-target-libada
2018 clean-target: maybe-clean-target-libgomp
2019 clean-target: maybe-clean-target-libcilkrts
2020 clean-target: maybe-clean-target-libitm
2021 clean-target: maybe-clean-target-libatomic
2023 .PHONY: do-distclean
2024 do-distclean:
2025 @: $(MAKE); $(unstage)
2026 @r=`${PWD_COMMAND}`; export r; \
2027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2028 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2029 distclean-target
2032 .PHONY: distclean-host
2034 distclean-host: maybe-distclean-bfd
2035 distclean-host: maybe-distclean-opcodes
2036 distclean-host: maybe-distclean-binutils
2037 distclean-host: maybe-distclean-bison
2038 distclean-host: maybe-distclean-cgen
2039 distclean-host: maybe-distclean-dejagnu
2040 distclean-host: maybe-distclean-etc
2041 distclean-host: maybe-distclean-fastjar
2042 distclean-host: maybe-distclean-fixincludes
2043 distclean-host: maybe-distclean-flex
2044 distclean-host: maybe-distclean-gas
2045 distclean-host: maybe-distclean-gcc
2046 distclean-host: maybe-distclean-gmp
2047 distclean-host: maybe-distclean-mpfr
2048 distclean-host: maybe-distclean-mpc
2049 distclean-host: maybe-distclean-isl
2050 distclean-host: maybe-distclean-cloog
2051 distclean-host: maybe-distclean-libelf
2052 distclean-host: maybe-distclean-gold
2053 distclean-host: maybe-distclean-gprof
2054 distclean-host: maybe-distclean-intl
2055 distclean-host: maybe-distclean-tcl
2056 distclean-host: maybe-distclean-itcl
2057 distclean-host: maybe-distclean-ld
2058 distclean-host: maybe-distclean-libbacktrace
2059 distclean-host: maybe-distclean-libcpp
2060 distclean-host: maybe-distclean-libdecnumber
2061 distclean-host: maybe-distclean-libgui
2062 distclean-host: maybe-distclean-libiberty
2063 distclean-host: maybe-distclean-libiconv
2064 distclean-host: maybe-distclean-m4
2065 distclean-host: maybe-distclean-readline
2066 distclean-host: maybe-distclean-sid
2067 distclean-host: maybe-distclean-sim
2068 distclean-host: maybe-distclean-texinfo
2069 distclean-host: maybe-distclean-zlib
2070 distclean-host: maybe-distclean-gdb
2071 distclean-host: maybe-distclean-expect
2072 distclean-host: maybe-distclean-guile
2073 distclean-host: maybe-distclean-tk
2074 distclean-host: maybe-distclean-libtermcap
2075 distclean-host: maybe-distclean-utils
2076 distclean-host: maybe-distclean-gnattools
2077 distclean-host: maybe-distclean-lto-plugin
2079 .PHONY: distclean-target
2081 distclean-target: maybe-distclean-target-libstdc++-v3
2082 distclean-target: maybe-distclean-target-libsanitizer
2083 distclean-target: maybe-distclean-target-libvtv
2084 distclean-target: maybe-distclean-target-libssp
2085 distclean-target: maybe-distclean-target-newlib
2086 distclean-target: maybe-distclean-target-libgcc
2087 distclean-target: maybe-distclean-target-libbacktrace
2088 distclean-target: maybe-distclean-target-libquadmath
2089 distclean-target: maybe-distclean-target-libgfortran
2090 distclean-target: maybe-distclean-target-libobjc
2091 distclean-target: maybe-distclean-target-libgo
2092 distclean-target: maybe-distclean-target-libtermcap
2093 distclean-target: maybe-distclean-target-winsup
2094 distclean-target: maybe-distclean-target-libgloss
2095 distclean-target: maybe-distclean-target-libffi
2096 distclean-target: maybe-distclean-target-libjava
2097 distclean-target: maybe-distclean-target-zlib
2098 distclean-target: maybe-distclean-target-boehm-gc
2099 distclean-target: maybe-distclean-target-rda
2100 distclean-target: maybe-distclean-target-libada
2101 distclean-target: maybe-distclean-target-libgomp
2102 distclean-target: maybe-distclean-target-libcilkrts
2103 distclean-target: maybe-distclean-target-libitm
2104 distclean-target: maybe-distclean-target-libatomic
2106 .PHONY: do-maintainer-clean
2107 do-maintainer-clean:
2108 @: $(MAKE); $(unstage)
2109 @r=`${PWD_COMMAND}`; export r; \
2110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2112 maintainer-clean-target
2115 .PHONY: maintainer-clean-host
2117 maintainer-clean-host: maybe-maintainer-clean-bfd
2118 maintainer-clean-host: maybe-maintainer-clean-opcodes
2119 maintainer-clean-host: maybe-maintainer-clean-binutils
2120 maintainer-clean-host: maybe-maintainer-clean-bison
2121 maintainer-clean-host: maybe-maintainer-clean-cgen
2122 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2123 maintainer-clean-host: maybe-maintainer-clean-etc
2124 maintainer-clean-host: maybe-maintainer-clean-fastjar
2125 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2126 maintainer-clean-host: maybe-maintainer-clean-flex
2127 maintainer-clean-host: maybe-maintainer-clean-gas
2128 maintainer-clean-host: maybe-maintainer-clean-gcc
2129 maintainer-clean-host: maybe-maintainer-clean-gmp
2130 maintainer-clean-host: maybe-maintainer-clean-mpfr
2131 maintainer-clean-host: maybe-maintainer-clean-mpc
2132 maintainer-clean-host: maybe-maintainer-clean-isl
2133 maintainer-clean-host: maybe-maintainer-clean-cloog
2134 maintainer-clean-host: maybe-maintainer-clean-libelf
2135 maintainer-clean-host: maybe-maintainer-clean-gold
2136 maintainer-clean-host: maybe-maintainer-clean-gprof
2137 maintainer-clean-host: maybe-maintainer-clean-intl
2138 maintainer-clean-host: maybe-maintainer-clean-tcl
2139 maintainer-clean-host: maybe-maintainer-clean-itcl
2140 maintainer-clean-host: maybe-maintainer-clean-ld
2141 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2142 maintainer-clean-host: maybe-maintainer-clean-libcpp
2143 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2144 maintainer-clean-host: maybe-maintainer-clean-libgui
2145 maintainer-clean-host: maybe-maintainer-clean-libiberty
2146 maintainer-clean-host: maybe-maintainer-clean-libiconv
2147 maintainer-clean-host: maybe-maintainer-clean-m4
2148 maintainer-clean-host: maybe-maintainer-clean-readline
2149 maintainer-clean-host: maybe-maintainer-clean-sid
2150 maintainer-clean-host: maybe-maintainer-clean-sim
2151 maintainer-clean-host: maybe-maintainer-clean-texinfo
2152 maintainer-clean-host: maybe-maintainer-clean-zlib
2153 maintainer-clean-host: maybe-maintainer-clean-gdb
2154 maintainer-clean-host: maybe-maintainer-clean-expect
2155 maintainer-clean-host: maybe-maintainer-clean-guile
2156 maintainer-clean-host: maybe-maintainer-clean-tk
2157 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2158 maintainer-clean-host: maybe-maintainer-clean-utils
2159 maintainer-clean-host: maybe-maintainer-clean-gnattools
2160 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2162 .PHONY: maintainer-clean-target
2164 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2165 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2166 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2167 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2168 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2169 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2170 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2171 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2172 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2173 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2174 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2175 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2176 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2177 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2178 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2179 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2180 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2181 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2182 maintainer-clean-target: maybe-maintainer-clean-target-rda
2183 maintainer-clean-target: maybe-maintainer-clean-target-libada
2184 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2185 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2186 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2187 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2190 # Here are the targets which correspond to the do-X targets.
2192 .PHONY: info installcheck dvi pdf html
2193 .PHONY: install-info install-pdf install-html
2194 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2195 .PHONY: local-clean local-distclean local-maintainer-clean
2196 info: do-info
2197 installcheck: do-installcheck
2198 dvi: do-dvi
2199 pdf: do-pdf
2200 html: do-html
2202 # Make sure makeinfo is built before we do a `make info', if we're
2203 # in fact building texinfo.
2204 do-info: maybe-all-texinfo
2206 install-info: do-install-info dir.info
2207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2208 if [ -f dir.info ] ; then \
2209 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2210 else true ; fi
2212 install-pdf: do-install-pdf
2214 install-html: do-install-html
2216 local-clean:
2217 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2219 local-distclean:
2220 -rm -f Makefile config.status config.cache mh-frag mt-frag
2221 -rm -f maybedep.tmp serdep.tmp
2222 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2223 rm -rf $(TARGET_SUBDIR); \
2224 else true; fi
2225 -rm -rf $(BUILD_SUBDIR)
2226 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2227 rm -rf $(HOST_SUBDIR); \
2228 else true; fi
2229 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2230 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2231 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2232 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2233 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2234 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2236 local-maintainer-clean:
2237 @echo "This command is intended for maintainers to use;"
2238 @echo "it deletes files that may require special tools to rebuild."
2240 clean: do-clean local-clean
2241 mostlyclean: do-mostlyclean local-clean
2242 distclean: do-distclean local-clean local-distclean
2243 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2244 maintainer-clean: local-distclean
2245 realclean: maintainer-clean
2247 # Check target.
2249 .PHONY: check do-check
2250 check: do-check
2252 # Only include modules actually being configured and built.
2253 .PHONY: check-host
2254 check-host: \
2255 maybe-check-bfd \
2256 maybe-check-opcodes \
2257 maybe-check-binutils \
2258 maybe-check-bison \
2259 maybe-check-cgen \
2260 maybe-check-dejagnu \
2261 maybe-check-etc \
2262 maybe-check-fastjar \
2263 maybe-check-fixincludes \
2264 maybe-check-flex \
2265 maybe-check-gas \
2266 maybe-check-gcc \
2267 maybe-check-gmp \
2268 maybe-check-mpfr \
2269 maybe-check-mpc \
2270 maybe-check-isl \
2271 maybe-check-cloog \
2272 maybe-check-libelf \
2273 maybe-check-gold \
2274 maybe-check-gprof \
2275 maybe-check-intl \
2276 maybe-check-tcl \
2277 maybe-check-itcl \
2278 maybe-check-ld \
2279 maybe-check-libbacktrace \
2280 maybe-check-libcpp \
2281 maybe-check-libdecnumber \
2282 maybe-check-libgui \
2283 maybe-check-libiberty \
2284 maybe-check-libiconv \
2285 maybe-check-m4 \
2286 maybe-check-readline \
2287 maybe-check-sid \
2288 maybe-check-sim \
2289 maybe-check-texinfo \
2290 maybe-check-zlib \
2291 maybe-check-gdb \
2292 maybe-check-expect \
2293 maybe-check-guile \
2294 maybe-check-tk \
2295 maybe-check-libtermcap \
2296 maybe-check-utils \
2297 maybe-check-gnattools \
2298 maybe-check-lto-plugin
2300 .PHONY: check-target
2301 check-target: \
2302 maybe-check-target-libstdc++-v3 \
2303 maybe-check-target-libsanitizer \
2304 maybe-check-target-libvtv \
2305 maybe-check-target-libssp \
2306 maybe-check-target-newlib \
2307 maybe-check-target-libgcc \
2308 maybe-check-target-libbacktrace \
2309 maybe-check-target-libquadmath \
2310 maybe-check-target-libgfortran \
2311 maybe-check-target-libobjc \
2312 maybe-check-target-libgo \
2313 maybe-check-target-libtermcap \
2314 maybe-check-target-winsup \
2315 maybe-check-target-libgloss \
2316 maybe-check-target-libffi \
2317 maybe-check-target-libjava \
2318 maybe-check-target-zlib \
2319 maybe-check-target-boehm-gc \
2320 maybe-check-target-rda \
2321 maybe-check-target-libada \
2322 maybe-check-target-libgomp \
2323 maybe-check-target-libitm \
2324 maybe-check-target-libatomic
2326 do-check:
2327 @: $(MAKE); $(unstage)
2328 @r=`${PWD_COMMAND}`; export r; \
2329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2332 # Automated reporting of test results.
2334 warning.log: build.log
2335 $(srcdir)/contrib/warn_summary build.log > $@
2337 mail-report.log:
2338 if test x'$(BOOT_CFLAGS)' != x''; then \
2339 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2340 fi; \
2341 $(srcdir)/contrib/test_summary -t >$@
2342 chmod +x $@
2343 echo If you really want to send e-mail, run ./$@ now
2345 mail-report-with-warnings.log: warning.log
2346 if test x'$(BOOT_CFLAGS)' != x''; then \
2347 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2348 fi; \
2349 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2350 chmod +x $@
2351 echo If you really want to send e-mail, run ./$@ now
2353 # Installation targets.
2355 .PHONY: install uninstall
2356 install:
2357 @: $(MAKE); $(unstage)
2358 @r=`${PWD_COMMAND}`; export r; \
2359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2362 .PHONY: install-host-nogcc
2363 install-host-nogcc: \
2364 maybe-install-bfd \
2365 maybe-install-opcodes \
2366 maybe-install-binutils \
2367 maybe-install-bison \
2368 maybe-install-cgen \
2369 maybe-install-dejagnu \
2370 maybe-install-etc \
2371 maybe-install-fastjar \
2372 maybe-install-fixincludes \
2373 maybe-install-flex \
2374 maybe-install-gas \
2375 maybe-install-gmp \
2376 maybe-install-mpfr \
2377 maybe-install-mpc \
2378 maybe-install-isl \
2379 maybe-install-cloog \
2380 maybe-install-libelf \
2381 maybe-install-gold \
2382 maybe-install-gprof \
2383 maybe-install-intl \
2384 maybe-install-tcl \
2385 maybe-install-itcl \
2386 maybe-install-ld \
2387 maybe-install-libbacktrace \
2388 maybe-install-libcpp \
2389 maybe-install-libdecnumber \
2390 maybe-install-libgui \
2391 maybe-install-libiberty \
2392 maybe-install-libiconv \
2393 maybe-install-m4 \
2394 maybe-install-readline \
2395 maybe-install-sid \
2396 maybe-install-sim \
2397 maybe-install-texinfo \
2398 maybe-install-zlib \
2399 maybe-install-gdb \
2400 maybe-install-expect \
2401 maybe-install-guile \
2402 maybe-install-tk \
2403 maybe-install-libtermcap \
2404 maybe-install-utils \
2405 maybe-install-gnattools \
2406 maybe-install-lto-plugin
2408 .PHONY: install-host
2409 install-host: \
2410 maybe-install-bfd \
2411 maybe-install-opcodes \
2412 maybe-install-binutils \
2413 maybe-install-bison \
2414 maybe-install-cgen \
2415 maybe-install-dejagnu \
2416 maybe-install-etc \
2417 maybe-install-fastjar \
2418 maybe-install-fixincludes \
2419 maybe-install-flex \
2420 maybe-install-gas \
2421 maybe-install-gcc \
2422 maybe-install-gmp \
2423 maybe-install-mpfr \
2424 maybe-install-mpc \
2425 maybe-install-isl \
2426 maybe-install-cloog \
2427 maybe-install-libelf \
2428 maybe-install-gold \
2429 maybe-install-gprof \
2430 maybe-install-intl \
2431 maybe-install-tcl \
2432 maybe-install-itcl \
2433 maybe-install-ld \
2434 maybe-install-libbacktrace \
2435 maybe-install-libcpp \
2436 maybe-install-libdecnumber \
2437 maybe-install-libgui \
2438 maybe-install-libiberty \
2439 maybe-install-libiconv \
2440 maybe-install-m4 \
2441 maybe-install-readline \
2442 maybe-install-sid \
2443 maybe-install-sim \
2444 maybe-install-texinfo \
2445 maybe-install-zlib \
2446 maybe-install-gdb \
2447 maybe-install-expect \
2448 maybe-install-guile \
2449 maybe-install-tk \
2450 maybe-install-libtermcap \
2451 maybe-install-utils \
2452 maybe-install-gnattools \
2453 maybe-install-lto-plugin
2455 .PHONY: install-target
2456 install-target: \
2457 maybe-install-target-libstdc++-v3 \
2458 maybe-install-target-libsanitizer \
2459 maybe-install-target-libvtv \
2460 maybe-install-target-libssp \
2461 maybe-install-target-newlib \
2462 maybe-install-target-libgcc \
2463 maybe-install-target-libbacktrace \
2464 maybe-install-target-libquadmath \
2465 maybe-install-target-libgfortran \
2466 maybe-install-target-libobjc \
2467 maybe-install-target-libgo \
2468 maybe-install-target-libtermcap \
2469 maybe-install-target-winsup \
2470 maybe-install-target-libgloss \
2471 maybe-install-target-libffi \
2472 maybe-install-target-libjava \
2473 maybe-install-target-zlib \
2474 maybe-install-target-boehm-gc \
2475 maybe-install-target-rda \
2476 maybe-install-target-libada \
2477 maybe-install-target-libgomp \
2478 maybe-install-target-libcilkrts \
2479 maybe-install-target-libitm \
2480 maybe-install-target-libatomic
2482 uninstall:
2483 @echo "the uninstall target is not supported in this tree"
2485 .PHONY: install.all
2486 install.all: install-no-fixedincludes
2487 @if [ -f ./gcc/Makefile ] ; then \
2488 r=`${PWD_COMMAND}` ; export r ; \
2489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2490 $(HOST_EXPORTS) \
2491 (cd ./gcc && \
2492 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2493 else \
2494 true ; \
2497 # install-no-fixedincludes is used to allow the elaboration of binary packages
2498 # suitable for distribution, where we cannot include the fixed system header
2499 # files.
2500 .PHONY: install-no-fixedincludes
2501 install-no-fixedincludes: installdirs install-host-nogcc \
2502 install-target gcc-install-no-fixedincludes
2504 .PHONY: install-strip
2505 install-strip:
2506 @: $(MAKE); $(unstage)
2507 @r=`${PWD_COMMAND}`; export r; \
2508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2511 .PHONY: install-strip-host
2512 install-strip-host: \
2513 maybe-install-strip-bfd \
2514 maybe-install-strip-opcodes \
2515 maybe-install-strip-binutils \
2516 maybe-install-strip-bison \
2517 maybe-install-strip-cgen \
2518 maybe-install-strip-dejagnu \
2519 maybe-install-strip-etc \
2520 maybe-install-strip-fastjar \
2521 maybe-install-strip-fixincludes \
2522 maybe-install-strip-flex \
2523 maybe-install-strip-gas \
2524 maybe-install-strip-gcc \
2525 maybe-install-strip-gmp \
2526 maybe-install-strip-mpfr \
2527 maybe-install-strip-mpc \
2528 maybe-install-strip-isl \
2529 maybe-install-strip-cloog \
2530 maybe-install-strip-libelf \
2531 maybe-install-strip-gold \
2532 maybe-install-strip-gprof \
2533 maybe-install-strip-intl \
2534 maybe-install-strip-tcl \
2535 maybe-install-strip-itcl \
2536 maybe-install-strip-ld \
2537 maybe-install-strip-libbacktrace \
2538 maybe-install-strip-libcpp \
2539 maybe-install-strip-libdecnumber \
2540 maybe-install-strip-libgui \
2541 maybe-install-strip-libiberty \
2542 maybe-install-strip-libiconv \
2543 maybe-install-strip-m4 \
2544 maybe-install-strip-readline \
2545 maybe-install-strip-sid \
2546 maybe-install-strip-sim \
2547 maybe-install-strip-texinfo \
2548 maybe-install-strip-zlib \
2549 maybe-install-strip-gdb \
2550 maybe-install-strip-expect \
2551 maybe-install-strip-guile \
2552 maybe-install-strip-tk \
2553 maybe-install-strip-libtermcap \
2554 maybe-install-strip-utils \
2555 maybe-install-strip-gnattools \
2556 maybe-install-strip-lto-plugin
2558 .PHONY: install-strip-target
2559 install-strip-target: \
2560 maybe-install-strip-target-libstdc++-v3 \
2561 maybe-install-strip-target-libsanitizer \
2562 maybe-install-strip-target-libvtv \
2563 maybe-install-strip-target-libssp \
2564 maybe-install-strip-target-newlib \
2565 maybe-install-strip-target-libgcc \
2566 maybe-install-strip-target-libbacktrace \
2567 maybe-install-strip-target-libquadmath \
2568 maybe-install-strip-target-libgfortran \
2569 maybe-install-strip-target-libobjc \
2570 maybe-install-strip-target-libgo \
2571 maybe-install-strip-target-libtermcap \
2572 maybe-install-strip-target-winsup \
2573 maybe-install-strip-target-libgloss \
2574 maybe-install-strip-target-libffi \
2575 maybe-install-strip-target-libjava \
2576 maybe-install-strip-target-zlib \
2577 maybe-install-strip-target-boehm-gc \
2578 maybe-install-strip-target-rda \
2579 maybe-install-strip-target-libada \
2580 maybe-install-strip-target-libcilkrts \
2581 maybe-install-strip-target-libgomp \
2582 maybe-install-strip-target-libitm \
2583 maybe-install-strip-target-libatomic
2586 ### other supporting targets
2588 MAKEDIRS= \
2589 $(DESTDIR)$(prefix) \
2590 $(DESTDIR)$(exec_prefix)
2591 .PHONY: installdirs
2592 installdirs: mkinstalldirs
2593 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2595 dir.info: do-install-info
2596 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2597 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2598 mv -f dir.info.new dir.info ; \
2599 else true ; \
2602 dist:
2603 @echo "Building a full distribution of this tree isn't done"
2604 @echo "via 'make dist'. Check out the etc/ subdirectory"
2606 etags tags: TAGS
2608 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2609 # ability to use several tags files at once, so there is probably no need
2610 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2611 # (if we felt like it) have this Makefile write a piece of elisp which
2612 # the user could load to tell emacs19 where all the TAGS files we just
2613 # built are.
2614 TAGS: do-TAGS
2616 # ------------------------------------
2617 # Macros for configure and all targets
2618 # ------------------------------------
2624 # --------------------------------------
2625 # Modules which run on the build machine
2626 # --------------------------------------
2629 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2630 maybe-configure-build-libiberty:
2631 @if gcc-bootstrap
2632 configure-build-libiberty: stage_current
2633 @endif gcc-bootstrap
2634 @if build-libiberty
2635 maybe-configure-build-libiberty: configure-build-libiberty
2636 configure-build-libiberty:
2637 @: $(MAKE); $(unstage)
2638 @r=`${PWD_COMMAND}`; export r; \
2639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2640 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2641 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2642 $(BUILD_EXPORTS) \
2643 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2644 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2645 case $(srcdir) in \
2646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2647 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2649 esac; \
2650 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2651 libsrcdir="$$s/libiberty"; \
2652 rm -f no-such-file || : ; \
2653 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2654 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2655 --target=${target_alias} $${srcdiroption} \
2656 || exit 1
2657 @endif build-libiberty
2663 .PHONY: all-build-libiberty maybe-all-build-libiberty
2664 maybe-all-build-libiberty:
2665 @if gcc-bootstrap
2666 all-build-libiberty: stage_current
2667 @endif gcc-bootstrap
2668 @if build-libiberty
2669 TARGET-build-libiberty=all
2670 maybe-all-build-libiberty: all-build-libiberty
2671 all-build-libiberty: configure-build-libiberty
2672 @: $(MAKE); $(unstage)
2673 @r=`${PWD_COMMAND}`; export r; \
2674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2675 $(BUILD_EXPORTS) \
2676 (cd $(BUILD_SUBDIR)/libiberty && \
2677 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2678 $(TARGET-build-libiberty))
2679 @endif build-libiberty
2685 .PHONY: configure-build-bison maybe-configure-build-bison
2686 maybe-configure-build-bison:
2687 @if gcc-bootstrap
2688 configure-build-bison: stage_current
2689 @endif gcc-bootstrap
2690 @if build-bison
2691 maybe-configure-build-bison: configure-build-bison
2692 configure-build-bison:
2693 @: $(MAKE); $(unstage)
2694 @r=`${PWD_COMMAND}`; export r; \
2695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2696 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2697 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2698 $(BUILD_EXPORTS) \
2699 echo Configuring in $(BUILD_SUBDIR)/bison; \
2700 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2701 case $(srcdir) in \
2702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2703 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2705 esac; \
2706 srcdiroption="--srcdir=$${topdir}/bison"; \
2707 libsrcdir="$$s/bison"; \
2708 rm -f no-such-file || : ; \
2709 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2710 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2711 --target=${target_alias} $${srcdiroption} \
2712 || exit 1
2713 @endif build-bison
2719 .PHONY: all-build-bison maybe-all-build-bison
2720 maybe-all-build-bison:
2721 @if gcc-bootstrap
2722 all-build-bison: stage_current
2723 @endif gcc-bootstrap
2724 @if build-bison
2725 TARGET-build-bison=all
2726 maybe-all-build-bison: all-build-bison
2727 all-build-bison: configure-build-bison
2728 @: $(MAKE); $(unstage)
2729 @r=`${PWD_COMMAND}`; export r; \
2730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2731 $(BUILD_EXPORTS) \
2732 (cd $(BUILD_SUBDIR)/bison && \
2733 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2734 $(TARGET-build-bison))
2735 @endif build-bison
2741 .PHONY: configure-build-flex maybe-configure-build-flex
2742 maybe-configure-build-flex:
2743 @if gcc-bootstrap
2744 configure-build-flex: stage_current
2745 @endif gcc-bootstrap
2746 @if build-flex
2747 maybe-configure-build-flex: configure-build-flex
2748 configure-build-flex:
2749 @: $(MAKE); $(unstage)
2750 @r=`${PWD_COMMAND}`; export r; \
2751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2752 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2753 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2754 $(BUILD_EXPORTS) \
2755 echo Configuring in $(BUILD_SUBDIR)/flex; \
2756 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2757 case $(srcdir) in \
2758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2759 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2761 esac; \
2762 srcdiroption="--srcdir=$${topdir}/flex"; \
2763 libsrcdir="$$s/flex"; \
2764 rm -f no-such-file || : ; \
2765 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2766 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2767 --target=${target_alias} $${srcdiroption} \
2768 || exit 1
2769 @endif build-flex
2775 .PHONY: all-build-flex maybe-all-build-flex
2776 maybe-all-build-flex:
2777 @if gcc-bootstrap
2778 all-build-flex: stage_current
2779 @endif gcc-bootstrap
2780 @if build-flex
2781 TARGET-build-flex=all
2782 maybe-all-build-flex: all-build-flex
2783 all-build-flex: configure-build-flex
2784 @: $(MAKE); $(unstage)
2785 @r=`${PWD_COMMAND}`; export r; \
2786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 $(BUILD_EXPORTS) \
2788 (cd $(BUILD_SUBDIR)/flex && \
2789 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2790 $(TARGET-build-flex))
2791 @endif build-flex
2797 .PHONY: configure-build-m4 maybe-configure-build-m4
2798 maybe-configure-build-m4:
2799 @if gcc-bootstrap
2800 configure-build-m4: stage_current
2801 @endif gcc-bootstrap
2802 @if build-m4
2803 maybe-configure-build-m4: configure-build-m4
2804 configure-build-m4:
2805 @: $(MAKE); $(unstage)
2806 @r=`${PWD_COMMAND}`; export r; \
2807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2808 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2809 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2810 $(BUILD_EXPORTS) \
2811 echo Configuring in $(BUILD_SUBDIR)/m4; \
2812 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2813 case $(srcdir) in \
2814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2815 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2817 esac; \
2818 srcdiroption="--srcdir=$${topdir}/m4"; \
2819 libsrcdir="$$s/m4"; \
2820 rm -f no-such-file || : ; \
2821 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2822 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2823 --target=${target_alias} $${srcdiroption} \
2824 || exit 1
2825 @endif build-m4
2831 .PHONY: all-build-m4 maybe-all-build-m4
2832 maybe-all-build-m4:
2833 @if gcc-bootstrap
2834 all-build-m4: stage_current
2835 @endif gcc-bootstrap
2836 @if build-m4
2837 TARGET-build-m4=all
2838 maybe-all-build-m4: all-build-m4
2839 all-build-m4: configure-build-m4
2840 @: $(MAKE); $(unstage)
2841 @r=`${PWD_COMMAND}`; export r; \
2842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 $(BUILD_EXPORTS) \
2844 (cd $(BUILD_SUBDIR)/m4 && \
2845 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2846 $(TARGET-build-m4))
2847 @endif build-m4
2853 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2854 maybe-configure-build-texinfo:
2855 @if gcc-bootstrap
2856 configure-build-texinfo: stage_current
2857 @endif gcc-bootstrap
2858 @if build-texinfo
2859 maybe-configure-build-texinfo: configure-build-texinfo
2860 configure-build-texinfo:
2861 @: $(MAKE); $(unstage)
2862 @r=`${PWD_COMMAND}`; export r; \
2863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2864 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2865 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2866 $(BUILD_EXPORTS) \
2867 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2868 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2869 case $(srcdir) in \
2870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2871 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2873 esac; \
2874 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2875 libsrcdir="$$s/texinfo"; \
2876 rm -f no-such-file || : ; \
2877 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2878 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2879 --target=${target_alias} $${srcdiroption} \
2880 || exit 1
2881 @endif build-texinfo
2887 .PHONY: all-build-texinfo maybe-all-build-texinfo
2888 maybe-all-build-texinfo:
2889 @if gcc-bootstrap
2890 all-build-texinfo: stage_current
2891 @endif gcc-bootstrap
2892 @if build-texinfo
2893 TARGET-build-texinfo=all
2894 maybe-all-build-texinfo: all-build-texinfo
2895 all-build-texinfo: configure-build-texinfo
2896 @: $(MAKE); $(unstage)
2897 @r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 $(BUILD_EXPORTS) \
2900 (cd $(BUILD_SUBDIR)/texinfo && \
2901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2902 $(TARGET-build-texinfo))
2903 @endif build-texinfo
2909 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2910 maybe-configure-build-fixincludes:
2911 @if gcc-bootstrap
2912 configure-build-fixincludes: stage_current
2913 @endif gcc-bootstrap
2914 @if build-fixincludes
2915 maybe-configure-build-fixincludes: configure-build-fixincludes
2916 configure-build-fixincludes:
2917 @: $(MAKE); $(unstage)
2918 @r=`${PWD_COMMAND}`; export r; \
2919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2920 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2921 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2922 $(BUILD_EXPORTS) \
2923 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2924 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2925 case $(srcdir) in \
2926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2927 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2929 esac; \
2930 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2931 libsrcdir="$$s/fixincludes"; \
2932 rm -f no-such-file || : ; \
2933 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2934 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2935 --target=${target_alias} $${srcdiroption} \
2936 || exit 1
2937 @endif build-fixincludes
2943 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2944 maybe-all-build-fixincludes:
2945 @if gcc-bootstrap
2946 all-build-fixincludes: stage_current
2947 @endif gcc-bootstrap
2948 @if build-fixincludes
2949 TARGET-build-fixincludes=all
2950 maybe-all-build-fixincludes: all-build-fixincludes
2951 all-build-fixincludes: configure-build-fixincludes
2952 @: $(MAKE); $(unstage)
2953 @r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 $(BUILD_EXPORTS) \
2956 (cd $(BUILD_SUBDIR)/fixincludes && \
2957 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2958 $(TARGET-build-fixincludes))
2959 @endif build-fixincludes
2965 # --------------------------------------
2966 # Modules which run on the host machine
2967 # --------------------------------------
2970 .PHONY: configure-bfd maybe-configure-bfd
2971 maybe-configure-bfd:
2972 @if gcc-bootstrap
2973 configure-bfd: stage_current
2974 @endif gcc-bootstrap
2975 @if bfd
2976 maybe-configure-bfd: configure-bfd
2977 configure-bfd:
2978 @r=`${PWD_COMMAND}`; export r; \
2979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2980 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2982 $(HOST_EXPORTS) \
2983 echo Configuring in $(HOST_SUBDIR)/bfd; \
2984 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2985 case $(srcdir) in \
2986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2987 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2989 esac; \
2990 srcdiroption="--srcdir=$${topdir}/bfd"; \
2991 libsrcdir="$$s/bfd"; \
2992 $(SHELL) $${libsrcdir}/configure \
2993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2994 --target=${target_alias} $${srcdiroption} \
2995 || exit 1
2996 @endif bfd
3000 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3001 maybe-configure-stage1-bfd:
3002 @if bfd-bootstrap
3003 maybe-configure-stage1-bfd: configure-stage1-bfd
3004 configure-stage1-bfd:
3005 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3007 @r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 TFLAGS="$(STAGE1_TFLAGS)"; \
3010 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3011 $(HOST_EXPORTS) \
3012 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3013 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3014 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3015 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3017 cd $(HOST_SUBDIR)/bfd || exit 1; \
3018 case $(srcdir) in \
3019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3020 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3022 esac; \
3023 srcdiroption="--srcdir=$${topdir}/bfd"; \
3024 libsrcdir="$$s/bfd"; \
3025 $(SHELL) $${libsrcdir}/configure \
3026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3027 --target=${target_alias} $${srcdiroption} \
3028 $(STAGE1_CONFIGURE_FLAGS)
3029 @endif bfd-bootstrap
3031 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3032 maybe-configure-stage2-bfd:
3033 @if bfd-bootstrap
3034 maybe-configure-stage2-bfd: configure-stage2-bfd
3035 configure-stage2-bfd:
3036 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3038 @r=`${PWD_COMMAND}`; export r; \
3039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3040 TFLAGS="$(STAGE2_TFLAGS)"; \
3041 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3042 $(HOST_EXPORTS) \
3043 $(POSTSTAGE1_HOST_EXPORTS) \
3044 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3045 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3046 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3047 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3049 cd $(HOST_SUBDIR)/bfd || exit 1; \
3050 case $(srcdir) in \
3051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3052 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3054 esac; \
3055 srcdiroption="--srcdir=$${topdir}/bfd"; \
3056 libsrcdir="$$s/bfd"; \
3057 $(SHELL) $${libsrcdir}/configure \
3058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3059 --target=${target_alias} $${srcdiroption} \
3060 --with-build-libsubdir=$(HOST_SUBDIR) \
3061 $(STAGE2_CONFIGURE_FLAGS)
3062 @endif bfd-bootstrap
3064 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3065 maybe-configure-stage3-bfd:
3066 @if bfd-bootstrap
3067 maybe-configure-stage3-bfd: configure-stage3-bfd
3068 configure-stage3-bfd:
3069 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3071 @r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 TFLAGS="$(STAGE3_TFLAGS)"; \
3074 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3075 $(HOST_EXPORTS) \
3076 $(POSTSTAGE1_HOST_EXPORTS) \
3077 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3078 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3079 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3080 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3082 cd $(HOST_SUBDIR)/bfd || exit 1; \
3083 case $(srcdir) in \
3084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3085 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3087 esac; \
3088 srcdiroption="--srcdir=$${topdir}/bfd"; \
3089 libsrcdir="$$s/bfd"; \
3090 $(SHELL) $${libsrcdir}/configure \
3091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3092 --target=${target_alias} $${srcdiroption} \
3093 --with-build-libsubdir=$(HOST_SUBDIR) \
3094 $(STAGE3_CONFIGURE_FLAGS)
3095 @endif bfd-bootstrap
3097 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3098 maybe-configure-stage4-bfd:
3099 @if bfd-bootstrap
3100 maybe-configure-stage4-bfd: configure-stage4-bfd
3101 configure-stage4-bfd:
3102 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3104 @r=`${PWD_COMMAND}`; export r; \
3105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3106 TFLAGS="$(STAGE4_TFLAGS)"; \
3107 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3108 $(HOST_EXPORTS) \
3109 $(POSTSTAGE1_HOST_EXPORTS) \
3110 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3111 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3112 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3113 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3115 cd $(HOST_SUBDIR)/bfd || exit 1; \
3116 case $(srcdir) in \
3117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3118 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3120 esac; \
3121 srcdiroption="--srcdir=$${topdir}/bfd"; \
3122 libsrcdir="$$s/bfd"; \
3123 $(SHELL) $${libsrcdir}/configure \
3124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3125 --target=${target_alias} $${srcdiroption} \
3126 --with-build-libsubdir=$(HOST_SUBDIR) \
3127 $(STAGE4_CONFIGURE_FLAGS)
3128 @endif bfd-bootstrap
3130 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3131 maybe-configure-stageprofile-bfd:
3132 @if bfd-bootstrap
3133 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3134 configure-stageprofile-bfd:
3135 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3137 @r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3139 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3140 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3141 $(HOST_EXPORTS) \
3142 $(POSTSTAGE1_HOST_EXPORTS) \
3143 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3144 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3145 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3146 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3148 cd $(HOST_SUBDIR)/bfd || exit 1; \
3149 case $(srcdir) in \
3150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3151 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3153 esac; \
3154 srcdiroption="--srcdir=$${topdir}/bfd"; \
3155 libsrcdir="$$s/bfd"; \
3156 $(SHELL) $${libsrcdir}/configure \
3157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3158 --target=${target_alias} $${srcdiroption} \
3159 --with-build-libsubdir=$(HOST_SUBDIR) \
3160 $(STAGEprofile_CONFIGURE_FLAGS)
3161 @endif bfd-bootstrap
3163 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3164 maybe-configure-stagefeedback-bfd:
3165 @if bfd-bootstrap
3166 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3167 configure-stagefeedback-bfd:
3168 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3170 @r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3173 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3174 $(HOST_EXPORTS) \
3175 $(POSTSTAGE1_HOST_EXPORTS) \
3176 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3177 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3178 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3179 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3181 cd $(HOST_SUBDIR)/bfd || exit 1; \
3182 case $(srcdir) in \
3183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3184 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3186 esac; \
3187 srcdiroption="--srcdir=$${topdir}/bfd"; \
3188 libsrcdir="$$s/bfd"; \
3189 $(SHELL) $${libsrcdir}/configure \
3190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3191 --target=${target_alias} $${srcdiroption} \
3192 --with-build-libsubdir=$(HOST_SUBDIR) \
3193 $(STAGEfeedback_CONFIGURE_FLAGS)
3194 @endif bfd-bootstrap
3200 .PHONY: all-bfd maybe-all-bfd
3201 maybe-all-bfd:
3202 @if gcc-bootstrap
3203 all-bfd: stage_current
3204 @endif gcc-bootstrap
3205 @if bfd
3206 TARGET-bfd=all
3207 maybe-all-bfd: all-bfd
3208 all-bfd: configure-bfd
3209 @r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 $(HOST_EXPORTS) \
3212 (cd $(HOST_SUBDIR)/bfd && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3214 $(TARGET-bfd))
3215 @endif bfd
3219 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3220 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3221 maybe-all-stage1-bfd:
3222 maybe-clean-stage1-bfd:
3223 @if bfd-bootstrap
3224 maybe-all-stage1-bfd: all-stage1-bfd
3225 all-stage1: all-stage1-bfd
3226 TARGET-stage1-bfd = $(TARGET-bfd)
3227 all-stage1-bfd: configure-stage1-bfd
3228 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3229 @r=`${PWD_COMMAND}`; export r; \
3230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3231 TFLAGS="$(STAGE1_TFLAGS)"; \
3232 $(HOST_EXPORTS) \
3233 cd $(HOST_SUBDIR)/bfd && \
3234 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3235 CFLAGS="$(STAGE1_CFLAGS)" \
3236 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3237 LIBCFLAGS="$(LIBCFLAGS)" \
3238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3241 $(EXTRA_HOST_FLAGS) \
3242 $(STAGE1_FLAGS_TO_PASS) \
3243 TFLAGS="$(STAGE1_TFLAGS)" \
3244 $(TARGET-stage1-bfd)
3246 maybe-clean-stage1-bfd: clean-stage1-bfd
3247 clean-stage1: clean-stage1-bfd
3248 clean-stage1-bfd:
3249 @if [ $(current_stage) = stage1 ]; then \
3250 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3251 else \
3252 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3253 $(MAKE) stage1-start; \
3254 fi; \
3255 cd $(HOST_SUBDIR)/bfd && \
3256 $(MAKE) $(EXTRA_HOST_FLAGS) \
3257 $(STAGE1_FLAGS_TO_PASS) clean
3258 @endif bfd-bootstrap
3261 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3262 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3263 maybe-all-stage2-bfd:
3264 maybe-clean-stage2-bfd:
3265 @if bfd-bootstrap
3266 maybe-all-stage2-bfd: all-stage2-bfd
3267 all-stage2: all-stage2-bfd
3268 TARGET-stage2-bfd = $(TARGET-bfd)
3269 all-stage2-bfd: configure-stage2-bfd
3270 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3271 @r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 TFLAGS="$(STAGE2_TFLAGS)"; \
3274 $(HOST_EXPORTS) \
3275 $(POSTSTAGE1_HOST_EXPORTS) \
3276 cd $(HOST_SUBDIR)/bfd && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3278 CFLAGS="$(STAGE2_CFLAGS)" \
3279 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3280 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3284 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3285 TFLAGS="$(STAGE2_TFLAGS)" \
3286 $(TARGET-stage2-bfd)
3288 maybe-clean-stage2-bfd: clean-stage2-bfd
3289 clean-stage2: clean-stage2-bfd
3290 clean-stage2-bfd:
3291 @if [ $(current_stage) = stage2 ]; then \
3292 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3293 else \
3294 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3295 $(MAKE) stage2-start; \
3296 fi; \
3297 cd $(HOST_SUBDIR)/bfd && \
3298 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3299 @endif bfd-bootstrap
3302 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3303 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3304 maybe-all-stage3-bfd:
3305 maybe-clean-stage3-bfd:
3306 @if bfd-bootstrap
3307 maybe-all-stage3-bfd: all-stage3-bfd
3308 all-stage3: all-stage3-bfd
3309 TARGET-stage3-bfd = $(TARGET-bfd)
3310 all-stage3-bfd: configure-stage3-bfd
3311 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3312 @r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 TFLAGS="$(STAGE3_TFLAGS)"; \
3315 $(HOST_EXPORTS) \
3316 $(POSTSTAGE1_HOST_EXPORTS) \
3317 cd $(HOST_SUBDIR)/bfd && \
3318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3319 CFLAGS="$(STAGE3_CFLAGS)" \
3320 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3321 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3326 TFLAGS="$(STAGE3_TFLAGS)" \
3327 $(TARGET-stage3-bfd)
3329 maybe-clean-stage3-bfd: clean-stage3-bfd
3330 clean-stage3: clean-stage3-bfd
3331 clean-stage3-bfd:
3332 @if [ $(current_stage) = stage3 ]; then \
3333 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3334 else \
3335 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3336 $(MAKE) stage3-start; \
3337 fi; \
3338 cd $(HOST_SUBDIR)/bfd && \
3339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3340 @endif bfd-bootstrap
3343 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3344 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3345 maybe-all-stage4-bfd:
3346 maybe-clean-stage4-bfd:
3347 @if bfd-bootstrap
3348 maybe-all-stage4-bfd: all-stage4-bfd
3349 all-stage4: all-stage4-bfd
3350 TARGET-stage4-bfd = $(TARGET-bfd)
3351 all-stage4-bfd: configure-stage4-bfd
3352 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3353 @r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 TFLAGS="$(STAGE4_TFLAGS)"; \
3356 $(HOST_EXPORTS) \
3357 $(POSTSTAGE1_HOST_EXPORTS) \
3358 cd $(HOST_SUBDIR)/bfd && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3360 CFLAGS="$(STAGE4_CFLAGS)" \
3361 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3362 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3366 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3367 TFLAGS="$(STAGE4_TFLAGS)" \
3368 $(TARGET-stage4-bfd)
3370 maybe-clean-stage4-bfd: clean-stage4-bfd
3371 clean-stage4: clean-stage4-bfd
3372 clean-stage4-bfd:
3373 @if [ $(current_stage) = stage4 ]; then \
3374 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3375 else \
3376 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3377 $(MAKE) stage4-start; \
3378 fi; \
3379 cd $(HOST_SUBDIR)/bfd && \
3380 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3381 @endif bfd-bootstrap
3384 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3385 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3386 maybe-all-stageprofile-bfd:
3387 maybe-clean-stageprofile-bfd:
3388 @if bfd-bootstrap
3389 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3390 all-stageprofile: all-stageprofile-bfd
3391 TARGET-stageprofile-bfd = $(TARGET-bfd)
3392 all-stageprofile-bfd: configure-stageprofile-bfd
3393 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3394 @r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3397 $(HOST_EXPORTS) \
3398 $(POSTSTAGE1_HOST_EXPORTS) \
3399 cd $(HOST_SUBDIR)/bfd && \
3400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3401 CFLAGS="$(STAGEprofile_CFLAGS)" \
3402 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3403 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3408 TFLAGS="$(STAGEprofile_TFLAGS)" \
3409 $(TARGET-stageprofile-bfd)
3411 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3412 clean-stageprofile: clean-stageprofile-bfd
3413 clean-stageprofile-bfd:
3414 @if [ $(current_stage) = stageprofile ]; then \
3415 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3416 else \
3417 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3418 $(MAKE) stageprofile-start; \
3419 fi; \
3420 cd $(HOST_SUBDIR)/bfd && \
3421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3422 @endif bfd-bootstrap
3425 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3426 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3427 maybe-all-stagefeedback-bfd:
3428 maybe-clean-stagefeedback-bfd:
3429 @if bfd-bootstrap
3430 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3431 all-stagefeedback: all-stagefeedback-bfd
3432 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3433 all-stagefeedback-bfd: configure-stagefeedback-bfd
3434 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3435 @r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3438 $(HOST_EXPORTS) \
3439 $(POSTSTAGE1_HOST_EXPORTS) \
3440 cd $(HOST_SUBDIR)/bfd && \
3441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3442 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3443 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3444 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3449 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3450 $(TARGET-stagefeedback-bfd)
3452 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3453 clean-stagefeedback: clean-stagefeedback-bfd
3454 clean-stagefeedback-bfd:
3455 @if [ $(current_stage) = stagefeedback ]; then \
3456 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3457 else \
3458 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3459 $(MAKE) stagefeedback-start; \
3460 fi; \
3461 cd $(HOST_SUBDIR)/bfd && \
3462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3463 @endif bfd-bootstrap
3469 .PHONY: check-bfd maybe-check-bfd
3470 maybe-check-bfd:
3471 @if bfd
3472 maybe-check-bfd: check-bfd
3474 check-bfd:
3475 @: $(MAKE); $(unstage)
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 $(HOST_EXPORTS) \
3479 (cd $(HOST_SUBDIR)/bfd && \
3480 $(MAKE) $(FLAGS_TO_PASS) check)
3482 @endif bfd
3484 .PHONY: install-bfd maybe-install-bfd
3485 maybe-install-bfd:
3486 @if bfd
3487 maybe-install-bfd: install-bfd
3489 install-bfd: installdirs
3490 @: $(MAKE); $(unstage)
3491 @r=`${PWD_COMMAND}`; export r; \
3492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 $(HOST_EXPORTS) \
3494 (cd $(HOST_SUBDIR)/bfd && \
3495 $(MAKE) $(FLAGS_TO_PASS) install)
3497 @endif bfd
3499 .PHONY: install-strip-bfd maybe-install-strip-bfd
3500 maybe-install-strip-bfd:
3501 @if bfd
3502 maybe-install-strip-bfd: install-strip-bfd
3504 install-strip-bfd: installdirs
3505 @: $(MAKE); $(unstage)
3506 @r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 $(HOST_EXPORTS) \
3509 (cd $(HOST_SUBDIR)/bfd && \
3510 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3512 @endif bfd
3514 # Other targets (info, dvi, pdf, etc.)
3516 .PHONY: maybe-info-bfd info-bfd
3517 maybe-info-bfd:
3518 @if bfd
3519 maybe-info-bfd: info-bfd
3521 info-bfd: \
3522 configure-bfd
3523 @[ -f ./bfd/Makefile ] || exit 0; \
3524 r=`${PWD_COMMAND}`; export r; \
3525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3526 $(HOST_EXPORTS) \
3527 for flag in $(EXTRA_HOST_FLAGS) ; do \
3528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3529 done; \
3530 echo "Doing info in bfd" ; \
3531 (cd $(HOST_SUBDIR)/bfd && \
3532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3534 "RANLIB=$${RANLIB}" \
3535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3536 info) \
3537 || exit 1
3539 @endif bfd
3541 .PHONY: maybe-dvi-bfd dvi-bfd
3542 maybe-dvi-bfd:
3543 @if bfd
3544 maybe-dvi-bfd: dvi-bfd
3546 dvi-bfd: \
3547 configure-bfd
3548 @[ -f ./bfd/Makefile ] || exit 0; \
3549 r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 $(HOST_EXPORTS) \
3552 for flag in $(EXTRA_HOST_FLAGS) ; do \
3553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3554 done; \
3555 echo "Doing dvi in bfd" ; \
3556 (cd $(HOST_SUBDIR)/bfd && \
3557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3559 "RANLIB=$${RANLIB}" \
3560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3561 dvi) \
3562 || exit 1
3564 @endif bfd
3566 .PHONY: maybe-pdf-bfd pdf-bfd
3567 maybe-pdf-bfd:
3568 @if bfd
3569 maybe-pdf-bfd: pdf-bfd
3571 pdf-bfd: \
3572 configure-bfd
3573 @[ -f ./bfd/Makefile ] || exit 0; \
3574 r=`${PWD_COMMAND}`; export r; \
3575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing pdf in bfd" ; \
3581 (cd $(HOST_SUBDIR)/bfd && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3586 pdf) \
3587 || exit 1
3589 @endif bfd
3591 .PHONY: maybe-html-bfd html-bfd
3592 maybe-html-bfd:
3593 @if bfd
3594 maybe-html-bfd: html-bfd
3596 html-bfd: \
3597 configure-bfd
3598 @[ -f ./bfd/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3601 $(HOST_EXPORTS) \
3602 for flag in $(EXTRA_HOST_FLAGS) ; do \
3603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3604 done; \
3605 echo "Doing html in bfd" ; \
3606 (cd $(HOST_SUBDIR)/bfd && \
3607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3609 "RANLIB=$${RANLIB}" \
3610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3611 html) \
3612 || exit 1
3614 @endif bfd
3616 .PHONY: maybe-TAGS-bfd TAGS-bfd
3617 maybe-TAGS-bfd:
3618 @if bfd
3619 maybe-TAGS-bfd: TAGS-bfd
3621 TAGS-bfd: \
3622 configure-bfd
3623 @[ -f ./bfd/Makefile ] || exit 0; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 $(HOST_EXPORTS) \
3627 for flag in $(EXTRA_HOST_FLAGS) ; do \
3628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3629 done; \
3630 echo "Doing TAGS in bfd" ; \
3631 (cd $(HOST_SUBDIR)/bfd && \
3632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3634 "RANLIB=$${RANLIB}" \
3635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3636 TAGS) \
3637 || exit 1
3639 @endif bfd
3641 .PHONY: maybe-install-info-bfd install-info-bfd
3642 maybe-install-info-bfd:
3643 @if bfd
3644 maybe-install-info-bfd: install-info-bfd
3646 install-info-bfd: \
3647 configure-bfd \
3648 info-bfd
3649 @[ -f ./bfd/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing install-info in bfd" ; \
3657 (cd $(HOST_SUBDIR)/bfd && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3662 install-info) \
3663 || exit 1
3665 @endif bfd
3667 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3668 maybe-install-pdf-bfd:
3669 @if bfd
3670 maybe-install-pdf-bfd: install-pdf-bfd
3672 install-pdf-bfd: \
3673 configure-bfd \
3674 pdf-bfd
3675 @[ -f ./bfd/Makefile ] || exit 0; \
3676 r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 $(HOST_EXPORTS) \
3679 for flag in $(EXTRA_HOST_FLAGS) ; do \
3680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3681 done; \
3682 echo "Doing install-pdf in bfd" ; \
3683 (cd $(HOST_SUBDIR)/bfd && \
3684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3686 "RANLIB=$${RANLIB}" \
3687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3688 install-pdf) \
3689 || exit 1
3691 @endif bfd
3693 .PHONY: maybe-install-html-bfd install-html-bfd
3694 maybe-install-html-bfd:
3695 @if bfd
3696 maybe-install-html-bfd: install-html-bfd
3698 install-html-bfd: \
3699 configure-bfd \
3700 html-bfd
3701 @[ -f ./bfd/Makefile ] || exit 0; \
3702 r=`${PWD_COMMAND}`; export r; \
3703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3704 $(HOST_EXPORTS) \
3705 for flag in $(EXTRA_HOST_FLAGS) ; do \
3706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3707 done; \
3708 echo "Doing install-html in bfd" ; \
3709 (cd $(HOST_SUBDIR)/bfd && \
3710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3712 "RANLIB=$${RANLIB}" \
3713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3714 install-html) \
3715 || exit 1
3717 @endif bfd
3719 .PHONY: maybe-installcheck-bfd installcheck-bfd
3720 maybe-installcheck-bfd:
3721 @if bfd
3722 maybe-installcheck-bfd: installcheck-bfd
3724 installcheck-bfd: \
3725 configure-bfd
3726 @[ -f ./bfd/Makefile ] || exit 0; \
3727 r=`${PWD_COMMAND}`; export r; \
3728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3729 $(HOST_EXPORTS) \
3730 for flag in $(EXTRA_HOST_FLAGS) ; do \
3731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3732 done; \
3733 echo "Doing installcheck in bfd" ; \
3734 (cd $(HOST_SUBDIR)/bfd && \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3737 "RANLIB=$${RANLIB}" \
3738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3739 installcheck) \
3740 || exit 1
3742 @endif bfd
3744 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3745 maybe-mostlyclean-bfd:
3746 @if bfd
3747 maybe-mostlyclean-bfd: mostlyclean-bfd
3749 mostlyclean-bfd:
3750 @[ -f ./bfd/Makefile ] || exit 0; \
3751 r=`${PWD_COMMAND}`; export r; \
3752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 $(HOST_EXPORTS) \
3754 for flag in $(EXTRA_HOST_FLAGS) ; do \
3755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 done; \
3757 echo "Doing mostlyclean in bfd" ; \
3758 (cd $(HOST_SUBDIR)/bfd && \
3759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3761 "RANLIB=$${RANLIB}" \
3762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3763 mostlyclean) \
3764 || exit 1
3766 @endif bfd
3768 .PHONY: maybe-clean-bfd clean-bfd
3769 maybe-clean-bfd:
3770 @if bfd
3771 maybe-clean-bfd: clean-bfd
3773 clean-bfd:
3774 @[ -f ./bfd/Makefile ] || exit 0; \
3775 r=`${PWD_COMMAND}`; export r; \
3776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777 $(HOST_EXPORTS) \
3778 for flag in $(EXTRA_HOST_FLAGS) ; do \
3779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3780 done; \
3781 echo "Doing clean in bfd" ; \
3782 (cd $(HOST_SUBDIR)/bfd && \
3783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3785 "RANLIB=$${RANLIB}" \
3786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3787 clean) \
3788 || exit 1
3790 @endif bfd
3792 .PHONY: maybe-distclean-bfd distclean-bfd
3793 maybe-distclean-bfd:
3794 @if bfd
3795 maybe-distclean-bfd: distclean-bfd
3797 distclean-bfd:
3798 @[ -f ./bfd/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3801 $(HOST_EXPORTS) \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3804 done; \
3805 echo "Doing distclean in bfd" ; \
3806 (cd $(HOST_SUBDIR)/bfd && \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3811 distclean) \
3812 || exit 1
3814 @endif bfd
3816 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3817 maybe-maintainer-clean-bfd:
3818 @if bfd
3819 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3821 maintainer-clean-bfd:
3822 @[ -f ./bfd/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS) ; do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing maintainer-clean in bfd" ; \
3830 (cd $(HOST_SUBDIR)/bfd && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3835 maintainer-clean) \
3836 || exit 1
3838 @endif bfd
3842 .PHONY: configure-opcodes maybe-configure-opcodes
3843 maybe-configure-opcodes:
3844 @if gcc-bootstrap
3845 configure-opcodes: stage_current
3846 @endif gcc-bootstrap
3847 @if opcodes
3848 maybe-configure-opcodes: configure-opcodes
3849 configure-opcodes:
3850 @r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3854 $(HOST_EXPORTS) \
3855 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3856 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3857 case $(srcdir) in \
3858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3859 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3861 esac; \
3862 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3863 libsrcdir="$$s/opcodes"; \
3864 $(SHELL) $${libsrcdir}/configure \
3865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3866 --target=${target_alias} $${srcdiroption} \
3867 || exit 1
3868 @endif opcodes
3872 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3873 maybe-configure-stage1-opcodes:
3874 @if opcodes-bootstrap
3875 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3876 configure-stage1-opcodes:
3877 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3879 @r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 TFLAGS="$(STAGE1_TFLAGS)"; \
3882 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3883 $(HOST_EXPORTS) \
3884 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3885 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3886 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3887 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3889 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3890 case $(srcdir) in \
3891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3892 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3894 esac; \
3895 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3896 libsrcdir="$$s/opcodes"; \
3897 $(SHELL) $${libsrcdir}/configure \
3898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3899 --target=${target_alias} $${srcdiroption} \
3900 $(STAGE1_CONFIGURE_FLAGS)
3901 @endif opcodes-bootstrap
3903 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3904 maybe-configure-stage2-opcodes:
3905 @if opcodes-bootstrap
3906 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3907 configure-stage2-opcodes:
3908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3910 @r=`${PWD_COMMAND}`; export r; \
3911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3912 TFLAGS="$(STAGE2_TFLAGS)"; \
3913 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3914 $(HOST_EXPORTS) \
3915 $(POSTSTAGE1_HOST_EXPORTS) \
3916 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3917 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3918 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3919 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3921 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3922 case $(srcdir) in \
3923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3924 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3926 esac; \
3927 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3928 libsrcdir="$$s/opcodes"; \
3929 $(SHELL) $${libsrcdir}/configure \
3930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3931 --target=${target_alias} $${srcdiroption} \
3932 --with-build-libsubdir=$(HOST_SUBDIR) \
3933 $(STAGE2_CONFIGURE_FLAGS)
3934 @endif opcodes-bootstrap
3936 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3937 maybe-configure-stage3-opcodes:
3938 @if opcodes-bootstrap
3939 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3940 configure-stage3-opcodes:
3941 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3943 @r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945 TFLAGS="$(STAGE3_TFLAGS)"; \
3946 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3947 $(HOST_EXPORTS) \
3948 $(POSTSTAGE1_HOST_EXPORTS) \
3949 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3950 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3951 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3952 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3954 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3955 case $(srcdir) in \
3956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3957 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3959 esac; \
3960 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3961 libsrcdir="$$s/opcodes"; \
3962 $(SHELL) $${libsrcdir}/configure \
3963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3964 --target=${target_alias} $${srcdiroption} \
3965 --with-build-libsubdir=$(HOST_SUBDIR) \
3966 $(STAGE3_CONFIGURE_FLAGS)
3967 @endif opcodes-bootstrap
3969 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3970 maybe-configure-stage4-opcodes:
3971 @if opcodes-bootstrap
3972 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3973 configure-stage4-opcodes:
3974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3976 @r=`${PWD_COMMAND}`; export r; \
3977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3978 TFLAGS="$(STAGE4_TFLAGS)"; \
3979 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3980 $(HOST_EXPORTS) \
3981 $(POSTSTAGE1_HOST_EXPORTS) \
3982 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3983 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3984 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3985 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3987 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3988 case $(srcdir) in \
3989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3990 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3992 esac; \
3993 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3994 libsrcdir="$$s/opcodes"; \
3995 $(SHELL) $${libsrcdir}/configure \
3996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3997 --target=${target_alias} $${srcdiroption} \
3998 --with-build-libsubdir=$(HOST_SUBDIR) \
3999 $(STAGE4_CONFIGURE_FLAGS)
4000 @endif opcodes-bootstrap
4002 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4003 maybe-configure-stageprofile-opcodes:
4004 @if opcodes-bootstrap
4005 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4006 configure-stageprofile-opcodes:
4007 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4009 @r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4012 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4013 $(HOST_EXPORTS) \
4014 $(POSTSTAGE1_HOST_EXPORTS) \
4015 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4016 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4017 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4018 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4020 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4021 case $(srcdir) in \
4022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4023 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4025 esac; \
4026 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4027 libsrcdir="$$s/opcodes"; \
4028 $(SHELL) $${libsrcdir}/configure \
4029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4030 --target=${target_alias} $${srcdiroption} \
4031 --with-build-libsubdir=$(HOST_SUBDIR) \
4032 $(STAGEprofile_CONFIGURE_FLAGS)
4033 @endif opcodes-bootstrap
4035 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4036 maybe-configure-stagefeedback-opcodes:
4037 @if opcodes-bootstrap
4038 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4039 configure-stagefeedback-opcodes:
4040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4042 @r=`${PWD_COMMAND}`; export r; \
4043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4045 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4046 $(HOST_EXPORTS) \
4047 $(POSTSTAGE1_HOST_EXPORTS) \
4048 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4049 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4050 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4051 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4053 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4054 case $(srcdir) in \
4055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4056 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4058 esac; \
4059 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4060 libsrcdir="$$s/opcodes"; \
4061 $(SHELL) $${libsrcdir}/configure \
4062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4063 --target=${target_alias} $${srcdiroption} \
4064 --with-build-libsubdir=$(HOST_SUBDIR) \
4065 $(STAGEfeedback_CONFIGURE_FLAGS)
4066 @endif opcodes-bootstrap
4072 .PHONY: all-opcodes maybe-all-opcodes
4073 maybe-all-opcodes:
4074 @if gcc-bootstrap
4075 all-opcodes: stage_current
4076 @endif gcc-bootstrap
4077 @if opcodes
4078 TARGET-opcodes=all
4079 maybe-all-opcodes: all-opcodes
4080 all-opcodes: configure-opcodes
4081 @r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(HOST_EXPORTS) \
4084 (cd $(HOST_SUBDIR)/opcodes && \
4085 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4086 $(TARGET-opcodes))
4087 @endif opcodes
4091 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4092 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4093 maybe-all-stage1-opcodes:
4094 maybe-clean-stage1-opcodes:
4095 @if opcodes-bootstrap
4096 maybe-all-stage1-opcodes: all-stage1-opcodes
4097 all-stage1: all-stage1-opcodes
4098 TARGET-stage1-opcodes = $(TARGET-opcodes)
4099 all-stage1-opcodes: configure-stage1-opcodes
4100 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4101 @r=`${PWD_COMMAND}`; export r; \
4102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4103 TFLAGS="$(STAGE1_TFLAGS)"; \
4104 $(HOST_EXPORTS) \
4105 cd $(HOST_SUBDIR)/opcodes && \
4106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4107 CFLAGS="$(STAGE1_CFLAGS)" \
4108 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4109 LIBCFLAGS="$(LIBCFLAGS)" \
4110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4113 $(EXTRA_HOST_FLAGS) \
4114 $(STAGE1_FLAGS_TO_PASS) \
4115 TFLAGS="$(STAGE1_TFLAGS)" \
4116 $(TARGET-stage1-opcodes)
4118 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4119 clean-stage1: clean-stage1-opcodes
4120 clean-stage1-opcodes:
4121 @if [ $(current_stage) = stage1 ]; then \
4122 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4123 else \
4124 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4125 $(MAKE) stage1-start; \
4126 fi; \
4127 cd $(HOST_SUBDIR)/opcodes && \
4128 $(MAKE) $(EXTRA_HOST_FLAGS) \
4129 $(STAGE1_FLAGS_TO_PASS) clean
4130 @endif opcodes-bootstrap
4133 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4134 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4135 maybe-all-stage2-opcodes:
4136 maybe-clean-stage2-opcodes:
4137 @if opcodes-bootstrap
4138 maybe-all-stage2-opcodes: all-stage2-opcodes
4139 all-stage2: all-stage2-opcodes
4140 TARGET-stage2-opcodes = $(TARGET-opcodes)
4141 all-stage2-opcodes: configure-stage2-opcodes
4142 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4143 @r=`${PWD_COMMAND}`; export r; \
4144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4145 TFLAGS="$(STAGE2_TFLAGS)"; \
4146 $(HOST_EXPORTS) \
4147 $(POSTSTAGE1_HOST_EXPORTS) \
4148 cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4150 CFLAGS="$(STAGE2_CFLAGS)" \
4151 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4152 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4157 TFLAGS="$(STAGE2_TFLAGS)" \
4158 $(TARGET-stage2-opcodes)
4160 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4161 clean-stage2: clean-stage2-opcodes
4162 clean-stage2-opcodes:
4163 @if [ $(current_stage) = stage2 ]; then \
4164 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4165 else \
4166 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4167 $(MAKE) stage2-start; \
4168 fi; \
4169 cd $(HOST_SUBDIR)/opcodes && \
4170 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4171 @endif opcodes-bootstrap
4174 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4175 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4176 maybe-all-stage3-opcodes:
4177 maybe-clean-stage3-opcodes:
4178 @if opcodes-bootstrap
4179 maybe-all-stage3-opcodes: all-stage3-opcodes
4180 all-stage3: all-stage3-opcodes
4181 TARGET-stage3-opcodes = $(TARGET-opcodes)
4182 all-stage3-opcodes: configure-stage3-opcodes
4183 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4184 @r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 TFLAGS="$(STAGE3_TFLAGS)"; \
4187 $(HOST_EXPORTS) \
4188 $(POSTSTAGE1_HOST_EXPORTS) \
4189 cd $(HOST_SUBDIR)/opcodes && \
4190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4191 CFLAGS="$(STAGE3_CFLAGS)" \
4192 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4193 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4198 TFLAGS="$(STAGE3_TFLAGS)" \
4199 $(TARGET-stage3-opcodes)
4201 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4202 clean-stage3: clean-stage3-opcodes
4203 clean-stage3-opcodes:
4204 @if [ $(current_stage) = stage3 ]; then \
4205 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4206 else \
4207 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4208 $(MAKE) stage3-start; \
4209 fi; \
4210 cd $(HOST_SUBDIR)/opcodes && \
4211 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4212 @endif opcodes-bootstrap
4215 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4216 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4217 maybe-all-stage4-opcodes:
4218 maybe-clean-stage4-opcodes:
4219 @if opcodes-bootstrap
4220 maybe-all-stage4-opcodes: all-stage4-opcodes
4221 all-stage4: all-stage4-opcodes
4222 TARGET-stage4-opcodes = $(TARGET-opcodes)
4223 all-stage4-opcodes: configure-stage4-opcodes
4224 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4225 @r=`${PWD_COMMAND}`; export r; \
4226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4227 TFLAGS="$(STAGE4_TFLAGS)"; \
4228 $(HOST_EXPORTS) \
4229 $(POSTSTAGE1_HOST_EXPORTS) \
4230 cd $(HOST_SUBDIR)/opcodes && \
4231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4232 CFLAGS="$(STAGE4_CFLAGS)" \
4233 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4234 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4238 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4239 TFLAGS="$(STAGE4_TFLAGS)" \
4240 $(TARGET-stage4-opcodes)
4242 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4243 clean-stage4: clean-stage4-opcodes
4244 clean-stage4-opcodes:
4245 @if [ $(current_stage) = stage4 ]; then \
4246 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4247 else \
4248 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4249 $(MAKE) stage4-start; \
4250 fi; \
4251 cd $(HOST_SUBDIR)/opcodes && \
4252 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4253 @endif opcodes-bootstrap
4256 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4257 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4258 maybe-all-stageprofile-opcodes:
4259 maybe-clean-stageprofile-opcodes:
4260 @if opcodes-bootstrap
4261 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4262 all-stageprofile: all-stageprofile-opcodes
4263 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4264 all-stageprofile-opcodes: configure-stageprofile-opcodes
4265 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4266 @r=`${PWD_COMMAND}`; export r; \
4267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4268 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4269 $(HOST_EXPORTS) \
4270 $(POSTSTAGE1_HOST_EXPORTS) \
4271 cd $(HOST_SUBDIR)/opcodes && \
4272 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4273 CFLAGS="$(STAGEprofile_CFLAGS)" \
4274 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4275 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4280 TFLAGS="$(STAGEprofile_TFLAGS)" \
4281 $(TARGET-stageprofile-opcodes)
4283 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4284 clean-stageprofile: clean-stageprofile-opcodes
4285 clean-stageprofile-opcodes:
4286 @if [ $(current_stage) = stageprofile ]; then \
4287 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4288 else \
4289 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4290 $(MAKE) stageprofile-start; \
4291 fi; \
4292 cd $(HOST_SUBDIR)/opcodes && \
4293 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4294 @endif opcodes-bootstrap
4297 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4298 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4299 maybe-all-stagefeedback-opcodes:
4300 maybe-clean-stagefeedback-opcodes:
4301 @if opcodes-bootstrap
4302 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4303 all-stagefeedback: all-stagefeedback-opcodes
4304 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4305 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4306 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4307 @r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4310 $(HOST_EXPORTS) \
4311 $(POSTSTAGE1_HOST_EXPORTS) \
4312 cd $(HOST_SUBDIR)/opcodes && \
4313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4314 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4315 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4316 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4321 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4322 $(TARGET-stagefeedback-opcodes)
4324 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4325 clean-stagefeedback: clean-stagefeedback-opcodes
4326 clean-stagefeedback-opcodes:
4327 @if [ $(current_stage) = stagefeedback ]; then \
4328 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4329 else \
4330 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4331 $(MAKE) stagefeedback-start; \
4332 fi; \
4333 cd $(HOST_SUBDIR)/opcodes && \
4334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4335 @endif opcodes-bootstrap
4341 .PHONY: check-opcodes maybe-check-opcodes
4342 maybe-check-opcodes:
4343 @if opcodes
4344 maybe-check-opcodes: check-opcodes
4346 check-opcodes:
4347 @: $(MAKE); $(unstage)
4348 @r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(HOST_EXPORTS) \
4351 (cd $(HOST_SUBDIR)/opcodes && \
4352 $(MAKE) $(FLAGS_TO_PASS) check)
4354 @endif opcodes
4356 .PHONY: install-opcodes maybe-install-opcodes
4357 maybe-install-opcodes:
4358 @if opcodes
4359 maybe-install-opcodes: install-opcodes
4361 install-opcodes: installdirs
4362 @: $(MAKE); $(unstage)
4363 @r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 $(HOST_EXPORTS) \
4366 (cd $(HOST_SUBDIR)/opcodes && \
4367 $(MAKE) $(FLAGS_TO_PASS) install)
4369 @endif opcodes
4371 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4372 maybe-install-strip-opcodes:
4373 @if opcodes
4374 maybe-install-strip-opcodes: install-strip-opcodes
4376 install-strip-opcodes: installdirs
4377 @: $(MAKE); $(unstage)
4378 @r=`${PWD_COMMAND}`; export r; \
4379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4380 $(HOST_EXPORTS) \
4381 (cd $(HOST_SUBDIR)/opcodes && \
4382 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4384 @endif opcodes
4386 # Other targets (info, dvi, pdf, etc.)
4388 .PHONY: maybe-info-opcodes info-opcodes
4389 maybe-info-opcodes:
4390 @if opcodes
4391 maybe-info-opcodes: info-opcodes
4393 info-opcodes: \
4394 configure-opcodes
4395 @[ -f ./opcodes/Makefile ] || exit 0; \
4396 r=`${PWD_COMMAND}`; export r; \
4397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4398 $(HOST_EXPORTS) \
4399 for flag in $(EXTRA_HOST_FLAGS) ; do \
4400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4401 done; \
4402 echo "Doing info in opcodes" ; \
4403 (cd $(HOST_SUBDIR)/opcodes && \
4404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4406 "RANLIB=$${RANLIB}" \
4407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4408 info) \
4409 || exit 1
4411 @endif opcodes
4413 .PHONY: maybe-dvi-opcodes dvi-opcodes
4414 maybe-dvi-opcodes:
4415 @if opcodes
4416 maybe-dvi-opcodes: dvi-opcodes
4418 dvi-opcodes: \
4419 configure-opcodes
4420 @[ -f ./opcodes/Makefile ] || exit 0; \
4421 r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 $(HOST_EXPORTS) \
4424 for flag in $(EXTRA_HOST_FLAGS) ; do \
4425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4426 done; \
4427 echo "Doing dvi in opcodes" ; \
4428 (cd $(HOST_SUBDIR)/opcodes && \
4429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4431 "RANLIB=$${RANLIB}" \
4432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4433 dvi) \
4434 || exit 1
4436 @endif opcodes
4438 .PHONY: maybe-pdf-opcodes pdf-opcodes
4439 maybe-pdf-opcodes:
4440 @if opcodes
4441 maybe-pdf-opcodes: pdf-opcodes
4443 pdf-opcodes: \
4444 configure-opcodes
4445 @[ -f ./opcodes/Makefile ] || exit 0; \
4446 r=`${PWD_COMMAND}`; export r; \
4447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4448 $(HOST_EXPORTS) \
4449 for flag in $(EXTRA_HOST_FLAGS) ; do \
4450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4451 done; \
4452 echo "Doing pdf in opcodes" ; \
4453 (cd $(HOST_SUBDIR)/opcodes && \
4454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4456 "RANLIB=$${RANLIB}" \
4457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4458 pdf) \
4459 || exit 1
4461 @endif opcodes
4463 .PHONY: maybe-html-opcodes html-opcodes
4464 maybe-html-opcodes:
4465 @if opcodes
4466 maybe-html-opcodes: html-opcodes
4468 html-opcodes: \
4469 configure-opcodes
4470 @[ -f ./opcodes/Makefile ] || exit 0; \
4471 r=`${PWD_COMMAND}`; export r; \
4472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4473 $(HOST_EXPORTS) \
4474 for flag in $(EXTRA_HOST_FLAGS) ; do \
4475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4476 done; \
4477 echo "Doing html in opcodes" ; \
4478 (cd $(HOST_SUBDIR)/opcodes && \
4479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4481 "RANLIB=$${RANLIB}" \
4482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4483 html) \
4484 || exit 1
4486 @endif opcodes
4488 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4489 maybe-TAGS-opcodes:
4490 @if opcodes
4491 maybe-TAGS-opcodes: TAGS-opcodes
4493 TAGS-opcodes: \
4494 configure-opcodes
4495 @[ -f ./opcodes/Makefile ] || exit 0; \
4496 r=`${PWD_COMMAND}`; export r; \
4497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4498 $(HOST_EXPORTS) \
4499 for flag in $(EXTRA_HOST_FLAGS) ; do \
4500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4501 done; \
4502 echo "Doing TAGS in opcodes" ; \
4503 (cd $(HOST_SUBDIR)/opcodes && \
4504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4506 "RANLIB=$${RANLIB}" \
4507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4508 TAGS) \
4509 || exit 1
4511 @endif opcodes
4513 .PHONY: maybe-install-info-opcodes install-info-opcodes
4514 maybe-install-info-opcodes:
4515 @if opcodes
4516 maybe-install-info-opcodes: install-info-opcodes
4518 install-info-opcodes: \
4519 configure-opcodes \
4520 info-opcodes
4521 @[ -f ./opcodes/Makefile ] || exit 0; \
4522 r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(HOST_EXPORTS) \
4525 for flag in $(EXTRA_HOST_FLAGS) ; do \
4526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4527 done; \
4528 echo "Doing install-info in opcodes" ; \
4529 (cd $(HOST_SUBDIR)/opcodes && \
4530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4532 "RANLIB=$${RANLIB}" \
4533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4534 install-info) \
4535 || exit 1
4537 @endif opcodes
4539 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4540 maybe-install-pdf-opcodes:
4541 @if opcodes
4542 maybe-install-pdf-opcodes: install-pdf-opcodes
4544 install-pdf-opcodes: \
4545 configure-opcodes \
4546 pdf-opcodes
4547 @[ -f ./opcodes/Makefile ] || exit 0; \
4548 r=`${PWD_COMMAND}`; export r; \
4549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4550 $(HOST_EXPORTS) \
4551 for flag in $(EXTRA_HOST_FLAGS) ; do \
4552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4553 done; \
4554 echo "Doing install-pdf in opcodes" ; \
4555 (cd $(HOST_SUBDIR)/opcodes && \
4556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4558 "RANLIB=$${RANLIB}" \
4559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4560 install-pdf) \
4561 || exit 1
4563 @endif opcodes
4565 .PHONY: maybe-install-html-opcodes install-html-opcodes
4566 maybe-install-html-opcodes:
4567 @if opcodes
4568 maybe-install-html-opcodes: install-html-opcodes
4570 install-html-opcodes: \
4571 configure-opcodes \
4572 html-opcodes
4573 @[ -f ./opcodes/Makefile ] || exit 0; \
4574 r=`${PWD_COMMAND}`; export r; \
4575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4576 $(HOST_EXPORTS) \
4577 for flag in $(EXTRA_HOST_FLAGS) ; do \
4578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4579 done; \
4580 echo "Doing install-html in opcodes" ; \
4581 (cd $(HOST_SUBDIR)/opcodes && \
4582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4584 "RANLIB=$${RANLIB}" \
4585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4586 install-html) \
4587 || exit 1
4589 @endif opcodes
4591 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4592 maybe-installcheck-opcodes:
4593 @if opcodes
4594 maybe-installcheck-opcodes: installcheck-opcodes
4596 installcheck-opcodes: \
4597 configure-opcodes
4598 @[ -f ./opcodes/Makefile ] || exit 0; \
4599 r=`${PWD_COMMAND}`; export r; \
4600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4601 $(HOST_EXPORTS) \
4602 for flag in $(EXTRA_HOST_FLAGS) ; do \
4603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4604 done; \
4605 echo "Doing installcheck in opcodes" ; \
4606 (cd $(HOST_SUBDIR)/opcodes && \
4607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4609 "RANLIB=$${RANLIB}" \
4610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4611 installcheck) \
4612 || exit 1
4614 @endif opcodes
4616 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4617 maybe-mostlyclean-opcodes:
4618 @if opcodes
4619 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4621 mostlyclean-opcodes:
4622 @[ -f ./opcodes/Makefile ] || exit 0; \
4623 r=`${PWD_COMMAND}`; export r; \
4624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4625 $(HOST_EXPORTS) \
4626 for flag in $(EXTRA_HOST_FLAGS) ; do \
4627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4628 done; \
4629 echo "Doing mostlyclean in opcodes" ; \
4630 (cd $(HOST_SUBDIR)/opcodes && \
4631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4633 "RANLIB=$${RANLIB}" \
4634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4635 mostlyclean) \
4636 || exit 1
4638 @endif opcodes
4640 .PHONY: maybe-clean-opcodes clean-opcodes
4641 maybe-clean-opcodes:
4642 @if opcodes
4643 maybe-clean-opcodes: clean-opcodes
4645 clean-opcodes:
4646 @[ -f ./opcodes/Makefile ] || exit 0; \
4647 r=`${PWD_COMMAND}`; export r; \
4648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4649 $(HOST_EXPORTS) \
4650 for flag in $(EXTRA_HOST_FLAGS) ; do \
4651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4652 done; \
4653 echo "Doing clean in opcodes" ; \
4654 (cd $(HOST_SUBDIR)/opcodes && \
4655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4657 "RANLIB=$${RANLIB}" \
4658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4659 clean) \
4660 || exit 1
4662 @endif opcodes
4664 .PHONY: maybe-distclean-opcodes distclean-opcodes
4665 maybe-distclean-opcodes:
4666 @if opcodes
4667 maybe-distclean-opcodes: distclean-opcodes
4669 distclean-opcodes:
4670 @[ -f ./opcodes/Makefile ] || exit 0; \
4671 r=`${PWD_COMMAND}`; export r; \
4672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4673 $(HOST_EXPORTS) \
4674 for flag in $(EXTRA_HOST_FLAGS) ; do \
4675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4676 done; \
4677 echo "Doing distclean in opcodes" ; \
4678 (cd $(HOST_SUBDIR)/opcodes && \
4679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4681 "RANLIB=$${RANLIB}" \
4682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4683 distclean) \
4684 || exit 1
4686 @endif opcodes
4688 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4689 maybe-maintainer-clean-opcodes:
4690 @if opcodes
4691 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4693 maintainer-clean-opcodes:
4694 @[ -f ./opcodes/Makefile ] || exit 0; \
4695 r=`${PWD_COMMAND}`; export r; \
4696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4697 $(HOST_EXPORTS) \
4698 for flag in $(EXTRA_HOST_FLAGS) ; do \
4699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4700 done; \
4701 echo "Doing maintainer-clean in opcodes" ; \
4702 (cd $(HOST_SUBDIR)/opcodes && \
4703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4705 "RANLIB=$${RANLIB}" \
4706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4707 maintainer-clean) \
4708 || exit 1
4710 @endif opcodes
4714 .PHONY: configure-binutils maybe-configure-binutils
4715 maybe-configure-binutils:
4716 @if gcc-bootstrap
4717 configure-binutils: stage_current
4718 @endif gcc-bootstrap
4719 @if binutils
4720 maybe-configure-binutils: configure-binutils
4721 configure-binutils:
4722 @r=`${PWD_COMMAND}`; export r; \
4723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4724 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4726 $(HOST_EXPORTS) \
4727 echo Configuring in $(HOST_SUBDIR)/binutils; \
4728 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4729 case $(srcdir) in \
4730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4731 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4733 esac; \
4734 srcdiroption="--srcdir=$${topdir}/binutils"; \
4735 libsrcdir="$$s/binutils"; \
4736 $(SHELL) $${libsrcdir}/configure \
4737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4738 --target=${target_alias} $${srcdiroption} \
4739 || exit 1
4740 @endif binutils
4744 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4745 maybe-configure-stage1-binutils:
4746 @if binutils-bootstrap
4747 maybe-configure-stage1-binutils: configure-stage1-binutils
4748 configure-stage1-binutils:
4749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4751 @r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 TFLAGS="$(STAGE1_TFLAGS)"; \
4754 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4755 $(HOST_EXPORTS) \
4756 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4757 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4758 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4759 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4761 cd $(HOST_SUBDIR)/binutils || exit 1; \
4762 case $(srcdir) in \
4763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4764 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4766 esac; \
4767 srcdiroption="--srcdir=$${topdir}/binutils"; \
4768 libsrcdir="$$s/binutils"; \
4769 $(SHELL) $${libsrcdir}/configure \
4770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4771 --target=${target_alias} $${srcdiroption} \
4772 $(STAGE1_CONFIGURE_FLAGS)
4773 @endif binutils-bootstrap
4775 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4776 maybe-configure-stage2-binutils:
4777 @if binutils-bootstrap
4778 maybe-configure-stage2-binutils: configure-stage2-binutils
4779 configure-stage2-binutils:
4780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4782 @r=`${PWD_COMMAND}`; export r; \
4783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4784 TFLAGS="$(STAGE2_TFLAGS)"; \
4785 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4786 $(HOST_EXPORTS) \
4787 $(POSTSTAGE1_HOST_EXPORTS) \
4788 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4789 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4790 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4791 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4793 cd $(HOST_SUBDIR)/binutils || exit 1; \
4794 case $(srcdir) in \
4795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4796 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4798 esac; \
4799 srcdiroption="--srcdir=$${topdir}/binutils"; \
4800 libsrcdir="$$s/binutils"; \
4801 $(SHELL) $${libsrcdir}/configure \
4802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4803 --target=${target_alias} $${srcdiroption} \
4804 --with-build-libsubdir=$(HOST_SUBDIR) \
4805 $(STAGE2_CONFIGURE_FLAGS)
4806 @endif binutils-bootstrap
4808 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4809 maybe-configure-stage3-binutils:
4810 @if binutils-bootstrap
4811 maybe-configure-stage3-binutils: configure-stage3-binutils
4812 configure-stage3-binutils:
4813 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4815 @r=`${PWD_COMMAND}`; export r; \
4816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4817 TFLAGS="$(STAGE3_TFLAGS)"; \
4818 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4819 $(HOST_EXPORTS) \
4820 $(POSTSTAGE1_HOST_EXPORTS) \
4821 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4822 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4823 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4824 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4826 cd $(HOST_SUBDIR)/binutils || exit 1; \
4827 case $(srcdir) in \
4828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4829 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4831 esac; \
4832 srcdiroption="--srcdir=$${topdir}/binutils"; \
4833 libsrcdir="$$s/binutils"; \
4834 $(SHELL) $${libsrcdir}/configure \
4835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4836 --target=${target_alias} $${srcdiroption} \
4837 --with-build-libsubdir=$(HOST_SUBDIR) \
4838 $(STAGE3_CONFIGURE_FLAGS)
4839 @endif binutils-bootstrap
4841 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4842 maybe-configure-stage4-binutils:
4843 @if binutils-bootstrap
4844 maybe-configure-stage4-binutils: configure-stage4-binutils
4845 configure-stage4-binutils:
4846 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4848 @r=`${PWD_COMMAND}`; export r; \
4849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850 TFLAGS="$(STAGE4_TFLAGS)"; \
4851 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4852 $(HOST_EXPORTS) \
4853 $(POSTSTAGE1_HOST_EXPORTS) \
4854 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4855 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4856 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4857 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4859 cd $(HOST_SUBDIR)/binutils || exit 1; \
4860 case $(srcdir) in \
4861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4862 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4864 esac; \
4865 srcdiroption="--srcdir=$${topdir}/binutils"; \
4866 libsrcdir="$$s/binutils"; \
4867 $(SHELL) $${libsrcdir}/configure \
4868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4869 --target=${target_alias} $${srcdiroption} \
4870 --with-build-libsubdir=$(HOST_SUBDIR) \
4871 $(STAGE4_CONFIGURE_FLAGS)
4872 @endif binutils-bootstrap
4874 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4875 maybe-configure-stageprofile-binutils:
4876 @if binutils-bootstrap
4877 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4878 configure-stageprofile-binutils:
4879 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4881 @r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4884 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4885 $(HOST_EXPORTS) \
4886 $(POSTSTAGE1_HOST_EXPORTS) \
4887 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4888 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4889 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4890 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4892 cd $(HOST_SUBDIR)/binutils || exit 1; \
4893 case $(srcdir) in \
4894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4895 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4897 esac; \
4898 srcdiroption="--srcdir=$${topdir}/binutils"; \
4899 libsrcdir="$$s/binutils"; \
4900 $(SHELL) $${libsrcdir}/configure \
4901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4902 --target=${target_alias} $${srcdiroption} \
4903 --with-build-libsubdir=$(HOST_SUBDIR) \
4904 $(STAGEprofile_CONFIGURE_FLAGS)
4905 @endif binutils-bootstrap
4907 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4908 maybe-configure-stagefeedback-binutils:
4909 @if binutils-bootstrap
4910 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4911 configure-stagefeedback-binutils:
4912 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4914 @r=`${PWD_COMMAND}`; export r; \
4915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4917 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4918 $(HOST_EXPORTS) \
4919 $(POSTSTAGE1_HOST_EXPORTS) \
4920 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4921 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4922 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4923 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4925 cd $(HOST_SUBDIR)/binutils || exit 1; \
4926 case $(srcdir) in \
4927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4928 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4930 esac; \
4931 srcdiroption="--srcdir=$${topdir}/binutils"; \
4932 libsrcdir="$$s/binutils"; \
4933 $(SHELL) $${libsrcdir}/configure \
4934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4935 --target=${target_alias} $${srcdiroption} \
4936 --with-build-libsubdir=$(HOST_SUBDIR) \
4937 $(STAGEfeedback_CONFIGURE_FLAGS)
4938 @endif binutils-bootstrap
4944 .PHONY: all-binutils maybe-all-binutils
4945 maybe-all-binutils:
4946 @if gcc-bootstrap
4947 all-binutils: stage_current
4948 @endif gcc-bootstrap
4949 @if binutils
4950 TARGET-binutils=all
4951 maybe-all-binutils: all-binutils
4952 all-binutils: configure-binutils
4953 @r=`${PWD_COMMAND}`; export r; \
4954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4955 $(HOST_EXPORTS) \
4956 (cd $(HOST_SUBDIR)/binutils && \
4957 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4958 $(TARGET-binutils))
4959 @endif binutils
4963 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4964 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4965 maybe-all-stage1-binutils:
4966 maybe-clean-stage1-binutils:
4967 @if binutils-bootstrap
4968 maybe-all-stage1-binutils: all-stage1-binutils
4969 all-stage1: all-stage1-binutils
4970 TARGET-stage1-binutils = $(TARGET-binutils)
4971 all-stage1-binutils: configure-stage1-binutils
4972 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4973 @r=`${PWD_COMMAND}`; export r; \
4974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4975 TFLAGS="$(STAGE1_TFLAGS)"; \
4976 $(HOST_EXPORTS) \
4977 cd $(HOST_SUBDIR)/binutils && \
4978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4979 CFLAGS="$(STAGE1_CFLAGS)" \
4980 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4981 LIBCFLAGS="$(LIBCFLAGS)" \
4982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4985 $(EXTRA_HOST_FLAGS) \
4986 $(STAGE1_FLAGS_TO_PASS) \
4987 TFLAGS="$(STAGE1_TFLAGS)" \
4988 $(TARGET-stage1-binutils)
4990 maybe-clean-stage1-binutils: clean-stage1-binutils
4991 clean-stage1: clean-stage1-binutils
4992 clean-stage1-binutils:
4993 @if [ $(current_stage) = stage1 ]; then \
4994 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4995 else \
4996 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4997 $(MAKE) stage1-start; \
4998 fi; \
4999 cd $(HOST_SUBDIR)/binutils && \
5000 $(MAKE) $(EXTRA_HOST_FLAGS) \
5001 $(STAGE1_FLAGS_TO_PASS) clean
5002 @endif binutils-bootstrap
5005 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5006 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5007 maybe-all-stage2-binutils:
5008 maybe-clean-stage2-binutils:
5009 @if binutils-bootstrap
5010 maybe-all-stage2-binutils: all-stage2-binutils
5011 all-stage2: all-stage2-binutils
5012 TARGET-stage2-binutils = $(TARGET-binutils)
5013 all-stage2-binutils: configure-stage2-binutils
5014 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5015 @r=`${PWD_COMMAND}`; export r; \
5016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5017 TFLAGS="$(STAGE2_TFLAGS)"; \
5018 $(HOST_EXPORTS) \
5019 $(POSTSTAGE1_HOST_EXPORTS) \
5020 cd $(HOST_SUBDIR)/binutils && \
5021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5022 CFLAGS="$(STAGE2_CFLAGS)" \
5023 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5024 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5029 TFLAGS="$(STAGE2_TFLAGS)" \
5030 $(TARGET-stage2-binutils)
5032 maybe-clean-stage2-binutils: clean-stage2-binutils
5033 clean-stage2: clean-stage2-binutils
5034 clean-stage2-binutils:
5035 @if [ $(current_stage) = stage2 ]; then \
5036 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5037 else \
5038 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5039 $(MAKE) stage2-start; \
5040 fi; \
5041 cd $(HOST_SUBDIR)/binutils && \
5042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5043 @endif binutils-bootstrap
5046 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5047 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5048 maybe-all-stage3-binutils:
5049 maybe-clean-stage3-binutils:
5050 @if binutils-bootstrap
5051 maybe-all-stage3-binutils: all-stage3-binutils
5052 all-stage3: all-stage3-binutils
5053 TARGET-stage3-binutils = $(TARGET-binutils)
5054 all-stage3-binutils: configure-stage3-binutils
5055 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5056 @r=`${PWD_COMMAND}`; export r; \
5057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5058 TFLAGS="$(STAGE3_TFLAGS)"; \
5059 $(HOST_EXPORTS) \
5060 $(POSTSTAGE1_HOST_EXPORTS) \
5061 cd $(HOST_SUBDIR)/binutils && \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5063 CFLAGS="$(STAGE3_CFLAGS)" \
5064 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5065 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5069 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5070 TFLAGS="$(STAGE3_TFLAGS)" \
5071 $(TARGET-stage3-binutils)
5073 maybe-clean-stage3-binutils: clean-stage3-binutils
5074 clean-stage3: clean-stage3-binutils
5075 clean-stage3-binutils:
5076 @if [ $(current_stage) = stage3 ]; then \
5077 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5078 else \
5079 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5080 $(MAKE) stage3-start; \
5081 fi; \
5082 cd $(HOST_SUBDIR)/binutils && \
5083 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5084 @endif binutils-bootstrap
5087 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5088 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5089 maybe-all-stage4-binutils:
5090 maybe-clean-stage4-binutils:
5091 @if binutils-bootstrap
5092 maybe-all-stage4-binutils: all-stage4-binutils
5093 all-stage4: all-stage4-binutils
5094 TARGET-stage4-binutils = $(TARGET-binutils)
5095 all-stage4-binutils: configure-stage4-binutils
5096 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5097 @r=`${PWD_COMMAND}`; export r; \
5098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 TFLAGS="$(STAGE4_TFLAGS)"; \
5100 $(HOST_EXPORTS) \
5101 $(POSTSTAGE1_HOST_EXPORTS) \
5102 cd $(HOST_SUBDIR)/binutils && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5104 CFLAGS="$(STAGE4_CFLAGS)" \
5105 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5106 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5111 TFLAGS="$(STAGE4_TFLAGS)" \
5112 $(TARGET-stage4-binutils)
5114 maybe-clean-stage4-binutils: clean-stage4-binutils
5115 clean-stage4: clean-stage4-binutils
5116 clean-stage4-binutils:
5117 @if [ $(current_stage) = stage4 ]; then \
5118 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5119 else \
5120 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5121 $(MAKE) stage4-start; \
5122 fi; \
5123 cd $(HOST_SUBDIR)/binutils && \
5124 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5125 @endif binutils-bootstrap
5128 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5129 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5130 maybe-all-stageprofile-binutils:
5131 maybe-clean-stageprofile-binutils:
5132 @if binutils-bootstrap
5133 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5134 all-stageprofile: all-stageprofile-binutils
5135 TARGET-stageprofile-binutils = $(TARGET-binutils)
5136 all-stageprofile-binutils: configure-stageprofile-binutils
5137 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5138 @r=`${PWD_COMMAND}`; export r; \
5139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5140 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5141 $(HOST_EXPORTS) \
5142 $(POSTSTAGE1_HOST_EXPORTS) \
5143 cd $(HOST_SUBDIR)/binutils && \
5144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5145 CFLAGS="$(STAGEprofile_CFLAGS)" \
5146 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5147 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5152 TFLAGS="$(STAGEprofile_TFLAGS)" \
5153 $(TARGET-stageprofile-binutils)
5155 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5156 clean-stageprofile: clean-stageprofile-binutils
5157 clean-stageprofile-binutils:
5158 @if [ $(current_stage) = stageprofile ]; then \
5159 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5160 else \
5161 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5162 $(MAKE) stageprofile-start; \
5163 fi; \
5164 cd $(HOST_SUBDIR)/binutils && \
5165 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5166 @endif binutils-bootstrap
5169 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5170 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5171 maybe-all-stagefeedback-binutils:
5172 maybe-clean-stagefeedback-binutils:
5173 @if binutils-bootstrap
5174 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5175 all-stagefeedback: all-stagefeedback-binutils
5176 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5177 all-stagefeedback-binutils: configure-stagefeedback-binutils
5178 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5179 @r=`${PWD_COMMAND}`; export r; \
5180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5181 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5182 $(HOST_EXPORTS) \
5183 $(POSTSTAGE1_HOST_EXPORTS) \
5184 cd $(HOST_SUBDIR)/binutils && \
5185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5186 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5187 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5188 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5193 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5194 $(TARGET-stagefeedback-binutils)
5196 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5197 clean-stagefeedback: clean-stagefeedback-binutils
5198 clean-stagefeedback-binutils:
5199 @if [ $(current_stage) = stagefeedback ]; then \
5200 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5201 else \
5202 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5203 $(MAKE) stagefeedback-start; \
5204 fi; \
5205 cd $(HOST_SUBDIR)/binutils && \
5206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5207 @endif binutils-bootstrap
5213 .PHONY: check-binutils maybe-check-binutils
5214 maybe-check-binutils:
5215 @if binutils
5216 maybe-check-binutils: check-binutils
5218 check-binutils:
5219 @: $(MAKE); $(unstage)
5220 @r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 $(HOST_EXPORTS) \
5223 (cd $(HOST_SUBDIR)/binutils && \
5224 $(MAKE) $(FLAGS_TO_PASS) check)
5226 @endif binutils
5228 .PHONY: install-binutils maybe-install-binutils
5229 maybe-install-binutils:
5230 @if binutils
5231 maybe-install-binutils: install-binutils
5233 install-binutils: installdirs
5234 @: $(MAKE); $(unstage)
5235 @r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 $(HOST_EXPORTS) \
5238 (cd $(HOST_SUBDIR)/binutils && \
5239 $(MAKE) $(FLAGS_TO_PASS) install)
5241 @endif binutils
5243 .PHONY: install-strip-binutils maybe-install-strip-binutils
5244 maybe-install-strip-binutils:
5245 @if binutils
5246 maybe-install-strip-binutils: install-strip-binutils
5248 install-strip-binutils: installdirs
5249 @: $(MAKE); $(unstage)
5250 @r=`${PWD_COMMAND}`; export r; \
5251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5252 $(HOST_EXPORTS) \
5253 (cd $(HOST_SUBDIR)/binutils && \
5254 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5256 @endif binutils
5258 # Other targets (info, dvi, pdf, etc.)
5260 .PHONY: maybe-info-binutils info-binutils
5261 maybe-info-binutils:
5262 @if binutils
5263 maybe-info-binutils: info-binutils
5265 info-binutils: \
5266 configure-binutils
5267 @[ -f ./binutils/Makefile ] || exit 0; \
5268 r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 $(HOST_EXPORTS) \
5271 for flag in $(EXTRA_HOST_FLAGS) ; do \
5272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 done; \
5274 echo "Doing info in binutils" ; \
5275 (cd $(HOST_SUBDIR)/binutils && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5278 "RANLIB=$${RANLIB}" \
5279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5280 info) \
5281 || exit 1
5283 @endif binutils
5285 .PHONY: maybe-dvi-binutils dvi-binutils
5286 maybe-dvi-binutils:
5287 @if binutils
5288 maybe-dvi-binutils: dvi-binutils
5290 dvi-binutils: \
5291 configure-binutils
5292 @[ -f ./binutils/Makefile ] || exit 0; \
5293 r=`${PWD_COMMAND}`; export r; \
5294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 $(HOST_EXPORTS) \
5296 for flag in $(EXTRA_HOST_FLAGS) ; do \
5297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5298 done; \
5299 echo "Doing dvi in binutils" ; \
5300 (cd $(HOST_SUBDIR)/binutils && \
5301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5303 "RANLIB=$${RANLIB}" \
5304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5305 dvi) \
5306 || exit 1
5308 @endif binutils
5310 .PHONY: maybe-pdf-binutils pdf-binutils
5311 maybe-pdf-binutils:
5312 @if binutils
5313 maybe-pdf-binutils: pdf-binutils
5315 pdf-binutils: \
5316 configure-binutils
5317 @[ -f ./binutils/Makefile ] || exit 0; \
5318 r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320 $(HOST_EXPORTS) \
5321 for flag in $(EXTRA_HOST_FLAGS) ; do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323 done; \
5324 echo "Doing pdf in binutils" ; \
5325 (cd $(HOST_SUBDIR)/binutils && \
5326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328 "RANLIB=$${RANLIB}" \
5329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5330 pdf) \
5331 || exit 1
5333 @endif binutils
5335 .PHONY: maybe-html-binutils html-binutils
5336 maybe-html-binutils:
5337 @if binutils
5338 maybe-html-binutils: html-binutils
5340 html-binutils: \
5341 configure-binutils
5342 @[ -f ./binutils/Makefile ] || exit 0; \
5343 r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 $(HOST_EXPORTS) \
5346 for flag in $(EXTRA_HOST_FLAGS) ; do \
5347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5348 done; \
5349 echo "Doing html in binutils" ; \
5350 (cd $(HOST_SUBDIR)/binutils && \
5351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5353 "RANLIB=$${RANLIB}" \
5354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5355 html) \
5356 || exit 1
5358 @endif binutils
5360 .PHONY: maybe-TAGS-binutils TAGS-binutils
5361 maybe-TAGS-binutils:
5362 @if binutils
5363 maybe-TAGS-binutils: TAGS-binutils
5365 TAGS-binutils: \
5366 configure-binutils
5367 @[ -f ./binutils/Makefile ] || exit 0; \
5368 r=`${PWD_COMMAND}`; export r; \
5369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5370 $(HOST_EXPORTS) \
5371 for flag in $(EXTRA_HOST_FLAGS) ; do \
5372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5373 done; \
5374 echo "Doing TAGS in binutils" ; \
5375 (cd $(HOST_SUBDIR)/binutils && \
5376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5378 "RANLIB=$${RANLIB}" \
5379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5380 TAGS) \
5381 || exit 1
5383 @endif binutils
5385 .PHONY: maybe-install-info-binutils install-info-binutils
5386 maybe-install-info-binutils:
5387 @if binutils
5388 maybe-install-info-binutils: install-info-binutils
5390 install-info-binutils: \
5391 configure-binutils \
5392 info-binutils
5393 @[ -f ./binutils/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing install-info in binutils" ; \
5401 (cd $(HOST_SUBDIR)/binutils && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5406 install-info) \
5407 || exit 1
5409 @endif binutils
5411 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5412 maybe-install-pdf-binutils:
5413 @if binutils
5414 maybe-install-pdf-binutils: install-pdf-binutils
5416 install-pdf-binutils: \
5417 configure-binutils \
5418 pdf-binutils
5419 @[ -f ./binutils/Makefile ] || exit 0; \
5420 r=`${PWD_COMMAND}`; export r; \
5421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5422 $(HOST_EXPORTS) \
5423 for flag in $(EXTRA_HOST_FLAGS) ; do \
5424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5425 done; \
5426 echo "Doing install-pdf in binutils" ; \
5427 (cd $(HOST_SUBDIR)/binutils && \
5428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5430 "RANLIB=$${RANLIB}" \
5431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5432 install-pdf) \
5433 || exit 1
5435 @endif binutils
5437 .PHONY: maybe-install-html-binutils install-html-binutils
5438 maybe-install-html-binutils:
5439 @if binutils
5440 maybe-install-html-binutils: install-html-binutils
5442 install-html-binutils: \
5443 configure-binutils \
5444 html-binutils
5445 @[ -f ./binutils/Makefile ] || exit 0; \
5446 r=`${PWD_COMMAND}`; export r; \
5447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5448 $(HOST_EXPORTS) \
5449 for flag in $(EXTRA_HOST_FLAGS) ; do \
5450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5451 done; \
5452 echo "Doing install-html in binutils" ; \
5453 (cd $(HOST_SUBDIR)/binutils && \
5454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5456 "RANLIB=$${RANLIB}" \
5457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5458 install-html) \
5459 || exit 1
5461 @endif binutils
5463 .PHONY: maybe-installcheck-binutils installcheck-binutils
5464 maybe-installcheck-binutils:
5465 @if binutils
5466 maybe-installcheck-binutils: installcheck-binutils
5468 installcheck-binutils: \
5469 configure-binutils
5470 @[ -f ./binutils/Makefile ] || exit 0; \
5471 r=`${PWD_COMMAND}`; export r; \
5472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5473 $(HOST_EXPORTS) \
5474 for flag in $(EXTRA_HOST_FLAGS) ; do \
5475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5476 done; \
5477 echo "Doing installcheck in binutils" ; \
5478 (cd $(HOST_SUBDIR)/binutils && \
5479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5481 "RANLIB=$${RANLIB}" \
5482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5483 installcheck) \
5484 || exit 1
5486 @endif binutils
5488 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5489 maybe-mostlyclean-binutils:
5490 @if binutils
5491 maybe-mostlyclean-binutils: mostlyclean-binutils
5493 mostlyclean-binutils:
5494 @[ -f ./binutils/Makefile ] || exit 0; \
5495 r=`${PWD_COMMAND}`; export r; \
5496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5497 $(HOST_EXPORTS) \
5498 for flag in $(EXTRA_HOST_FLAGS) ; do \
5499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5500 done; \
5501 echo "Doing mostlyclean in binutils" ; \
5502 (cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5505 "RANLIB=$${RANLIB}" \
5506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5507 mostlyclean) \
5508 || exit 1
5510 @endif binutils
5512 .PHONY: maybe-clean-binutils clean-binutils
5513 maybe-clean-binutils:
5514 @if binutils
5515 maybe-clean-binutils: clean-binutils
5517 clean-binutils:
5518 @[ -f ./binutils/Makefile ] || exit 0; \
5519 r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 for flag in $(EXTRA_HOST_FLAGS) ; do \
5523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5524 done; \
5525 echo "Doing clean in binutils" ; \
5526 (cd $(HOST_SUBDIR)/binutils && \
5527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5529 "RANLIB=$${RANLIB}" \
5530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5531 clean) \
5532 || exit 1
5534 @endif binutils
5536 .PHONY: maybe-distclean-binutils distclean-binutils
5537 maybe-distclean-binutils:
5538 @if binutils
5539 maybe-distclean-binutils: distclean-binutils
5541 distclean-binutils:
5542 @[ -f ./binutils/Makefile ] || exit 0; \
5543 r=`${PWD_COMMAND}`; export r; \
5544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5545 $(HOST_EXPORTS) \
5546 for flag in $(EXTRA_HOST_FLAGS) ; do \
5547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5548 done; \
5549 echo "Doing distclean in binutils" ; \
5550 (cd $(HOST_SUBDIR)/binutils && \
5551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5553 "RANLIB=$${RANLIB}" \
5554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5555 distclean) \
5556 || exit 1
5558 @endif binutils
5560 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5561 maybe-maintainer-clean-binutils:
5562 @if binutils
5563 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5565 maintainer-clean-binutils:
5566 @[ -f ./binutils/Makefile ] || exit 0; \
5567 r=`${PWD_COMMAND}`; export r; \
5568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5569 $(HOST_EXPORTS) \
5570 for flag in $(EXTRA_HOST_FLAGS) ; do \
5571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5572 done; \
5573 echo "Doing maintainer-clean in binutils" ; \
5574 (cd $(HOST_SUBDIR)/binutils && \
5575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5577 "RANLIB=$${RANLIB}" \
5578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5579 maintainer-clean) \
5580 || exit 1
5582 @endif binutils
5586 .PHONY: configure-bison maybe-configure-bison
5587 maybe-configure-bison:
5588 @if gcc-bootstrap
5589 configure-bison: stage_current
5590 @endif gcc-bootstrap
5591 @if bison
5592 maybe-configure-bison: configure-bison
5593 configure-bison:
5594 @: $(MAKE); $(unstage)
5595 @r=`${PWD_COMMAND}`; export r; \
5596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5597 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5599 $(HOST_EXPORTS) \
5600 echo Configuring in $(HOST_SUBDIR)/bison; \
5601 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5602 case $(srcdir) in \
5603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5604 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5606 esac; \
5607 srcdiroption="--srcdir=$${topdir}/bison"; \
5608 libsrcdir="$$s/bison"; \
5609 $(SHELL) $${libsrcdir}/configure \
5610 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5611 --target=${target_alias} $${srcdiroption} \
5612 || exit 1
5613 @endif bison
5619 .PHONY: all-bison maybe-all-bison
5620 maybe-all-bison:
5621 @if gcc-bootstrap
5622 all-bison: stage_current
5623 @endif gcc-bootstrap
5624 @if bison
5625 TARGET-bison=all
5626 maybe-all-bison: all-bison
5627 all-bison: configure-bison
5628 @: $(MAKE); $(unstage)
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(HOST_EXPORTS) \
5632 (cd $(HOST_SUBDIR)/bison && \
5633 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5634 $(TARGET-bison))
5635 @endif bison
5640 .PHONY: check-bison maybe-check-bison
5641 maybe-check-bison:
5642 @if bison
5643 maybe-check-bison: check-bison
5645 # This module is only tested in a native toolchain.
5646 check-bison:
5647 @: $(MAKE); $(unstage)
5648 @if [ '$(host)' = '$(target)' ] ; then \
5649 r=`${PWD_COMMAND}`; export r; \
5650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5651 $(HOST_EXPORTS) \
5652 (cd $(HOST_SUBDIR)/bison && \
5653 $(MAKE) $(FLAGS_TO_PASS) check); \
5656 @endif bison
5658 .PHONY: install-bison maybe-install-bison
5659 maybe-install-bison:
5660 @if bison
5661 maybe-install-bison: install-bison
5663 install-bison: installdirs
5664 @: $(MAKE); $(unstage)
5665 @r=`${PWD_COMMAND}`; export r; \
5666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5667 $(HOST_EXPORTS) \
5668 (cd $(HOST_SUBDIR)/bison && \
5669 $(MAKE) $(FLAGS_TO_PASS) install)
5671 @endif bison
5673 .PHONY: install-strip-bison maybe-install-strip-bison
5674 maybe-install-strip-bison:
5675 @if bison
5676 maybe-install-strip-bison: install-strip-bison
5678 install-strip-bison: installdirs
5679 @: $(MAKE); $(unstage)
5680 @r=`${PWD_COMMAND}`; export r; \
5681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5682 $(HOST_EXPORTS) \
5683 (cd $(HOST_SUBDIR)/bison && \
5684 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5686 @endif bison
5688 # Other targets (info, dvi, pdf, etc.)
5690 .PHONY: maybe-info-bison info-bison
5691 maybe-info-bison:
5692 @if bison
5693 maybe-info-bison: info-bison
5695 info-bison: \
5696 configure-bison
5697 @: $(MAKE); $(unstage)
5698 @[ -f ./bison/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 $(HOST_EXPORTS) \
5702 for flag in $(EXTRA_HOST_FLAGS) ; do \
5703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5704 done; \
5705 echo "Doing info in bison" ; \
5706 (cd $(HOST_SUBDIR)/bison && \
5707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5709 "RANLIB=$${RANLIB}" \
5710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5711 info) \
5712 || exit 1
5714 @endif bison
5716 .PHONY: maybe-dvi-bison dvi-bison
5717 maybe-dvi-bison:
5718 @if bison
5719 maybe-dvi-bison: dvi-bison
5721 dvi-bison: \
5722 configure-bison
5723 @: $(MAKE); $(unstage)
5724 @[ -f ./bison/Makefile ] || exit 0; \
5725 r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5727 $(HOST_EXPORTS) \
5728 for flag in $(EXTRA_HOST_FLAGS) ; do \
5729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5730 done; \
5731 echo "Doing dvi in bison" ; \
5732 (cd $(HOST_SUBDIR)/bison && \
5733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5735 "RANLIB=$${RANLIB}" \
5736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5737 dvi) \
5738 || exit 1
5740 @endif bison
5742 .PHONY: maybe-pdf-bison pdf-bison
5743 maybe-pdf-bison:
5744 @if bison
5745 maybe-pdf-bison: pdf-bison
5747 pdf-bison: \
5748 configure-bison
5749 @: $(MAKE); $(unstage)
5750 @[ -f ./bison/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 $(HOST_EXPORTS) \
5754 for flag in $(EXTRA_HOST_FLAGS) ; do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5756 done; \
5757 echo "Doing pdf in bison" ; \
5758 (cd $(HOST_SUBDIR)/bison && \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5763 pdf) \
5764 || exit 1
5766 @endif bison
5768 .PHONY: maybe-html-bison html-bison
5769 maybe-html-bison:
5770 @if bison
5771 maybe-html-bison: html-bison
5773 html-bison: \
5774 configure-bison
5775 @: $(MAKE); $(unstage)
5776 @[ -f ./bison/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(HOST_EXPORTS) \
5780 for flag in $(EXTRA_HOST_FLAGS) ; do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing html in bison" ; \
5784 (cd $(HOST_SUBDIR)/bison && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5789 html) \
5790 || exit 1
5792 @endif bison
5794 .PHONY: maybe-TAGS-bison TAGS-bison
5795 maybe-TAGS-bison:
5796 @if bison
5797 maybe-TAGS-bison: TAGS-bison
5799 TAGS-bison: \
5800 configure-bison
5801 @: $(MAKE); $(unstage)
5802 @[ -f ./bison/Makefile ] || exit 0; \
5803 r=`${PWD_COMMAND}`; export r; \
5804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5805 $(HOST_EXPORTS) \
5806 for flag in $(EXTRA_HOST_FLAGS) ; do \
5807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5808 done; \
5809 echo "Doing TAGS in bison" ; \
5810 (cd $(HOST_SUBDIR)/bison && \
5811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5813 "RANLIB=$${RANLIB}" \
5814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5815 TAGS) \
5816 || exit 1
5818 @endif bison
5820 .PHONY: maybe-install-info-bison install-info-bison
5821 maybe-install-info-bison:
5822 @if bison
5823 maybe-install-info-bison: install-info-bison
5825 install-info-bison: \
5826 configure-bison \
5827 info-bison
5828 @: $(MAKE); $(unstage)
5829 @[ -f ./bison/Makefile ] || exit 0; \
5830 r=`${PWD_COMMAND}`; export r; \
5831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 $(HOST_EXPORTS) \
5833 for flag in $(EXTRA_HOST_FLAGS) ; do \
5834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5835 done; \
5836 echo "Doing install-info in bison" ; \
5837 (cd $(HOST_SUBDIR)/bison && \
5838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5840 "RANLIB=$${RANLIB}" \
5841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5842 install-info) \
5843 || exit 1
5845 @endif bison
5847 .PHONY: maybe-install-pdf-bison install-pdf-bison
5848 maybe-install-pdf-bison:
5849 @if bison
5850 maybe-install-pdf-bison: install-pdf-bison
5852 install-pdf-bison: \
5853 configure-bison \
5854 pdf-bison
5855 @: $(MAKE); $(unstage)
5856 @[ -f ./bison/Makefile ] || exit 0; \
5857 r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 $(HOST_EXPORTS) \
5860 for flag in $(EXTRA_HOST_FLAGS) ; do \
5861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5862 done; \
5863 echo "Doing install-pdf in bison" ; \
5864 (cd $(HOST_SUBDIR)/bison && \
5865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5867 "RANLIB=$${RANLIB}" \
5868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5869 install-pdf) \
5870 || exit 1
5872 @endif bison
5874 .PHONY: maybe-install-html-bison install-html-bison
5875 maybe-install-html-bison:
5876 @if bison
5877 maybe-install-html-bison: install-html-bison
5879 install-html-bison: \
5880 configure-bison \
5881 html-bison
5882 @: $(MAKE); $(unstage)
5883 @[ -f ./bison/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing install-html in bison" ; \
5891 (cd $(HOST_SUBDIR)/bison && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5896 install-html) \
5897 || exit 1
5899 @endif bison
5901 .PHONY: maybe-installcheck-bison installcheck-bison
5902 maybe-installcheck-bison:
5903 @if bison
5904 maybe-installcheck-bison: installcheck-bison
5906 installcheck-bison: \
5907 configure-bison
5908 @: $(MAKE); $(unstage)
5909 @[ -f ./bison/Makefile ] || exit 0; \
5910 r=`${PWD_COMMAND}`; export r; \
5911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5912 $(HOST_EXPORTS) \
5913 for flag in $(EXTRA_HOST_FLAGS) ; do \
5914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5915 done; \
5916 echo "Doing installcheck in bison" ; \
5917 (cd $(HOST_SUBDIR)/bison && \
5918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5920 "RANLIB=$${RANLIB}" \
5921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5922 installcheck) \
5923 || exit 1
5925 @endif bison
5927 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5928 maybe-mostlyclean-bison:
5929 @if bison
5930 maybe-mostlyclean-bison: mostlyclean-bison
5932 mostlyclean-bison:
5933 @: $(MAKE); $(unstage)
5934 @[ -f ./bison/Makefile ] || exit 0; \
5935 r=`${PWD_COMMAND}`; export r; \
5936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 $(HOST_EXPORTS) \
5938 for flag in $(EXTRA_HOST_FLAGS) ; do \
5939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5940 done; \
5941 echo "Doing mostlyclean in bison" ; \
5942 (cd $(HOST_SUBDIR)/bison && \
5943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5945 "RANLIB=$${RANLIB}" \
5946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5947 mostlyclean) \
5948 || exit 1
5950 @endif bison
5952 .PHONY: maybe-clean-bison clean-bison
5953 maybe-clean-bison:
5954 @if bison
5955 maybe-clean-bison: clean-bison
5957 clean-bison:
5958 @: $(MAKE); $(unstage)
5959 @[ -f ./bison/Makefile ] || exit 0; \
5960 r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 $(HOST_EXPORTS) \
5963 for flag in $(EXTRA_HOST_FLAGS) ; do \
5964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5965 done; \
5966 echo "Doing clean in bison" ; \
5967 (cd $(HOST_SUBDIR)/bison && \
5968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5970 "RANLIB=$${RANLIB}" \
5971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5972 clean) \
5973 || exit 1
5975 @endif bison
5977 .PHONY: maybe-distclean-bison distclean-bison
5978 maybe-distclean-bison:
5979 @if bison
5980 maybe-distclean-bison: distclean-bison
5982 distclean-bison:
5983 @: $(MAKE); $(unstage)
5984 @[ -f ./bison/Makefile ] || exit 0; \
5985 r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5987 $(HOST_EXPORTS) \
5988 for flag in $(EXTRA_HOST_FLAGS) ; do \
5989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5990 done; \
5991 echo "Doing distclean in bison" ; \
5992 (cd $(HOST_SUBDIR)/bison && \
5993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5995 "RANLIB=$${RANLIB}" \
5996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5997 distclean) \
5998 || exit 1
6000 @endif bison
6002 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6003 maybe-maintainer-clean-bison:
6004 @if bison
6005 maybe-maintainer-clean-bison: maintainer-clean-bison
6007 maintainer-clean-bison:
6008 @: $(MAKE); $(unstage)
6009 @[ -f ./bison/Makefile ] || exit 0; \
6010 r=`${PWD_COMMAND}`; export r; \
6011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6012 $(HOST_EXPORTS) \
6013 for flag in $(EXTRA_HOST_FLAGS) ; do \
6014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6015 done; \
6016 echo "Doing maintainer-clean in bison" ; \
6017 (cd $(HOST_SUBDIR)/bison && \
6018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6020 "RANLIB=$${RANLIB}" \
6021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6022 maintainer-clean) \
6023 || exit 1
6025 @endif bison
6029 .PHONY: configure-cgen maybe-configure-cgen
6030 maybe-configure-cgen:
6031 @if gcc-bootstrap
6032 configure-cgen: stage_current
6033 @endif gcc-bootstrap
6034 @if cgen
6035 maybe-configure-cgen: configure-cgen
6036 configure-cgen:
6037 @: $(MAKE); $(unstage)
6038 @r=`${PWD_COMMAND}`; export r; \
6039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6040 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6042 $(HOST_EXPORTS) \
6043 echo Configuring in $(HOST_SUBDIR)/cgen; \
6044 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6045 case $(srcdir) in \
6046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6047 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6049 esac; \
6050 srcdiroption="--srcdir=$${topdir}/cgen"; \
6051 libsrcdir="$$s/cgen"; \
6052 $(SHELL) $${libsrcdir}/configure \
6053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6054 --target=${target_alias} $${srcdiroption} \
6055 || exit 1
6056 @endif cgen
6062 .PHONY: all-cgen maybe-all-cgen
6063 maybe-all-cgen:
6064 @if gcc-bootstrap
6065 all-cgen: stage_current
6066 @endif gcc-bootstrap
6067 @if cgen
6068 TARGET-cgen=all
6069 maybe-all-cgen: all-cgen
6070 all-cgen: configure-cgen
6071 @: $(MAKE); $(unstage)
6072 @r=`${PWD_COMMAND}`; export r; \
6073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6074 $(HOST_EXPORTS) \
6075 (cd $(HOST_SUBDIR)/cgen && \
6076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6077 $(TARGET-cgen))
6078 @endif cgen
6083 .PHONY: check-cgen maybe-check-cgen
6084 maybe-check-cgen:
6085 @if cgen
6086 maybe-check-cgen: check-cgen
6088 check-cgen:
6089 @: $(MAKE); $(unstage)
6090 @r=`${PWD_COMMAND}`; export r; \
6091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6092 $(HOST_EXPORTS) \
6093 (cd $(HOST_SUBDIR)/cgen && \
6094 $(MAKE) $(FLAGS_TO_PASS) check)
6096 @endif cgen
6098 .PHONY: install-cgen maybe-install-cgen
6099 maybe-install-cgen:
6100 @if cgen
6101 maybe-install-cgen: install-cgen
6103 install-cgen: installdirs
6104 @: $(MAKE); $(unstage)
6105 @r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 $(HOST_EXPORTS) \
6108 (cd $(HOST_SUBDIR)/cgen && \
6109 $(MAKE) $(FLAGS_TO_PASS) install)
6111 @endif cgen
6113 .PHONY: install-strip-cgen maybe-install-strip-cgen
6114 maybe-install-strip-cgen:
6115 @if cgen
6116 maybe-install-strip-cgen: install-strip-cgen
6118 install-strip-cgen: installdirs
6119 @: $(MAKE); $(unstage)
6120 @r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(HOST_EXPORTS) \
6123 (cd $(HOST_SUBDIR)/cgen && \
6124 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6126 @endif cgen
6128 # Other targets (info, dvi, pdf, etc.)
6130 .PHONY: maybe-info-cgen info-cgen
6131 maybe-info-cgen:
6132 @if cgen
6133 maybe-info-cgen: info-cgen
6135 info-cgen: \
6136 configure-cgen
6137 @: $(MAKE); $(unstage)
6138 @[ -f ./cgen/Makefile ] || exit 0; \
6139 r=`${PWD_COMMAND}`; export r; \
6140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6141 $(HOST_EXPORTS) \
6142 for flag in $(EXTRA_HOST_FLAGS) ; do \
6143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6144 done; \
6145 echo "Doing info in cgen" ; \
6146 (cd $(HOST_SUBDIR)/cgen && \
6147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6149 "RANLIB=$${RANLIB}" \
6150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6151 info) \
6152 || exit 1
6154 @endif cgen
6156 .PHONY: maybe-dvi-cgen dvi-cgen
6157 maybe-dvi-cgen:
6158 @if cgen
6159 maybe-dvi-cgen: dvi-cgen
6161 dvi-cgen: \
6162 configure-cgen
6163 @: $(MAKE); $(unstage)
6164 @[ -f ./cgen/Makefile ] || exit 0; \
6165 r=`${PWD_COMMAND}`; export r; \
6166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6167 $(HOST_EXPORTS) \
6168 for flag in $(EXTRA_HOST_FLAGS) ; do \
6169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6170 done; \
6171 echo "Doing dvi in cgen" ; \
6172 (cd $(HOST_SUBDIR)/cgen && \
6173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6175 "RANLIB=$${RANLIB}" \
6176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6177 dvi) \
6178 || exit 1
6180 @endif cgen
6182 .PHONY: maybe-pdf-cgen pdf-cgen
6183 maybe-pdf-cgen:
6184 @if cgen
6185 maybe-pdf-cgen: pdf-cgen
6187 pdf-cgen: \
6188 configure-cgen
6189 @: $(MAKE); $(unstage)
6190 @[ -f ./cgen/Makefile ] || exit 0; \
6191 r=`${PWD_COMMAND}`; export r; \
6192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6193 $(HOST_EXPORTS) \
6194 for flag in $(EXTRA_HOST_FLAGS) ; do \
6195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6196 done; \
6197 echo "Doing pdf in cgen" ; \
6198 (cd $(HOST_SUBDIR)/cgen && \
6199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6201 "RANLIB=$${RANLIB}" \
6202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6203 pdf) \
6204 || exit 1
6206 @endif cgen
6208 .PHONY: maybe-html-cgen html-cgen
6209 maybe-html-cgen:
6210 @if cgen
6211 maybe-html-cgen: html-cgen
6213 html-cgen: \
6214 configure-cgen
6215 @: $(MAKE); $(unstage)
6216 @[ -f ./cgen/Makefile ] || exit 0; \
6217 r=`${PWD_COMMAND}`; export r; \
6218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6219 $(HOST_EXPORTS) \
6220 for flag in $(EXTRA_HOST_FLAGS) ; do \
6221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6222 done; \
6223 echo "Doing html in cgen" ; \
6224 (cd $(HOST_SUBDIR)/cgen && \
6225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6227 "RANLIB=$${RANLIB}" \
6228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6229 html) \
6230 || exit 1
6232 @endif cgen
6234 .PHONY: maybe-TAGS-cgen TAGS-cgen
6235 maybe-TAGS-cgen:
6236 @if cgen
6237 maybe-TAGS-cgen: TAGS-cgen
6239 TAGS-cgen: \
6240 configure-cgen
6241 @: $(MAKE); $(unstage)
6242 @[ -f ./cgen/Makefile ] || exit 0; \
6243 r=`${PWD_COMMAND}`; export r; \
6244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6245 $(HOST_EXPORTS) \
6246 for flag in $(EXTRA_HOST_FLAGS) ; do \
6247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6248 done; \
6249 echo "Doing TAGS in cgen" ; \
6250 (cd $(HOST_SUBDIR)/cgen && \
6251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6253 "RANLIB=$${RANLIB}" \
6254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6255 TAGS) \
6256 || exit 1
6258 @endif cgen
6260 .PHONY: maybe-install-info-cgen install-info-cgen
6261 maybe-install-info-cgen:
6262 @if cgen
6263 maybe-install-info-cgen: install-info-cgen
6265 install-info-cgen: \
6266 configure-cgen \
6267 info-cgen
6268 @: $(MAKE); $(unstage)
6269 @[ -f ./cgen/Makefile ] || exit 0; \
6270 r=`${PWD_COMMAND}`; export r; \
6271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6272 $(HOST_EXPORTS) \
6273 for flag in $(EXTRA_HOST_FLAGS) ; do \
6274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6275 done; \
6276 echo "Doing install-info in cgen" ; \
6277 (cd $(HOST_SUBDIR)/cgen && \
6278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6280 "RANLIB=$${RANLIB}" \
6281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6282 install-info) \
6283 || exit 1
6285 @endif cgen
6287 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6288 maybe-install-pdf-cgen:
6289 @if cgen
6290 maybe-install-pdf-cgen: install-pdf-cgen
6292 install-pdf-cgen: \
6293 configure-cgen \
6294 pdf-cgen
6295 @: $(MAKE); $(unstage)
6296 @[ -f ./cgen/Makefile ] || exit 0; \
6297 r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 for flag in $(EXTRA_HOST_FLAGS) ; do \
6301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6302 done; \
6303 echo "Doing install-pdf in cgen" ; \
6304 (cd $(HOST_SUBDIR)/cgen && \
6305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6307 "RANLIB=$${RANLIB}" \
6308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6309 install-pdf) \
6310 || exit 1
6312 @endif cgen
6314 .PHONY: maybe-install-html-cgen install-html-cgen
6315 maybe-install-html-cgen:
6316 @if cgen
6317 maybe-install-html-cgen: install-html-cgen
6319 install-html-cgen: \
6320 configure-cgen \
6321 html-cgen
6322 @: $(MAKE); $(unstage)
6323 @[ -f ./cgen/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 $(HOST_EXPORTS) \
6327 for flag in $(EXTRA_HOST_FLAGS) ; do \
6328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6329 done; \
6330 echo "Doing install-html in cgen" ; \
6331 (cd $(HOST_SUBDIR)/cgen && \
6332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6334 "RANLIB=$${RANLIB}" \
6335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6336 install-html) \
6337 || exit 1
6339 @endif cgen
6341 .PHONY: maybe-installcheck-cgen installcheck-cgen
6342 maybe-installcheck-cgen:
6343 @if cgen
6344 maybe-installcheck-cgen: installcheck-cgen
6346 installcheck-cgen: \
6347 configure-cgen
6348 @: $(MAKE); $(unstage)
6349 @[ -f ./cgen/Makefile ] || exit 0; \
6350 r=`${PWD_COMMAND}`; export r; \
6351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352 $(HOST_EXPORTS) \
6353 for flag in $(EXTRA_HOST_FLAGS) ; do \
6354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6355 done; \
6356 echo "Doing installcheck in cgen" ; \
6357 (cd $(HOST_SUBDIR)/cgen && \
6358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360 "RANLIB=$${RANLIB}" \
6361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6362 installcheck) \
6363 || exit 1
6365 @endif cgen
6367 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6368 maybe-mostlyclean-cgen:
6369 @if cgen
6370 maybe-mostlyclean-cgen: mostlyclean-cgen
6372 mostlyclean-cgen:
6373 @: $(MAKE); $(unstage)
6374 @[ -f ./cgen/Makefile ] || exit 0; \
6375 r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(HOST_EXPORTS) \
6378 for flag in $(EXTRA_HOST_FLAGS) ; do \
6379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380 done; \
6381 echo "Doing mostlyclean in cgen" ; \
6382 (cd $(HOST_SUBDIR)/cgen && \
6383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385 "RANLIB=$${RANLIB}" \
6386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6387 mostlyclean) \
6388 || exit 1
6390 @endif cgen
6392 .PHONY: maybe-clean-cgen clean-cgen
6393 maybe-clean-cgen:
6394 @if cgen
6395 maybe-clean-cgen: clean-cgen
6397 clean-cgen:
6398 @: $(MAKE); $(unstage)
6399 @[ -f ./cgen/Makefile ] || exit 0; \
6400 r=`${PWD_COMMAND}`; export r; \
6401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6402 $(HOST_EXPORTS) \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 done; \
6406 echo "Doing clean in cgen" ; \
6407 (cd $(HOST_SUBDIR)/cgen && \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6412 clean) \
6413 || exit 1
6415 @endif cgen
6417 .PHONY: maybe-distclean-cgen distclean-cgen
6418 maybe-distclean-cgen:
6419 @if cgen
6420 maybe-distclean-cgen: distclean-cgen
6422 distclean-cgen:
6423 @: $(MAKE); $(unstage)
6424 @[ -f ./cgen/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(HOST_EXPORTS) \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6430 done; \
6431 echo "Doing distclean in cgen" ; \
6432 (cd $(HOST_SUBDIR)/cgen && \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6437 distclean) \
6438 || exit 1
6440 @endif cgen
6442 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6443 maybe-maintainer-clean-cgen:
6444 @if cgen
6445 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6447 maintainer-clean-cgen:
6448 @: $(MAKE); $(unstage)
6449 @[ -f ./cgen/Makefile ] || exit 0; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 $(HOST_EXPORTS) \
6453 for flag in $(EXTRA_HOST_FLAGS) ; do \
6454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6455 done; \
6456 echo "Doing maintainer-clean in cgen" ; \
6457 (cd $(HOST_SUBDIR)/cgen && \
6458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6460 "RANLIB=$${RANLIB}" \
6461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6462 maintainer-clean) \
6463 || exit 1
6465 @endif cgen
6469 .PHONY: configure-dejagnu maybe-configure-dejagnu
6470 maybe-configure-dejagnu:
6471 @if gcc-bootstrap
6472 configure-dejagnu: stage_current
6473 @endif gcc-bootstrap
6474 @if dejagnu
6475 maybe-configure-dejagnu: configure-dejagnu
6476 configure-dejagnu:
6477 @: $(MAKE); $(unstage)
6478 @r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6482 $(HOST_EXPORTS) \
6483 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6484 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6485 case $(srcdir) in \
6486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6487 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6489 esac; \
6490 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6491 libsrcdir="$$s/dejagnu"; \
6492 $(SHELL) $${libsrcdir}/configure \
6493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6494 --target=${target_alias} $${srcdiroption} \
6495 || exit 1
6496 @endif dejagnu
6502 .PHONY: all-dejagnu maybe-all-dejagnu
6503 maybe-all-dejagnu:
6504 @if gcc-bootstrap
6505 all-dejagnu: stage_current
6506 @endif gcc-bootstrap
6507 @if dejagnu
6508 TARGET-dejagnu=all
6509 maybe-all-dejagnu: all-dejagnu
6510 all-dejagnu: configure-dejagnu
6511 @: $(MAKE); $(unstage)
6512 @r=`${PWD_COMMAND}`; export r; \
6513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6514 $(HOST_EXPORTS) \
6515 (cd $(HOST_SUBDIR)/dejagnu && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6517 $(TARGET-dejagnu))
6518 @endif dejagnu
6523 .PHONY: check-dejagnu maybe-check-dejagnu
6524 maybe-check-dejagnu:
6525 @if dejagnu
6526 maybe-check-dejagnu: check-dejagnu
6528 check-dejagnu:
6529 @: $(MAKE); $(unstage)
6530 @r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 (cd $(HOST_SUBDIR)/dejagnu && \
6534 $(MAKE) $(FLAGS_TO_PASS) check)
6536 @endif dejagnu
6538 .PHONY: install-dejagnu maybe-install-dejagnu
6539 maybe-install-dejagnu:
6540 @if dejagnu
6541 maybe-install-dejagnu: install-dejagnu
6543 install-dejagnu: installdirs
6544 @: $(MAKE); $(unstage)
6545 @r=`${PWD_COMMAND}`; export r; \
6546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6547 $(HOST_EXPORTS) \
6548 (cd $(HOST_SUBDIR)/dejagnu && \
6549 $(MAKE) $(FLAGS_TO_PASS) install)
6551 @endif dejagnu
6553 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6554 maybe-install-strip-dejagnu:
6555 @if dejagnu
6556 maybe-install-strip-dejagnu: install-strip-dejagnu
6558 install-strip-dejagnu: installdirs
6559 @: $(MAKE); $(unstage)
6560 @r=`${PWD_COMMAND}`; export r; \
6561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 $(HOST_EXPORTS) \
6563 (cd $(HOST_SUBDIR)/dejagnu && \
6564 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6566 @endif dejagnu
6568 # Other targets (info, dvi, pdf, etc.)
6570 .PHONY: maybe-info-dejagnu info-dejagnu
6571 maybe-info-dejagnu:
6572 @if dejagnu
6573 maybe-info-dejagnu: info-dejagnu
6575 info-dejagnu: \
6576 configure-dejagnu
6577 @: $(MAKE); $(unstage)
6578 @[ -f ./dejagnu/Makefile ] || exit 0; \
6579 r=`${PWD_COMMAND}`; export r; \
6580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing info in dejagnu" ; \
6586 (cd $(HOST_SUBDIR)/dejagnu && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6591 info) \
6592 || exit 1
6594 @endif dejagnu
6596 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6597 maybe-dvi-dejagnu:
6598 @if dejagnu
6599 maybe-dvi-dejagnu: dvi-dejagnu
6601 dvi-dejagnu: \
6602 configure-dejagnu
6603 @: $(MAKE); $(unstage)
6604 @[ -f ./dejagnu/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(HOST_EXPORTS) \
6608 for flag in $(EXTRA_HOST_FLAGS) ; do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610 done; \
6611 echo "Doing dvi in dejagnu" ; \
6612 (cd $(HOST_SUBDIR)/dejagnu && \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6617 dvi) \
6618 || exit 1
6620 @endif dejagnu
6622 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6623 maybe-pdf-dejagnu:
6624 @if dejagnu
6625 maybe-pdf-dejagnu: pdf-dejagnu
6627 pdf-dejagnu: \
6628 configure-dejagnu
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./dejagnu/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing pdf in dejagnu" ; \
6638 (cd $(HOST_SUBDIR)/dejagnu && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 pdf) \
6644 || exit 1
6646 @endif dejagnu
6648 .PHONY: maybe-html-dejagnu html-dejagnu
6649 maybe-html-dejagnu:
6650 @if dejagnu
6651 maybe-html-dejagnu: html-dejagnu
6653 html-dejagnu: \
6654 configure-dejagnu
6655 @: $(MAKE); $(unstage)
6656 @[ -f ./dejagnu/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing html in dejagnu" ; \
6664 (cd $(HOST_SUBDIR)/dejagnu && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6669 html) \
6670 || exit 1
6672 @endif dejagnu
6674 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6675 maybe-TAGS-dejagnu:
6676 @if dejagnu
6677 maybe-TAGS-dejagnu: TAGS-dejagnu
6679 TAGS-dejagnu: \
6680 configure-dejagnu
6681 @: $(MAKE); $(unstage)
6682 @[ -f ./dejagnu/Makefile ] || exit 0; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing TAGS in dejagnu" ; \
6690 (cd $(HOST_SUBDIR)/dejagnu && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6695 TAGS) \
6696 || exit 1
6698 @endif dejagnu
6700 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6701 maybe-install-info-dejagnu:
6702 @if dejagnu
6703 maybe-install-info-dejagnu: install-info-dejagnu
6705 install-info-dejagnu: \
6706 configure-dejagnu \
6707 info-dejagnu
6708 @: $(MAKE); $(unstage)
6709 @[ -f ./dejagnu/Makefile ] || exit 0; \
6710 r=`${PWD_COMMAND}`; export r; \
6711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 $(HOST_EXPORTS) \
6713 for flag in $(EXTRA_HOST_FLAGS) ; do \
6714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715 done; \
6716 echo "Doing install-info in dejagnu" ; \
6717 (cd $(HOST_SUBDIR)/dejagnu && \
6718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720 "RANLIB=$${RANLIB}" \
6721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6722 install-info) \
6723 || exit 1
6725 @endif dejagnu
6727 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6728 maybe-install-pdf-dejagnu:
6729 @if dejagnu
6730 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6732 install-pdf-dejagnu: \
6733 configure-dejagnu \
6734 pdf-dejagnu
6735 @: $(MAKE); $(unstage)
6736 @[ -f ./dejagnu/Makefile ] || exit 0; \
6737 r=`${PWD_COMMAND}`; export r; \
6738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6739 $(HOST_EXPORTS) \
6740 for flag in $(EXTRA_HOST_FLAGS) ; do \
6741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6742 done; \
6743 echo "Doing install-pdf in dejagnu" ; \
6744 (cd $(HOST_SUBDIR)/dejagnu && \
6745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6747 "RANLIB=$${RANLIB}" \
6748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6749 install-pdf) \
6750 || exit 1
6752 @endif dejagnu
6754 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6755 maybe-install-html-dejagnu:
6756 @if dejagnu
6757 maybe-install-html-dejagnu: install-html-dejagnu
6759 install-html-dejagnu: \
6760 configure-dejagnu \
6761 html-dejagnu
6762 @: $(MAKE); $(unstage)
6763 @[ -f ./dejagnu/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing install-html in dejagnu" ; \
6771 (cd $(HOST_SUBDIR)/dejagnu && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 install-html) \
6777 || exit 1
6779 @endif dejagnu
6781 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6782 maybe-installcheck-dejagnu:
6783 @if dejagnu
6784 maybe-installcheck-dejagnu: installcheck-dejagnu
6786 installcheck-dejagnu: \
6787 configure-dejagnu
6788 @: $(MAKE); $(unstage)
6789 @[ -f ./dejagnu/Makefile ] || exit 0; \
6790 r=`${PWD_COMMAND}`; export r; \
6791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6792 $(HOST_EXPORTS) \
6793 for flag in $(EXTRA_HOST_FLAGS) ; do \
6794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6795 done; \
6796 echo "Doing installcheck in dejagnu" ; \
6797 (cd $(HOST_SUBDIR)/dejagnu && \
6798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6800 "RANLIB=$${RANLIB}" \
6801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6802 installcheck) \
6803 || exit 1
6805 @endif dejagnu
6807 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6808 maybe-mostlyclean-dejagnu:
6809 @if dejagnu
6810 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6812 mostlyclean-dejagnu:
6813 @: $(MAKE); $(unstage)
6814 @[ -f ./dejagnu/Makefile ] || exit 0; \
6815 r=`${PWD_COMMAND}`; export r; \
6816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6817 $(HOST_EXPORTS) \
6818 for flag in $(EXTRA_HOST_FLAGS) ; do \
6819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6820 done; \
6821 echo "Doing mostlyclean in dejagnu" ; \
6822 (cd $(HOST_SUBDIR)/dejagnu && \
6823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6825 "RANLIB=$${RANLIB}" \
6826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6827 mostlyclean) \
6828 || exit 1
6830 @endif dejagnu
6832 .PHONY: maybe-clean-dejagnu clean-dejagnu
6833 maybe-clean-dejagnu:
6834 @if dejagnu
6835 maybe-clean-dejagnu: clean-dejagnu
6837 clean-dejagnu:
6838 @: $(MAKE); $(unstage)
6839 @[ -f ./dejagnu/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing clean in dejagnu" ; \
6847 (cd $(HOST_SUBDIR)/dejagnu && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6852 clean) \
6853 || exit 1
6855 @endif dejagnu
6857 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6858 maybe-distclean-dejagnu:
6859 @if dejagnu
6860 maybe-distclean-dejagnu: distclean-dejagnu
6862 distclean-dejagnu:
6863 @: $(MAKE); $(unstage)
6864 @[ -f ./dejagnu/Makefile ] || exit 0; \
6865 r=`${PWD_COMMAND}`; export r; \
6866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6867 $(HOST_EXPORTS) \
6868 for flag in $(EXTRA_HOST_FLAGS) ; do \
6869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6870 done; \
6871 echo "Doing distclean in dejagnu" ; \
6872 (cd $(HOST_SUBDIR)/dejagnu && \
6873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6875 "RANLIB=$${RANLIB}" \
6876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6877 distclean) \
6878 || exit 1
6880 @endif dejagnu
6882 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6883 maybe-maintainer-clean-dejagnu:
6884 @if dejagnu
6885 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6887 maintainer-clean-dejagnu:
6888 @: $(MAKE); $(unstage)
6889 @[ -f ./dejagnu/Makefile ] || exit 0; \
6890 r=`${PWD_COMMAND}`; export r; \
6891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6892 $(HOST_EXPORTS) \
6893 for flag in $(EXTRA_HOST_FLAGS) ; do \
6894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6895 done; \
6896 echo "Doing maintainer-clean in dejagnu" ; \
6897 (cd $(HOST_SUBDIR)/dejagnu && \
6898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6900 "RANLIB=$${RANLIB}" \
6901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6902 maintainer-clean) \
6903 || exit 1
6905 @endif dejagnu
6909 .PHONY: configure-etc maybe-configure-etc
6910 maybe-configure-etc:
6911 @if gcc-bootstrap
6912 configure-etc: stage_current
6913 @endif gcc-bootstrap
6914 @if etc
6915 maybe-configure-etc: configure-etc
6916 configure-etc:
6917 @: $(MAKE); $(unstage)
6918 @r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6922 $(HOST_EXPORTS) \
6923 echo Configuring in $(HOST_SUBDIR)/etc; \
6924 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6925 case $(srcdir) in \
6926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6927 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6929 esac; \
6930 srcdiroption="--srcdir=$${topdir}/etc"; \
6931 libsrcdir="$$s/etc"; \
6932 $(SHELL) $${libsrcdir}/configure \
6933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6934 --target=${target_alias} $${srcdiroption} \
6935 || exit 1
6936 @endif etc
6942 .PHONY: all-etc maybe-all-etc
6943 maybe-all-etc:
6944 @if gcc-bootstrap
6945 all-etc: stage_current
6946 @endif gcc-bootstrap
6947 @if etc
6948 TARGET-etc=all
6949 maybe-all-etc: all-etc
6950 all-etc: configure-etc
6951 @: $(MAKE); $(unstage)
6952 @r=`${PWD_COMMAND}`; export r; \
6953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6954 $(HOST_EXPORTS) \
6955 (cd $(HOST_SUBDIR)/etc && \
6956 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6957 $(TARGET-etc))
6958 @endif etc
6963 .PHONY: check-etc maybe-check-etc
6964 maybe-check-etc:
6965 @if etc
6966 maybe-check-etc: check-etc
6968 check-etc:
6969 @: $(MAKE); $(unstage)
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(HOST_EXPORTS) \
6973 (cd $(HOST_SUBDIR)/etc && \
6974 $(MAKE) $(FLAGS_TO_PASS) check)
6976 @endif etc
6978 .PHONY: install-etc maybe-install-etc
6979 maybe-install-etc:
6980 @if etc
6981 maybe-install-etc: install-etc
6983 install-etc: installdirs
6984 @: $(MAKE); $(unstage)
6985 @r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(HOST_EXPORTS) \
6988 (cd $(HOST_SUBDIR)/etc && \
6989 $(MAKE) $(FLAGS_TO_PASS) install)
6991 @endif etc
6993 .PHONY: install-strip-etc maybe-install-strip-etc
6994 maybe-install-strip-etc:
6995 @if etc
6996 maybe-install-strip-etc: install-strip-etc
6998 install-strip-etc: installdirs
6999 @: $(MAKE); $(unstage)
7000 @r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 (cd $(HOST_SUBDIR)/etc && \
7004 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7006 @endif etc
7008 # Other targets (info, dvi, pdf, etc.)
7010 .PHONY: maybe-info-etc info-etc
7011 maybe-info-etc:
7012 @if etc
7013 maybe-info-etc: info-etc
7015 info-etc: \
7016 configure-etc
7017 @: $(MAKE); $(unstage)
7018 @[ -f ./etc/Makefile ] || exit 0; \
7019 r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 for flag in $(EXTRA_HOST_FLAGS) ; do \
7023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7024 done; \
7025 echo "Doing info in etc" ; \
7026 (cd $(HOST_SUBDIR)/etc && \
7027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7029 "RANLIB=$${RANLIB}" \
7030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7031 info) \
7032 || exit 1
7034 @endif etc
7036 .PHONY: maybe-dvi-etc dvi-etc
7037 maybe-dvi-etc:
7038 @if etc
7039 maybe-dvi-etc: dvi-etc
7041 dvi-etc: \
7042 configure-etc
7043 @: $(MAKE); $(unstage)
7044 @[ -f ./etc/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047 $(HOST_EXPORTS) \
7048 for flag in $(EXTRA_HOST_FLAGS) ; do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050 done; \
7051 echo "Doing dvi in etc" ; \
7052 (cd $(HOST_SUBDIR)/etc && \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7057 dvi) \
7058 || exit 1
7060 @endif etc
7062 .PHONY: maybe-pdf-etc pdf-etc
7063 maybe-pdf-etc:
7064 @if etc
7065 maybe-pdf-etc: pdf-etc
7067 pdf-etc: \
7068 configure-etc
7069 @: $(MAKE); $(unstage)
7070 @[ -f ./etc/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076 done; \
7077 echo "Doing pdf in etc" ; \
7078 (cd $(HOST_SUBDIR)/etc && \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7083 pdf) \
7084 || exit 1
7086 @endif etc
7088 .PHONY: maybe-html-etc html-etc
7089 maybe-html-etc:
7090 @if etc
7091 maybe-html-etc: html-etc
7093 html-etc: \
7094 configure-etc
7095 @: $(MAKE); $(unstage)
7096 @[ -f ./etc/Makefile ] || exit 0; \
7097 r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(HOST_EXPORTS) \
7100 for flag in $(EXTRA_HOST_FLAGS) ; do \
7101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 done; \
7103 echo "Doing html in etc" ; \
7104 (cd $(HOST_SUBDIR)/etc && \
7105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7107 "RANLIB=$${RANLIB}" \
7108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7109 html) \
7110 || exit 1
7112 @endif etc
7114 .PHONY: maybe-TAGS-etc TAGS-etc
7115 maybe-TAGS-etc:
7116 @if etc
7117 maybe-TAGS-etc: TAGS-etc
7119 TAGS-etc: \
7120 configure-etc
7121 @: $(MAKE); $(unstage)
7122 @[ -f ./etc/Makefile ] || exit 0; \
7123 r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS) ; do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing TAGS in etc" ; \
7130 (cd $(HOST_SUBDIR)/etc && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7135 TAGS) \
7136 || exit 1
7138 @endif etc
7140 .PHONY: maybe-install-info-etc install-info-etc
7141 maybe-install-info-etc:
7142 @if etc
7143 maybe-install-info-etc: install-info-etc
7145 install-info-etc: \
7146 configure-etc \
7147 info-etc
7148 @: $(MAKE); $(unstage)
7149 @[ -f ./etc/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing install-info in etc" ; \
7157 (cd $(HOST_SUBDIR)/etc && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7162 install-info) \
7163 || exit 1
7165 @endif etc
7167 .PHONY: maybe-install-pdf-etc install-pdf-etc
7168 maybe-install-pdf-etc:
7169 @if etc
7170 maybe-install-pdf-etc: install-pdf-etc
7172 install-pdf-etc: \
7173 configure-etc \
7174 pdf-etc
7175 @: $(MAKE); $(unstage)
7176 @[ -f ./etc/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing install-pdf in etc" ; \
7184 (cd $(HOST_SUBDIR)/etc && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7189 install-pdf) \
7190 || exit 1
7192 @endif etc
7194 .PHONY: maybe-install-html-etc install-html-etc
7195 maybe-install-html-etc:
7196 @if etc
7197 maybe-install-html-etc: install-html-etc
7199 install-html-etc: \
7200 configure-etc \
7201 html-etc
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./etc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing install-html in etc" ; \
7211 (cd $(HOST_SUBDIR)/etc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7216 install-html) \
7217 || exit 1
7219 @endif etc
7221 .PHONY: maybe-installcheck-etc installcheck-etc
7222 maybe-installcheck-etc:
7223 @if etc
7224 maybe-installcheck-etc: installcheck-etc
7226 installcheck-etc: \
7227 configure-etc
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./etc/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing installcheck in etc" ; \
7237 (cd $(HOST_SUBDIR)/etc && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7242 installcheck) \
7243 || exit 1
7245 @endif etc
7247 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7248 maybe-mostlyclean-etc:
7249 @if etc
7250 maybe-mostlyclean-etc: mostlyclean-etc
7252 mostlyclean-etc:
7253 @: $(MAKE); $(unstage)
7254 @[ -f ./etc/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing mostlyclean in etc" ; \
7262 (cd $(HOST_SUBDIR)/etc && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7267 mostlyclean) \
7268 || exit 1
7270 @endif etc
7272 .PHONY: maybe-clean-etc clean-etc
7273 maybe-clean-etc:
7274 @if etc
7275 maybe-clean-etc: clean-etc
7277 clean-etc:
7278 @: $(MAKE); $(unstage)
7279 @[ -f ./etc/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282 $(HOST_EXPORTS) \
7283 for flag in $(EXTRA_HOST_FLAGS) ; do \
7284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7285 done; \
7286 echo "Doing clean in etc" ; \
7287 (cd $(HOST_SUBDIR)/etc && \
7288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290 "RANLIB=$${RANLIB}" \
7291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7292 clean) \
7293 || exit 1
7295 @endif etc
7297 .PHONY: maybe-distclean-etc distclean-etc
7298 maybe-distclean-etc:
7299 @if etc
7300 maybe-distclean-etc: distclean-etc
7302 distclean-etc:
7303 @: $(MAKE); $(unstage)
7304 @[ -f ./etc/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(HOST_EXPORTS) \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310 done; \
7311 echo "Doing distclean in etc" ; \
7312 (cd $(HOST_SUBDIR)/etc && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7317 distclean) \
7318 || exit 1
7320 @endif etc
7322 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7323 maybe-maintainer-clean-etc:
7324 @if etc
7325 maybe-maintainer-clean-etc: maintainer-clean-etc
7327 maintainer-clean-etc:
7328 @: $(MAKE); $(unstage)
7329 @[ -f ./etc/Makefile ] || exit 0; \
7330 r=`${PWD_COMMAND}`; export r; \
7331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7332 $(HOST_EXPORTS) \
7333 for flag in $(EXTRA_HOST_FLAGS) ; do \
7334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7335 done; \
7336 echo "Doing maintainer-clean in etc" ; \
7337 (cd $(HOST_SUBDIR)/etc && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7340 "RANLIB=$${RANLIB}" \
7341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7342 maintainer-clean) \
7343 || exit 1
7345 @endif etc
7349 .PHONY: configure-fastjar maybe-configure-fastjar
7350 maybe-configure-fastjar:
7351 @if gcc-bootstrap
7352 configure-fastjar: stage_current
7353 @endif gcc-bootstrap
7354 @if fastjar
7355 maybe-configure-fastjar: configure-fastjar
7356 configure-fastjar:
7357 @: $(MAKE); $(unstage)
7358 @r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7362 $(HOST_EXPORTS) \
7363 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7364 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7365 case $(srcdir) in \
7366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7367 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7369 esac; \
7370 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7371 libsrcdir="$$s/fastjar"; \
7372 $(SHELL) $${libsrcdir}/configure \
7373 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7374 --target=${target_alias} $${srcdiroption} \
7375 || exit 1
7376 @endif fastjar
7382 .PHONY: all-fastjar maybe-all-fastjar
7383 maybe-all-fastjar:
7384 @if gcc-bootstrap
7385 all-fastjar: stage_current
7386 @endif gcc-bootstrap
7387 @if fastjar
7388 TARGET-fastjar=all
7389 maybe-all-fastjar: all-fastjar
7390 all-fastjar: configure-fastjar
7391 @: $(MAKE); $(unstage)
7392 @r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 (cd $(HOST_SUBDIR)/fastjar && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7397 $(TARGET-fastjar))
7398 @endif fastjar
7403 .PHONY: check-fastjar maybe-check-fastjar
7404 maybe-check-fastjar:
7405 @if fastjar
7406 maybe-check-fastjar: check-fastjar
7408 # This module is only tested in a native toolchain.
7409 check-fastjar:
7410 @: $(MAKE); $(unstage)
7411 @if [ '$(host)' = '$(target)' ] ; then \
7412 r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7414 $(HOST_EXPORTS) \
7415 (cd $(HOST_SUBDIR)/fastjar && \
7416 $(MAKE) $(FLAGS_TO_PASS) check); \
7419 @endif fastjar
7421 .PHONY: install-fastjar maybe-install-fastjar
7422 maybe-install-fastjar:
7423 @if fastjar
7424 maybe-install-fastjar: install-fastjar
7426 install-fastjar: installdirs
7427 @: $(MAKE); $(unstage)
7428 @r=`${PWD_COMMAND}`; export r; \
7429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7430 $(HOST_EXPORTS) \
7431 (cd $(HOST_SUBDIR)/fastjar && \
7432 $(MAKE) $(FLAGS_TO_PASS) install)
7434 @endif fastjar
7436 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7437 maybe-install-strip-fastjar:
7438 @if fastjar
7439 maybe-install-strip-fastjar: install-strip-fastjar
7441 install-strip-fastjar: installdirs
7442 @: $(MAKE); $(unstage)
7443 @r=`${PWD_COMMAND}`; export r; \
7444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7445 $(HOST_EXPORTS) \
7446 (cd $(HOST_SUBDIR)/fastjar && \
7447 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7449 @endif fastjar
7451 # Other targets (info, dvi, pdf, etc.)
7453 .PHONY: maybe-info-fastjar info-fastjar
7454 maybe-info-fastjar:
7455 @if fastjar
7456 maybe-info-fastjar: info-fastjar
7458 info-fastjar: \
7459 configure-fastjar
7460 @: $(MAKE); $(unstage)
7461 @[ -f ./fastjar/Makefile ] || exit 0; \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing info in fastjar" ; \
7469 (cd $(HOST_SUBDIR)/fastjar && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7474 info) \
7475 || exit 1
7477 @endif fastjar
7479 .PHONY: maybe-dvi-fastjar dvi-fastjar
7480 maybe-dvi-fastjar:
7481 @if fastjar
7482 maybe-dvi-fastjar: dvi-fastjar
7484 dvi-fastjar: \
7485 configure-fastjar
7486 @: $(MAKE); $(unstage)
7487 @[ -f ./fastjar/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing dvi in fastjar" ; \
7495 (cd $(HOST_SUBDIR)/fastjar && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7500 dvi) \
7501 || exit 1
7503 @endif fastjar
7505 .PHONY: maybe-pdf-fastjar pdf-fastjar
7506 maybe-pdf-fastjar:
7507 @if fastjar
7508 maybe-pdf-fastjar: pdf-fastjar
7510 pdf-fastjar: \
7511 configure-fastjar
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./fastjar/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing pdf in fastjar" ; \
7521 (cd $(HOST_SUBDIR)/fastjar && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7526 pdf) \
7527 || exit 1
7529 @endif fastjar
7531 .PHONY: maybe-html-fastjar html-fastjar
7532 maybe-html-fastjar:
7533 @if fastjar
7534 maybe-html-fastjar: html-fastjar
7536 html-fastjar: \
7537 configure-fastjar
7538 @: $(MAKE); $(unstage)
7539 @[ -f ./fastjar/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS) ; do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing html in fastjar" ; \
7547 (cd $(HOST_SUBDIR)/fastjar && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7552 html) \
7553 || exit 1
7555 @endif fastjar
7557 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7558 maybe-TAGS-fastjar:
7559 @if fastjar
7560 maybe-TAGS-fastjar: TAGS-fastjar
7562 TAGS-fastjar: \
7563 configure-fastjar
7564 @: $(MAKE); $(unstage)
7565 @[ -f ./fastjar/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 $(HOST_EXPORTS) \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7571 done; \
7572 echo "Doing TAGS in fastjar" ; \
7573 (cd $(HOST_SUBDIR)/fastjar && \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7578 TAGS) \
7579 || exit 1
7581 @endif fastjar
7583 .PHONY: maybe-install-info-fastjar install-info-fastjar
7584 maybe-install-info-fastjar:
7585 @if fastjar
7586 maybe-install-info-fastjar: install-info-fastjar
7588 install-info-fastjar: \
7589 configure-fastjar \
7590 info-fastjar
7591 @: $(MAKE); $(unstage)
7592 @[ -f ./fastjar/Makefile ] || exit 0; \
7593 r=`${PWD_COMMAND}`; export r; \
7594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7595 $(HOST_EXPORTS) \
7596 for flag in $(EXTRA_HOST_FLAGS) ; do \
7597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7598 done; \
7599 echo "Doing install-info in fastjar" ; \
7600 (cd $(HOST_SUBDIR)/fastjar && \
7601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7603 "RANLIB=$${RANLIB}" \
7604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7605 install-info) \
7606 || exit 1
7608 @endif fastjar
7610 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7611 maybe-install-pdf-fastjar:
7612 @if fastjar
7613 maybe-install-pdf-fastjar: install-pdf-fastjar
7615 install-pdf-fastjar: \
7616 configure-fastjar \
7617 pdf-fastjar
7618 @: $(MAKE); $(unstage)
7619 @[ -f ./fastjar/Makefile ] || exit 0; \
7620 r=`${PWD_COMMAND}`; export r; \
7621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 $(HOST_EXPORTS) \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 done; \
7626 echo "Doing install-pdf in fastjar" ; \
7627 (cd $(HOST_SUBDIR)/fastjar && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7632 install-pdf) \
7633 || exit 1
7635 @endif fastjar
7637 .PHONY: maybe-install-html-fastjar install-html-fastjar
7638 maybe-install-html-fastjar:
7639 @if fastjar
7640 maybe-install-html-fastjar: install-html-fastjar
7642 install-html-fastjar: \
7643 configure-fastjar \
7644 html-fastjar
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing install-html in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 install-html) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7665 maybe-installcheck-fastjar:
7666 @if fastjar
7667 maybe-installcheck-fastjar: installcheck-fastjar
7669 installcheck-fastjar: \
7670 configure-fastjar
7671 @: $(MAKE); $(unstage)
7672 @[ -f ./fastjar/Makefile ] || exit 0; \
7673 r=`${PWD_COMMAND}`; export r; \
7674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7675 $(HOST_EXPORTS) \
7676 for flag in $(EXTRA_HOST_FLAGS) ; do \
7677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7678 done; \
7679 echo "Doing installcheck in fastjar" ; \
7680 (cd $(HOST_SUBDIR)/fastjar && \
7681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7683 "RANLIB=$${RANLIB}" \
7684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7685 installcheck) \
7686 || exit 1
7688 @endif fastjar
7690 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7691 maybe-mostlyclean-fastjar:
7692 @if fastjar
7693 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7695 mostlyclean-fastjar:
7696 @: $(MAKE); $(unstage)
7697 @[ -f ./fastjar/Makefile ] || exit 0; \
7698 r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 for flag in $(EXTRA_HOST_FLAGS) ; do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing mostlyclean in fastjar" ; \
7705 (cd $(HOST_SUBDIR)/fastjar && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7710 mostlyclean) \
7711 || exit 1
7713 @endif fastjar
7715 .PHONY: maybe-clean-fastjar clean-fastjar
7716 maybe-clean-fastjar:
7717 @if fastjar
7718 maybe-clean-fastjar: clean-fastjar
7720 clean-fastjar:
7721 @: $(MAKE); $(unstage)
7722 @[ -f ./fastjar/Makefile ] || exit 0; \
7723 r=`${PWD_COMMAND}`; export r; \
7724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7725 $(HOST_EXPORTS) \
7726 for flag in $(EXTRA_HOST_FLAGS) ; do \
7727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7728 done; \
7729 echo "Doing clean in fastjar" ; \
7730 (cd $(HOST_SUBDIR)/fastjar && \
7731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7733 "RANLIB=$${RANLIB}" \
7734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7735 clean) \
7736 || exit 1
7738 @endif fastjar
7740 .PHONY: maybe-distclean-fastjar distclean-fastjar
7741 maybe-distclean-fastjar:
7742 @if fastjar
7743 maybe-distclean-fastjar: distclean-fastjar
7745 distclean-fastjar:
7746 @: $(MAKE); $(unstage)
7747 @[ -f ./fastjar/Makefile ] || exit 0; \
7748 r=`${PWD_COMMAND}`; export r; \
7749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7750 $(HOST_EXPORTS) \
7751 for flag in $(EXTRA_HOST_FLAGS) ; do \
7752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7753 done; \
7754 echo "Doing distclean in fastjar" ; \
7755 (cd $(HOST_SUBDIR)/fastjar && \
7756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7758 "RANLIB=$${RANLIB}" \
7759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7760 distclean) \
7761 || exit 1
7763 @endif fastjar
7765 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7766 maybe-maintainer-clean-fastjar:
7767 @if fastjar
7768 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7770 maintainer-clean-fastjar:
7771 @: $(MAKE); $(unstage)
7772 @[ -f ./fastjar/Makefile ] || exit 0; \
7773 r=`${PWD_COMMAND}`; export r; \
7774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7775 $(HOST_EXPORTS) \
7776 for flag in $(EXTRA_HOST_FLAGS) ; do \
7777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7778 done; \
7779 echo "Doing maintainer-clean in fastjar" ; \
7780 (cd $(HOST_SUBDIR)/fastjar && \
7781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7783 "RANLIB=$${RANLIB}" \
7784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7785 maintainer-clean) \
7786 || exit 1
7788 @endif fastjar
7792 .PHONY: configure-fixincludes maybe-configure-fixincludes
7793 maybe-configure-fixincludes:
7794 @if gcc-bootstrap
7795 configure-fixincludes: stage_current
7796 @endif gcc-bootstrap
7797 @if fixincludes
7798 maybe-configure-fixincludes: configure-fixincludes
7799 configure-fixincludes:
7800 @: $(MAKE); $(unstage)
7801 @r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7805 $(HOST_EXPORTS) \
7806 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7807 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7808 case $(srcdir) in \
7809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7810 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7812 esac; \
7813 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7814 libsrcdir="$$s/fixincludes"; \
7815 $(SHELL) $${libsrcdir}/configure \
7816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7817 --target=${target_alias} $${srcdiroption} \
7818 || exit 1
7819 @endif fixincludes
7825 .PHONY: all-fixincludes maybe-all-fixincludes
7826 maybe-all-fixincludes:
7827 @if gcc-bootstrap
7828 all-fixincludes: stage_current
7829 @endif gcc-bootstrap
7830 @if fixincludes
7831 TARGET-fixincludes=all
7832 maybe-all-fixincludes: all-fixincludes
7833 all-fixincludes: configure-fixincludes
7834 @: $(MAKE); $(unstage)
7835 @r=`${PWD_COMMAND}`; export r; \
7836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7837 $(HOST_EXPORTS) \
7838 (cd $(HOST_SUBDIR)/fixincludes && \
7839 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7840 $(TARGET-fixincludes))
7841 @endif fixincludes
7846 .PHONY: check-fixincludes maybe-check-fixincludes
7847 maybe-check-fixincludes:
7848 @if fixincludes
7849 maybe-check-fixincludes: check-fixincludes
7851 check-fixincludes:
7852 @: $(MAKE); $(unstage)
7853 @r=`${PWD_COMMAND}`; export r; \
7854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7855 $(HOST_EXPORTS) \
7856 (cd $(HOST_SUBDIR)/fixincludes && \
7857 $(MAKE) $(FLAGS_TO_PASS) check)
7859 @endif fixincludes
7861 .PHONY: install-fixincludes maybe-install-fixincludes
7862 maybe-install-fixincludes:
7863 @if fixincludes
7864 maybe-install-fixincludes: install-fixincludes
7866 install-fixincludes: installdirs
7867 @: $(MAKE); $(unstage)
7868 @r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 $(HOST_EXPORTS) \
7871 (cd $(HOST_SUBDIR)/fixincludes && \
7872 $(MAKE) $(FLAGS_TO_PASS) install)
7874 @endif fixincludes
7876 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7877 maybe-install-strip-fixincludes:
7878 @if fixincludes
7879 maybe-install-strip-fixincludes: install-strip-fixincludes
7881 install-strip-fixincludes: installdirs
7882 @: $(MAKE); $(unstage)
7883 @r=`${PWD_COMMAND}`; export r; \
7884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7885 $(HOST_EXPORTS) \
7886 (cd $(HOST_SUBDIR)/fixincludes && \
7887 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7889 @endif fixincludes
7891 # Other targets (info, dvi, pdf, etc.)
7893 .PHONY: maybe-info-fixincludes info-fixincludes
7894 maybe-info-fixincludes:
7895 @if fixincludes
7896 maybe-info-fixincludes: info-fixincludes
7898 info-fixincludes: \
7899 configure-fixincludes
7900 @: $(MAKE); $(unstage)
7901 @[ -f ./fixincludes/Makefile ] || exit 0; \
7902 r=`${PWD_COMMAND}`; export r; \
7903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7904 $(HOST_EXPORTS) \
7905 for flag in $(EXTRA_HOST_FLAGS) ; do \
7906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7907 done; \
7908 echo "Doing info in fixincludes" ; \
7909 (cd $(HOST_SUBDIR)/fixincludes && \
7910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7912 "RANLIB=$${RANLIB}" \
7913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7914 info) \
7915 || exit 1
7917 @endif fixincludes
7919 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7920 maybe-dvi-fixincludes:
7921 @if fixincludes
7922 maybe-dvi-fixincludes: dvi-fixincludes
7924 dvi-fixincludes: \
7925 configure-fixincludes
7926 @: $(MAKE); $(unstage)
7927 @[ -f ./fixincludes/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 $(HOST_EXPORTS) \
7931 for flag in $(EXTRA_HOST_FLAGS) ; do \
7932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 done; \
7934 echo "Doing dvi in fixincludes" ; \
7935 (cd $(HOST_SUBDIR)/fixincludes && \
7936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938 "RANLIB=$${RANLIB}" \
7939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7940 dvi) \
7941 || exit 1
7943 @endif fixincludes
7945 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7946 maybe-pdf-fixincludes:
7947 @if fixincludes
7948 maybe-pdf-fixincludes: pdf-fixincludes
7950 pdf-fixincludes: \
7951 configure-fixincludes
7952 @: $(MAKE); $(unstage)
7953 @[ -f ./fixincludes/Makefile ] || exit 0; \
7954 r=`${PWD_COMMAND}`; export r; \
7955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7956 $(HOST_EXPORTS) \
7957 for flag in $(EXTRA_HOST_FLAGS) ; do \
7958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7959 done; \
7960 echo "Doing pdf in fixincludes" ; \
7961 (cd $(HOST_SUBDIR)/fixincludes && \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7966 pdf) \
7967 || exit 1
7969 @endif fixincludes
7971 .PHONY: maybe-html-fixincludes html-fixincludes
7972 maybe-html-fixincludes:
7973 @if fixincludes
7974 maybe-html-fixincludes: html-fixincludes
7976 html-fixincludes: \
7977 configure-fixincludes
7978 @: $(MAKE); $(unstage)
7979 @[ -f ./fixincludes/Makefile ] || exit 0; \
7980 r=`${PWD_COMMAND}`; export r; \
7981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7982 $(HOST_EXPORTS) \
7983 for flag in $(EXTRA_HOST_FLAGS) ; do \
7984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7985 done; \
7986 echo "Doing html in fixincludes" ; \
7987 (cd $(HOST_SUBDIR)/fixincludes && \
7988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7990 "RANLIB=$${RANLIB}" \
7991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7992 html) \
7993 || exit 1
7995 @endif fixincludes
7997 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7998 maybe-TAGS-fixincludes:
7999 @if fixincludes
8000 maybe-TAGS-fixincludes: TAGS-fixincludes
8002 # fixincludes doesn't support TAGS.
8003 TAGS-fixincludes:
8005 @endif fixincludes
8007 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8008 maybe-install-info-fixincludes:
8009 @if fixincludes
8010 maybe-install-info-fixincludes: install-info-fixincludes
8012 install-info-fixincludes: \
8013 configure-fixincludes \
8014 info-fixincludes
8015 @: $(MAKE); $(unstage)
8016 @[ -f ./fixincludes/Makefile ] || exit 0; \
8017 r=`${PWD_COMMAND}`; export r; \
8018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8019 $(HOST_EXPORTS) \
8020 for flag in $(EXTRA_HOST_FLAGS) ; do \
8021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8022 done; \
8023 echo "Doing install-info in fixincludes" ; \
8024 (cd $(HOST_SUBDIR)/fixincludes && \
8025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8027 "RANLIB=$${RANLIB}" \
8028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8029 install-info) \
8030 || exit 1
8032 @endif fixincludes
8034 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8035 maybe-install-pdf-fixincludes:
8036 @if fixincludes
8037 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8039 install-pdf-fixincludes: \
8040 configure-fixincludes \
8041 pdf-fixincludes
8042 @: $(MAKE); $(unstage)
8043 @[ -f ./fixincludes/Makefile ] || exit 0; \
8044 r=`${PWD_COMMAND}`; export r; \
8045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8046 $(HOST_EXPORTS) \
8047 for flag in $(EXTRA_HOST_FLAGS) ; do \
8048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8049 done; \
8050 echo "Doing install-pdf in fixincludes" ; \
8051 (cd $(HOST_SUBDIR)/fixincludes && \
8052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8054 "RANLIB=$${RANLIB}" \
8055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8056 install-pdf) \
8057 || exit 1
8059 @endif fixincludes
8061 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8062 maybe-install-html-fixincludes:
8063 @if fixincludes
8064 maybe-install-html-fixincludes: install-html-fixincludes
8066 install-html-fixincludes: \
8067 configure-fixincludes \
8068 html-fixincludes
8069 @: $(MAKE); $(unstage)
8070 @[ -f ./fixincludes/Makefile ] || exit 0; \
8071 r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 $(HOST_EXPORTS) \
8074 for flag in $(EXTRA_HOST_FLAGS) ; do \
8075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8076 done; \
8077 echo "Doing install-html in fixincludes" ; \
8078 (cd $(HOST_SUBDIR)/fixincludes && \
8079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8081 "RANLIB=$${RANLIB}" \
8082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8083 install-html) \
8084 || exit 1
8086 @endif fixincludes
8088 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8089 maybe-installcheck-fixincludes:
8090 @if fixincludes
8091 maybe-installcheck-fixincludes: installcheck-fixincludes
8093 installcheck-fixincludes: \
8094 configure-fixincludes
8095 @: $(MAKE); $(unstage)
8096 @[ -f ./fixincludes/Makefile ] || exit 0; \
8097 r=`${PWD_COMMAND}`; export r; \
8098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8099 $(HOST_EXPORTS) \
8100 for flag in $(EXTRA_HOST_FLAGS) ; do \
8101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8102 done; \
8103 echo "Doing installcheck in fixincludes" ; \
8104 (cd $(HOST_SUBDIR)/fixincludes && \
8105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8107 "RANLIB=$${RANLIB}" \
8108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8109 installcheck) \
8110 || exit 1
8112 @endif fixincludes
8114 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8115 maybe-mostlyclean-fixincludes:
8116 @if fixincludes
8117 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8119 mostlyclean-fixincludes:
8120 @: $(MAKE); $(unstage)
8121 @[ -f ./fixincludes/Makefile ] || exit 0; \
8122 r=`${PWD_COMMAND}`; export r; \
8123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8124 $(HOST_EXPORTS) \
8125 for flag in $(EXTRA_HOST_FLAGS) ; do \
8126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8127 done; \
8128 echo "Doing mostlyclean in fixincludes" ; \
8129 (cd $(HOST_SUBDIR)/fixincludes && \
8130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8132 "RANLIB=$${RANLIB}" \
8133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8134 mostlyclean) \
8135 || exit 1
8137 @endif fixincludes
8139 .PHONY: maybe-clean-fixincludes clean-fixincludes
8140 maybe-clean-fixincludes:
8141 @if fixincludes
8142 maybe-clean-fixincludes: clean-fixincludes
8144 clean-fixincludes:
8145 @: $(MAKE); $(unstage)
8146 @[ -f ./fixincludes/Makefile ] || exit 0; \
8147 r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 $(HOST_EXPORTS) \
8150 for flag in $(EXTRA_HOST_FLAGS) ; do \
8151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8152 done; \
8153 echo "Doing clean in fixincludes" ; \
8154 (cd $(HOST_SUBDIR)/fixincludes && \
8155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8157 "RANLIB=$${RANLIB}" \
8158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8159 clean) \
8160 || exit 1
8162 @endif fixincludes
8164 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8165 maybe-distclean-fixincludes:
8166 @if fixincludes
8167 maybe-distclean-fixincludes: distclean-fixincludes
8169 distclean-fixincludes:
8170 @: $(MAKE); $(unstage)
8171 @[ -f ./fixincludes/Makefile ] || exit 0; \
8172 r=`${PWD_COMMAND}`; export r; \
8173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8174 $(HOST_EXPORTS) \
8175 for flag in $(EXTRA_HOST_FLAGS) ; do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177 done; \
8178 echo "Doing distclean in fixincludes" ; \
8179 (cd $(HOST_SUBDIR)/fixincludes && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8184 distclean) \
8185 || exit 1
8187 @endif fixincludes
8189 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8190 maybe-maintainer-clean-fixincludes:
8191 @if fixincludes
8192 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8194 maintainer-clean-fixincludes:
8195 @: $(MAKE); $(unstage)
8196 @[ -f ./fixincludes/Makefile ] || exit 0; \
8197 r=`${PWD_COMMAND}`; export r; \
8198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8199 $(HOST_EXPORTS) \
8200 for flag in $(EXTRA_HOST_FLAGS) ; do \
8201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8202 done; \
8203 echo "Doing maintainer-clean in fixincludes" ; \
8204 (cd $(HOST_SUBDIR)/fixincludes && \
8205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8207 "RANLIB=$${RANLIB}" \
8208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8209 maintainer-clean) \
8210 || exit 1
8212 @endif fixincludes
8216 .PHONY: configure-flex maybe-configure-flex
8217 maybe-configure-flex:
8218 @if gcc-bootstrap
8219 configure-flex: stage_current
8220 @endif gcc-bootstrap
8221 @if flex
8222 maybe-configure-flex: configure-flex
8223 configure-flex:
8224 @: $(MAKE); $(unstage)
8225 @r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8227 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8229 $(HOST_EXPORTS) \
8230 echo Configuring in $(HOST_SUBDIR)/flex; \
8231 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8232 case $(srcdir) in \
8233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8234 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8236 esac; \
8237 srcdiroption="--srcdir=$${topdir}/flex"; \
8238 libsrcdir="$$s/flex"; \
8239 $(SHELL) $${libsrcdir}/configure \
8240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8241 --target=${target_alias} $${srcdiroption} \
8242 || exit 1
8243 @endif flex
8249 .PHONY: all-flex maybe-all-flex
8250 maybe-all-flex:
8251 @if gcc-bootstrap
8252 all-flex: stage_current
8253 @endif gcc-bootstrap
8254 @if flex
8255 TARGET-flex=all
8256 maybe-all-flex: all-flex
8257 all-flex: configure-flex
8258 @: $(MAKE); $(unstage)
8259 @r=`${PWD_COMMAND}`; export r; \
8260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8261 $(HOST_EXPORTS) \
8262 (cd $(HOST_SUBDIR)/flex && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8264 $(TARGET-flex))
8265 @endif flex
8270 .PHONY: check-flex maybe-check-flex
8271 maybe-check-flex:
8272 @if flex
8273 maybe-check-flex: check-flex
8275 # This module is only tested in a native toolchain.
8276 check-flex:
8277 @: $(MAKE); $(unstage)
8278 @if [ '$(host)' = '$(target)' ] ; then \
8279 r=`${PWD_COMMAND}`; export r; \
8280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8281 $(HOST_EXPORTS) \
8282 (cd $(HOST_SUBDIR)/flex && \
8283 $(MAKE) $(FLAGS_TO_PASS) check); \
8286 @endif flex
8288 .PHONY: install-flex maybe-install-flex
8289 maybe-install-flex:
8290 @if flex
8291 maybe-install-flex: install-flex
8293 install-flex: installdirs
8294 @: $(MAKE); $(unstage)
8295 @r=`${PWD_COMMAND}`; export r; \
8296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 $(HOST_EXPORTS) \
8298 (cd $(HOST_SUBDIR)/flex && \
8299 $(MAKE) $(FLAGS_TO_PASS) install)
8301 @endif flex
8303 .PHONY: install-strip-flex maybe-install-strip-flex
8304 maybe-install-strip-flex:
8305 @if flex
8306 maybe-install-strip-flex: install-strip-flex
8308 install-strip-flex: installdirs
8309 @: $(MAKE); $(unstage)
8310 @r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8312 $(HOST_EXPORTS) \
8313 (cd $(HOST_SUBDIR)/flex && \
8314 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8316 @endif flex
8318 # Other targets (info, dvi, pdf, etc.)
8320 .PHONY: maybe-info-flex info-flex
8321 maybe-info-flex:
8322 @if flex
8323 maybe-info-flex: info-flex
8325 info-flex: \
8326 configure-flex
8327 @: $(MAKE); $(unstage)
8328 @[ -f ./flex/Makefile ] || exit 0; \
8329 r=`${PWD_COMMAND}`; export r; \
8330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8331 $(HOST_EXPORTS) \
8332 for flag in $(EXTRA_HOST_FLAGS) ; do \
8333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8334 done; \
8335 echo "Doing info in flex" ; \
8336 (cd $(HOST_SUBDIR)/flex && \
8337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8339 "RANLIB=$${RANLIB}" \
8340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8341 info) \
8342 || exit 1
8344 @endif flex
8346 .PHONY: maybe-dvi-flex dvi-flex
8347 maybe-dvi-flex:
8348 @if flex
8349 maybe-dvi-flex: dvi-flex
8351 dvi-flex: \
8352 configure-flex
8353 @: $(MAKE); $(unstage)
8354 @[ -f ./flex/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(HOST_EXPORTS) \
8358 for flag in $(EXTRA_HOST_FLAGS) ; do \
8359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8360 done; \
8361 echo "Doing dvi in flex" ; \
8362 (cd $(HOST_SUBDIR)/flex && \
8363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365 "RANLIB=$${RANLIB}" \
8366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8367 dvi) \
8368 || exit 1
8370 @endif flex
8372 .PHONY: maybe-pdf-flex pdf-flex
8373 maybe-pdf-flex:
8374 @if flex
8375 maybe-pdf-flex: pdf-flex
8377 pdf-flex: \
8378 configure-flex
8379 @: $(MAKE); $(unstage)
8380 @[ -f ./flex/Makefile ] || exit 0; \
8381 r=`${PWD_COMMAND}`; export r; \
8382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8383 $(HOST_EXPORTS) \
8384 for flag in $(EXTRA_HOST_FLAGS) ; do \
8385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8386 done; \
8387 echo "Doing pdf in flex" ; \
8388 (cd $(HOST_SUBDIR)/flex && \
8389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8391 "RANLIB=$${RANLIB}" \
8392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8393 pdf) \
8394 || exit 1
8396 @endif flex
8398 .PHONY: maybe-html-flex html-flex
8399 maybe-html-flex:
8400 @if flex
8401 maybe-html-flex: html-flex
8403 html-flex: \
8404 configure-flex
8405 @: $(MAKE); $(unstage)
8406 @[ -f ./flex/Makefile ] || exit 0; \
8407 r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(HOST_EXPORTS) \
8410 for flag in $(EXTRA_HOST_FLAGS) ; do \
8411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8412 done; \
8413 echo "Doing html in flex" ; \
8414 (cd $(HOST_SUBDIR)/flex && \
8415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8417 "RANLIB=$${RANLIB}" \
8418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8419 html) \
8420 || exit 1
8422 @endif flex
8424 .PHONY: maybe-TAGS-flex TAGS-flex
8425 maybe-TAGS-flex:
8426 @if flex
8427 maybe-TAGS-flex: TAGS-flex
8429 TAGS-flex: \
8430 configure-flex
8431 @: $(MAKE); $(unstage)
8432 @[ -f ./flex/Makefile ] || exit 0; \
8433 r=`${PWD_COMMAND}`; export r; \
8434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8435 $(HOST_EXPORTS) \
8436 for flag in $(EXTRA_HOST_FLAGS) ; do \
8437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8438 done; \
8439 echo "Doing TAGS in flex" ; \
8440 (cd $(HOST_SUBDIR)/flex && \
8441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8443 "RANLIB=$${RANLIB}" \
8444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8445 TAGS) \
8446 || exit 1
8448 @endif flex
8450 .PHONY: maybe-install-info-flex install-info-flex
8451 maybe-install-info-flex:
8452 @if flex
8453 maybe-install-info-flex: install-info-flex
8455 install-info-flex: \
8456 configure-flex \
8457 info-flex
8458 @: $(MAKE); $(unstage)
8459 @[ -f ./flex/Makefile ] || exit 0; \
8460 r=`${PWD_COMMAND}`; export r; \
8461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8462 $(HOST_EXPORTS) \
8463 for flag in $(EXTRA_HOST_FLAGS) ; do \
8464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8465 done; \
8466 echo "Doing install-info in flex" ; \
8467 (cd $(HOST_SUBDIR)/flex && \
8468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8470 "RANLIB=$${RANLIB}" \
8471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8472 install-info) \
8473 || exit 1
8475 @endif flex
8477 .PHONY: maybe-install-pdf-flex install-pdf-flex
8478 maybe-install-pdf-flex:
8479 @if flex
8480 maybe-install-pdf-flex: install-pdf-flex
8482 install-pdf-flex: \
8483 configure-flex \
8484 pdf-flex
8485 @: $(MAKE); $(unstage)
8486 @[ -f ./flex/Makefile ] || exit 0; \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8489 $(HOST_EXPORTS) \
8490 for flag in $(EXTRA_HOST_FLAGS) ; do \
8491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8492 done; \
8493 echo "Doing install-pdf in flex" ; \
8494 (cd $(HOST_SUBDIR)/flex && \
8495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8497 "RANLIB=$${RANLIB}" \
8498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8499 install-pdf) \
8500 || exit 1
8502 @endif flex
8504 .PHONY: maybe-install-html-flex install-html-flex
8505 maybe-install-html-flex:
8506 @if flex
8507 maybe-install-html-flex: install-html-flex
8509 install-html-flex: \
8510 configure-flex \
8511 html-flex
8512 @: $(MAKE); $(unstage)
8513 @[ -f ./flex/Makefile ] || exit 0; \
8514 r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 $(HOST_EXPORTS) \
8517 for flag in $(EXTRA_HOST_FLAGS) ; do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8519 done; \
8520 echo "Doing install-html in flex" ; \
8521 (cd $(HOST_SUBDIR)/flex && \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8526 install-html) \
8527 || exit 1
8529 @endif flex
8531 .PHONY: maybe-installcheck-flex installcheck-flex
8532 maybe-installcheck-flex:
8533 @if flex
8534 maybe-installcheck-flex: installcheck-flex
8536 installcheck-flex: \
8537 configure-flex
8538 @: $(MAKE); $(unstage)
8539 @[ -f ./flex/Makefile ] || exit 0; \
8540 r=`${PWD_COMMAND}`; export r; \
8541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8542 $(HOST_EXPORTS) \
8543 for flag in $(EXTRA_HOST_FLAGS) ; do \
8544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8545 done; \
8546 echo "Doing installcheck in flex" ; \
8547 (cd $(HOST_SUBDIR)/flex && \
8548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8550 "RANLIB=$${RANLIB}" \
8551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8552 installcheck) \
8553 || exit 1
8555 @endif flex
8557 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8558 maybe-mostlyclean-flex:
8559 @if flex
8560 maybe-mostlyclean-flex: mostlyclean-flex
8562 mostlyclean-flex:
8563 @: $(MAKE); $(unstage)
8564 @[ -f ./flex/Makefile ] || exit 0; \
8565 r=`${PWD_COMMAND}`; export r; \
8566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8567 $(HOST_EXPORTS) \
8568 for flag in $(EXTRA_HOST_FLAGS) ; do \
8569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8570 done; \
8571 echo "Doing mostlyclean in flex" ; \
8572 (cd $(HOST_SUBDIR)/flex && \
8573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8575 "RANLIB=$${RANLIB}" \
8576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8577 mostlyclean) \
8578 || exit 1
8580 @endif flex
8582 .PHONY: maybe-clean-flex clean-flex
8583 maybe-clean-flex:
8584 @if flex
8585 maybe-clean-flex: clean-flex
8587 clean-flex:
8588 @: $(MAKE); $(unstage)
8589 @[ -f ./flex/Makefile ] || exit 0; \
8590 r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 for flag in $(EXTRA_HOST_FLAGS) ; do \
8594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8595 done; \
8596 echo "Doing clean in flex" ; \
8597 (cd $(HOST_SUBDIR)/flex && \
8598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8600 "RANLIB=$${RANLIB}" \
8601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8602 clean) \
8603 || exit 1
8605 @endif flex
8607 .PHONY: maybe-distclean-flex distclean-flex
8608 maybe-distclean-flex:
8609 @if flex
8610 maybe-distclean-flex: distclean-flex
8612 distclean-flex:
8613 @: $(MAKE); $(unstage)
8614 @[ -f ./flex/Makefile ] || exit 0; \
8615 r=`${PWD_COMMAND}`; export r; \
8616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8617 $(HOST_EXPORTS) \
8618 for flag in $(EXTRA_HOST_FLAGS) ; do \
8619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8620 done; \
8621 echo "Doing distclean in flex" ; \
8622 (cd $(HOST_SUBDIR)/flex && \
8623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8625 "RANLIB=$${RANLIB}" \
8626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8627 distclean) \
8628 || exit 1
8630 @endif flex
8632 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8633 maybe-maintainer-clean-flex:
8634 @if flex
8635 maybe-maintainer-clean-flex: maintainer-clean-flex
8637 maintainer-clean-flex:
8638 @: $(MAKE); $(unstage)
8639 @[ -f ./flex/Makefile ] || exit 0; \
8640 r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(HOST_EXPORTS) \
8643 for flag in $(EXTRA_HOST_FLAGS) ; do \
8644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8645 done; \
8646 echo "Doing maintainer-clean in flex" ; \
8647 (cd $(HOST_SUBDIR)/flex && \
8648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8650 "RANLIB=$${RANLIB}" \
8651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8652 maintainer-clean) \
8653 || exit 1
8655 @endif flex
8659 .PHONY: configure-gas maybe-configure-gas
8660 maybe-configure-gas:
8661 @if gcc-bootstrap
8662 configure-gas: stage_current
8663 @endif gcc-bootstrap
8664 @if gas
8665 maybe-configure-gas: configure-gas
8666 configure-gas:
8667 @r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8671 $(HOST_EXPORTS) \
8672 echo Configuring in $(HOST_SUBDIR)/gas; \
8673 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8674 case $(srcdir) in \
8675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8676 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8678 esac; \
8679 srcdiroption="--srcdir=$${topdir}/gas"; \
8680 libsrcdir="$$s/gas"; \
8681 $(SHELL) $${libsrcdir}/configure \
8682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8683 --target=${target_alias} $${srcdiroption} \
8684 || exit 1
8685 @endif gas
8689 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8690 maybe-configure-stage1-gas:
8691 @if gas-bootstrap
8692 maybe-configure-stage1-gas: configure-stage1-gas
8693 configure-stage1-gas:
8694 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8696 @r=`${PWD_COMMAND}`; export r; \
8697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8698 TFLAGS="$(STAGE1_TFLAGS)"; \
8699 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8700 $(HOST_EXPORTS) \
8701 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8702 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8703 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8704 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8706 cd $(HOST_SUBDIR)/gas || exit 1; \
8707 case $(srcdir) in \
8708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8709 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8711 esac; \
8712 srcdiroption="--srcdir=$${topdir}/gas"; \
8713 libsrcdir="$$s/gas"; \
8714 $(SHELL) $${libsrcdir}/configure \
8715 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8716 --target=${target_alias} $${srcdiroption} \
8717 $(STAGE1_CONFIGURE_FLAGS)
8718 @endif gas-bootstrap
8720 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8721 maybe-configure-stage2-gas:
8722 @if gas-bootstrap
8723 maybe-configure-stage2-gas: configure-stage2-gas
8724 configure-stage2-gas:
8725 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8727 @r=`${PWD_COMMAND}`; export r; \
8728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8729 TFLAGS="$(STAGE2_TFLAGS)"; \
8730 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8731 $(HOST_EXPORTS) \
8732 $(POSTSTAGE1_HOST_EXPORTS) \
8733 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8734 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8735 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8736 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8738 cd $(HOST_SUBDIR)/gas || exit 1; \
8739 case $(srcdir) in \
8740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8741 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8743 esac; \
8744 srcdiroption="--srcdir=$${topdir}/gas"; \
8745 libsrcdir="$$s/gas"; \
8746 $(SHELL) $${libsrcdir}/configure \
8747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8748 --target=${target_alias} $${srcdiroption} \
8749 --with-build-libsubdir=$(HOST_SUBDIR) \
8750 $(STAGE2_CONFIGURE_FLAGS)
8751 @endif gas-bootstrap
8753 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8754 maybe-configure-stage3-gas:
8755 @if gas-bootstrap
8756 maybe-configure-stage3-gas: configure-stage3-gas
8757 configure-stage3-gas:
8758 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8760 @r=`${PWD_COMMAND}`; export r; \
8761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8762 TFLAGS="$(STAGE3_TFLAGS)"; \
8763 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8764 $(HOST_EXPORTS) \
8765 $(POSTSTAGE1_HOST_EXPORTS) \
8766 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8767 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8768 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8769 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8771 cd $(HOST_SUBDIR)/gas || exit 1; \
8772 case $(srcdir) in \
8773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8774 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8776 esac; \
8777 srcdiroption="--srcdir=$${topdir}/gas"; \
8778 libsrcdir="$$s/gas"; \
8779 $(SHELL) $${libsrcdir}/configure \
8780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8781 --target=${target_alias} $${srcdiroption} \
8782 --with-build-libsubdir=$(HOST_SUBDIR) \
8783 $(STAGE3_CONFIGURE_FLAGS)
8784 @endif gas-bootstrap
8786 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8787 maybe-configure-stage4-gas:
8788 @if gas-bootstrap
8789 maybe-configure-stage4-gas: configure-stage4-gas
8790 configure-stage4-gas:
8791 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8793 @r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 TFLAGS="$(STAGE4_TFLAGS)"; \
8796 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8797 $(HOST_EXPORTS) \
8798 $(POSTSTAGE1_HOST_EXPORTS) \
8799 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8800 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8801 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8802 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8804 cd $(HOST_SUBDIR)/gas || exit 1; \
8805 case $(srcdir) in \
8806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8807 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8809 esac; \
8810 srcdiroption="--srcdir=$${topdir}/gas"; \
8811 libsrcdir="$$s/gas"; \
8812 $(SHELL) $${libsrcdir}/configure \
8813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8814 --target=${target_alias} $${srcdiroption} \
8815 --with-build-libsubdir=$(HOST_SUBDIR) \
8816 $(STAGE4_CONFIGURE_FLAGS)
8817 @endif gas-bootstrap
8819 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8820 maybe-configure-stageprofile-gas:
8821 @if gas-bootstrap
8822 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8823 configure-stageprofile-gas:
8824 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8826 @r=`${PWD_COMMAND}`; export r; \
8827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8828 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8829 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8830 $(HOST_EXPORTS) \
8831 $(POSTSTAGE1_HOST_EXPORTS) \
8832 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8833 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8834 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8835 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8837 cd $(HOST_SUBDIR)/gas || exit 1; \
8838 case $(srcdir) in \
8839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8840 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8842 esac; \
8843 srcdiroption="--srcdir=$${topdir}/gas"; \
8844 libsrcdir="$$s/gas"; \
8845 $(SHELL) $${libsrcdir}/configure \
8846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8847 --target=${target_alias} $${srcdiroption} \
8848 --with-build-libsubdir=$(HOST_SUBDIR) \
8849 $(STAGEprofile_CONFIGURE_FLAGS)
8850 @endif gas-bootstrap
8852 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8853 maybe-configure-stagefeedback-gas:
8854 @if gas-bootstrap
8855 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8856 configure-stagefeedback-gas:
8857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8859 @r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8862 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8863 $(HOST_EXPORTS) \
8864 $(POSTSTAGE1_HOST_EXPORTS) \
8865 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8866 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8867 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8868 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8870 cd $(HOST_SUBDIR)/gas || exit 1; \
8871 case $(srcdir) in \
8872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8873 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8875 esac; \
8876 srcdiroption="--srcdir=$${topdir}/gas"; \
8877 libsrcdir="$$s/gas"; \
8878 $(SHELL) $${libsrcdir}/configure \
8879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8880 --target=${target_alias} $${srcdiroption} \
8881 --with-build-libsubdir=$(HOST_SUBDIR) \
8882 $(STAGEfeedback_CONFIGURE_FLAGS)
8883 @endif gas-bootstrap
8889 .PHONY: all-gas maybe-all-gas
8890 maybe-all-gas:
8891 @if gcc-bootstrap
8892 all-gas: stage_current
8893 @endif gcc-bootstrap
8894 @if gas
8895 TARGET-gas=all
8896 maybe-all-gas: all-gas
8897 all-gas: configure-gas
8898 @r=`${PWD_COMMAND}`; export r; \
8899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8900 $(HOST_EXPORTS) \
8901 (cd $(HOST_SUBDIR)/gas && \
8902 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8903 $(TARGET-gas))
8904 @endif gas
8908 .PHONY: all-stage1-gas maybe-all-stage1-gas
8909 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8910 maybe-all-stage1-gas:
8911 maybe-clean-stage1-gas:
8912 @if gas-bootstrap
8913 maybe-all-stage1-gas: all-stage1-gas
8914 all-stage1: all-stage1-gas
8915 TARGET-stage1-gas = $(TARGET-gas)
8916 all-stage1-gas: configure-stage1-gas
8917 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8918 @r=`${PWD_COMMAND}`; export r; \
8919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8920 TFLAGS="$(STAGE1_TFLAGS)"; \
8921 $(HOST_EXPORTS) \
8922 cd $(HOST_SUBDIR)/gas && \
8923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8924 CFLAGS="$(STAGE1_CFLAGS)" \
8925 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8926 LIBCFLAGS="$(LIBCFLAGS)" \
8927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8930 $(EXTRA_HOST_FLAGS) \
8931 $(STAGE1_FLAGS_TO_PASS) \
8932 TFLAGS="$(STAGE1_TFLAGS)" \
8933 $(TARGET-stage1-gas)
8935 maybe-clean-stage1-gas: clean-stage1-gas
8936 clean-stage1: clean-stage1-gas
8937 clean-stage1-gas:
8938 @if [ $(current_stage) = stage1 ]; then \
8939 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8940 else \
8941 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8942 $(MAKE) stage1-start; \
8943 fi; \
8944 cd $(HOST_SUBDIR)/gas && \
8945 $(MAKE) $(EXTRA_HOST_FLAGS) \
8946 $(STAGE1_FLAGS_TO_PASS) clean
8947 @endif gas-bootstrap
8950 .PHONY: all-stage2-gas maybe-all-stage2-gas
8951 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8952 maybe-all-stage2-gas:
8953 maybe-clean-stage2-gas:
8954 @if gas-bootstrap
8955 maybe-all-stage2-gas: all-stage2-gas
8956 all-stage2: all-stage2-gas
8957 TARGET-stage2-gas = $(TARGET-gas)
8958 all-stage2-gas: configure-stage2-gas
8959 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 TFLAGS="$(STAGE2_TFLAGS)"; \
8963 $(HOST_EXPORTS) \
8964 $(POSTSTAGE1_HOST_EXPORTS) \
8965 cd $(HOST_SUBDIR)/gas && \
8966 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8967 CFLAGS="$(STAGE2_CFLAGS)" \
8968 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8969 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8973 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8974 TFLAGS="$(STAGE2_TFLAGS)" \
8975 $(TARGET-stage2-gas)
8977 maybe-clean-stage2-gas: clean-stage2-gas
8978 clean-stage2: clean-stage2-gas
8979 clean-stage2-gas:
8980 @if [ $(current_stage) = stage2 ]; then \
8981 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8982 else \
8983 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8984 $(MAKE) stage2-start; \
8985 fi; \
8986 cd $(HOST_SUBDIR)/gas && \
8987 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8988 @endif gas-bootstrap
8991 .PHONY: all-stage3-gas maybe-all-stage3-gas
8992 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8993 maybe-all-stage3-gas:
8994 maybe-clean-stage3-gas:
8995 @if gas-bootstrap
8996 maybe-all-stage3-gas: all-stage3-gas
8997 all-stage3: all-stage3-gas
8998 TARGET-stage3-gas = $(TARGET-gas)
8999 all-stage3-gas: configure-stage3-gas
9000 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9001 @r=`${PWD_COMMAND}`; export r; \
9002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9003 TFLAGS="$(STAGE3_TFLAGS)"; \
9004 $(HOST_EXPORTS) \
9005 $(POSTSTAGE1_HOST_EXPORTS) \
9006 cd $(HOST_SUBDIR)/gas && \
9007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9008 CFLAGS="$(STAGE3_CFLAGS)" \
9009 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9010 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9015 TFLAGS="$(STAGE3_TFLAGS)" \
9016 $(TARGET-stage3-gas)
9018 maybe-clean-stage3-gas: clean-stage3-gas
9019 clean-stage3: clean-stage3-gas
9020 clean-stage3-gas:
9021 @if [ $(current_stage) = stage3 ]; then \
9022 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9023 else \
9024 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9025 $(MAKE) stage3-start; \
9026 fi; \
9027 cd $(HOST_SUBDIR)/gas && \
9028 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9029 @endif gas-bootstrap
9032 .PHONY: all-stage4-gas maybe-all-stage4-gas
9033 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9034 maybe-all-stage4-gas:
9035 maybe-clean-stage4-gas:
9036 @if gas-bootstrap
9037 maybe-all-stage4-gas: all-stage4-gas
9038 all-stage4: all-stage4-gas
9039 TARGET-stage4-gas = $(TARGET-gas)
9040 all-stage4-gas: configure-stage4-gas
9041 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9042 @r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9044 TFLAGS="$(STAGE4_TFLAGS)"; \
9045 $(HOST_EXPORTS) \
9046 $(POSTSTAGE1_HOST_EXPORTS) \
9047 cd $(HOST_SUBDIR)/gas && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9049 CFLAGS="$(STAGE4_CFLAGS)" \
9050 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9051 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9056 TFLAGS="$(STAGE4_TFLAGS)" \
9057 $(TARGET-stage4-gas)
9059 maybe-clean-stage4-gas: clean-stage4-gas
9060 clean-stage4: clean-stage4-gas
9061 clean-stage4-gas:
9062 @if [ $(current_stage) = stage4 ]; then \
9063 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9064 else \
9065 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9066 $(MAKE) stage4-start; \
9067 fi; \
9068 cd $(HOST_SUBDIR)/gas && \
9069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9070 @endif gas-bootstrap
9073 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9074 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9075 maybe-all-stageprofile-gas:
9076 maybe-clean-stageprofile-gas:
9077 @if gas-bootstrap
9078 maybe-all-stageprofile-gas: all-stageprofile-gas
9079 all-stageprofile: all-stageprofile-gas
9080 TARGET-stageprofile-gas = $(TARGET-gas)
9081 all-stageprofile-gas: configure-stageprofile-gas
9082 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9083 @r=`${PWD_COMMAND}`; export r; \
9084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9085 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9086 $(HOST_EXPORTS) \
9087 $(POSTSTAGE1_HOST_EXPORTS) \
9088 cd $(HOST_SUBDIR)/gas && \
9089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9090 CFLAGS="$(STAGEprofile_CFLAGS)" \
9091 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9092 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9097 TFLAGS="$(STAGEprofile_TFLAGS)" \
9098 $(TARGET-stageprofile-gas)
9100 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9101 clean-stageprofile: clean-stageprofile-gas
9102 clean-stageprofile-gas:
9103 @if [ $(current_stage) = stageprofile ]; then \
9104 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9105 else \
9106 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9107 $(MAKE) stageprofile-start; \
9108 fi; \
9109 cd $(HOST_SUBDIR)/gas && \
9110 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9111 @endif gas-bootstrap
9114 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9115 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9116 maybe-all-stagefeedback-gas:
9117 maybe-clean-stagefeedback-gas:
9118 @if gas-bootstrap
9119 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9120 all-stagefeedback: all-stagefeedback-gas
9121 TARGET-stagefeedback-gas = $(TARGET-gas)
9122 all-stagefeedback-gas: configure-stagefeedback-gas
9123 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9124 @r=`${PWD_COMMAND}`; export r; \
9125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9126 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9127 $(HOST_EXPORTS) \
9128 $(POSTSTAGE1_HOST_EXPORTS) \
9129 cd $(HOST_SUBDIR)/gas && \
9130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9131 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9132 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9133 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9137 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9138 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9139 $(TARGET-stagefeedback-gas)
9141 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9142 clean-stagefeedback: clean-stagefeedback-gas
9143 clean-stagefeedback-gas:
9144 @if [ $(current_stage) = stagefeedback ]; then \
9145 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9146 else \
9147 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9148 $(MAKE) stagefeedback-start; \
9149 fi; \
9150 cd $(HOST_SUBDIR)/gas && \
9151 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9152 @endif gas-bootstrap
9158 .PHONY: check-gas maybe-check-gas
9159 maybe-check-gas:
9160 @if gas
9161 maybe-check-gas: check-gas
9163 check-gas:
9164 @: $(MAKE); $(unstage)
9165 @r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 (cd $(HOST_SUBDIR)/gas && \
9169 $(MAKE) $(FLAGS_TO_PASS) check)
9171 @endif gas
9173 .PHONY: install-gas maybe-install-gas
9174 maybe-install-gas:
9175 @if gas
9176 maybe-install-gas: install-gas
9178 install-gas: installdirs
9179 @: $(MAKE); $(unstage)
9180 @r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 (cd $(HOST_SUBDIR)/gas && \
9184 $(MAKE) $(FLAGS_TO_PASS) install)
9186 @endif gas
9188 .PHONY: install-strip-gas maybe-install-strip-gas
9189 maybe-install-strip-gas:
9190 @if gas
9191 maybe-install-strip-gas: install-strip-gas
9193 install-strip-gas: installdirs
9194 @: $(MAKE); $(unstage)
9195 @r=`${PWD_COMMAND}`; export r; \
9196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 $(HOST_EXPORTS) \
9198 (cd $(HOST_SUBDIR)/gas && \
9199 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9201 @endif gas
9203 # Other targets (info, dvi, pdf, etc.)
9205 .PHONY: maybe-info-gas info-gas
9206 maybe-info-gas:
9207 @if gas
9208 maybe-info-gas: info-gas
9210 info-gas: \
9211 configure-gas
9212 @[ -f ./gas/Makefile ] || exit 0; \
9213 r=`${PWD_COMMAND}`; export r; \
9214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9215 $(HOST_EXPORTS) \
9216 for flag in $(EXTRA_HOST_FLAGS) ; do \
9217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9218 done; \
9219 echo "Doing info in gas" ; \
9220 (cd $(HOST_SUBDIR)/gas && \
9221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9223 "RANLIB=$${RANLIB}" \
9224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9225 info) \
9226 || exit 1
9228 @endif gas
9230 .PHONY: maybe-dvi-gas dvi-gas
9231 maybe-dvi-gas:
9232 @if gas
9233 maybe-dvi-gas: dvi-gas
9235 dvi-gas: \
9236 configure-gas
9237 @[ -f ./gas/Makefile ] || exit 0; \
9238 r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9240 $(HOST_EXPORTS) \
9241 for flag in $(EXTRA_HOST_FLAGS) ; do \
9242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9243 done; \
9244 echo "Doing dvi in gas" ; \
9245 (cd $(HOST_SUBDIR)/gas && \
9246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9248 "RANLIB=$${RANLIB}" \
9249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9250 dvi) \
9251 || exit 1
9253 @endif gas
9255 .PHONY: maybe-pdf-gas pdf-gas
9256 maybe-pdf-gas:
9257 @if gas
9258 maybe-pdf-gas: pdf-gas
9260 pdf-gas: \
9261 configure-gas
9262 @[ -f ./gas/Makefile ] || exit 0; \
9263 r=`${PWD_COMMAND}`; export r; \
9264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9265 $(HOST_EXPORTS) \
9266 for flag in $(EXTRA_HOST_FLAGS) ; do \
9267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9268 done; \
9269 echo "Doing pdf in gas" ; \
9270 (cd $(HOST_SUBDIR)/gas && \
9271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9273 "RANLIB=$${RANLIB}" \
9274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9275 pdf) \
9276 || exit 1
9278 @endif gas
9280 .PHONY: maybe-html-gas html-gas
9281 maybe-html-gas:
9282 @if gas
9283 maybe-html-gas: html-gas
9285 html-gas: \
9286 configure-gas
9287 @[ -f ./gas/Makefile ] || exit 0; \
9288 r=`${PWD_COMMAND}`; export r; \
9289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9290 $(HOST_EXPORTS) \
9291 for flag in $(EXTRA_HOST_FLAGS) ; do \
9292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9293 done; \
9294 echo "Doing html in gas" ; \
9295 (cd $(HOST_SUBDIR)/gas && \
9296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9298 "RANLIB=$${RANLIB}" \
9299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9300 html) \
9301 || exit 1
9303 @endif gas
9305 .PHONY: maybe-TAGS-gas TAGS-gas
9306 maybe-TAGS-gas:
9307 @if gas
9308 maybe-TAGS-gas: TAGS-gas
9310 TAGS-gas: \
9311 configure-gas
9312 @[ -f ./gas/Makefile ] || exit 0; \
9313 r=`${PWD_COMMAND}`; export r; \
9314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9315 $(HOST_EXPORTS) \
9316 for flag in $(EXTRA_HOST_FLAGS) ; do \
9317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9318 done; \
9319 echo "Doing TAGS in gas" ; \
9320 (cd $(HOST_SUBDIR)/gas && \
9321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9323 "RANLIB=$${RANLIB}" \
9324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9325 TAGS) \
9326 || exit 1
9328 @endif gas
9330 .PHONY: maybe-install-info-gas install-info-gas
9331 maybe-install-info-gas:
9332 @if gas
9333 maybe-install-info-gas: install-info-gas
9335 install-info-gas: \
9336 configure-gas \
9337 info-gas
9338 @[ -f ./gas/Makefile ] || exit 0; \
9339 r=`${PWD_COMMAND}`; export r; \
9340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9341 $(HOST_EXPORTS) \
9342 for flag in $(EXTRA_HOST_FLAGS) ; do \
9343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9344 done; \
9345 echo "Doing install-info in gas" ; \
9346 (cd $(HOST_SUBDIR)/gas && \
9347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9349 "RANLIB=$${RANLIB}" \
9350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9351 install-info) \
9352 || exit 1
9354 @endif gas
9356 .PHONY: maybe-install-pdf-gas install-pdf-gas
9357 maybe-install-pdf-gas:
9358 @if gas
9359 maybe-install-pdf-gas: install-pdf-gas
9361 install-pdf-gas: \
9362 configure-gas \
9363 pdf-gas
9364 @[ -f ./gas/Makefile ] || exit 0; \
9365 r=`${PWD_COMMAND}`; export r; \
9366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9367 $(HOST_EXPORTS) \
9368 for flag in $(EXTRA_HOST_FLAGS) ; do \
9369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9370 done; \
9371 echo "Doing install-pdf in gas" ; \
9372 (cd $(HOST_SUBDIR)/gas && \
9373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9375 "RANLIB=$${RANLIB}" \
9376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9377 install-pdf) \
9378 || exit 1
9380 @endif gas
9382 .PHONY: maybe-install-html-gas install-html-gas
9383 maybe-install-html-gas:
9384 @if gas
9385 maybe-install-html-gas: install-html-gas
9387 install-html-gas: \
9388 configure-gas \
9389 html-gas
9390 @[ -f ./gas/Makefile ] || exit 0; \
9391 r=`${PWD_COMMAND}`; export r; \
9392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9393 $(HOST_EXPORTS) \
9394 for flag in $(EXTRA_HOST_FLAGS) ; do \
9395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9396 done; \
9397 echo "Doing install-html in gas" ; \
9398 (cd $(HOST_SUBDIR)/gas && \
9399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9401 "RANLIB=$${RANLIB}" \
9402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9403 install-html) \
9404 || exit 1
9406 @endif gas
9408 .PHONY: maybe-installcheck-gas installcheck-gas
9409 maybe-installcheck-gas:
9410 @if gas
9411 maybe-installcheck-gas: installcheck-gas
9413 installcheck-gas: \
9414 configure-gas
9415 @[ -f ./gas/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418 $(HOST_EXPORTS) \
9419 for flag in $(EXTRA_HOST_FLAGS) ; do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421 done; \
9422 echo "Doing installcheck in gas" ; \
9423 (cd $(HOST_SUBDIR)/gas && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9428 installcheck) \
9429 || exit 1
9431 @endif gas
9433 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9434 maybe-mostlyclean-gas:
9435 @if gas
9436 maybe-mostlyclean-gas: mostlyclean-gas
9438 mostlyclean-gas:
9439 @[ -f ./gas/Makefile ] || exit 0; \
9440 r=`${PWD_COMMAND}`; export r; \
9441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9442 $(HOST_EXPORTS) \
9443 for flag in $(EXTRA_HOST_FLAGS) ; do \
9444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9445 done; \
9446 echo "Doing mostlyclean in gas" ; \
9447 (cd $(HOST_SUBDIR)/gas && \
9448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9450 "RANLIB=$${RANLIB}" \
9451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9452 mostlyclean) \
9453 || exit 1
9455 @endif gas
9457 .PHONY: maybe-clean-gas clean-gas
9458 maybe-clean-gas:
9459 @if gas
9460 maybe-clean-gas: clean-gas
9462 clean-gas:
9463 @[ -f ./gas/Makefile ] || exit 0; \
9464 r=`${PWD_COMMAND}`; export r; \
9465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 $(HOST_EXPORTS) \
9467 for flag in $(EXTRA_HOST_FLAGS) ; do \
9468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9469 done; \
9470 echo "Doing clean in gas" ; \
9471 (cd $(HOST_SUBDIR)/gas && \
9472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9474 "RANLIB=$${RANLIB}" \
9475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9476 clean) \
9477 || exit 1
9479 @endif gas
9481 .PHONY: maybe-distclean-gas distclean-gas
9482 maybe-distclean-gas:
9483 @if gas
9484 maybe-distclean-gas: distclean-gas
9486 distclean-gas:
9487 @[ -f ./gas/Makefile ] || exit 0; \
9488 r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9490 $(HOST_EXPORTS) \
9491 for flag in $(EXTRA_HOST_FLAGS) ; do \
9492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9493 done; \
9494 echo "Doing distclean in gas" ; \
9495 (cd $(HOST_SUBDIR)/gas && \
9496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9498 "RANLIB=$${RANLIB}" \
9499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9500 distclean) \
9501 || exit 1
9503 @endif gas
9505 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9506 maybe-maintainer-clean-gas:
9507 @if gas
9508 maybe-maintainer-clean-gas: maintainer-clean-gas
9510 maintainer-clean-gas:
9511 @[ -f ./gas/Makefile ] || exit 0; \
9512 r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514 $(HOST_EXPORTS) \
9515 for flag in $(EXTRA_HOST_FLAGS) ; do \
9516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9517 done; \
9518 echo "Doing maintainer-clean in gas" ; \
9519 (cd $(HOST_SUBDIR)/gas && \
9520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9522 "RANLIB=$${RANLIB}" \
9523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9524 maintainer-clean) \
9525 || exit 1
9527 @endif gas
9531 .PHONY: configure-gcc maybe-configure-gcc
9532 maybe-configure-gcc:
9533 @if gcc-bootstrap
9534 configure-gcc: stage_current
9535 @endif gcc-bootstrap
9536 @if gcc
9537 maybe-configure-gcc: configure-gcc
9538 configure-gcc:
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9543 $(HOST_EXPORTS) \
9544 echo Configuring in $(HOST_SUBDIR)/gcc; \
9545 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9546 case $(srcdir) in \
9547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9548 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9550 esac; \
9551 srcdiroption="--srcdir=$${topdir}/gcc"; \
9552 libsrcdir="$$s/gcc"; \
9553 $(SHELL) $${libsrcdir}/configure \
9554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9555 --target=${target_alias} $${srcdiroption} \
9556 || exit 1
9557 @endif gcc
9561 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9562 maybe-configure-stage1-gcc:
9563 @if gcc-bootstrap
9564 maybe-configure-stage1-gcc: configure-stage1-gcc
9565 configure-stage1-gcc:
9566 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9568 @r=`${PWD_COMMAND}`; export r; \
9569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9570 TFLAGS="$(STAGE1_TFLAGS)"; \
9571 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9572 $(HOST_EXPORTS) \
9573 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9574 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9575 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9576 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9578 cd $(HOST_SUBDIR)/gcc || exit 1; \
9579 case $(srcdir) in \
9580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9581 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9583 esac; \
9584 srcdiroption="--srcdir=$${topdir}/gcc"; \
9585 libsrcdir="$$s/gcc"; \
9586 $(SHELL) $${libsrcdir}/configure \
9587 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9588 --target=${target_alias} $${srcdiroption} \
9589 $(STAGE1_CONFIGURE_FLAGS)
9590 @endif gcc-bootstrap
9592 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9593 maybe-configure-stage2-gcc:
9594 @if gcc-bootstrap
9595 maybe-configure-stage2-gcc: configure-stage2-gcc
9596 configure-stage2-gcc:
9597 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9598 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9599 @r=`${PWD_COMMAND}`; export r; \
9600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 TFLAGS="$(STAGE2_TFLAGS)"; \
9602 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9603 $(HOST_EXPORTS) \
9604 $(POSTSTAGE1_HOST_EXPORTS) \
9605 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9606 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9607 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9608 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9610 cd $(HOST_SUBDIR)/gcc || exit 1; \
9611 case $(srcdir) in \
9612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9613 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9615 esac; \
9616 srcdiroption="--srcdir=$${topdir}/gcc"; \
9617 libsrcdir="$$s/gcc"; \
9618 $(SHELL) $${libsrcdir}/configure \
9619 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9620 --target=${target_alias} $${srcdiroption} \
9621 --with-build-libsubdir=$(HOST_SUBDIR) \
9622 $(STAGE2_CONFIGURE_FLAGS)
9623 @endif gcc-bootstrap
9625 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9626 maybe-configure-stage3-gcc:
9627 @if gcc-bootstrap
9628 maybe-configure-stage3-gcc: configure-stage3-gcc
9629 configure-stage3-gcc:
9630 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9632 @r=`${PWD_COMMAND}`; export r; \
9633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9634 TFLAGS="$(STAGE3_TFLAGS)"; \
9635 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9636 $(HOST_EXPORTS) \
9637 $(POSTSTAGE1_HOST_EXPORTS) \
9638 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9639 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9640 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9641 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9643 cd $(HOST_SUBDIR)/gcc || exit 1; \
9644 case $(srcdir) in \
9645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9646 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9648 esac; \
9649 srcdiroption="--srcdir=$${topdir}/gcc"; \
9650 libsrcdir="$$s/gcc"; \
9651 $(SHELL) $${libsrcdir}/configure \
9652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9653 --target=${target_alias} $${srcdiroption} \
9654 --with-build-libsubdir=$(HOST_SUBDIR) \
9655 $(STAGE3_CONFIGURE_FLAGS)
9656 @endif gcc-bootstrap
9658 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9659 maybe-configure-stage4-gcc:
9660 @if gcc-bootstrap
9661 maybe-configure-stage4-gcc: configure-stage4-gcc
9662 configure-stage4-gcc:
9663 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9665 @r=`${PWD_COMMAND}`; export r; \
9666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9667 TFLAGS="$(STAGE4_TFLAGS)"; \
9668 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9669 $(HOST_EXPORTS) \
9670 $(POSTSTAGE1_HOST_EXPORTS) \
9671 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9672 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9673 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9674 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9676 cd $(HOST_SUBDIR)/gcc || exit 1; \
9677 case $(srcdir) in \
9678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9679 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9681 esac; \
9682 srcdiroption="--srcdir=$${topdir}/gcc"; \
9683 libsrcdir="$$s/gcc"; \
9684 $(SHELL) $${libsrcdir}/configure \
9685 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9686 --target=${target_alias} $${srcdiroption} \
9687 --with-build-libsubdir=$(HOST_SUBDIR) \
9688 $(STAGE4_CONFIGURE_FLAGS)
9689 @endif gcc-bootstrap
9691 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9692 maybe-configure-stageprofile-gcc:
9693 @if gcc-bootstrap
9694 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9695 configure-stageprofile-gcc:
9696 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9698 @r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9701 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9702 $(HOST_EXPORTS) \
9703 $(POSTSTAGE1_HOST_EXPORTS) \
9704 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9705 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9706 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9707 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9709 cd $(HOST_SUBDIR)/gcc || exit 1; \
9710 case $(srcdir) in \
9711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9712 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9714 esac; \
9715 srcdiroption="--srcdir=$${topdir}/gcc"; \
9716 libsrcdir="$$s/gcc"; \
9717 $(SHELL) $${libsrcdir}/configure \
9718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9719 --target=${target_alias} $${srcdiroption} \
9720 --with-build-libsubdir=$(HOST_SUBDIR) \
9721 $(STAGEprofile_CONFIGURE_FLAGS)
9722 @endif gcc-bootstrap
9724 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9725 maybe-configure-stagefeedback-gcc:
9726 @if gcc-bootstrap
9727 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9728 configure-stagefeedback-gcc:
9729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9731 @r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9734 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9735 $(HOST_EXPORTS) \
9736 $(POSTSTAGE1_HOST_EXPORTS) \
9737 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9738 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9739 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9740 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9742 cd $(HOST_SUBDIR)/gcc || exit 1; \
9743 case $(srcdir) in \
9744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9745 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9747 esac; \
9748 srcdiroption="--srcdir=$${topdir}/gcc"; \
9749 libsrcdir="$$s/gcc"; \
9750 $(SHELL) $${libsrcdir}/configure \
9751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9752 --target=${target_alias} $${srcdiroption} \
9753 --with-build-libsubdir=$(HOST_SUBDIR) \
9754 $(STAGEfeedback_CONFIGURE_FLAGS)
9755 @endif gcc-bootstrap
9761 .PHONY: all-gcc maybe-all-gcc
9762 maybe-all-gcc:
9763 @if gcc-bootstrap
9764 all-gcc: stage_current
9765 @endif gcc-bootstrap
9766 @if gcc
9767 TARGET-gcc=all
9768 maybe-all-gcc: all-gcc
9769 all-gcc: configure-gcc
9770 @r=`${PWD_COMMAND}`; export r; \
9771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9772 $(HOST_EXPORTS) \
9773 (cd $(HOST_SUBDIR)/gcc && \
9774 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9775 $(TARGET-gcc))
9776 @endif gcc
9780 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9781 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9782 maybe-all-stage1-gcc:
9783 maybe-clean-stage1-gcc:
9784 @if gcc-bootstrap
9785 maybe-all-stage1-gcc: all-stage1-gcc
9786 all-stage1: all-stage1-gcc
9787 TARGET-stage1-gcc = $(TARGET-gcc)
9788 all-stage1-gcc: configure-stage1-gcc
9789 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9790 @r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 TFLAGS="$(STAGE1_TFLAGS)"; \
9793 $(HOST_EXPORTS) \
9794 cd $(HOST_SUBDIR)/gcc && \
9795 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9796 CFLAGS="$(STAGE1_CFLAGS)" \
9797 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9798 LIBCFLAGS="$(LIBCFLAGS)" \
9799 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9800 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9801 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9802 $(EXTRA_HOST_FLAGS) \
9803 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9804 TFLAGS="$(STAGE1_TFLAGS)" \
9805 $(TARGET-stage1-gcc)
9807 maybe-clean-stage1-gcc: clean-stage1-gcc
9808 clean-stage1: clean-stage1-gcc
9809 clean-stage1-gcc:
9810 @if [ $(current_stage) = stage1 ]; then \
9811 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9812 else \
9813 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9814 $(MAKE) stage1-start; \
9815 fi; \
9816 cd $(HOST_SUBDIR)/gcc && \
9817 $(MAKE) $(EXTRA_HOST_FLAGS) \
9818 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9819 @endif gcc-bootstrap
9822 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9823 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9824 maybe-all-stage2-gcc:
9825 maybe-clean-stage2-gcc:
9826 @if gcc-bootstrap
9827 maybe-all-stage2-gcc: all-stage2-gcc
9828 all-stage2: all-stage2-gcc
9829 TARGET-stage2-gcc = $(TARGET-gcc)
9830 all-stage2-gcc: configure-stage2-gcc
9831 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9832 @r=`${PWD_COMMAND}`; export r; \
9833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834 TFLAGS="$(STAGE2_TFLAGS)"; \
9835 $(HOST_EXPORTS) \
9836 $(POSTSTAGE1_HOST_EXPORTS) \
9837 cd $(HOST_SUBDIR)/gcc && \
9838 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9839 CFLAGS="$(STAGE2_CFLAGS)" \
9840 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9841 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9842 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9843 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9844 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9845 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9846 TFLAGS="$(STAGE2_TFLAGS)" \
9847 $(TARGET-stage2-gcc)
9849 maybe-clean-stage2-gcc: clean-stage2-gcc
9850 clean-stage2: clean-stage2-gcc
9851 clean-stage2-gcc:
9852 @if [ $(current_stage) = stage2 ]; then \
9853 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9854 else \
9855 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9856 $(MAKE) stage2-start; \
9857 fi; \
9858 cd $(HOST_SUBDIR)/gcc && \
9859 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9860 @endif gcc-bootstrap
9863 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9864 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9865 maybe-all-stage3-gcc:
9866 maybe-clean-stage3-gcc:
9867 @if gcc-bootstrap
9868 maybe-all-stage3-gcc: all-stage3-gcc
9869 all-stage3: all-stage3-gcc
9870 TARGET-stage3-gcc = $(TARGET-gcc)
9871 all-stage3-gcc: configure-stage3-gcc
9872 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9873 @r=`${PWD_COMMAND}`; export r; \
9874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9875 TFLAGS="$(STAGE3_TFLAGS)"; \
9876 $(HOST_EXPORTS) \
9877 $(POSTSTAGE1_HOST_EXPORTS) \
9878 cd $(HOST_SUBDIR)/gcc && \
9879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9880 CFLAGS="$(STAGE3_CFLAGS)" \
9881 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9882 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9886 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9887 TFLAGS="$(STAGE3_TFLAGS)" \
9888 $(TARGET-stage3-gcc)
9890 maybe-clean-stage3-gcc: clean-stage3-gcc
9891 clean-stage3: clean-stage3-gcc
9892 clean-stage3-gcc:
9893 @if [ $(current_stage) = stage3 ]; then \
9894 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9895 else \
9896 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9897 $(MAKE) stage3-start; \
9898 fi; \
9899 cd $(HOST_SUBDIR)/gcc && \
9900 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9901 @endif gcc-bootstrap
9904 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9905 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9906 maybe-all-stage4-gcc:
9907 maybe-clean-stage4-gcc:
9908 @if gcc-bootstrap
9909 maybe-all-stage4-gcc: all-stage4-gcc
9910 all-stage4: all-stage4-gcc
9911 TARGET-stage4-gcc = $(TARGET-gcc)
9912 all-stage4-gcc: configure-stage4-gcc
9913 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9914 @r=`${PWD_COMMAND}`; export r; \
9915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9916 TFLAGS="$(STAGE4_TFLAGS)"; \
9917 $(HOST_EXPORTS) \
9918 $(POSTSTAGE1_HOST_EXPORTS) \
9919 cd $(HOST_SUBDIR)/gcc && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9921 CFLAGS="$(STAGE4_CFLAGS)" \
9922 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9923 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9928 TFLAGS="$(STAGE4_TFLAGS)" \
9929 $(TARGET-stage4-gcc)
9931 maybe-clean-stage4-gcc: clean-stage4-gcc
9932 clean-stage4: clean-stage4-gcc
9933 clean-stage4-gcc:
9934 @if [ $(current_stage) = stage4 ]; then \
9935 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9936 else \
9937 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9938 $(MAKE) stage4-start; \
9939 fi; \
9940 cd $(HOST_SUBDIR)/gcc && \
9941 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9942 @endif gcc-bootstrap
9945 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9946 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9947 maybe-all-stageprofile-gcc:
9948 maybe-clean-stageprofile-gcc:
9949 @if gcc-bootstrap
9950 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9951 all-stageprofile: all-stageprofile-gcc
9952 TARGET-stageprofile-gcc = $(TARGET-gcc)
9953 all-stageprofile-gcc: configure-stageprofile-gcc
9954 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9955 @r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9958 $(HOST_EXPORTS) \
9959 $(POSTSTAGE1_HOST_EXPORTS) \
9960 cd $(HOST_SUBDIR)/gcc && \
9961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9962 CFLAGS="$(STAGEprofile_CFLAGS)" \
9963 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9964 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9965 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9966 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9967 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9968 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9969 TFLAGS="$(STAGEprofile_TFLAGS)" \
9970 $(TARGET-stageprofile-gcc)
9972 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9973 clean-stageprofile: clean-stageprofile-gcc
9974 clean-stageprofile-gcc:
9975 @if [ $(current_stage) = stageprofile ]; then \
9976 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9977 else \
9978 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9979 $(MAKE) stageprofile-start; \
9980 fi; \
9981 cd $(HOST_SUBDIR)/gcc && \
9982 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9983 @endif gcc-bootstrap
9986 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9987 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9988 maybe-all-stagefeedback-gcc:
9989 maybe-clean-stagefeedback-gcc:
9990 @if gcc-bootstrap
9991 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9992 all-stagefeedback: all-stagefeedback-gcc
9993 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9994 all-stagefeedback-gcc: configure-stagefeedback-gcc
9995 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9996 @r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9999 $(HOST_EXPORTS) \
10000 $(POSTSTAGE1_HOST_EXPORTS) \
10001 cd $(HOST_SUBDIR)/gcc && \
10002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10003 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10004 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10005 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10010 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10011 $(TARGET-stagefeedback-gcc)
10013 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10014 clean-stagefeedback: clean-stagefeedback-gcc
10015 clean-stagefeedback-gcc:
10016 @if [ $(current_stage) = stagefeedback ]; then \
10017 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10018 else \
10019 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10020 $(MAKE) stagefeedback-start; \
10021 fi; \
10022 cd $(HOST_SUBDIR)/gcc && \
10023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10024 @endif gcc-bootstrap
10030 .PHONY: check-gcc maybe-check-gcc
10031 maybe-check-gcc:
10032 @if gcc
10033 maybe-check-gcc: check-gcc
10035 check-gcc:
10036 @: $(MAKE); $(unstage)
10037 @r=`${PWD_COMMAND}`; export r; \
10038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 $(HOST_EXPORTS) \
10040 (cd $(HOST_SUBDIR)/gcc && \
10041 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10043 @endif gcc
10045 .PHONY: install-gcc maybe-install-gcc
10046 maybe-install-gcc:
10047 @if gcc
10048 maybe-install-gcc: install-gcc
10050 install-gcc: installdirs
10051 @: $(MAKE); $(unstage)
10052 @r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054 $(HOST_EXPORTS) \
10055 (cd $(HOST_SUBDIR)/gcc && \
10056 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10058 @endif gcc
10060 .PHONY: install-strip-gcc maybe-install-strip-gcc
10061 maybe-install-strip-gcc:
10062 @if gcc
10063 maybe-install-strip-gcc: install-strip-gcc
10065 install-strip-gcc: installdirs
10066 @: $(MAKE); $(unstage)
10067 @r=`${PWD_COMMAND}`; export r; \
10068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 $(HOST_EXPORTS) \
10070 (cd $(HOST_SUBDIR)/gcc && \
10071 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10073 @endif gcc
10075 # Other targets (info, dvi, pdf, etc.)
10077 .PHONY: maybe-info-gcc info-gcc
10078 maybe-info-gcc:
10079 @if gcc
10080 maybe-info-gcc: info-gcc
10082 info-gcc: \
10083 configure-gcc
10084 @[ -f ./gcc/Makefile ] || exit 0; \
10085 r=`${PWD_COMMAND}`; export r; \
10086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10087 $(HOST_EXPORTS) \
10088 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10090 done; \
10091 echo "Doing info in gcc" ; \
10092 (cd $(HOST_SUBDIR)/gcc && \
10093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10095 "RANLIB=$${RANLIB}" \
10096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10097 info) \
10098 || exit 1
10100 @endif gcc
10102 .PHONY: maybe-dvi-gcc dvi-gcc
10103 maybe-dvi-gcc:
10104 @if gcc
10105 maybe-dvi-gcc: dvi-gcc
10107 dvi-gcc: \
10108 configure-gcc
10109 @[ -f ./gcc/Makefile ] || exit 0; \
10110 r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 $(HOST_EXPORTS) \
10113 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10115 done; \
10116 echo "Doing dvi in gcc" ; \
10117 (cd $(HOST_SUBDIR)/gcc && \
10118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10120 "RANLIB=$${RANLIB}" \
10121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10122 dvi) \
10123 || exit 1
10125 @endif gcc
10127 .PHONY: maybe-pdf-gcc pdf-gcc
10128 maybe-pdf-gcc:
10129 @if gcc
10130 maybe-pdf-gcc: pdf-gcc
10132 pdf-gcc: \
10133 configure-gcc
10134 @[ -f ./gcc/Makefile ] || exit 0; \
10135 r=`${PWD_COMMAND}`; export r; \
10136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing pdf in gcc" ; \
10142 (cd $(HOST_SUBDIR)/gcc && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10147 pdf) \
10148 || exit 1
10150 @endif gcc
10152 .PHONY: maybe-html-gcc html-gcc
10153 maybe-html-gcc:
10154 @if gcc
10155 maybe-html-gcc: html-gcc
10157 html-gcc: \
10158 configure-gcc
10159 @[ -f ./gcc/Makefile ] || exit 0; \
10160 r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 $(HOST_EXPORTS) \
10163 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10165 done; \
10166 echo "Doing html in gcc" ; \
10167 (cd $(HOST_SUBDIR)/gcc && \
10168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10170 "RANLIB=$${RANLIB}" \
10171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10172 html) \
10173 || exit 1
10175 @endif gcc
10177 .PHONY: maybe-TAGS-gcc TAGS-gcc
10178 maybe-TAGS-gcc:
10179 @if gcc
10180 maybe-TAGS-gcc: TAGS-gcc
10182 TAGS-gcc: \
10183 configure-gcc
10184 @[ -f ./gcc/Makefile ] || exit 0; \
10185 r=`${PWD_COMMAND}`; export r; \
10186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10187 $(HOST_EXPORTS) \
10188 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10190 done; \
10191 echo "Doing TAGS in gcc" ; \
10192 (cd $(HOST_SUBDIR)/gcc && \
10193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10195 "RANLIB=$${RANLIB}" \
10196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10197 TAGS) \
10198 || exit 1
10200 @endif gcc
10202 .PHONY: maybe-install-info-gcc install-info-gcc
10203 maybe-install-info-gcc:
10204 @if gcc
10205 maybe-install-info-gcc: install-info-gcc
10207 install-info-gcc: \
10208 configure-gcc \
10209 info-gcc
10210 @[ -f ./gcc/Makefile ] || exit 0; \
10211 r=`${PWD_COMMAND}`; export r; \
10212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10213 $(HOST_EXPORTS) \
10214 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10216 done; \
10217 echo "Doing install-info in gcc" ; \
10218 (cd $(HOST_SUBDIR)/gcc && \
10219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10221 "RANLIB=$${RANLIB}" \
10222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10223 install-info) \
10224 || exit 1
10226 @endif gcc
10228 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10229 maybe-install-pdf-gcc:
10230 @if gcc
10231 maybe-install-pdf-gcc: install-pdf-gcc
10233 install-pdf-gcc: \
10234 configure-gcc \
10235 pdf-gcc
10236 @[ -f ./gcc/Makefile ] || exit 0; \
10237 r=`${PWD_COMMAND}`; export r; \
10238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 $(HOST_EXPORTS) \
10240 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10242 done; \
10243 echo "Doing install-pdf in gcc" ; \
10244 (cd $(HOST_SUBDIR)/gcc && \
10245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10247 "RANLIB=$${RANLIB}" \
10248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10249 install-pdf) \
10250 || exit 1
10252 @endif gcc
10254 .PHONY: maybe-install-html-gcc install-html-gcc
10255 maybe-install-html-gcc:
10256 @if gcc
10257 maybe-install-html-gcc: install-html-gcc
10259 install-html-gcc: \
10260 configure-gcc \
10261 html-gcc
10262 @[ -f ./gcc/Makefile ] || exit 0; \
10263 r=`${PWD_COMMAND}`; export r; \
10264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10265 $(HOST_EXPORTS) \
10266 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10268 done; \
10269 echo "Doing install-html in gcc" ; \
10270 (cd $(HOST_SUBDIR)/gcc && \
10271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10273 "RANLIB=$${RANLIB}" \
10274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10275 install-html) \
10276 || exit 1
10278 @endif gcc
10280 .PHONY: maybe-installcheck-gcc installcheck-gcc
10281 maybe-installcheck-gcc:
10282 @if gcc
10283 maybe-installcheck-gcc: installcheck-gcc
10285 installcheck-gcc: \
10286 configure-gcc
10287 @[ -f ./gcc/Makefile ] || exit 0; \
10288 r=`${PWD_COMMAND}`; export r; \
10289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10290 $(HOST_EXPORTS) \
10291 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10293 done; \
10294 echo "Doing installcheck in gcc" ; \
10295 (cd $(HOST_SUBDIR)/gcc && \
10296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10298 "RANLIB=$${RANLIB}" \
10299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10300 installcheck) \
10301 || exit 1
10303 @endif gcc
10305 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10306 maybe-mostlyclean-gcc:
10307 @if gcc
10308 maybe-mostlyclean-gcc: mostlyclean-gcc
10310 mostlyclean-gcc:
10311 @[ -f ./gcc/Makefile ] || exit 0; \
10312 r=`${PWD_COMMAND}`; export r; \
10313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10314 $(HOST_EXPORTS) \
10315 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10317 done; \
10318 echo "Doing mostlyclean in gcc" ; \
10319 (cd $(HOST_SUBDIR)/gcc && \
10320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10322 "RANLIB=$${RANLIB}" \
10323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10324 mostlyclean) \
10325 || exit 1
10327 @endif gcc
10329 .PHONY: maybe-clean-gcc clean-gcc
10330 maybe-clean-gcc:
10331 @if gcc
10332 maybe-clean-gcc: clean-gcc
10334 clean-gcc:
10335 @[ -f ./gcc/Makefile ] || exit 0; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(HOST_EXPORTS) \
10339 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10341 done; \
10342 echo "Doing clean in gcc" ; \
10343 (cd $(HOST_SUBDIR)/gcc && \
10344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10346 "RANLIB=$${RANLIB}" \
10347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10348 clean) \
10349 || exit 1
10351 @endif gcc
10353 .PHONY: maybe-distclean-gcc distclean-gcc
10354 maybe-distclean-gcc:
10355 @if gcc
10356 maybe-distclean-gcc: distclean-gcc
10358 distclean-gcc:
10359 @[ -f ./gcc/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(HOST_EXPORTS) \
10363 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing distclean in gcc" ; \
10367 (cd $(HOST_SUBDIR)/gcc && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10372 distclean) \
10373 || exit 1
10375 @endif gcc
10377 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10378 maybe-maintainer-clean-gcc:
10379 @if gcc
10380 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10382 maintainer-clean-gcc:
10383 @[ -f ./gcc/Makefile ] || exit 0; \
10384 r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 $(HOST_EXPORTS) \
10387 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10389 done; \
10390 echo "Doing maintainer-clean in gcc" ; \
10391 (cd $(HOST_SUBDIR)/gcc && \
10392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10394 "RANLIB=$${RANLIB}" \
10395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10396 maintainer-clean) \
10397 || exit 1
10399 @endif gcc
10403 .PHONY: configure-gmp maybe-configure-gmp
10404 maybe-configure-gmp:
10405 @if gcc-bootstrap
10406 configure-gmp: stage_current
10407 @endif gcc-bootstrap
10408 @if gmp
10409 maybe-configure-gmp: configure-gmp
10410 configure-gmp:
10411 @r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10415 $(HOST_EXPORTS) \
10416 echo Configuring in $(HOST_SUBDIR)/gmp; \
10417 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10418 case $(srcdir) in \
10419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10420 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10422 esac; \
10423 srcdiroption="--srcdir=$${topdir}/gmp"; \
10424 libsrcdir="$$s/gmp"; \
10425 $(SHELL) $${libsrcdir}/configure \
10426 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10427 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10428 || exit 1
10429 @endif gmp
10433 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10434 maybe-configure-stage1-gmp:
10435 @if gmp-bootstrap
10436 maybe-configure-stage1-gmp: configure-stage1-gmp
10437 configure-stage1-gmp:
10438 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10440 @r=`${PWD_COMMAND}`; export r; \
10441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10442 TFLAGS="$(STAGE1_TFLAGS)"; \
10443 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10444 $(HOST_EXPORTS) \
10445 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10446 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10447 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10448 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10450 cd $(HOST_SUBDIR)/gmp || exit 1; \
10451 case $(srcdir) in \
10452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10453 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10455 esac; \
10456 srcdiroption="--srcdir=$${topdir}/gmp"; \
10457 libsrcdir="$$s/gmp"; \
10458 $(SHELL) $${libsrcdir}/configure \
10459 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10460 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10461 $(STAGE1_CONFIGURE_FLAGS) \
10462 --disable-shared
10463 @endif gmp-bootstrap
10465 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10466 maybe-configure-stage2-gmp:
10467 @if gmp-bootstrap
10468 maybe-configure-stage2-gmp: configure-stage2-gmp
10469 configure-stage2-gmp:
10470 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10472 @r=`${PWD_COMMAND}`; export r; \
10473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10474 TFLAGS="$(STAGE2_TFLAGS)"; \
10475 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10476 $(HOST_EXPORTS) \
10477 $(POSTSTAGE1_HOST_EXPORTS) \
10478 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10479 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10480 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10481 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10483 cd $(HOST_SUBDIR)/gmp || exit 1; \
10484 case $(srcdir) in \
10485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10486 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10488 esac; \
10489 srcdiroption="--srcdir=$${topdir}/gmp"; \
10490 libsrcdir="$$s/gmp"; \
10491 $(SHELL) $${libsrcdir}/configure \
10492 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10493 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10494 --with-build-libsubdir=$(HOST_SUBDIR) \
10495 $(STAGE2_CONFIGURE_FLAGS) \
10496 --disable-shared
10497 @endif gmp-bootstrap
10499 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10500 maybe-configure-stage3-gmp:
10501 @if gmp-bootstrap
10502 maybe-configure-stage3-gmp: configure-stage3-gmp
10503 configure-stage3-gmp:
10504 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10506 @r=`${PWD_COMMAND}`; export r; \
10507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 TFLAGS="$(STAGE3_TFLAGS)"; \
10509 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10510 $(HOST_EXPORTS) \
10511 $(POSTSTAGE1_HOST_EXPORTS) \
10512 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10513 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10514 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10515 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10517 cd $(HOST_SUBDIR)/gmp || exit 1; \
10518 case $(srcdir) in \
10519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10520 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10522 esac; \
10523 srcdiroption="--srcdir=$${topdir}/gmp"; \
10524 libsrcdir="$$s/gmp"; \
10525 $(SHELL) $${libsrcdir}/configure \
10526 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10527 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10528 --with-build-libsubdir=$(HOST_SUBDIR) \
10529 $(STAGE3_CONFIGURE_FLAGS) \
10530 --disable-shared
10531 @endif gmp-bootstrap
10533 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10534 maybe-configure-stage4-gmp:
10535 @if gmp-bootstrap
10536 maybe-configure-stage4-gmp: configure-stage4-gmp
10537 configure-stage4-gmp:
10538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10539 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10540 @r=`${PWD_COMMAND}`; export r; \
10541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10542 TFLAGS="$(STAGE4_TFLAGS)"; \
10543 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10544 $(HOST_EXPORTS) \
10545 $(POSTSTAGE1_HOST_EXPORTS) \
10546 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10547 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10548 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10549 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10551 cd $(HOST_SUBDIR)/gmp || exit 1; \
10552 case $(srcdir) in \
10553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10554 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10556 esac; \
10557 srcdiroption="--srcdir=$${topdir}/gmp"; \
10558 libsrcdir="$$s/gmp"; \
10559 $(SHELL) $${libsrcdir}/configure \
10560 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10561 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10562 --with-build-libsubdir=$(HOST_SUBDIR) \
10563 $(STAGE4_CONFIGURE_FLAGS) \
10564 --disable-shared
10565 @endif gmp-bootstrap
10567 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10568 maybe-configure-stageprofile-gmp:
10569 @if gmp-bootstrap
10570 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10571 configure-stageprofile-gmp:
10572 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10574 @r=`${PWD_COMMAND}`; export r; \
10575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10577 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10578 $(HOST_EXPORTS) \
10579 $(POSTSTAGE1_HOST_EXPORTS) \
10580 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10581 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10582 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10583 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10585 cd $(HOST_SUBDIR)/gmp || exit 1; \
10586 case $(srcdir) in \
10587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10588 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10590 esac; \
10591 srcdiroption="--srcdir=$${topdir}/gmp"; \
10592 libsrcdir="$$s/gmp"; \
10593 $(SHELL) $${libsrcdir}/configure \
10594 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10595 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10596 --with-build-libsubdir=$(HOST_SUBDIR) \
10597 $(STAGEprofile_CONFIGURE_FLAGS) \
10598 --disable-shared
10599 @endif gmp-bootstrap
10601 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10602 maybe-configure-stagefeedback-gmp:
10603 @if gmp-bootstrap
10604 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10605 configure-stagefeedback-gmp:
10606 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10608 @r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10610 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10611 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10612 $(HOST_EXPORTS) \
10613 $(POSTSTAGE1_HOST_EXPORTS) \
10614 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10615 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10616 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10617 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10619 cd $(HOST_SUBDIR)/gmp || exit 1; \
10620 case $(srcdir) in \
10621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10622 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10624 esac; \
10625 srcdiroption="--srcdir=$${topdir}/gmp"; \
10626 libsrcdir="$$s/gmp"; \
10627 $(SHELL) $${libsrcdir}/configure \
10628 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10629 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10630 --with-build-libsubdir=$(HOST_SUBDIR) \
10631 $(STAGEfeedback_CONFIGURE_FLAGS) \
10632 --disable-shared
10633 @endif gmp-bootstrap
10639 .PHONY: all-gmp maybe-all-gmp
10640 maybe-all-gmp:
10641 @if gcc-bootstrap
10642 all-gmp: stage_current
10643 @endif gcc-bootstrap
10644 @if gmp
10645 TARGET-gmp=all
10646 maybe-all-gmp: all-gmp
10647 all-gmp: configure-gmp
10648 @r=`${PWD_COMMAND}`; export r; \
10649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10650 $(HOST_EXPORTS) \
10651 (cd $(HOST_SUBDIR)/gmp && \
10652 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10653 $(TARGET-gmp))
10654 @endif gmp
10658 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10659 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10660 maybe-all-stage1-gmp:
10661 maybe-clean-stage1-gmp:
10662 @if gmp-bootstrap
10663 maybe-all-stage1-gmp: all-stage1-gmp
10664 all-stage1: all-stage1-gmp
10665 TARGET-stage1-gmp = $(TARGET-gmp)
10666 all-stage1-gmp: configure-stage1-gmp
10667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10668 @r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 TFLAGS="$(STAGE1_TFLAGS)"; \
10671 $(HOST_EXPORTS) \
10672 cd $(HOST_SUBDIR)/gmp && \
10673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10674 CFLAGS="$(STAGE1_CFLAGS)" \
10675 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10676 LIBCFLAGS="$(LIBCFLAGS)" \
10677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10680 $(EXTRA_HOST_FLAGS) \
10681 $(STAGE1_FLAGS_TO_PASS) \
10682 TFLAGS="$(STAGE1_TFLAGS)" \
10683 $(TARGET-stage1-gmp)
10685 maybe-clean-stage1-gmp: clean-stage1-gmp
10686 clean-stage1: clean-stage1-gmp
10687 clean-stage1-gmp:
10688 @if [ $(current_stage) = stage1 ]; then \
10689 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10690 else \
10691 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10692 $(MAKE) stage1-start; \
10693 fi; \
10694 cd $(HOST_SUBDIR)/gmp && \
10695 $(MAKE) $(EXTRA_HOST_FLAGS) \
10696 $(STAGE1_FLAGS_TO_PASS) clean
10697 @endif gmp-bootstrap
10700 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10701 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10702 maybe-all-stage2-gmp:
10703 maybe-clean-stage2-gmp:
10704 @if gmp-bootstrap
10705 maybe-all-stage2-gmp: all-stage2-gmp
10706 all-stage2: all-stage2-gmp
10707 TARGET-stage2-gmp = $(TARGET-gmp)
10708 all-stage2-gmp: configure-stage2-gmp
10709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10710 @r=`${PWD_COMMAND}`; export r; \
10711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10712 TFLAGS="$(STAGE2_TFLAGS)"; \
10713 $(HOST_EXPORTS) \
10714 $(POSTSTAGE1_HOST_EXPORTS) \
10715 cd $(HOST_SUBDIR)/gmp && \
10716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10717 CFLAGS="$(STAGE2_CFLAGS)" \
10718 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10719 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10724 TFLAGS="$(STAGE2_TFLAGS)" \
10725 $(TARGET-stage2-gmp)
10727 maybe-clean-stage2-gmp: clean-stage2-gmp
10728 clean-stage2: clean-stage2-gmp
10729 clean-stage2-gmp:
10730 @if [ $(current_stage) = stage2 ]; then \
10731 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10732 else \
10733 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10734 $(MAKE) stage2-start; \
10735 fi; \
10736 cd $(HOST_SUBDIR)/gmp && \
10737 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10738 @endif gmp-bootstrap
10741 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10742 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10743 maybe-all-stage3-gmp:
10744 maybe-clean-stage3-gmp:
10745 @if gmp-bootstrap
10746 maybe-all-stage3-gmp: all-stage3-gmp
10747 all-stage3: all-stage3-gmp
10748 TARGET-stage3-gmp = $(TARGET-gmp)
10749 all-stage3-gmp: configure-stage3-gmp
10750 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10751 @r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753 TFLAGS="$(STAGE3_TFLAGS)"; \
10754 $(HOST_EXPORTS) \
10755 $(POSTSTAGE1_HOST_EXPORTS) \
10756 cd $(HOST_SUBDIR)/gmp && \
10757 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10758 CFLAGS="$(STAGE3_CFLAGS)" \
10759 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10760 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10761 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10762 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10763 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10764 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10765 TFLAGS="$(STAGE3_TFLAGS)" \
10766 $(TARGET-stage3-gmp)
10768 maybe-clean-stage3-gmp: clean-stage3-gmp
10769 clean-stage3: clean-stage3-gmp
10770 clean-stage3-gmp:
10771 @if [ $(current_stage) = stage3 ]; then \
10772 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10773 else \
10774 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10775 $(MAKE) stage3-start; \
10776 fi; \
10777 cd $(HOST_SUBDIR)/gmp && \
10778 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10779 @endif gmp-bootstrap
10782 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10783 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10784 maybe-all-stage4-gmp:
10785 maybe-clean-stage4-gmp:
10786 @if gmp-bootstrap
10787 maybe-all-stage4-gmp: all-stage4-gmp
10788 all-stage4: all-stage4-gmp
10789 TARGET-stage4-gmp = $(TARGET-gmp)
10790 all-stage4-gmp: configure-stage4-gmp
10791 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10792 @r=`${PWD_COMMAND}`; export r; \
10793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10794 TFLAGS="$(STAGE4_TFLAGS)"; \
10795 $(HOST_EXPORTS) \
10796 $(POSTSTAGE1_HOST_EXPORTS) \
10797 cd $(HOST_SUBDIR)/gmp && \
10798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10799 CFLAGS="$(STAGE4_CFLAGS)" \
10800 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10801 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10806 TFLAGS="$(STAGE4_TFLAGS)" \
10807 $(TARGET-stage4-gmp)
10809 maybe-clean-stage4-gmp: clean-stage4-gmp
10810 clean-stage4: clean-stage4-gmp
10811 clean-stage4-gmp:
10812 @if [ $(current_stage) = stage4 ]; then \
10813 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10814 else \
10815 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10816 $(MAKE) stage4-start; \
10817 fi; \
10818 cd $(HOST_SUBDIR)/gmp && \
10819 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10820 @endif gmp-bootstrap
10823 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10824 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10825 maybe-all-stageprofile-gmp:
10826 maybe-clean-stageprofile-gmp:
10827 @if gmp-bootstrap
10828 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10829 all-stageprofile: all-stageprofile-gmp
10830 TARGET-stageprofile-gmp = $(TARGET-gmp)
10831 all-stageprofile-gmp: configure-stageprofile-gmp
10832 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10833 @r=`${PWD_COMMAND}`; export r; \
10834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10835 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10836 $(HOST_EXPORTS) \
10837 $(POSTSTAGE1_HOST_EXPORTS) \
10838 cd $(HOST_SUBDIR)/gmp && \
10839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10840 CFLAGS="$(STAGEprofile_CFLAGS)" \
10841 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10842 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10847 TFLAGS="$(STAGEprofile_TFLAGS)" \
10848 $(TARGET-stageprofile-gmp)
10850 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10851 clean-stageprofile: clean-stageprofile-gmp
10852 clean-stageprofile-gmp:
10853 @if [ $(current_stage) = stageprofile ]; then \
10854 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10855 else \
10856 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10857 $(MAKE) stageprofile-start; \
10858 fi; \
10859 cd $(HOST_SUBDIR)/gmp && \
10860 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10861 @endif gmp-bootstrap
10864 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10865 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10866 maybe-all-stagefeedback-gmp:
10867 maybe-clean-stagefeedback-gmp:
10868 @if gmp-bootstrap
10869 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10870 all-stagefeedback: all-stagefeedback-gmp
10871 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10872 all-stagefeedback-gmp: configure-stagefeedback-gmp
10873 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10874 @r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10877 $(HOST_EXPORTS) \
10878 $(POSTSTAGE1_HOST_EXPORTS) \
10879 cd $(HOST_SUBDIR)/gmp && \
10880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10881 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10882 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10883 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10888 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10889 $(TARGET-stagefeedback-gmp)
10891 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10892 clean-stagefeedback: clean-stagefeedback-gmp
10893 clean-stagefeedback-gmp:
10894 @if [ $(current_stage) = stagefeedback ]; then \
10895 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10896 else \
10897 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10898 $(MAKE) stagefeedback-start; \
10899 fi; \
10900 cd $(HOST_SUBDIR)/gmp && \
10901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10902 @endif gmp-bootstrap
10908 .PHONY: check-gmp maybe-check-gmp
10909 maybe-check-gmp:
10910 @if gmp
10911 maybe-check-gmp: check-gmp
10913 check-gmp:
10914 @: $(MAKE); $(unstage)
10915 @r=`${PWD_COMMAND}`; export r; \
10916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10917 $(HOST_EXPORTS) \
10918 (cd $(HOST_SUBDIR)/gmp && \
10919 $(MAKE) $(FLAGS_TO_PASS) check)
10921 @endif gmp
10923 .PHONY: install-gmp maybe-install-gmp
10924 maybe-install-gmp:
10925 @if gmp
10926 maybe-install-gmp: install-gmp
10928 install-gmp:
10930 @endif gmp
10932 .PHONY: install-strip-gmp maybe-install-strip-gmp
10933 maybe-install-strip-gmp:
10934 @if gmp
10935 maybe-install-strip-gmp: install-strip-gmp
10937 install-strip-gmp:
10939 @endif gmp
10941 # Other targets (info, dvi, pdf, etc.)
10943 .PHONY: maybe-info-gmp info-gmp
10944 maybe-info-gmp:
10945 @if gmp
10946 maybe-info-gmp: info-gmp
10948 info-gmp: \
10949 configure-gmp
10950 @[ -f ./gmp/Makefile ] || exit 0; \
10951 r=`${PWD_COMMAND}`; export r; \
10952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10953 $(HOST_EXPORTS) \
10954 for flag in $(EXTRA_HOST_FLAGS) ; do \
10955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10956 done; \
10957 echo "Doing info in gmp" ; \
10958 (cd $(HOST_SUBDIR)/gmp && \
10959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10961 "RANLIB=$${RANLIB}" \
10962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10963 info) \
10964 || exit 1
10966 @endif gmp
10968 .PHONY: maybe-dvi-gmp dvi-gmp
10969 maybe-dvi-gmp:
10970 @if gmp
10971 maybe-dvi-gmp: dvi-gmp
10973 dvi-gmp: \
10974 configure-gmp
10975 @[ -f ./gmp/Makefile ] || exit 0; \
10976 r=`${PWD_COMMAND}`; export r; \
10977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10978 $(HOST_EXPORTS) \
10979 for flag in $(EXTRA_HOST_FLAGS) ; do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10981 done; \
10982 echo "Doing dvi in gmp" ; \
10983 (cd $(HOST_SUBDIR)/gmp && \
10984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986 "RANLIB=$${RANLIB}" \
10987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10988 dvi) \
10989 || exit 1
10991 @endif gmp
10993 .PHONY: maybe-pdf-gmp pdf-gmp
10994 maybe-pdf-gmp:
10995 @if gmp
10996 maybe-pdf-gmp: pdf-gmp
10998 pdf-gmp: \
10999 configure-gmp
11000 @[ -f ./gmp/Makefile ] || exit 0; \
11001 r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 $(HOST_EXPORTS) \
11004 for flag in $(EXTRA_HOST_FLAGS) ; do \
11005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11006 done; \
11007 echo "Doing pdf in gmp" ; \
11008 (cd $(HOST_SUBDIR)/gmp && \
11009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011 "RANLIB=$${RANLIB}" \
11012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11013 pdf) \
11014 || exit 1
11016 @endif gmp
11018 .PHONY: maybe-html-gmp html-gmp
11019 maybe-html-gmp:
11020 @if gmp
11021 maybe-html-gmp: html-gmp
11023 html-gmp: \
11024 configure-gmp
11025 @[ -f ./gmp/Makefile ] || exit 0; \
11026 r=`${PWD_COMMAND}`; export r; \
11027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11028 $(HOST_EXPORTS) \
11029 for flag in $(EXTRA_HOST_FLAGS) ; do \
11030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11031 done; \
11032 echo "Doing html in gmp" ; \
11033 (cd $(HOST_SUBDIR)/gmp && \
11034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11036 "RANLIB=$${RANLIB}" \
11037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11038 html) \
11039 || exit 1
11041 @endif gmp
11043 .PHONY: maybe-TAGS-gmp TAGS-gmp
11044 maybe-TAGS-gmp:
11045 @if gmp
11046 maybe-TAGS-gmp: TAGS-gmp
11048 TAGS-gmp: \
11049 configure-gmp
11050 @[ -f ./gmp/Makefile ] || exit 0; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(HOST_EXPORTS) \
11054 for flag in $(EXTRA_HOST_FLAGS) ; do \
11055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11056 done; \
11057 echo "Doing TAGS in gmp" ; \
11058 (cd $(HOST_SUBDIR)/gmp && \
11059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11061 "RANLIB=$${RANLIB}" \
11062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11063 TAGS) \
11064 || exit 1
11066 @endif gmp
11068 .PHONY: maybe-install-info-gmp install-info-gmp
11069 maybe-install-info-gmp:
11070 @if gmp
11071 maybe-install-info-gmp: install-info-gmp
11073 install-info-gmp: \
11074 configure-gmp \
11075 info-gmp
11076 @[ -f ./gmp/Makefile ] || exit 0; \
11077 r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 $(HOST_EXPORTS) \
11080 for flag in $(EXTRA_HOST_FLAGS) ; do \
11081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11082 done; \
11083 echo "Doing install-info in gmp" ; \
11084 (cd $(HOST_SUBDIR)/gmp && \
11085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11087 "RANLIB=$${RANLIB}" \
11088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11089 install-info) \
11090 || exit 1
11092 @endif gmp
11094 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11095 maybe-install-pdf-gmp:
11096 @if gmp
11097 maybe-install-pdf-gmp: install-pdf-gmp
11099 install-pdf-gmp: \
11100 configure-gmp \
11101 pdf-gmp
11102 @[ -f ./gmp/Makefile ] || exit 0; \
11103 r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 $(HOST_EXPORTS) \
11106 for flag in $(EXTRA_HOST_FLAGS) ; do \
11107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11108 done; \
11109 echo "Doing install-pdf in gmp" ; \
11110 (cd $(HOST_SUBDIR)/gmp && \
11111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11113 "RANLIB=$${RANLIB}" \
11114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11115 install-pdf) \
11116 || exit 1
11118 @endif gmp
11120 .PHONY: maybe-install-html-gmp install-html-gmp
11121 maybe-install-html-gmp:
11122 @if gmp
11123 maybe-install-html-gmp: install-html-gmp
11125 install-html-gmp: \
11126 configure-gmp \
11127 html-gmp
11128 @[ -f ./gmp/Makefile ] || exit 0; \
11129 r=`${PWD_COMMAND}`; export r; \
11130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11131 $(HOST_EXPORTS) \
11132 for flag in $(EXTRA_HOST_FLAGS) ; do \
11133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11134 done; \
11135 echo "Doing install-html in gmp" ; \
11136 (cd $(HOST_SUBDIR)/gmp && \
11137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11139 "RANLIB=$${RANLIB}" \
11140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11141 install-html) \
11142 || exit 1
11144 @endif gmp
11146 .PHONY: maybe-installcheck-gmp installcheck-gmp
11147 maybe-installcheck-gmp:
11148 @if gmp
11149 maybe-installcheck-gmp: installcheck-gmp
11151 installcheck-gmp: \
11152 configure-gmp
11153 @[ -f ./gmp/Makefile ] || exit 0; \
11154 r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing installcheck in gmp" ; \
11161 (cd $(HOST_SUBDIR)/gmp && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11166 installcheck) \
11167 || exit 1
11169 @endif gmp
11171 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11172 maybe-mostlyclean-gmp:
11173 @if gmp
11174 maybe-mostlyclean-gmp: mostlyclean-gmp
11176 mostlyclean-gmp:
11177 @[ -f ./gmp/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180 $(HOST_EXPORTS) \
11181 for flag in $(EXTRA_HOST_FLAGS) ; do \
11182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11183 done; \
11184 echo "Doing mostlyclean in gmp" ; \
11185 (cd $(HOST_SUBDIR)/gmp && \
11186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11188 "RANLIB=$${RANLIB}" \
11189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11190 mostlyclean) \
11191 || exit 1
11193 @endif gmp
11195 .PHONY: maybe-clean-gmp clean-gmp
11196 maybe-clean-gmp:
11197 @if gmp
11198 maybe-clean-gmp: clean-gmp
11200 clean-gmp:
11201 @[ -f ./gmp/Makefile ] || exit 0; \
11202 r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 $(HOST_EXPORTS) \
11205 for flag in $(EXTRA_HOST_FLAGS) ; do \
11206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11207 done; \
11208 echo "Doing clean in gmp" ; \
11209 (cd $(HOST_SUBDIR)/gmp && \
11210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11212 "RANLIB=$${RANLIB}" \
11213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11214 clean) \
11215 || exit 1
11217 @endif gmp
11219 .PHONY: maybe-distclean-gmp distclean-gmp
11220 maybe-distclean-gmp:
11221 @if gmp
11222 maybe-distclean-gmp: distclean-gmp
11224 distclean-gmp:
11225 @[ -f ./gmp/Makefile ] || exit 0; \
11226 r=`${PWD_COMMAND}`; export r; \
11227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11228 $(HOST_EXPORTS) \
11229 for flag in $(EXTRA_HOST_FLAGS) ; do \
11230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11231 done; \
11232 echo "Doing distclean in gmp" ; \
11233 (cd $(HOST_SUBDIR)/gmp && \
11234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11236 "RANLIB=$${RANLIB}" \
11237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11238 distclean) \
11239 || exit 1
11241 @endif gmp
11243 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11244 maybe-maintainer-clean-gmp:
11245 @if gmp
11246 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11248 maintainer-clean-gmp:
11249 @[ -f ./gmp/Makefile ] || exit 0; \
11250 r=`${PWD_COMMAND}`; export r; \
11251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11252 $(HOST_EXPORTS) \
11253 for flag in $(EXTRA_HOST_FLAGS) ; do \
11254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11255 done; \
11256 echo "Doing maintainer-clean in gmp" ; \
11257 (cd $(HOST_SUBDIR)/gmp && \
11258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11260 "RANLIB=$${RANLIB}" \
11261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11262 maintainer-clean) \
11263 || exit 1
11265 @endif gmp
11269 .PHONY: configure-mpfr maybe-configure-mpfr
11270 maybe-configure-mpfr:
11271 @if gcc-bootstrap
11272 configure-mpfr: stage_current
11273 @endif gcc-bootstrap
11274 @if mpfr
11275 maybe-configure-mpfr: configure-mpfr
11276 configure-mpfr:
11277 @r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11279 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11281 $(HOST_EXPORTS) \
11282 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11283 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11284 case $(srcdir) in \
11285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11286 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11288 esac; \
11289 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11290 libsrcdir="$$s/mpfr"; \
11291 $(SHELL) $${libsrcdir}/configure \
11292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11293 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11294 || exit 1
11295 @endif mpfr
11299 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11300 maybe-configure-stage1-mpfr:
11301 @if mpfr-bootstrap
11302 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11303 configure-stage1-mpfr:
11304 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11306 @r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 TFLAGS="$(STAGE1_TFLAGS)"; \
11309 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11310 $(HOST_EXPORTS) \
11311 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11312 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11313 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11314 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11316 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11317 case $(srcdir) in \
11318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11319 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11321 esac; \
11322 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11323 libsrcdir="$$s/mpfr"; \
11324 $(SHELL) $${libsrcdir}/configure \
11325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11326 --target=${target_alias} $${srcdiroption} \
11327 $(STAGE1_CONFIGURE_FLAGS) \
11328 --disable-shared @extra_mpfr_configure_flags@
11329 @endif mpfr-bootstrap
11331 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11332 maybe-configure-stage2-mpfr:
11333 @if mpfr-bootstrap
11334 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11335 configure-stage2-mpfr:
11336 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11338 @r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11340 TFLAGS="$(STAGE2_TFLAGS)"; \
11341 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11342 $(HOST_EXPORTS) \
11343 $(POSTSTAGE1_HOST_EXPORTS) \
11344 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11345 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11346 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11347 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11349 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11350 case $(srcdir) in \
11351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11352 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11354 esac; \
11355 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11356 libsrcdir="$$s/mpfr"; \
11357 $(SHELL) $${libsrcdir}/configure \
11358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11359 --target=${target_alias} $${srcdiroption} \
11360 --with-build-libsubdir=$(HOST_SUBDIR) \
11361 $(STAGE2_CONFIGURE_FLAGS) \
11362 --disable-shared @extra_mpfr_configure_flags@
11363 @endif mpfr-bootstrap
11365 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11366 maybe-configure-stage3-mpfr:
11367 @if mpfr-bootstrap
11368 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11369 configure-stage3-mpfr:
11370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11372 @r=`${PWD_COMMAND}`; export r; \
11373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11374 TFLAGS="$(STAGE3_TFLAGS)"; \
11375 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11376 $(HOST_EXPORTS) \
11377 $(POSTSTAGE1_HOST_EXPORTS) \
11378 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11379 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11380 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11381 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11383 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11384 case $(srcdir) in \
11385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11386 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11388 esac; \
11389 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11390 libsrcdir="$$s/mpfr"; \
11391 $(SHELL) $${libsrcdir}/configure \
11392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11393 --target=${target_alias} $${srcdiroption} \
11394 --with-build-libsubdir=$(HOST_SUBDIR) \
11395 $(STAGE3_CONFIGURE_FLAGS) \
11396 --disable-shared @extra_mpfr_configure_flags@
11397 @endif mpfr-bootstrap
11399 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11400 maybe-configure-stage4-mpfr:
11401 @if mpfr-bootstrap
11402 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11403 configure-stage4-mpfr:
11404 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11406 @r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 TFLAGS="$(STAGE4_TFLAGS)"; \
11409 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11410 $(HOST_EXPORTS) \
11411 $(POSTSTAGE1_HOST_EXPORTS) \
11412 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11413 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11414 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11415 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11417 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11418 case $(srcdir) in \
11419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11420 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11422 esac; \
11423 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11424 libsrcdir="$$s/mpfr"; \
11425 $(SHELL) $${libsrcdir}/configure \
11426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11427 --target=${target_alias} $${srcdiroption} \
11428 --with-build-libsubdir=$(HOST_SUBDIR) \
11429 $(STAGE4_CONFIGURE_FLAGS) \
11430 --disable-shared @extra_mpfr_configure_flags@
11431 @endif mpfr-bootstrap
11433 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11434 maybe-configure-stageprofile-mpfr:
11435 @if mpfr-bootstrap
11436 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11437 configure-stageprofile-mpfr:
11438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11440 @r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11443 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11444 $(HOST_EXPORTS) \
11445 $(POSTSTAGE1_HOST_EXPORTS) \
11446 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11448 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11449 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11451 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11452 case $(srcdir) in \
11453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11454 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11456 esac; \
11457 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11458 libsrcdir="$$s/mpfr"; \
11459 $(SHELL) $${libsrcdir}/configure \
11460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11461 --target=${target_alias} $${srcdiroption} \
11462 --with-build-libsubdir=$(HOST_SUBDIR) \
11463 $(STAGEprofile_CONFIGURE_FLAGS) \
11464 --disable-shared @extra_mpfr_configure_flags@
11465 @endif mpfr-bootstrap
11467 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11468 maybe-configure-stagefeedback-mpfr:
11469 @if mpfr-bootstrap
11470 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11471 configure-stagefeedback-mpfr:
11472 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11474 @r=`${PWD_COMMAND}`; export r; \
11475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11476 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11477 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11478 $(HOST_EXPORTS) \
11479 $(POSTSTAGE1_HOST_EXPORTS) \
11480 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11481 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11482 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11483 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11485 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11486 case $(srcdir) in \
11487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11488 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11490 esac; \
11491 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11492 libsrcdir="$$s/mpfr"; \
11493 $(SHELL) $${libsrcdir}/configure \
11494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11495 --target=${target_alias} $${srcdiroption} \
11496 --with-build-libsubdir=$(HOST_SUBDIR) \
11497 $(STAGEfeedback_CONFIGURE_FLAGS) \
11498 --disable-shared @extra_mpfr_configure_flags@
11499 @endif mpfr-bootstrap
11505 .PHONY: all-mpfr maybe-all-mpfr
11506 maybe-all-mpfr:
11507 @if gcc-bootstrap
11508 all-mpfr: stage_current
11509 @endif gcc-bootstrap
11510 @if mpfr
11511 TARGET-mpfr=all
11512 maybe-all-mpfr: all-mpfr
11513 all-mpfr: configure-mpfr
11514 @r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 $(HOST_EXPORTS) \
11517 (cd $(HOST_SUBDIR)/mpfr && \
11518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11519 $(TARGET-mpfr))
11520 @endif mpfr
11524 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11525 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11526 maybe-all-stage1-mpfr:
11527 maybe-clean-stage1-mpfr:
11528 @if mpfr-bootstrap
11529 maybe-all-stage1-mpfr: all-stage1-mpfr
11530 all-stage1: all-stage1-mpfr
11531 TARGET-stage1-mpfr = $(TARGET-mpfr)
11532 all-stage1-mpfr: configure-stage1-mpfr
11533 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11534 @r=`${PWD_COMMAND}`; export r; \
11535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 TFLAGS="$(STAGE1_TFLAGS)"; \
11537 $(HOST_EXPORTS) \
11538 cd $(HOST_SUBDIR)/mpfr && \
11539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11540 CFLAGS="$(STAGE1_CFLAGS)" \
11541 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11542 LIBCFLAGS="$(LIBCFLAGS)" \
11543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11546 $(EXTRA_HOST_FLAGS) \
11547 $(STAGE1_FLAGS_TO_PASS) \
11548 TFLAGS="$(STAGE1_TFLAGS)" \
11549 $(TARGET-stage1-mpfr)
11551 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11552 clean-stage1: clean-stage1-mpfr
11553 clean-stage1-mpfr:
11554 @if [ $(current_stage) = stage1 ]; then \
11555 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11556 else \
11557 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11558 $(MAKE) stage1-start; \
11559 fi; \
11560 cd $(HOST_SUBDIR)/mpfr && \
11561 $(MAKE) $(EXTRA_HOST_FLAGS) \
11562 $(STAGE1_FLAGS_TO_PASS) clean
11563 @endif mpfr-bootstrap
11566 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11567 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11568 maybe-all-stage2-mpfr:
11569 maybe-clean-stage2-mpfr:
11570 @if mpfr-bootstrap
11571 maybe-all-stage2-mpfr: all-stage2-mpfr
11572 all-stage2: all-stage2-mpfr
11573 TARGET-stage2-mpfr = $(TARGET-mpfr)
11574 all-stage2-mpfr: configure-stage2-mpfr
11575 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11576 @r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 TFLAGS="$(STAGE2_TFLAGS)"; \
11579 $(HOST_EXPORTS) \
11580 $(POSTSTAGE1_HOST_EXPORTS) \
11581 cd $(HOST_SUBDIR)/mpfr && \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGE2_CFLAGS)" \
11584 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11585 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11590 TFLAGS="$(STAGE2_TFLAGS)" \
11591 $(TARGET-stage2-mpfr)
11593 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11594 clean-stage2: clean-stage2-mpfr
11595 clean-stage2-mpfr:
11596 @if [ $(current_stage) = stage2 ]; then \
11597 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11598 else \
11599 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11600 $(MAKE) stage2-start; \
11601 fi; \
11602 cd $(HOST_SUBDIR)/mpfr && \
11603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11604 @endif mpfr-bootstrap
11607 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11608 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11609 maybe-all-stage3-mpfr:
11610 maybe-clean-stage3-mpfr:
11611 @if mpfr-bootstrap
11612 maybe-all-stage3-mpfr: all-stage3-mpfr
11613 all-stage3: all-stage3-mpfr
11614 TARGET-stage3-mpfr = $(TARGET-mpfr)
11615 all-stage3-mpfr: configure-stage3-mpfr
11616 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11617 @r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 TFLAGS="$(STAGE3_TFLAGS)"; \
11620 $(HOST_EXPORTS) \
11621 $(POSTSTAGE1_HOST_EXPORTS) \
11622 cd $(HOST_SUBDIR)/mpfr && \
11623 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11624 CFLAGS="$(STAGE3_CFLAGS)" \
11625 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11626 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11627 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11628 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11629 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11630 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11631 TFLAGS="$(STAGE3_TFLAGS)" \
11632 $(TARGET-stage3-mpfr)
11634 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11635 clean-stage3: clean-stage3-mpfr
11636 clean-stage3-mpfr:
11637 @if [ $(current_stage) = stage3 ]; then \
11638 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11639 else \
11640 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11641 $(MAKE) stage3-start; \
11642 fi; \
11643 cd $(HOST_SUBDIR)/mpfr && \
11644 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11645 @endif mpfr-bootstrap
11648 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11649 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11650 maybe-all-stage4-mpfr:
11651 maybe-clean-stage4-mpfr:
11652 @if mpfr-bootstrap
11653 maybe-all-stage4-mpfr: all-stage4-mpfr
11654 all-stage4: all-stage4-mpfr
11655 TARGET-stage4-mpfr = $(TARGET-mpfr)
11656 all-stage4-mpfr: configure-stage4-mpfr
11657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11658 @r=`${PWD_COMMAND}`; export r; \
11659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11660 TFLAGS="$(STAGE4_TFLAGS)"; \
11661 $(HOST_EXPORTS) \
11662 $(POSTSTAGE1_HOST_EXPORTS) \
11663 cd $(HOST_SUBDIR)/mpfr && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11665 CFLAGS="$(STAGE4_CFLAGS)" \
11666 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11667 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11668 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11669 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11670 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11671 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11672 TFLAGS="$(STAGE4_TFLAGS)" \
11673 $(TARGET-stage4-mpfr)
11675 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11676 clean-stage4: clean-stage4-mpfr
11677 clean-stage4-mpfr:
11678 @if [ $(current_stage) = stage4 ]; then \
11679 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11680 else \
11681 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11682 $(MAKE) stage4-start; \
11683 fi; \
11684 cd $(HOST_SUBDIR)/mpfr && \
11685 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11686 @endif mpfr-bootstrap
11689 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11690 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11691 maybe-all-stageprofile-mpfr:
11692 maybe-clean-stageprofile-mpfr:
11693 @if mpfr-bootstrap
11694 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11695 all-stageprofile: all-stageprofile-mpfr
11696 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11697 all-stageprofile-mpfr: configure-stageprofile-mpfr
11698 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11699 @r=`${PWD_COMMAND}`; export r; \
11700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11701 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11702 $(HOST_EXPORTS) \
11703 $(POSTSTAGE1_HOST_EXPORTS) \
11704 cd $(HOST_SUBDIR)/mpfr && \
11705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11706 CFLAGS="$(STAGEprofile_CFLAGS)" \
11707 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11708 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11713 TFLAGS="$(STAGEprofile_TFLAGS)" \
11714 $(TARGET-stageprofile-mpfr)
11716 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11717 clean-stageprofile: clean-stageprofile-mpfr
11718 clean-stageprofile-mpfr:
11719 @if [ $(current_stage) = stageprofile ]; then \
11720 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11721 else \
11722 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11723 $(MAKE) stageprofile-start; \
11724 fi; \
11725 cd $(HOST_SUBDIR)/mpfr && \
11726 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11727 @endif mpfr-bootstrap
11730 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11731 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11732 maybe-all-stagefeedback-mpfr:
11733 maybe-clean-stagefeedback-mpfr:
11734 @if mpfr-bootstrap
11735 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11736 all-stagefeedback: all-stagefeedback-mpfr
11737 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11738 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11740 @r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11743 $(HOST_EXPORTS) \
11744 $(POSTSTAGE1_HOST_EXPORTS) \
11745 cd $(HOST_SUBDIR)/mpfr && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11747 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11750 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11751 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11752 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11753 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11754 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11755 $(TARGET-stagefeedback-mpfr)
11757 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11758 clean-stagefeedback: clean-stagefeedback-mpfr
11759 clean-stagefeedback-mpfr:
11760 @if [ $(current_stage) = stagefeedback ]; then \
11761 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11762 else \
11763 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11764 $(MAKE) stagefeedback-start; \
11765 fi; \
11766 cd $(HOST_SUBDIR)/mpfr && \
11767 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11768 @endif mpfr-bootstrap
11774 .PHONY: check-mpfr maybe-check-mpfr
11775 maybe-check-mpfr:
11776 @if mpfr
11777 maybe-check-mpfr: check-mpfr
11779 check-mpfr:
11780 @: $(MAKE); $(unstage)
11781 @r=`${PWD_COMMAND}`; export r; \
11782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11783 $(HOST_EXPORTS) \
11784 (cd $(HOST_SUBDIR)/mpfr && \
11785 $(MAKE) $(FLAGS_TO_PASS) check)
11787 @endif mpfr
11789 .PHONY: install-mpfr maybe-install-mpfr
11790 maybe-install-mpfr:
11791 @if mpfr
11792 maybe-install-mpfr: install-mpfr
11794 install-mpfr:
11796 @endif mpfr
11798 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11799 maybe-install-strip-mpfr:
11800 @if mpfr
11801 maybe-install-strip-mpfr: install-strip-mpfr
11803 install-strip-mpfr:
11805 @endif mpfr
11807 # Other targets (info, dvi, pdf, etc.)
11809 .PHONY: maybe-info-mpfr info-mpfr
11810 maybe-info-mpfr:
11811 @if mpfr
11812 maybe-info-mpfr: info-mpfr
11814 info-mpfr: \
11815 configure-mpfr
11816 @[ -f ./mpfr/Makefile ] || exit 0; \
11817 r=`${PWD_COMMAND}`; export r; \
11818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11819 $(HOST_EXPORTS) \
11820 for flag in $(EXTRA_HOST_FLAGS) ; do \
11821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11822 done; \
11823 echo "Doing info in mpfr" ; \
11824 (cd $(HOST_SUBDIR)/mpfr && \
11825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11827 "RANLIB=$${RANLIB}" \
11828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11829 info) \
11830 || exit 1
11832 @endif mpfr
11834 .PHONY: maybe-dvi-mpfr dvi-mpfr
11835 maybe-dvi-mpfr:
11836 @if mpfr
11837 maybe-dvi-mpfr: dvi-mpfr
11839 dvi-mpfr: \
11840 configure-mpfr
11841 @[ -f ./mpfr/Makefile ] || exit 0; \
11842 r=`${PWD_COMMAND}`; export r; \
11843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11844 $(HOST_EXPORTS) \
11845 for flag in $(EXTRA_HOST_FLAGS) ; do \
11846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11847 done; \
11848 echo "Doing dvi in mpfr" ; \
11849 (cd $(HOST_SUBDIR)/mpfr && \
11850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11852 "RANLIB=$${RANLIB}" \
11853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11854 dvi) \
11855 || exit 1
11857 @endif mpfr
11859 .PHONY: maybe-pdf-mpfr pdf-mpfr
11860 maybe-pdf-mpfr:
11861 @if mpfr
11862 maybe-pdf-mpfr: pdf-mpfr
11864 pdf-mpfr: \
11865 configure-mpfr
11866 @[ -f ./mpfr/Makefile ] || exit 0; \
11867 r=`${PWD_COMMAND}`; export r; \
11868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11869 $(HOST_EXPORTS) \
11870 for flag in $(EXTRA_HOST_FLAGS) ; do \
11871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11872 done; \
11873 echo "Doing pdf in mpfr" ; \
11874 (cd $(HOST_SUBDIR)/mpfr && \
11875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11877 "RANLIB=$${RANLIB}" \
11878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11879 pdf) \
11880 || exit 1
11882 @endif mpfr
11884 .PHONY: maybe-html-mpfr html-mpfr
11885 maybe-html-mpfr:
11886 @if mpfr
11887 maybe-html-mpfr: html-mpfr
11889 html-mpfr: \
11890 configure-mpfr
11891 @[ -f ./mpfr/Makefile ] || exit 0; \
11892 r=`${PWD_COMMAND}`; export r; \
11893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11894 $(HOST_EXPORTS) \
11895 for flag in $(EXTRA_HOST_FLAGS) ; do \
11896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11897 done; \
11898 echo "Doing html in mpfr" ; \
11899 (cd $(HOST_SUBDIR)/mpfr && \
11900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11902 "RANLIB=$${RANLIB}" \
11903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11904 html) \
11905 || exit 1
11907 @endif mpfr
11909 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11910 maybe-TAGS-mpfr:
11911 @if mpfr
11912 maybe-TAGS-mpfr: TAGS-mpfr
11914 TAGS-mpfr: \
11915 configure-mpfr
11916 @[ -f ./mpfr/Makefile ] || exit 0; \
11917 r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(HOST_EXPORTS) \
11920 for flag in $(EXTRA_HOST_FLAGS) ; do \
11921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11922 done; \
11923 echo "Doing TAGS in mpfr" ; \
11924 (cd $(HOST_SUBDIR)/mpfr && \
11925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11927 "RANLIB=$${RANLIB}" \
11928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11929 TAGS) \
11930 || exit 1
11932 @endif mpfr
11934 .PHONY: maybe-install-info-mpfr install-info-mpfr
11935 maybe-install-info-mpfr:
11936 @if mpfr
11937 maybe-install-info-mpfr: install-info-mpfr
11939 install-info-mpfr: \
11940 configure-mpfr \
11941 info-mpfr
11942 @[ -f ./mpfr/Makefile ] || exit 0; \
11943 r=`${PWD_COMMAND}`; export r; \
11944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11945 $(HOST_EXPORTS) \
11946 for flag in $(EXTRA_HOST_FLAGS) ; do \
11947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11948 done; \
11949 echo "Doing install-info in mpfr" ; \
11950 (cd $(HOST_SUBDIR)/mpfr && \
11951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11953 "RANLIB=$${RANLIB}" \
11954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11955 install-info) \
11956 || exit 1
11958 @endif mpfr
11960 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11961 maybe-install-pdf-mpfr:
11962 @if mpfr
11963 maybe-install-pdf-mpfr: install-pdf-mpfr
11965 install-pdf-mpfr: \
11966 configure-mpfr \
11967 pdf-mpfr
11968 @[ -f ./mpfr/Makefile ] || exit 0; \
11969 r=`${PWD_COMMAND}`; export r; \
11970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11971 $(HOST_EXPORTS) \
11972 for flag in $(EXTRA_HOST_FLAGS) ; do \
11973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11974 done; \
11975 echo "Doing install-pdf in mpfr" ; \
11976 (cd $(HOST_SUBDIR)/mpfr && \
11977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11979 "RANLIB=$${RANLIB}" \
11980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11981 install-pdf) \
11982 || exit 1
11984 @endif mpfr
11986 .PHONY: maybe-install-html-mpfr install-html-mpfr
11987 maybe-install-html-mpfr:
11988 @if mpfr
11989 maybe-install-html-mpfr: install-html-mpfr
11991 install-html-mpfr: \
11992 configure-mpfr \
11993 html-mpfr
11994 @[ -f ./mpfr/Makefile ] || exit 0; \
11995 r=`${PWD_COMMAND}`; export r; \
11996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11997 $(HOST_EXPORTS) \
11998 for flag in $(EXTRA_HOST_FLAGS) ; do \
11999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12000 done; \
12001 echo "Doing install-html in mpfr" ; \
12002 (cd $(HOST_SUBDIR)/mpfr && \
12003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12005 "RANLIB=$${RANLIB}" \
12006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12007 install-html) \
12008 || exit 1
12010 @endif mpfr
12012 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12013 maybe-installcheck-mpfr:
12014 @if mpfr
12015 maybe-installcheck-mpfr: installcheck-mpfr
12017 installcheck-mpfr: \
12018 configure-mpfr
12019 @[ -f ./mpfr/Makefile ] || exit 0; \
12020 r=`${PWD_COMMAND}`; export r; \
12021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12022 $(HOST_EXPORTS) \
12023 for flag in $(EXTRA_HOST_FLAGS) ; do \
12024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12025 done; \
12026 echo "Doing installcheck in mpfr" ; \
12027 (cd $(HOST_SUBDIR)/mpfr && \
12028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12030 "RANLIB=$${RANLIB}" \
12031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12032 installcheck) \
12033 || exit 1
12035 @endif mpfr
12037 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12038 maybe-mostlyclean-mpfr:
12039 @if mpfr
12040 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12042 mostlyclean-mpfr:
12043 @[ -f ./mpfr/Makefile ] || exit 0; \
12044 r=`${PWD_COMMAND}`; export r; \
12045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12046 $(HOST_EXPORTS) \
12047 for flag in $(EXTRA_HOST_FLAGS) ; do \
12048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12049 done; \
12050 echo "Doing mostlyclean in mpfr" ; \
12051 (cd $(HOST_SUBDIR)/mpfr && \
12052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12054 "RANLIB=$${RANLIB}" \
12055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12056 mostlyclean) \
12057 || exit 1
12059 @endif mpfr
12061 .PHONY: maybe-clean-mpfr clean-mpfr
12062 maybe-clean-mpfr:
12063 @if mpfr
12064 maybe-clean-mpfr: clean-mpfr
12066 clean-mpfr:
12067 @[ -f ./mpfr/Makefile ] || exit 0; \
12068 r=`${PWD_COMMAND}`; export r; \
12069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12070 $(HOST_EXPORTS) \
12071 for flag in $(EXTRA_HOST_FLAGS) ; do \
12072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12073 done; \
12074 echo "Doing clean in mpfr" ; \
12075 (cd $(HOST_SUBDIR)/mpfr && \
12076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12078 "RANLIB=$${RANLIB}" \
12079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12080 clean) \
12081 || exit 1
12083 @endif mpfr
12085 .PHONY: maybe-distclean-mpfr distclean-mpfr
12086 maybe-distclean-mpfr:
12087 @if mpfr
12088 maybe-distclean-mpfr: distclean-mpfr
12090 distclean-mpfr:
12091 @[ -f ./mpfr/Makefile ] || exit 0; \
12092 r=`${PWD_COMMAND}`; export r; \
12093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 $(HOST_EXPORTS) \
12095 for flag in $(EXTRA_HOST_FLAGS) ; do \
12096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12097 done; \
12098 echo "Doing distclean in mpfr" ; \
12099 (cd $(HOST_SUBDIR)/mpfr && \
12100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12102 "RANLIB=$${RANLIB}" \
12103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12104 distclean) \
12105 || exit 1
12107 @endif mpfr
12109 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12110 maybe-maintainer-clean-mpfr:
12111 @if mpfr
12112 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12114 maintainer-clean-mpfr:
12115 @[ -f ./mpfr/Makefile ] || exit 0; \
12116 r=`${PWD_COMMAND}`; export r; \
12117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12118 $(HOST_EXPORTS) \
12119 for flag in $(EXTRA_HOST_FLAGS) ; do \
12120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12121 done; \
12122 echo "Doing maintainer-clean in mpfr" ; \
12123 (cd $(HOST_SUBDIR)/mpfr && \
12124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12126 "RANLIB=$${RANLIB}" \
12127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12128 maintainer-clean) \
12129 || exit 1
12131 @endif mpfr
12135 .PHONY: configure-mpc maybe-configure-mpc
12136 maybe-configure-mpc:
12137 @if gcc-bootstrap
12138 configure-mpc: stage_current
12139 @endif gcc-bootstrap
12140 @if mpc
12141 maybe-configure-mpc: configure-mpc
12142 configure-mpc:
12143 @r=`${PWD_COMMAND}`; export r; \
12144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12145 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12147 $(HOST_EXPORTS) \
12148 echo Configuring in $(HOST_SUBDIR)/mpc; \
12149 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12150 case $(srcdir) in \
12151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12152 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12154 esac; \
12155 srcdiroption="--srcdir=$${topdir}/mpc"; \
12156 libsrcdir="$$s/mpc"; \
12157 $(SHELL) $${libsrcdir}/configure \
12158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12159 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12160 || exit 1
12161 @endif mpc
12165 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12166 maybe-configure-stage1-mpc:
12167 @if mpc-bootstrap
12168 maybe-configure-stage1-mpc: configure-stage1-mpc
12169 configure-stage1-mpc:
12170 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12172 @r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 TFLAGS="$(STAGE1_TFLAGS)"; \
12175 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12176 $(HOST_EXPORTS) \
12177 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12178 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12179 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12180 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12182 cd $(HOST_SUBDIR)/mpc || exit 1; \
12183 case $(srcdir) in \
12184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12185 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12187 esac; \
12188 srcdiroption="--srcdir=$${topdir}/mpc"; \
12189 libsrcdir="$$s/mpc"; \
12190 $(SHELL) $${libsrcdir}/configure \
12191 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12192 --target=${target_alias} $${srcdiroption} \
12193 $(STAGE1_CONFIGURE_FLAGS) \
12194 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12195 @endif mpc-bootstrap
12197 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12198 maybe-configure-stage2-mpc:
12199 @if mpc-bootstrap
12200 maybe-configure-stage2-mpc: configure-stage2-mpc
12201 configure-stage2-mpc:
12202 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12204 @r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12206 TFLAGS="$(STAGE2_TFLAGS)"; \
12207 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12208 $(HOST_EXPORTS) \
12209 $(POSTSTAGE1_HOST_EXPORTS) \
12210 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12211 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12212 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12213 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12215 cd $(HOST_SUBDIR)/mpc || exit 1; \
12216 case $(srcdir) in \
12217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12218 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12220 esac; \
12221 srcdiroption="--srcdir=$${topdir}/mpc"; \
12222 libsrcdir="$$s/mpc"; \
12223 $(SHELL) $${libsrcdir}/configure \
12224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12225 --target=${target_alias} $${srcdiroption} \
12226 --with-build-libsubdir=$(HOST_SUBDIR) \
12227 $(STAGE2_CONFIGURE_FLAGS) \
12228 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12229 @endif mpc-bootstrap
12231 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12232 maybe-configure-stage3-mpc:
12233 @if mpc-bootstrap
12234 maybe-configure-stage3-mpc: configure-stage3-mpc
12235 configure-stage3-mpc:
12236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12238 @r=`${PWD_COMMAND}`; export r; \
12239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12240 TFLAGS="$(STAGE3_TFLAGS)"; \
12241 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12242 $(HOST_EXPORTS) \
12243 $(POSTSTAGE1_HOST_EXPORTS) \
12244 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12245 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12246 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12247 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12249 cd $(HOST_SUBDIR)/mpc || exit 1; \
12250 case $(srcdir) in \
12251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12252 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12254 esac; \
12255 srcdiroption="--srcdir=$${topdir}/mpc"; \
12256 libsrcdir="$$s/mpc"; \
12257 $(SHELL) $${libsrcdir}/configure \
12258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12259 --target=${target_alias} $${srcdiroption} \
12260 --with-build-libsubdir=$(HOST_SUBDIR) \
12261 $(STAGE3_CONFIGURE_FLAGS) \
12262 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12263 @endif mpc-bootstrap
12265 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12266 maybe-configure-stage4-mpc:
12267 @if mpc-bootstrap
12268 maybe-configure-stage4-mpc: configure-stage4-mpc
12269 configure-stage4-mpc:
12270 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12272 @r=`${PWD_COMMAND}`; export r; \
12273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12274 TFLAGS="$(STAGE4_TFLAGS)"; \
12275 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12276 $(HOST_EXPORTS) \
12277 $(POSTSTAGE1_HOST_EXPORTS) \
12278 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12279 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12280 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12281 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12283 cd $(HOST_SUBDIR)/mpc || exit 1; \
12284 case $(srcdir) in \
12285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12286 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12288 esac; \
12289 srcdiroption="--srcdir=$${topdir}/mpc"; \
12290 libsrcdir="$$s/mpc"; \
12291 $(SHELL) $${libsrcdir}/configure \
12292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12293 --target=${target_alias} $${srcdiroption} \
12294 --with-build-libsubdir=$(HOST_SUBDIR) \
12295 $(STAGE4_CONFIGURE_FLAGS) \
12296 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12297 @endif mpc-bootstrap
12299 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12300 maybe-configure-stageprofile-mpc:
12301 @if mpc-bootstrap
12302 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12303 configure-stageprofile-mpc:
12304 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12306 @r=`${PWD_COMMAND}`; export r; \
12307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12308 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12309 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12310 $(HOST_EXPORTS) \
12311 $(POSTSTAGE1_HOST_EXPORTS) \
12312 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12313 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12314 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12315 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12317 cd $(HOST_SUBDIR)/mpc || exit 1; \
12318 case $(srcdir) in \
12319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12320 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12322 esac; \
12323 srcdiroption="--srcdir=$${topdir}/mpc"; \
12324 libsrcdir="$$s/mpc"; \
12325 $(SHELL) $${libsrcdir}/configure \
12326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12327 --target=${target_alias} $${srcdiroption} \
12328 --with-build-libsubdir=$(HOST_SUBDIR) \
12329 $(STAGEprofile_CONFIGURE_FLAGS) \
12330 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12331 @endif mpc-bootstrap
12333 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12334 maybe-configure-stagefeedback-mpc:
12335 @if mpc-bootstrap
12336 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12337 configure-stagefeedback-mpc:
12338 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12340 @r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12343 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12344 $(HOST_EXPORTS) \
12345 $(POSTSTAGE1_HOST_EXPORTS) \
12346 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12347 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12348 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12349 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12351 cd $(HOST_SUBDIR)/mpc || exit 1; \
12352 case $(srcdir) in \
12353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12354 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12356 esac; \
12357 srcdiroption="--srcdir=$${topdir}/mpc"; \
12358 libsrcdir="$$s/mpc"; \
12359 $(SHELL) $${libsrcdir}/configure \
12360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12361 --target=${target_alias} $${srcdiroption} \
12362 --with-build-libsubdir=$(HOST_SUBDIR) \
12363 $(STAGEfeedback_CONFIGURE_FLAGS) \
12364 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12365 @endif mpc-bootstrap
12371 .PHONY: all-mpc maybe-all-mpc
12372 maybe-all-mpc:
12373 @if gcc-bootstrap
12374 all-mpc: stage_current
12375 @endif gcc-bootstrap
12376 @if mpc
12377 TARGET-mpc=all
12378 maybe-all-mpc: all-mpc
12379 all-mpc: configure-mpc
12380 @r=`${PWD_COMMAND}`; export r; \
12381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12382 $(HOST_EXPORTS) \
12383 (cd $(HOST_SUBDIR)/mpc && \
12384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12385 $(TARGET-mpc))
12386 @endif mpc
12390 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12391 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12392 maybe-all-stage1-mpc:
12393 maybe-clean-stage1-mpc:
12394 @if mpc-bootstrap
12395 maybe-all-stage1-mpc: all-stage1-mpc
12396 all-stage1: all-stage1-mpc
12397 TARGET-stage1-mpc = $(TARGET-mpc)
12398 all-stage1-mpc: configure-stage1-mpc
12399 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12400 @r=`${PWD_COMMAND}`; export r; \
12401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12402 TFLAGS="$(STAGE1_TFLAGS)"; \
12403 $(HOST_EXPORTS) \
12404 cd $(HOST_SUBDIR)/mpc && \
12405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12406 CFLAGS="$(STAGE1_CFLAGS)" \
12407 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12408 LIBCFLAGS="$(LIBCFLAGS)" \
12409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12412 $(EXTRA_HOST_FLAGS) \
12413 $(STAGE1_FLAGS_TO_PASS) \
12414 TFLAGS="$(STAGE1_TFLAGS)" \
12415 $(TARGET-stage1-mpc)
12417 maybe-clean-stage1-mpc: clean-stage1-mpc
12418 clean-stage1: clean-stage1-mpc
12419 clean-stage1-mpc:
12420 @if [ $(current_stage) = stage1 ]; then \
12421 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12422 else \
12423 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12424 $(MAKE) stage1-start; \
12425 fi; \
12426 cd $(HOST_SUBDIR)/mpc && \
12427 $(MAKE) $(EXTRA_HOST_FLAGS) \
12428 $(STAGE1_FLAGS_TO_PASS) clean
12429 @endif mpc-bootstrap
12432 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12433 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12434 maybe-all-stage2-mpc:
12435 maybe-clean-stage2-mpc:
12436 @if mpc-bootstrap
12437 maybe-all-stage2-mpc: all-stage2-mpc
12438 all-stage2: all-stage2-mpc
12439 TARGET-stage2-mpc = $(TARGET-mpc)
12440 all-stage2-mpc: configure-stage2-mpc
12441 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12442 @r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 TFLAGS="$(STAGE2_TFLAGS)"; \
12445 $(HOST_EXPORTS) \
12446 $(POSTSTAGE1_HOST_EXPORTS) \
12447 cd $(HOST_SUBDIR)/mpc && \
12448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12449 CFLAGS="$(STAGE2_CFLAGS)" \
12450 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12451 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12456 TFLAGS="$(STAGE2_TFLAGS)" \
12457 $(TARGET-stage2-mpc)
12459 maybe-clean-stage2-mpc: clean-stage2-mpc
12460 clean-stage2: clean-stage2-mpc
12461 clean-stage2-mpc:
12462 @if [ $(current_stage) = stage2 ]; then \
12463 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12464 else \
12465 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12466 $(MAKE) stage2-start; \
12467 fi; \
12468 cd $(HOST_SUBDIR)/mpc && \
12469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12470 @endif mpc-bootstrap
12473 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12474 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12475 maybe-all-stage3-mpc:
12476 maybe-clean-stage3-mpc:
12477 @if mpc-bootstrap
12478 maybe-all-stage3-mpc: all-stage3-mpc
12479 all-stage3: all-stage3-mpc
12480 TARGET-stage3-mpc = $(TARGET-mpc)
12481 all-stage3-mpc: configure-stage3-mpc
12482 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12483 @r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 TFLAGS="$(STAGE3_TFLAGS)"; \
12486 $(HOST_EXPORTS) \
12487 $(POSTSTAGE1_HOST_EXPORTS) \
12488 cd $(HOST_SUBDIR)/mpc && \
12489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12490 CFLAGS="$(STAGE3_CFLAGS)" \
12491 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12492 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12497 TFLAGS="$(STAGE3_TFLAGS)" \
12498 $(TARGET-stage3-mpc)
12500 maybe-clean-stage3-mpc: clean-stage3-mpc
12501 clean-stage3: clean-stage3-mpc
12502 clean-stage3-mpc:
12503 @if [ $(current_stage) = stage3 ]; then \
12504 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12505 else \
12506 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12507 $(MAKE) stage3-start; \
12508 fi; \
12509 cd $(HOST_SUBDIR)/mpc && \
12510 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12511 @endif mpc-bootstrap
12514 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12515 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12516 maybe-all-stage4-mpc:
12517 maybe-clean-stage4-mpc:
12518 @if mpc-bootstrap
12519 maybe-all-stage4-mpc: all-stage4-mpc
12520 all-stage4: all-stage4-mpc
12521 TARGET-stage4-mpc = $(TARGET-mpc)
12522 all-stage4-mpc: configure-stage4-mpc
12523 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12524 @r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12526 TFLAGS="$(STAGE4_TFLAGS)"; \
12527 $(HOST_EXPORTS) \
12528 $(POSTSTAGE1_HOST_EXPORTS) \
12529 cd $(HOST_SUBDIR)/mpc && \
12530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12531 CFLAGS="$(STAGE4_CFLAGS)" \
12532 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12533 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12534 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12535 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12536 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12537 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12538 TFLAGS="$(STAGE4_TFLAGS)" \
12539 $(TARGET-stage4-mpc)
12541 maybe-clean-stage4-mpc: clean-stage4-mpc
12542 clean-stage4: clean-stage4-mpc
12543 clean-stage4-mpc:
12544 @if [ $(current_stage) = stage4 ]; then \
12545 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12546 else \
12547 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12548 $(MAKE) stage4-start; \
12549 fi; \
12550 cd $(HOST_SUBDIR)/mpc && \
12551 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12552 @endif mpc-bootstrap
12555 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12556 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12557 maybe-all-stageprofile-mpc:
12558 maybe-clean-stageprofile-mpc:
12559 @if mpc-bootstrap
12560 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12561 all-stageprofile: all-stageprofile-mpc
12562 TARGET-stageprofile-mpc = $(TARGET-mpc)
12563 all-stageprofile-mpc: configure-stageprofile-mpc
12564 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12565 @r=`${PWD_COMMAND}`; export r; \
12566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12567 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12568 $(HOST_EXPORTS) \
12569 $(POSTSTAGE1_HOST_EXPORTS) \
12570 cd $(HOST_SUBDIR)/mpc && \
12571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12572 CFLAGS="$(STAGEprofile_CFLAGS)" \
12573 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12574 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12578 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12579 TFLAGS="$(STAGEprofile_TFLAGS)" \
12580 $(TARGET-stageprofile-mpc)
12582 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12583 clean-stageprofile: clean-stageprofile-mpc
12584 clean-stageprofile-mpc:
12585 @if [ $(current_stage) = stageprofile ]; then \
12586 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12587 else \
12588 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12589 $(MAKE) stageprofile-start; \
12590 fi; \
12591 cd $(HOST_SUBDIR)/mpc && \
12592 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12593 @endif mpc-bootstrap
12596 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12597 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12598 maybe-all-stagefeedback-mpc:
12599 maybe-clean-stagefeedback-mpc:
12600 @if mpc-bootstrap
12601 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12602 all-stagefeedback: all-stagefeedback-mpc
12603 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12604 all-stagefeedback-mpc: configure-stagefeedback-mpc
12605 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12606 @r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12609 $(HOST_EXPORTS) \
12610 $(POSTSTAGE1_HOST_EXPORTS) \
12611 cd $(HOST_SUBDIR)/mpc && \
12612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12613 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12614 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12615 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12620 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12621 $(TARGET-stagefeedback-mpc)
12623 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12624 clean-stagefeedback: clean-stagefeedback-mpc
12625 clean-stagefeedback-mpc:
12626 @if [ $(current_stage) = stagefeedback ]; then \
12627 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12628 else \
12629 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12630 $(MAKE) stagefeedback-start; \
12631 fi; \
12632 cd $(HOST_SUBDIR)/mpc && \
12633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12634 @endif mpc-bootstrap
12640 .PHONY: check-mpc maybe-check-mpc
12641 maybe-check-mpc:
12642 @if mpc
12643 maybe-check-mpc: check-mpc
12645 check-mpc:
12646 @: $(MAKE); $(unstage)
12647 @r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12649 $(HOST_EXPORTS) \
12650 (cd $(HOST_SUBDIR)/mpc && \
12651 $(MAKE) $(FLAGS_TO_PASS) check)
12653 @endif mpc
12655 .PHONY: install-mpc maybe-install-mpc
12656 maybe-install-mpc:
12657 @if mpc
12658 maybe-install-mpc: install-mpc
12660 install-mpc:
12662 @endif mpc
12664 .PHONY: install-strip-mpc maybe-install-strip-mpc
12665 maybe-install-strip-mpc:
12666 @if mpc
12667 maybe-install-strip-mpc: install-strip-mpc
12669 install-strip-mpc:
12671 @endif mpc
12673 # Other targets (info, dvi, pdf, etc.)
12675 .PHONY: maybe-info-mpc info-mpc
12676 maybe-info-mpc:
12677 @if mpc
12678 maybe-info-mpc: info-mpc
12680 info-mpc: \
12681 configure-mpc
12682 @[ -f ./mpc/Makefile ] || exit 0; \
12683 r=`${PWD_COMMAND}`; export r; \
12684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12685 $(HOST_EXPORTS) \
12686 for flag in $(EXTRA_HOST_FLAGS) ; do \
12687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12688 done; \
12689 echo "Doing info in mpc" ; \
12690 (cd $(HOST_SUBDIR)/mpc && \
12691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12693 "RANLIB=$${RANLIB}" \
12694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12695 info) \
12696 || exit 1
12698 @endif mpc
12700 .PHONY: maybe-dvi-mpc dvi-mpc
12701 maybe-dvi-mpc:
12702 @if mpc
12703 maybe-dvi-mpc: dvi-mpc
12705 dvi-mpc: \
12706 configure-mpc
12707 @[ -f ./mpc/Makefile ] || exit 0; \
12708 r=`${PWD_COMMAND}`; export r; \
12709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12710 $(HOST_EXPORTS) \
12711 for flag in $(EXTRA_HOST_FLAGS) ; do \
12712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12713 done; \
12714 echo "Doing dvi in mpc" ; \
12715 (cd $(HOST_SUBDIR)/mpc && \
12716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12718 "RANLIB=$${RANLIB}" \
12719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12720 dvi) \
12721 || exit 1
12723 @endif mpc
12725 .PHONY: maybe-pdf-mpc pdf-mpc
12726 maybe-pdf-mpc:
12727 @if mpc
12728 maybe-pdf-mpc: pdf-mpc
12730 pdf-mpc: \
12731 configure-mpc
12732 @[ -f ./mpc/Makefile ] || exit 0; \
12733 r=`${PWD_COMMAND}`; export r; \
12734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12735 $(HOST_EXPORTS) \
12736 for flag in $(EXTRA_HOST_FLAGS) ; do \
12737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12738 done; \
12739 echo "Doing pdf in mpc" ; \
12740 (cd $(HOST_SUBDIR)/mpc && \
12741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12743 "RANLIB=$${RANLIB}" \
12744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12745 pdf) \
12746 || exit 1
12748 @endif mpc
12750 .PHONY: maybe-html-mpc html-mpc
12751 maybe-html-mpc:
12752 @if mpc
12753 maybe-html-mpc: html-mpc
12755 html-mpc: \
12756 configure-mpc
12757 @[ -f ./mpc/Makefile ] || exit 0; \
12758 r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 $(HOST_EXPORTS) \
12761 for flag in $(EXTRA_HOST_FLAGS) ; do \
12762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12763 done; \
12764 echo "Doing html in mpc" ; \
12765 (cd $(HOST_SUBDIR)/mpc && \
12766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12768 "RANLIB=$${RANLIB}" \
12769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12770 html) \
12771 || exit 1
12773 @endif mpc
12775 .PHONY: maybe-TAGS-mpc TAGS-mpc
12776 maybe-TAGS-mpc:
12777 @if mpc
12778 maybe-TAGS-mpc: TAGS-mpc
12780 TAGS-mpc: \
12781 configure-mpc
12782 @[ -f ./mpc/Makefile ] || exit 0; \
12783 r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 for flag in $(EXTRA_HOST_FLAGS) ; do \
12787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12788 done; \
12789 echo "Doing TAGS in mpc" ; \
12790 (cd $(HOST_SUBDIR)/mpc && \
12791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12793 "RANLIB=$${RANLIB}" \
12794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12795 TAGS) \
12796 || exit 1
12798 @endif mpc
12800 .PHONY: maybe-install-info-mpc install-info-mpc
12801 maybe-install-info-mpc:
12802 @if mpc
12803 maybe-install-info-mpc: install-info-mpc
12805 install-info-mpc: \
12806 configure-mpc \
12807 info-mpc
12808 @[ -f ./mpc/Makefile ] || exit 0; \
12809 r=`${PWD_COMMAND}`; export r; \
12810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12811 $(HOST_EXPORTS) \
12812 for flag in $(EXTRA_HOST_FLAGS) ; do \
12813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12814 done; \
12815 echo "Doing install-info in mpc" ; \
12816 (cd $(HOST_SUBDIR)/mpc && \
12817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12819 "RANLIB=$${RANLIB}" \
12820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12821 install-info) \
12822 || exit 1
12824 @endif mpc
12826 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12827 maybe-install-pdf-mpc:
12828 @if mpc
12829 maybe-install-pdf-mpc: install-pdf-mpc
12831 install-pdf-mpc: \
12832 configure-mpc \
12833 pdf-mpc
12834 @[ -f ./mpc/Makefile ] || exit 0; \
12835 r=`${PWD_COMMAND}`; export r; \
12836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12837 $(HOST_EXPORTS) \
12838 for flag in $(EXTRA_HOST_FLAGS) ; do \
12839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12840 done; \
12841 echo "Doing install-pdf in mpc" ; \
12842 (cd $(HOST_SUBDIR)/mpc && \
12843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12845 "RANLIB=$${RANLIB}" \
12846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12847 install-pdf) \
12848 || exit 1
12850 @endif mpc
12852 .PHONY: maybe-install-html-mpc install-html-mpc
12853 maybe-install-html-mpc:
12854 @if mpc
12855 maybe-install-html-mpc: install-html-mpc
12857 install-html-mpc: \
12858 configure-mpc \
12859 html-mpc
12860 @[ -f ./mpc/Makefile ] || exit 0; \
12861 r=`${PWD_COMMAND}`; export r; \
12862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12863 $(HOST_EXPORTS) \
12864 for flag in $(EXTRA_HOST_FLAGS) ; do \
12865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12866 done; \
12867 echo "Doing install-html in mpc" ; \
12868 (cd $(HOST_SUBDIR)/mpc && \
12869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12871 "RANLIB=$${RANLIB}" \
12872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12873 install-html) \
12874 || exit 1
12876 @endif mpc
12878 .PHONY: maybe-installcheck-mpc installcheck-mpc
12879 maybe-installcheck-mpc:
12880 @if mpc
12881 maybe-installcheck-mpc: installcheck-mpc
12883 installcheck-mpc: \
12884 configure-mpc
12885 @[ -f ./mpc/Makefile ] || exit 0; \
12886 r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 $(HOST_EXPORTS) \
12889 for flag in $(EXTRA_HOST_FLAGS) ; do \
12890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12891 done; \
12892 echo "Doing installcheck in mpc" ; \
12893 (cd $(HOST_SUBDIR)/mpc && \
12894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12896 "RANLIB=$${RANLIB}" \
12897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12898 installcheck) \
12899 || exit 1
12901 @endif mpc
12903 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12904 maybe-mostlyclean-mpc:
12905 @if mpc
12906 maybe-mostlyclean-mpc: mostlyclean-mpc
12908 mostlyclean-mpc:
12909 @[ -f ./mpc/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12912 $(HOST_EXPORTS) \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12915 done; \
12916 echo "Doing mostlyclean in mpc" ; \
12917 (cd $(HOST_SUBDIR)/mpc && \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12922 mostlyclean) \
12923 || exit 1
12925 @endif mpc
12927 .PHONY: maybe-clean-mpc clean-mpc
12928 maybe-clean-mpc:
12929 @if mpc
12930 maybe-clean-mpc: clean-mpc
12932 clean-mpc:
12933 @[ -f ./mpc/Makefile ] || exit 0; \
12934 r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(HOST_EXPORTS) \
12937 for flag in $(EXTRA_HOST_FLAGS) ; do \
12938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12939 done; \
12940 echo "Doing clean in mpc" ; \
12941 (cd $(HOST_SUBDIR)/mpc && \
12942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12944 "RANLIB=$${RANLIB}" \
12945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12946 clean) \
12947 || exit 1
12949 @endif mpc
12951 .PHONY: maybe-distclean-mpc distclean-mpc
12952 maybe-distclean-mpc:
12953 @if mpc
12954 maybe-distclean-mpc: distclean-mpc
12956 distclean-mpc:
12957 @[ -f ./mpc/Makefile ] || exit 0; \
12958 r=`${PWD_COMMAND}`; export r; \
12959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12960 $(HOST_EXPORTS) \
12961 for flag in $(EXTRA_HOST_FLAGS) ; do \
12962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12963 done; \
12964 echo "Doing distclean in mpc" ; \
12965 (cd $(HOST_SUBDIR)/mpc && \
12966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12968 "RANLIB=$${RANLIB}" \
12969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12970 distclean) \
12971 || exit 1
12973 @endif mpc
12975 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12976 maybe-maintainer-clean-mpc:
12977 @if mpc
12978 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12980 maintainer-clean-mpc:
12981 @[ -f ./mpc/Makefile ] || exit 0; \
12982 r=`${PWD_COMMAND}`; export r; \
12983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12984 $(HOST_EXPORTS) \
12985 for flag in $(EXTRA_HOST_FLAGS) ; do \
12986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 done; \
12988 echo "Doing maintainer-clean in mpc" ; \
12989 (cd $(HOST_SUBDIR)/mpc && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12992 "RANLIB=$${RANLIB}" \
12993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12994 maintainer-clean) \
12995 || exit 1
12997 @endif mpc
13001 .PHONY: configure-isl maybe-configure-isl
13002 maybe-configure-isl:
13003 @if gcc-bootstrap
13004 configure-isl: stage_current
13005 @endif gcc-bootstrap
13006 @if isl
13007 maybe-configure-isl: configure-isl
13008 configure-isl:
13009 @r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13013 $(HOST_EXPORTS) \
13014 echo Configuring in $(HOST_SUBDIR)/isl; \
13015 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13016 case $(srcdir) in \
13017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13018 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13020 esac; \
13021 srcdiroption="--srcdir=$${topdir}/isl"; \
13022 libsrcdir="$$s/isl"; \
13023 $(SHELL) $${libsrcdir}/configure \
13024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13025 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13026 || exit 1
13027 @endif isl
13031 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13032 maybe-configure-stage1-isl:
13033 @if isl-bootstrap
13034 maybe-configure-stage1-isl: configure-stage1-isl
13035 configure-stage1-isl:
13036 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13038 @r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 TFLAGS="$(STAGE1_TFLAGS)"; \
13041 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13042 $(HOST_EXPORTS) \
13043 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13044 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13045 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13046 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13048 cd $(HOST_SUBDIR)/isl || exit 1; \
13049 case $(srcdir) in \
13050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13051 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13053 esac; \
13054 srcdiroption="--srcdir=$${topdir}/isl"; \
13055 libsrcdir="$$s/isl"; \
13056 $(SHELL) $${libsrcdir}/configure \
13057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13058 --target=${target_alias} $${srcdiroption} \
13059 $(STAGE1_CONFIGURE_FLAGS) \
13060 --disable-shared @extra_isl_gmp_configure_flags@
13061 @endif isl-bootstrap
13063 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13064 maybe-configure-stage2-isl:
13065 @if isl-bootstrap
13066 maybe-configure-stage2-isl: configure-stage2-isl
13067 configure-stage2-isl:
13068 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13070 @r=`${PWD_COMMAND}`; export r; \
13071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13072 TFLAGS="$(STAGE2_TFLAGS)"; \
13073 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13074 $(HOST_EXPORTS) \
13075 $(POSTSTAGE1_HOST_EXPORTS) \
13076 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13077 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13078 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13079 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13081 cd $(HOST_SUBDIR)/isl || exit 1; \
13082 case $(srcdir) in \
13083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13084 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13086 esac; \
13087 srcdiroption="--srcdir=$${topdir}/isl"; \
13088 libsrcdir="$$s/isl"; \
13089 $(SHELL) $${libsrcdir}/configure \
13090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13091 --target=${target_alias} $${srcdiroption} \
13092 --with-build-libsubdir=$(HOST_SUBDIR) \
13093 $(STAGE2_CONFIGURE_FLAGS) \
13094 --disable-shared @extra_isl_gmp_configure_flags@
13095 @endif isl-bootstrap
13097 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13098 maybe-configure-stage3-isl:
13099 @if isl-bootstrap
13100 maybe-configure-stage3-isl: configure-stage3-isl
13101 configure-stage3-isl:
13102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13104 @r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 TFLAGS="$(STAGE3_TFLAGS)"; \
13107 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13108 $(HOST_EXPORTS) \
13109 $(POSTSTAGE1_HOST_EXPORTS) \
13110 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13111 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13112 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13113 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13115 cd $(HOST_SUBDIR)/isl || exit 1; \
13116 case $(srcdir) in \
13117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13118 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13120 esac; \
13121 srcdiroption="--srcdir=$${topdir}/isl"; \
13122 libsrcdir="$$s/isl"; \
13123 $(SHELL) $${libsrcdir}/configure \
13124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13125 --target=${target_alias} $${srcdiroption} \
13126 --with-build-libsubdir=$(HOST_SUBDIR) \
13127 $(STAGE3_CONFIGURE_FLAGS) \
13128 --disable-shared @extra_isl_gmp_configure_flags@
13129 @endif isl-bootstrap
13131 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13132 maybe-configure-stage4-isl:
13133 @if isl-bootstrap
13134 maybe-configure-stage4-isl: configure-stage4-isl
13135 configure-stage4-isl:
13136 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13137 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13138 @r=`${PWD_COMMAND}`; export r; \
13139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13140 TFLAGS="$(STAGE4_TFLAGS)"; \
13141 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13142 $(HOST_EXPORTS) \
13143 $(POSTSTAGE1_HOST_EXPORTS) \
13144 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13145 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13146 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13147 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13149 cd $(HOST_SUBDIR)/isl || exit 1; \
13150 case $(srcdir) in \
13151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13152 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13154 esac; \
13155 srcdiroption="--srcdir=$${topdir}/isl"; \
13156 libsrcdir="$$s/isl"; \
13157 $(SHELL) $${libsrcdir}/configure \
13158 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13159 --target=${target_alias} $${srcdiroption} \
13160 --with-build-libsubdir=$(HOST_SUBDIR) \
13161 $(STAGE4_CONFIGURE_FLAGS) \
13162 --disable-shared @extra_isl_gmp_configure_flags@
13163 @endif isl-bootstrap
13165 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13166 maybe-configure-stageprofile-isl:
13167 @if isl-bootstrap
13168 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13169 configure-stageprofile-isl:
13170 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13175 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13176 $(HOST_EXPORTS) \
13177 $(POSTSTAGE1_HOST_EXPORTS) \
13178 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13179 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13180 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13181 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13183 cd $(HOST_SUBDIR)/isl || exit 1; \
13184 case $(srcdir) in \
13185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13186 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13188 esac; \
13189 srcdiroption="--srcdir=$${topdir}/isl"; \
13190 libsrcdir="$$s/isl"; \
13191 $(SHELL) $${libsrcdir}/configure \
13192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13193 --target=${target_alias} $${srcdiroption} \
13194 --with-build-libsubdir=$(HOST_SUBDIR) \
13195 $(STAGEprofile_CONFIGURE_FLAGS) \
13196 --disable-shared @extra_isl_gmp_configure_flags@
13197 @endif isl-bootstrap
13199 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13200 maybe-configure-stagefeedback-isl:
13201 @if isl-bootstrap
13202 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13203 configure-stagefeedback-isl:
13204 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13206 @r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13209 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13210 $(HOST_EXPORTS) \
13211 $(POSTSTAGE1_HOST_EXPORTS) \
13212 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13213 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13214 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13215 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13217 cd $(HOST_SUBDIR)/isl || exit 1; \
13218 case $(srcdir) in \
13219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13220 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13222 esac; \
13223 srcdiroption="--srcdir=$${topdir}/isl"; \
13224 libsrcdir="$$s/isl"; \
13225 $(SHELL) $${libsrcdir}/configure \
13226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13227 --target=${target_alias} $${srcdiroption} \
13228 --with-build-libsubdir=$(HOST_SUBDIR) \
13229 $(STAGEfeedback_CONFIGURE_FLAGS) \
13230 --disable-shared @extra_isl_gmp_configure_flags@
13231 @endif isl-bootstrap
13237 .PHONY: all-isl maybe-all-isl
13238 maybe-all-isl:
13239 @if gcc-bootstrap
13240 all-isl: stage_current
13241 @endif gcc-bootstrap
13242 @if isl
13243 TARGET-isl=all
13244 maybe-all-isl: all-isl
13245 all-isl: configure-isl
13246 @r=`${PWD_COMMAND}`; export r; \
13247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13248 $(HOST_EXPORTS) \
13249 (cd $(HOST_SUBDIR)/isl && \
13250 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13251 $(TARGET-isl))
13252 @endif isl
13256 .PHONY: all-stage1-isl maybe-all-stage1-isl
13257 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13258 maybe-all-stage1-isl:
13259 maybe-clean-stage1-isl:
13260 @if isl-bootstrap
13261 maybe-all-stage1-isl: all-stage1-isl
13262 all-stage1: all-stage1-isl
13263 TARGET-stage1-isl = $(TARGET-isl)
13264 all-stage1-isl: configure-stage1-isl
13265 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13266 @r=`${PWD_COMMAND}`; export r; \
13267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13268 TFLAGS="$(STAGE1_TFLAGS)"; \
13269 $(HOST_EXPORTS) \
13270 cd $(HOST_SUBDIR)/isl && \
13271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13272 CFLAGS="$(STAGE1_CFLAGS)" \
13273 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13274 LIBCFLAGS="$(LIBCFLAGS)" \
13275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13278 $(EXTRA_HOST_FLAGS) \
13279 $(STAGE1_FLAGS_TO_PASS) V=1 \
13280 TFLAGS="$(STAGE1_TFLAGS)" \
13281 $(TARGET-stage1-isl)
13283 maybe-clean-stage1-isl: clean-stage1-isl
13284 clean-stage1: clean-stage1-isl
13285 clean-stage1-isl:
13286 @if [ $(current_stage) = stage1 ]; then \
13287 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13288 else \
13289 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13290 $(MAKE) stage1-start; \
13291 fi; \
13292 cd $(HOST_SUBDIR)/isl && \
13293 $(MAKE) $(EXTRA_HOST_FLAGS) \
13294 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13295 @endif isl-bootstrap
13298 .PHONY: all-stage2-isl maybe-all-stage2-isl
13299 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13300 maybe-all-stage2-isl:
13301 maybe-clean-stage2-isl:
13302 @if isl-bootstrap
13303 maybe-all-stage2-isl: all-stage2-isl
13304 all-stage2: all-stage2-isl
13305 TARGET-stage2-isl = $(TARGET-isl)
13306 all-stage2-isl: configure-stage2-isl
13307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13308 @r=`${PWD_COMMAND}`; export r; \
13309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13310 TFLAGS="$(STAGE2_TFLAGS)"; \
13311 $(HOST_EXPORTS) \
13312 $(POSTSTAGE1_HOST_EXPORTS) \
13313 cd $(HOST_SUBDIR)/isl && \
13314 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13315 CFLAGS="$(STAGE2_CFLAGS)" \
13316 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13317 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13322 TFLAGS="$(STAGE2_TFLAGS)" \
13323 $(TARGET-stage2-isl)
13325 maybe-clean-stage2-isl: clean-stage2-isl
13326 clean-stage2: clean-stage2-isl
13327 clean-stage2-isl:
13328 @if [ $(current_stage) = stage2 ]; then \
13329 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13330 else \
13331 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13332 $(MAKE) stage2-start; \
13333 fi; \
13334 cd $(HOST_SUBDIR)/isl && \
13335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13336 @endif isl-bootstrap
13339 .PHONY: all-stage3-isl maybe-all-stage3-isl
13340 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13341 maybe-all-stage3-isl:
13342 maybe-clean-stage3-isl:
13343 @if isl-bootstrap
13344 maybe-all-stage3-isl: all-stage3-isl
13345 all-stage3: all-stage3-isl
13346 TARGET-stage3-isl = $(TARGET-isl)
13347 all-stage3-isl: configure-stage3-isl
13348 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13349 @r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 TFLAGS="$(STAGE3_TFLAGS)"; \
13352 $(HOST_EXPORTS) \
13353 $(POSTSTAGE1_HOST_EXPORTS) \
13354 cd $(HOST_SUBDIR)/isl && \
13355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13356 CFLAGS="$(STAGE3_CFLAGS)" \
13357 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13358 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13359 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13360 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13361 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13362 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13363 TFLAGS="$(STAGE3_TFLAGS)" \
13364 $(TARGET-stage3-isl)
13366 maybe-clean-stage3-isl: clean-stage3-isl
13367 clean-stage3: clean-stage3-isl
13368 clean-stage3-isl:
13369 @if [ $(current_stage) = stage3 ]; then \
13370 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13371 else \
13372 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13373 $(MAKE) stage3-start; \
13374 fi; \
13375 cd $(HOST_SUBDIR)/isl && \
13376 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13377 @endif isl-bootstrap
13380 .PHONY: all-stage4-isl maybe-all-stage4-isl
13381 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13382 maybe-all-stage4-isl:
13383 maybe-clean-stage4-isl:
13384 @if isl-bootstrap
13385 maybe-all-stage4-isl: all-stage4-isl
13386 all-stage4: all-stage4-isl
13387 TARGET-stage4-isl = $(TARGET-isl)
13388 all-stage4-isl: configure-stage4-isl
13389 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13390 @r=`${PWD_COMMAND}`; export r; \
13391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13392 TFLAGS="$(STAGE4_TFLAGS)"; \
13393 $(HOST_EXPORTS) \
13394 $(POSTSTAGE1_HOST_EXPORTS) \
13395 cd $(HOST_SUBDIR)/isl && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13397 CFLAGS="$(STAGE4_CFLAGS)" \
13398 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13399 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13403 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13404 TFLAGS="$(STAGE4_TFLAGS)" \
13405 $(TARGET-stage4-isl)
13407 maybe-clean-stage4-isl: clean-stage4-isl
13408 clean-stage4: clean-stage4-isl
13409 clean-stage4-isl:
13410 @if [ $(current_stage) = stage4 ]; then \
13411 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13412 else \
13413 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13414 $(MAKE) stage4-start; \
13415 fi; \
13416 cd $(HOST_SUBDIR)/isl && \
13417 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13418 @endif isl-bootstrap
13421 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13422 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13423 maybe-all-stageprofile-isl:
13424 maybe-clean-stageprofile-isl:
13425 @if isl-bootstrap
13426 maybe-all-stageprofile-isl: all-stageprofile-isl
13427 all-stageprofile: all-stageprofile-isl
13428 TARGET-stageprofile-isl = $(TARGET-isl)
13429 all-stageprofile-isl: configure-stageprofile-isl
13430 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13431 @r=`${PWD_COMMAND}`; export r; \
13432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13433 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13434 $(HOST_EXPORTS) \
13435 $(POSTSTAGE1_HOST_EXPORTS) \
13436 cd $(HOST_SUBDIR)/isl && \
13437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13438 CFLAGS="$(STAGEprofile_CFLAGS)" \
13439 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13440 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13444 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13445 TFLAGS="$(STAGEprofile_TFLAGS)" \
13446 $(TARGET-stageprofile-isl)
13448 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13449 clean-stageprofile: clean-stageprofile-isl
13450 clean-stageprofile-isl:
13451 @if [ $(current_stage) = stageprofile ]; then \
13452 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13453 else \
13454 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13455 $(MAKE) stageprofile-start; \
13456 fi; \
13457 cd $(HOST_SUBDIR)/isl && \
13458 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13459 @endif isl-bootstrap
13462 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13463 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13464 maybe-all-stagefeedback-isl:
13465 maybe-clean-stagefeedback-isl:
13466 @if isl-bootstrap
13467 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13468 all-stagefeedback: all-stagefeedback-isl
13469 TARGET-stagefeedback-isl = $(TARGET-isl)
13470 all-stagefeedback-isl: configure-stagefeedback-isl
13471 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13472 @r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13475 $(HOST_EXPORTS) \
13476 $(POSTSTAGE1_HOST_EXPORTS) \
13477 cd $(HOST_SUBDIR)/isl && \
13478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13479 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13480 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13481 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13486 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13487 $(TARGET-stagefeedback-isl)
13489 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13490 clean-stagefeedback: clean-stagefeedback-isl
13491 clean-stagefeedback-isl:
13492 @if [ $(current_stage) = stagefeedback ]; then \
13493 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13494 else \
13495 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13496 $(MAKE) stagefeedback-start; \
13497 fi; \
13498 cd $(HOST_SUBDIR)/isl && \
13499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13500 @endif isl-bootstrap
13506 .PHONY: check-isl maybe-check-isl
13507 maybe-check-isl:
13508 @if isl
13509 maybe-check-isl: check-isl
13511 check-isl:
13512 @: $(MAKE); $(unstage)
13513 @r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 (cd $(HOST_SUBDIR)/isl && \
13517 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13519 @endif isl
13521 .PHONY: install-isl maybe-install-isl
13522 maybe-install-isl:
13523 @if isl
13524 maybe-install-isl: install-isl
13526 install-isl:
13528 @endif isl
13530 .PHONY: install-strip-isl maybe-install-strip-isl
13531 maybe-install-strip-isl:
13532 @if isl
13533 maybe-install-strip-isl: install-strip-isl
13535 install-strip-isl:
13537 @endif isl
13539 # Other targets (info, dvi, pdf, etc.)
13541 .PHONY: maybe-info-isl info-isl
13542 maybe-info-isl:
13543 @if isl
13544 maybe-info-isl: info-isl
13546 info-isl: \
13547 configure-isl
13548 @[ -f ./isl/Makefile ] || exit 0; \
13549 r=`${PWD_COMMAND}`; export r; \
13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551 $(HOST_EXPORTS) \
13552 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 done; \
13555 echo "Doing info in isl" ; \
13556 (cd $(HOST_SUBDIR)/isl && \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559 "RANLIB=$${RANLIB}" \
13560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13561 info) \
13562 || exit 1
13564 @endif isl
13566 .PHONY: maybe-dvi-isl dvi-isl
13567 maybe-dvi-isl:
13568 @if isl
13569 maybe-dvi-isl: dvi-isl
13571 dvi-isl: \
13572 configure-isl
13573 @[ -f ./isl/Makefile ] || exit 0; \
13574 r=`${PWD_COMMAND}`; export r; \
13575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13576 $(HOST_EXPORTS) \
13577 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13579 done; \
13580 echo "Doing dvi in isl" ; \
13581 (cd $(HOST_SUBDIR)/isl && \
13582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13584 "RANLIB=$${RANLIB}" \
13585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13586 dvi) \
13587 || exit 1
13589 @endif isl
13591 .PHONY: maybe-pdf-isl pdf-isl
13592 maybe-pdf-isl:
13593 @if isl
13594 maybe-pdf-isl: pdf-isl
13596 pdf-isl: \
13597 configure-isl
13598 @[ -f ./isl/Makefile ] || exit 0; \
13599 r=`${PWD_COMMAND}`; export r; \
13600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13601 $(HOST_EXPORTS) \
13602 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13604 done; \
13605 echo "Doing pdf in isl" ; \
13606 (cd $(HOST_SUBDIR)/isl && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13609 "RANLIB=$${RANLIB}" \
13610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13611 pdf) \
13612 || exit 1
13614 @endif isl
13616 .PHONY: maybe-html-isl html-isl
13617 maybe-html-isl:
13618 @if isl
13619 maybe-html-isl: html-isl
13621 html-isl: \
13622 configure-isl
13623 @[ -f ./isl/Makefile ] || exit 0; \
13624 r=`${PWD_COMMAND}`; export r; \
13625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13626 $(HOST_EXPORTS) \
13627 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13629 done; \
13630 echo "Doing html in isl" ; \
13631 (cd $(HOST_SUBDIR)/isl && \
13632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13634 "RANLIB=$${RANLIB}" \
13635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13636 html) \
13637 || exit 1
13639 @endif isl
13641 .PHONY: maybe-TAGS-isl TAGS-isl
13642 maybe-TAGS-isl:
13643 @if isl
13644 maybe-TAGS-isl: TAGS-isl
13646 TAGS-isl: \
13647 configure-isl
13648 @[ -f ./isl/Makefile ] || exit 0; \
13649 r=`${PWD_COMMAND}`; export r; \
13650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13651 $(HOST_EXPORTS) \
13652 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13654 done; \
13655 echo "Doing TAGS in isl" ; \
13656 (cd $(HOST_SUBDIR)/isl && \
13657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13659 "RANLIB=$${RANLIB}" \
13660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13661 TAGS) \
13662 || exit 1
13664 @endif isl
13666 .PHONY: maybe-install-info-isl install-info-isl
13667 maybe-install-info-isl:
13668 @if isl
13669 maybe-install-info-isl: install-info-isl
13671 install-info-isl: \
13672 configure-isl \
13673 info-isl
13674 @[ -f ./isl/Makefile ] || exit 0; \
13675 r=`${PWD_COMMAND}`; export r; \
13676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13677 $(HOST_EXPORTS) \
13678 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13680 done; \
13681 echo "Doing install-info in isl" ; \
13682 (cd $(HOST_SUBDIR)/isl && \
13683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13685 "RANLIB=$${RANLIB}" \
13686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13687 install-info) \
13688 || exit 1
13690 @endif isl
13692 .PHONY: maybe-install-pdf-isl install-pdf-isl
13693 maybe-install-pdf-isl:
13694 @if isl
13695 maybe-install-pdf-isl: install-pdf-isl
13697 install-pdf-isl: \
13698 configure-isl \
13699 pdf-isl
13700 @[ -f ./isl/Makefile ] || exit 0; \
13701 r=`${PWD_COMMAND}`; export r; \
13702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13703 $(HOST_EXPORTS) \
13704 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13706 done; \
13707 echo "Doing install-pdf in isl" ; \
13708 (cd $(HOST_SUBDIR)/isl && \
13709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13711 "RANLIB=$${RANLIB}" \
13712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13713 install-pdf) \
13714 || exit 1
13716 @endif isl
13718 .PHONY: maybe-install-html-isl install-html-isl
13719 maybe-install-html-isl:
13720 @if isl
13721 maybe-install-html-isl: install-html-isl
13723 install-html-isl: \
13724 configure-isl \
13725 html-isl
13726 @[ -f ./isl/Makefile ] || exit 0; \
13727 r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(HOST_EXPORTS) \
13730 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13732 done; \
13733 echo "Doing install-html in isl" ; \
13734 (cd $(HOST_SUBDIR)/isl && \
13735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13737 "RANLIB=$${RANLIB}" \
13738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13739 install-html) \
13740 || exit 1
13742 @endif isl
13744 .PHONY: maybe-installcheck-isl installcheck-isl
13745 maybe-installcheck-isl:
13746 @if isl
13747 maybe-installcheck-isl: installcheck-isl
13749 installcheck-isl: \
13750 configure-isl
13751 @[ -f ./isl/Makefile ] || exit 0; \
13752 r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13754 $(HOST_EXPORTS) \
13755 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13757 done; \
13758 echo "Doing installcheck in isl" ; \
13759 (cd $(HOST_SUBDIR)/isl && \
13760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13762 "RANLIB=$${RANLIB}" \
13763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13764 installcheck) \
13765 || exit 1
13767 @endif isl
13769 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13770 maybe-mostlyclean-isl:
13771 @if isl
13772 maybe-mostlyclean-isl: mostlyclean-isl
13774 mostlyclean-isl:
13775 @[ -f ./isl/Makefile ] || exit 0; \
13776 r=`${PWD_COMMAND}`; export r; \
13777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13778 $(HOST_EXPORTS) \
13779 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13781 done; \
13782 echo "Doing mostlyclean in isl" ; \
13783 (cd $(HOST_SUBDIR)/isl && \
13784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13786 "RANLIB=$${RANLIB}" \
13787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13788 mostlyclean) \
13789 || exit 1
13791 @endif isl
13793 .PHONY: maybe-clean-isl clean-isl
13794 maybe-clean-isl:
13795 @if isl
13796 maybe-clean-isl: clean-isl
13798 clean-isl:
13799 @[ -f ./isl/Makefile ] || exit 0; \
13800 r=`${PWD_COMMAND}`; export r; \
13801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13802 $(HOST_EXPORTS) \
13803 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13805 done; \
13806 echo "Doing clean in isl" ; \
13807 (cd $(HOST_SUBDIR)/isl && \
13808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13810 "RANLIB=$${RANLIB}" \
13811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13812 clean) \
13813 || exit 1
13815 @endif isl
13817 .PHONY: maybe-distclean-isl distclean-isl
13818 maybe-distclean-isl:
13819 @if isl
13820 maybe-distclean-isl: distclean-isl
13822 distclean-isl:
13823 @[ -f ./isl/Makefile ] || exit 0; \
13824 r=`${PWD_COMMAND}`; export r; \
13825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13826 $(HOST_EXPORTS) \
13827 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13829 done; \
13830 echo "Doing distclean in isl" ; \
13831 (cd $(HOST_SUBDIR)/isl && \
13832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13834 "RANLIB=$${RANLIB}" \
13835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13836 distclean) \
13837 || exit 1
13839 @endif isl
13841 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13842 maybe-maintainer-clean-isl:
13843 @if isl
13844 maybe-maintainer-clean-isl: maintainer-clean-isl
13846 maintainer-clean-isl:
13847 @[ -f ./isl/Makefile ] || exit 0; \
13848 r=`${PWD_COMMAND}`; export r; \
13849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13850 $(HOST_EXPORTS) \
13851 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13853 done; \
13854 echo "Doing maintainer-clean in isl" ; \
13855 (cd $(HOST_SUBDIR)/isl && \
13856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13858 "RANLIB=$${RANLIB}" \
13859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13860 maintainer-clean) \
13861 || exit 1
13863 @endif isl
13867 .PHONY: configure-cloog maybe-configure-cloog
13868 maybe-configure-cloog:
13869 @if gcc-bootstrap
13870 configure-cloog: stage_current
13871 @endif gcc-bootstrap
13872 @if cloog
13873 maybe-configure-cloog: configure-cloog
13874 configure-cloog:
13875 @r=`${PWD_COMMAND}`; export r; \
13876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13877 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13879 $(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; \
13880 echo Configuring in $(HOST_SUBDIR)/cloog; \
13881 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13882 case $(srcdir) in \
13883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13884 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13886 esac; \
13887 srcdiroption="--srcdir=$${topdir}/cloog"; \
13888 libsrcdir="$$s/cloog"; \
13889 $(SHELL) $${libsrcdir}/configure \
13890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13891 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13892 || exit 1
13893 @endif cloog
13897 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13898 maybe-configure-stage1-cloog:
13899 @if cloog-bootstrap
13900 maybe-configure-stage1-cloog: configure-stage1-cloog
13901 configure-stage1-cloog:
13902 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13904 @r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13906 TFLAGS="$(STAGE1_TFLAGS)"; \
13907 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13908 $(HOST_EXPORTS) \
13909 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13910 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13911 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; \
13912 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13914 cd $(HOST_SUBDIR)/cloog || exit 1; \
13915 case $(srcdir) in \
13916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13917 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13919 esac; \
13920 srcdiroption="--srcdir=$${topdir}/cloog"; \
13921 libsrcdir="$$s/cloog"; \
13922 $(SHELL) $${libsrcdir}/configure \
13923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13924 --target=${target_alias} $${srcdiroption} \
13925 $(STAGE1_CONFIGURE_FLAGS) \
13926 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13927 @endif cloog-bootstrap
13929 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13930 maybe-configure-stage2-cloog:
13931 @if cloog-bootstrap
13932 maybe-configure-stage2-cloog: configure-stage2-cloog
13933 configure-stage2-cloog:
13934 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13936 @r=`${PWD_COMMAND}`; export r; \
13937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13938 TFLAGS="$(STAGE2_TFLAGS)"; \
13939 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13940 $(HOST_EXPORTS) \
13941 $(POSTSTAGE1_HOST_EXPORTS) \
13942 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13943 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13944 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; \
13945 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13947 cd $(HOST_SUBDIR)/cloog || exit 1; \
13948 case $(srcdir) in \
13949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13950 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13952 esac; \
13953 srcdiroption="--srcdir=$${topdir}/cloog"; \
13954 libsrcdir="$$s/cloog"; \
13955 $(SHELL) $${libsrcdir}/configure \
13956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13957 --target=${target_alias} $${srcdiroption} \
13958 --with-build-libsubdir=$(HOST_SUBDIR) \
13959 $(STAGE2_CONFIGURE_FLAGS) \
13960 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13961 @endif cloog-bootstrap
13963 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13964 maybe-configure-stage3-cloog:
13965 @if cloog-bootstrap
13966 maybe-configure-stage3-cloog: configure-stage3-cloog
13967 configure-stage3-cloog:
13968 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13970 @r=`${PWD_COMMAND}`; export r; \
13971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13972 TFLAGS="$(STAGE3_TFLAGS)"; \
13973 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13974 $(HOST_EXPORTS) \
13975 $(POSTSTAGE1_HOST_EXPORTS) \
13976 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13977 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13978 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; \
13979 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13981 cd $(HOST_SUBDIR)/cloog || exit 1; \
13982 case $(srcdir) in \
13983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13984 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13986 esac; \
13987 srcdiroption="--srcdir=$${topdir}/cloog"; \
13988 libsrcdir="$$s/cloog"; \
13989 $(SHELL) $${libsrcdir}/configure \
13990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13991 --target=${target_alias} $${srcdiroption} \
13992 --with-build-libsubdir=$(HOST_SUBDIR) \
13993 $(STAGE3_CONFIGURE_FLAGS) \
13994 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13995 @endif cloog-bootstrap
13997 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13998 maybe-configure-stage4-cloog:
13999 @if cloog-bootstrap
14000 maybe-configure-stage4-cloog: configure-stage4-cloog
14001 configure-stage4-cloog:
14002 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14004 @r=`${PWD_COMMAND}`; export r; \
14005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14006 TFLAGS="$(STAGE4_TFLAGS)"; \
14007 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14008 $(HOST_EXPORTS) \
14009 $(POSTSTAGE1_HOST_EXPORTS) \
14010 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14011 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14012 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; \
14013 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14015 cd $(HOST_SUBDIR)/cloog || exit 1; \
14016 case $(srcdir) in \
14017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14018 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14020 esac; \
14021 srcdiroption="--srcdir=$${topdir}/cloog"; \
14022 libsrcdir="$$s/cloog"; \
14023 $(SHELL) $${libsrcdir}/configure \
14024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14025 --target=${target_alias} $${srcdiroption} \
14026 --with-build-libsubdir=$(HOST_SUBDIR) \
14027 $(STAGE4_CONFIGURE_FLAGS) \
14028 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14029 @endif cloog-bootstrap
14031 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14032 maybe-configure-stageprofile-cloog:
14033 @if cloog-bootstrap
14034 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14035 configure-stageprofile-cloog:
14036 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14038 @r=`${PWD_COMMAND}`; export r; \
14039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14040 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14041 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14042 $(HOST_EXPORTS) \
14043 $(POSTSTAGE1_HOST_EXPORTS) \
14044 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14045 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14046 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; \
14047 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14049 cd $(HOST_SUBDIR)/cloog || exit 1; \
14050 case $(srcdir) in \
14051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14052 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14054 esac; \
14055 srcdiroption="--srcdir=$${topdir}/cloog"; \
14056 libsrcdir="$$s/cloog"; \
14057 $(SHELL) $${libsrcdir}/configure \
14058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14059 --target=${target_alias} $${srcdiroption} \
14060 --with-build-libsubdir=$(HOST_SUBDIR) \
14061 $(STAGEprofile_CONFIGURE_FLAGS) \
14062 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14063 @endif cloog-bootstrap
14065 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14066 maybe-configure-stagefeedback-cloog:
14067 @if cloog-bootstrap
14068 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14069 configure-stagefeedback-cloog:
14070 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14071 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14072 @r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14075 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14076 $(HOST_EXPORTS) \
14077 $(POSTSTAGE1_HOST_EXPORTS) \
14078 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14079 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14080 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; \
14081 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14083 cd $(HOST_SUBDIR)/cloog || exit 1; \
14084 case $(srcdir) in \
14085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14086 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14088 esac; \
14089 srcdiroption="--srcdir=$${topdir}/cloog"; \
14090 libsrcdir="$$s/cloog"; \
14091 $(SHELL) $${libsrcdir}/configure \
14092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14093 --target=${target_alias} $${srcdiroption} \
14094 --with-build-libsubdir=$(HOST_SUBDIR) \
14095 $(STAGEfeedback_CONFIGURE_FLAGS) \
14096 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14097 @endif cloog-bootstrap
14103 .PHONY: all-cloog maybe-all-cloog
14104 maybe-all-cloog:
14105 @if gcc-bootstrap
14106 all-cloog: stage_current
14107 @endif gcc-bootstrap
14108 @if cloog
14109 TARGET-cloog=all
14110 maybe-all-cloog: all-cloog
14111 all-cloog: configure-cloog
14112 @r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 $(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; \
14115 (cd $(HOST_SUBDIR)/cloog && \
14116 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14117 $(TARGET-cloog))
14118 @endif cloog
14122 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14123 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14124 maybe-all-stage1-cloog:
14125 maybe-clean-stage1-cloog:
14126 @if cloog-bootstrap
14127 maybe-all-stage1-cloog: all-stage1-cloog
14128 all-stage1: all-stage1-cloog
14129 TARGET-stage1-cloog = $(TARGET-cloog)
14130 all-stage1-cloog: configure-stage1-cloog
14131 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14132 @r=`${PWD_COMMAND}`; export r; \
14133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14134 TFLAGS="$(STAGE1_TFLAGS)"; \
14135 $(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; \
14136 cd $(HOST_SUBDIR)/cloog && \
14137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14138 CFLAGS="$(STAGE1_CFLAGS)" \
14139 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14140 LIBCFLAGS="$(LIBCFLAGS)" \
14141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14144 $(EXTRA_HOST_FLAGS) \
14145 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14146 TFLAGS="$(STAGE1_TFLAGS)" \
14147 $(TARGET-stage1-cloog)
14149 maybe-clean-stage1-cloog: clean-stage1-cloog
14150 clean-stage1: clean-stage1-cloog
14151 clean-stage1-cloog:
14152 @if [ $(current_stage) = stage1 ]; then \
14153 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14154 else \
14155 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14156 $(MAKE) stage1-start; \
14157 fi; \
14158 cd $(HOST_SUBDIR)/cloog && \
14159 $(MAKE) $(EXTRA_HOST_FLAGS) \
14160 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14161 @endif cloog-bootstrap
14164 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14165 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14166 maybe-all-stage2-cloog:
14167 maybe-clean-stage2-cloog:
14168 @if cloog-bootstrap
14169 maybe-all-stage2-cloog: all-stage2-cloog
14170 all-stage2: all-stage2-cloog
14171 TARGET-stage2-cloog = $(TARGET-cloog)
14172 all-stage2-cloog: configure-stage2-cloog
14173 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14174 @r=`${PWD_COMMAND}`; export r; \
14175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14176 TFLAGS="$(STAGE2_TFLAGS)"; \
14177 $(HOST_EXPORTS) \
14178 $(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; \
14179 cd $(HOST_SUBDIR)/cloog && \
14180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14181 CFLAGS="$(STAGE2_CFLAGS)" \
14182 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14183 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14188 TFLAGS="$(STAGE2_TFLAGS)" \
14189 $(TARGET-stage2-cloog)
14191 maybe-clean-stage2-cloog: clean-stage2-cloog
14192 clean-stage2: clean-stage2-cloog
14193 clean-stage2-cloog:
14194 @if [ $(current_stage) = stage2 ]; then \
14195 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14196 else \
14197 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14198 $(MAKE) stage2-start; \
14199 fi; \
14200 cd $(HOST_SUBDIR)/cloog && \
14201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14202 @endif cloog-bootstrap
14205 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14206 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14207 maybe-all-stage3-cloog:
14208 maybe-clean-stage3-cloog:
14209 @if cloog-bootstrap
14210 maybe-all-stage3-cloog: all-stage3-cloog
14211 all-stage3: all-stage3-cloog
14212 TARGET-stage3-cloog = $(TARGET-cloog)
14213 all-stage3-cloog: configure-stage3-cloog
14214 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14215 @r=`${PWD_COMMAND}`; export r; \
14216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14217 TFLAGS="$(STAGE3_TFLAGS)"; \
14218 $(HOST_EXPORTS) \
14219 $(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; \
14220 cd $(HOST_SUBDIR)/cloog && \
14221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14222 CFLAGS="$(STAGE3_CFLAGS)" \
14223 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14224 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14225 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14226 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14227 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14228 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14229 TFLAGS="$(STAGE3_TFLAGS)" \
14230 $(TARGET-stage3-cloog)
14232 maybe-clean-stage3-cloog: clean-stage3-cloog
14233 clean-stage3: clean-stage3-cloog
14234 clean-stage3-cloog:
14235 @if [ $(current_stage) = stage3 ]; then \
14236 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14237 else \
14238 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14239 $(MAKE) stage3-start; \
14240 fi; \
14241 cd $(HOST_SUBDIR)/cloog && \
14242 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14243 @endif cloog-bootstrap
14246 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14247 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14248 maybe-all-stage4-cloog:
14249 maybe-clean-stage4-cloog:
14250 @if cloog-bootstrap
14251 maybe-all-stage4-cloog: all-stage4-cloog
14252 all-stage4: all-stage4-cloog
14253 TARGET-stage4-cloog = $(TARGET-cloog)
14254 all-stage4-cloog: configure-stage4-cloog
14255 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14256 @r=`${PWD_COMMAND}`; export r; \
14257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14258 TFLAGS="$(STAGE4_TFLAGS)"; \
14259 $(HOST_EXPORTS) \
14260 $(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; \
14261 cd $(HOST_SUBDIR)/cloog && \
14262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14263 CFLAGS="$(STAGE4_CFLAGS)" \
14264 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14265 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14270 TFLAGS="$(STAGE4_TFLAGS)" \
14271 $(TARGET-stage4-cloog)
14273 maybe-clean-stage4-cloog: clean-stage4-cloog
14274 clean-stage4: clean-stage4-cloog
14275 clean-stage4-cloog:
14276 @if [ $(current_stage) = stage4 ]; then \
14277 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14278 else \
14279 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14280 $(MAKE) stage4-start; \
14281 fi; \
14282 cd $(HOST_SUBDIR)/cloog && \
14283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14284 @endif cloog-bootstrap
14287 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14288 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14289 maybe-all-stageprofile-cloog:
14290 maybe-clean-stageprofile-cloog:
14291 @if cloog-bootstrap
14292 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14293 all-stageprofile: all-stageprofile-cloog
14294 TARGET-stageprofile-cloog = $(TARGET-cloog)
14295 all-stageprofile-cloog: configure-stageprofile-cloog
14296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14297 @r=`${PWD_COMMAND}`; export r; \
14298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14299 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14300 $(HOST_EXPORTS) \
14301 $(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; \
14302 cd $(HOST_SUBDIR)/cloog && \
14303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14304 CFLAGS="$(STAGEprofile_CFLAGS)" \
14305 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14306 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14311 TFLAGS="$(STAGEprofile_TFLAGS)" \
14312 $(TARGET-stageprofile-cloog)
14314 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14315 clean-stageprofile: clean-stageprofile-cloog
14316 clean-stageprofile-cloog:
14317 @if [ $(current_stage) = stageprofile ]; then \
14318 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14319 else \
14320 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14321 $(MAKE) stageprofile-start; \
14322 fi; \
14323 cd $(HOST_SUBDIR)/cloog && \
14324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14325 @endif cloog-bootstrap
14328 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14329 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14330 maybe-all-stagefeedback-cloog:
14331 maybe-clean-stagefeedback-cloog:
14332 @if cloog-bootstrap
14333 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14334 all-stagefeedback: all-stagefeedback-cloog
14335 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14336 all-stagefeedback-cloog: configure-stagefeedback-cloog
14337 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14338 @r=`${PWD_COMMAND}`; export r; \
14339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14341 $(HOST_EXPORTS) \
14342 $(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; \
14343 cd $(HOST_SUBDIR)/cloog && \
14344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14345 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14346 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14347 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14352 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14353 $(TARGET-stagefeedback-cloog)
14355 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14356 clean-stagefeedback: clean-stagefeedback-cloog
14357 clean-stagefeedback-cloog:
14358 @if [ $(current_stage) = stagefeedback ]; then \
14359 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14360 else \
14361 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14362 $(MAKE) stagefeedback-start; \
14363 fi; \
14364 cd $(HOST_SUBDIR)/cloog && \
14365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14366 @endif cloog-bootstrap
14372 .PHONY: check-cloog maybe-check-cloog
14373 maybe-check-cloog:
14374 @if cloog
14375 maybe-check-cloog: check-cloog
14377 check-cloog:
14378 @: $(MAKE); $(unstage)
14379 @r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14381 $(HOST_EXPORTS) \
14382 (cd $(HOST_SUBDIR)/cloog && \
14383 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14385 @endif cloog
14387 .PHONY: install-cloog maybe-install-cloog
14388 maybe-install-cloog:
14389 @if cloog
14390 maybe-install-cloog: install-cloog
14392 install-cloog:
14394 @endif cloog
14396 .PHONY: install-strip-cloog maybe-install-strip-cloog
14397 maybe-install-strip-cloog:
14398 @if cloog
14399 maybe-install-strip-cloog: install-strip-cloog
14401 install-strip-cloog:
14403 @endif cloog
14405 # Other targets (info, dvi, pdf, etc.)
14407 .PHONY: maybe-info-cloog info-cloog
14408 maybe-info-cloog:
14409 @if cloog
14410 maybe-info-cloog: info-cloog
14412 info-cloog: \
14413 configure-cloog
14414 @[ -f ./cloog/Makefile ] || exit 0; \
14415 r=`${PWD_COMMAND}`; export r; \
14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14417 $(HOST_EXPORTS) \
14418 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14420 done; \
14421 echo "Doing info in cloog" ; \
14422 (cd $(HOST_SUBDIR)/cloog && \
14423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14425 "RANLIB=$${RANLIB}" \
14426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14427 info) \
14428 || exit 1
14430 @endif cloog
14432 .PHONY: maybe-dvi-cloog dvi-cloog
14433 maybe-dvi-cloog:
14434 @if cloog
14435 maybe-dvi-cloog: dvi-cloog
14437 dvi-cloog: \
14438 configure-cloog
14439 @[ -f ./cloog/Makefile ] || exit 0; \
14440 r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 $(HOST_EXPORTS) \
14443 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14445 done; \
14446 echo "Doing dvi in cloog" ; \
14447 (cd $(HOST_SUBDIR)/cloog && \
14448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14450 "RANLIB=$${RANLIB}" \
14451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14452 dvi) \
14453 || exit 1
14455 @endif cloog
14457 .PHONY: maybe-pdf-cloog pdf-cloog
14458 maybe-pdf-cloog:
14459 @if cloog
14460 maybe-pdf-cloog: pdf-cloog
14462 pdf-cloog: \
14463 configure-cloog
14464 @[ -f ./cloog/Makefile ] || exit 0; \
14465 r=`${PWD_COMMAND}`; export r; \
14466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14467 $(HOST_EXPORTS) \
14468 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14470 done; \
14471 echo "Doing pdf in cloog" ; \
14472 (cd $(HOST_SUBDIR)/cloog && \
14473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14475 "RANLIB=$${RANLIB}" \
14476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14477 pdf) \
14478 || exit 1
14480 @endif cloog
14482 .PHONY: maybe-html-cloog html-cloog
14483 maybe-html-cloog:
14484 @if cloog
14485 maybe-html-cloog: html-cloog
14487 html-cloog: \
14488 configure-cloog
14489 @[ -f ./cloog/Makefile ] || exit 0; \
14490 r=`${PWD_COMMAND}`; export r; \
14491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 $(HOST_EXPORTS) \
14493 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14495 done; \
14496 echo "Doing html in cloog" ; \
14497 (cd $(HOST_SUBDIR)/cloog && \
14498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14500 "RANLIB=$${RANLIB}" \
14501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14502 html) \
14503 || exit 1
14505 @endif cloog
14507 .PHONY: maybe-TAGS-cloog TAGS-cloog
14508 maybe-TAGS-cloog:
14509 @if cloog
14510 maybe-TAGS-cloog: TAGS-cloog
14512 TAGS-cloog: \
14513 configure-cloog
14514 @[ -f ./cloog/Makefile ] || exit 0; \
14515 r=`${PWD_COMMAND}`; export r; \
14516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 $(HOST_EXPORTS) \
14518 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14520 done; \
14521 echo "Doing TAGS in cloog" ; \
14522 (cd $(HOST_SUBDIR)/cloog && \
14523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14525 "RANLIB=$${RANLIB}" \
14526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14527 TAGS) \
14528 || exit 1
14530 @endif cloog
14532 .PHONY: maybe-install-info-cloog install-info-cloog
14533 maybe-install-info-cloog:
14534 @if cloog
14535 maybe-install-info-cloog: install-info-cloog
14537 install-info-cloog: \
14538 configure-cloog \
14539 info-cloog
14540 @[ -f ./cloog/Makefile ] || exit 0; \
14541 r=`${PWD_COMMAND}`; export r; \
14542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 $(HOST_EXPORTS) \
14544 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14546 done; \
14547 echo "Doing install-info in cloog" ; \
14548 (cd $(HOST_SUBDIR)/cloog && \
14549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14551 "RANLIB=$${RANLIB}" \
14552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14553 install-info) \
14554 || exit 1
14556 @endif cloog
14558 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14559 maybe-install-pdf-cloog:
14560 @if cloog
14561 maybe-install-pdf-cloog: install-pdf-cloog
14563 install-pdf-cloog: \
14564 configure-cloog \
14565 pdf-cloog
14566 @[ -f ./cloog/Makefile ] || exit 0; \
14567 r=`${PWD_COMMAND}`; export r; \
14568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14569 $(HOST_EXPORTS) \
14570 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14572 done; \
14573 echo "Doing install-pdf in cloog" ; \
14574 (cd $(HOST_SUBDIR)/cloog && \
14575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14577 "RANLIB=$${RANLIB}" \
14578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14579 install-pdf) \
14580 || exit 1
14582 @endif cloog
14584 .PHONY: maybe-install-html-cloog install-html-cloog
14585 maybe-install-html-cloog:
14586 @if cloog
14587 maybe-install-html-cloog: install-html-cloog
14589 install-html-cloog: \
14590 configure-cloog \
14591 html-cloog
14592 @[ -f ./cloog/Makefile ] || exit 0; \
14593 r=`${PWD_COMMAND}`; export r; \
14594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14595 $(HOST_EXPORTS) \
14596 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14598 done; \
14599 echo "Doing install-html in cloog" ; \
14600 (cd $(HOST_SUBDIR)/cloog && \
14601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14603 "RANLIB=$${RANLIB}" \
14604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14605 install-html) \
14606 || exit 1
14608 @endif cloog
14610 .PHONY: maybe-installcheck-cloog installcheck-cloog
14611 maybe-installcheck-cloog:
14612 @if cloog
14613 maybe-installcheck-cloog: installcheck-cloog
14615 installcheck-cloog: \
14616 configure-cloog
14617 @[ -f ./cloog/Makefile ] || exit 0; \
14618 r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14620 $(HOST_EXPORTS) \
14621 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14623 done; \
14624 echo "Doing installcheck in cloog" ; \
14625 (cd $(HOST_SUBDIR)/cloog && \
14626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14628 "RANLIB=$${RANLIB}" \
14629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14630 installcheck) \
14631 || exit 1
14633 @endif cloog
14635 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14636 maybe-mostlyclean-cloog:
14637 @if cloog
14638 maybe-mostlyclean-cloog: mostlyclean-cloog
14640 mostlyclean-cloog:
14641 @[ -f ./cloog/Makefile ] || exit 0; \
14642 r=`${PWD_COMMAND}`; export r; \
14643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14644 $(HOST_EXPORTS) \
14645 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14647 done; \
14648 echo "Doing mostlyclean in cloog" ; \
14649 (cd $(HOST_SUBDIR)/cloog && \
14650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14652 "RANLIB=$${RANLIB}" \
14653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14654 mostlyclean) \
14655 || exit 1
14657 @endif cloog
14659 .PHONY: maybe-clean-cloog clean-cloog
14660 maybe-clean-cloog:
14661 @if cloog
14662 maybe-clean-cloog: clean-cloog
14664 clean-cloog:
14665 @[ -f ./cloog/Makefile ] || exit 0; \
14666 r=`${PWD_COMMAND}`; export r; \
14667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14668 $(HOST_EXPORTS) \
14669 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14671 done; \
14672 echo "Doing clean in cloog" ; \
14673 (cd $(HOST_SUBDIR)/cloog && \
14674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14676 "RANLIB=$${RANLIB}" \
14677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14678 clean) \
14679 || exit 1
14681 @endif cloog
14683 .PHONY: maybe-distclean-cloog distclean-cloog
14684 maybe-distclean-cloog:
14685 @if cloog
14686 maybe-distclean-cloog: distclean-cloog
14688 distclean-cloog:
14689 @[ -f ./cloog/Makefile ] || exit 0; \
14690 r=`${PWD_COMMAND}`; export r; \
14691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14692 $(HOST_EXPORTS) \
14693 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14695 done; \
14696 echo "Doing distclean in cloog" ; \
14697 (cd $(HOST_SUBDIR)/cloog && \
14698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14700 "RANLIB=$${RANLIB}" \
14701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14702 distclean) \
14703 || exit 1
14705 @endif cloog
14707 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14708 maybe-maintainer-clean-cloog:
14709 @if cloog
14710 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14712 maintainer-clean-cloog:
14713 @[ -f ./cloog/Makefile ] || exit 0; \
14714 r=`${PWD_COMMAND}`; export r; \
14715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14716 $(HOST_EXPORTS) \
14717 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14719 done; \
14720 echo "Doing maintainer-clean in cloog" ; \
14721 (cd $(HOST_SUBDIR)/cloog && \
14722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14724 "RANLIB=$${RANLIB}" \
14725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14726 maintainer-clean) \
14727 || exit 1
14729 @endif cloog
14733 .PHONY: configure-libelf maybe-configure-libelf
14734 maybe-configure-libelf:
14735 @if gcc-bootstrap
14736 configure-libelf: stage_current
14737 @endif gcc-bootstrap
14738 @if libelf
14739 maybe-configure-libelf: configure-libelf
14740 configure-libelf:
14741 @r=`${PWD_COMMAND}`; export r; \
14742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14743 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14745 $(HOST_EXPORTS) \
14746 echo Configuring in $(HOST_SUBDIR)/libelf; \
14747 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14748 case $(srcdir) in \
14749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14750 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14752 esac; \
14753 srcdiroption="--srcdir=$${topdir}/libelf"; \
14754 libsrcdir="$$s/libelf"; \
14755 $(SHELL) $${libsrcdir}/configure \
14756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14757 --target=${target_alias} $${srcdiroption} --disable-shared \
14758 || exit 1
14759 @endif libelf
14763 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14764 maybe-configure-stage1-libelf:
14765 @if libelf-bootstrap
14766 maybe-configure-stage1-libelf: configure-stage1-libelf
14767 configure-stage1-libelf:
14768 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14769 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14770 @r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14772 TFLAGS="$(STAGE1_TFLAGS)"; \
14773 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14774 $(HOST_EXPORTS) \
14775 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14776 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14777 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14778 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14780 cd $(HOST_SUBDIR)/libelf || exit 1; \
14781 case $(srcdir) in \
14782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14783 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14785 esac; \
14786 srcdiroption="--srcdir=$${topdir}/libelf"; \
14787 libsrcdir="$$s/libelf"; \
14788 $(SHELL) $${libsrcdir}/configure \
14789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14790 --target=${target_alias} $${srcdiroption} \
14791 $(STAGE1_CONFIGURE_FLAGS) \
14792 --disable-shared
14793 @endif libelf-bootstrap
14795 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14796 maybe-configure-stage2-libelf:
14797 @if libelf-bootstrap
14798 maybe-configure-stage2-libelf: configure-stage2-libelf
14799 configure-stage2-libelf:
14800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14802 @r=`${PWD_COMMAND}`; export r; \
14803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 TFLAGS="$(STAGE2_TFLAGS)"; \
14805 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14806 $(HOST_EXPORTS) \
14807 $(POSTSTAGE1_HOST_EXPORTS) \
14808 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14809 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14810 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14811 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14813 cd $(HOST_SUBDIR)/libelf || exit 1; \
14814 case $(srcdir) in \
14815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14816 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14818 esac; \
14819 srcdiroption="--srcdir=$${topdir}/libelf"; \
14820 libsrcdir="$$s/libelf"; \
14821 $(SHELL) $${libsrcdir}/configure \
14822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14823 --target=${target_alias} $${srcdiroption} \
14824 --with-build-libsubdir=$(HOST_SUBDIR) \
14825 $(STAGE2_CONFIGURE_FLAGS) \
14826 --disable-shared
14827 @endif libelf-bootstrap
14829 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14830 maybe-configure-stage3-libelf:
14831 @if libelf-bootstrap
14832 maybe-configure-stage3-libelf: configure-stage3-libelf
14833 configure-stage3-libelf:
14834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14835 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14836 @r=`${PWD_COMMAND}`; export r; \
14837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14838 TFLAGS="$(STAGE3_TFLAGS)"; \
14839 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14840 $(HOST_EXPORTS) \
14841 $(POSTSTAGE1_HOST_EXPORTS) \
14842 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14843 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14844 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14845 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14847 cd $(HOST_SUBDIR)/libelf || exit 1; \
14848 case $(srcdir) in \
14849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14850 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14852 esac; \
14853 srcdiroption="--srcdir=$${topdir}/libelf"; \
14854 libsrcdir="$$s/libelf"; \
14855 $(SHELL) $${libsrcdir}/configure \
14856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14857 --target=${target_alias} $${srcdiroption} \
14858 --with-build-libsubdir=$(HOST_SUBDIR) \
14859 $(STAGE3_CONFIGURE_FLAGS) \
14860 --disable-shared
14861 @endif libelf-bootstrap
14863 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14864 maybe-configure-stage4-libelf:
14865 @if libelf-bootstrap
14866 maybe-configure-stage4-libelf: configure-stage4-libelf
14867 configure-stage4-libelf:
14868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14870 @r=`${PWD_COMMAND}`; export r; \
14871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14872 TFLAGS="$(STAGE4_TFLAGS)"; \
14873 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14874 $(HOST_EXPORTS) \
14875 $(POSTSTAGE1_HOST_EXPORTS) \
14876 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14877 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14878 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14879 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14881 cd $(HOST_SUBDIR)/libelf || exit 1; \
14882 case $(srcdir) in \
14883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14884 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14886 esac; \
14887 srcdiroption="--srcdir=$${topdir}/libelf"; \
14888 libsrcdir="$$s/libelf"; \
14889 $(SHELL) $${libsrcdir}/configure \
14890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14891 --target=${target_alias} $${srcdiroption} \
14892 --with-build-libsubdir=$(HOST_SUBDIR) \
14893 $(STAGE4_CONFIGURE_FLAGS) \
14894 --disable-shared
14895 @endif libelf-bootstrap
14897 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14898 maybe-configure-stageprofile-libelf:
14899 @if libelf-bootstrap
14900 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14901 configure-stageprofile-libelf:
14902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14904 @r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14907 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14908 $(HOST_EXPORTS) \
14909 $(POSTSTAGE1_HOST_EXPORTS) \
14910 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14912 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14913 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14915 cd $(HOST_SUBDIR)/libelf || exit 1; \
14916 case $(srcdir) in \
14917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14918 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14920 esac; \
14921 srcdiroption="--srcdir=$${topdir}/libelf"; \
14922 libsrcdir="$$s/libelf"; \
14923 $(SHELL) $${libsrcdir}/configure \
14924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14925 --target=${target_alias} $${srcdiroption} \
14926 --with-build-libsubdir=$(HOST_SUBDIR) \
14927 $(STAGEprofile_CONFIGURE_FLAGS) \
14928 --disable-shared
14929 @endif libelf-bootstrap
14931 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14932 maybe-configure-stagefeedback-libelf:
14933 @if libelf-bootstrap
14934 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14935 configure-stagefeedback-libelf:
14936 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14938 @r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14941 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14942 $(HOST_EXPORTS) \
14943 $(POSTSTAGE1_HOST_EXPORTS) \
14944 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14945 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14946 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14947 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14949 cd $(HOST_SUBDIR)/libelf || exit 1; \
14950 case $(srcdir) in \
14951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14952 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14954 esac; \
14955 srcdiroption="--srcdir=$${topdir}/libelf"; \
14956 libsrcdir="$$s/libelf"; \
14957 $(SHELL) $${libsrcdir}/configure \
14958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14959 --target=${target_alias} $${srcdiroption} \
14960 --with-build-libsubdir=$(HOST_SUBDIR) \
14961 $(STAGEfeedback_CONFIGURE_FLAGS) \
14962 --disable-shared
14963 @endif libelf-bootstrap
14969 .PHONY: all-libelf maybe-all-libelf
14970 maybe-all-libelf:
14971 @if gcc-bootstrap
14972 all-libelf: stage_current
14973 @endif gcc-bootstrap
14974 @if libelf
14975 TARGET-libelf=all
14976 maybe-all-libelf: all-libelf
14977 all-libelf: configure-libelf
14978 @r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 (cd $(HOST_SUBDIR)/libelf && \
14982 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14983 $(TARGET-libelf))
14984 @endif libelf
14988 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14989 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14990 maybe-all-stage1-libelf:
14991 maybe-clean-stage1-libelf:
14992 @if libelf-bootstrap
14993 maybe-all-stage1-libelf: all-stage1-libelf
14994 all-stage1: all-stage1-libelf
14995 TARGET-stage1-libelf = $(TARGET-libelf)
14996 all-stage1-libelf: configure-stage1-libelf
14997 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14998 @r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15000 TFLAGS="$(STAGE1_TFLAGS)"; \
15001 $(HOST_EXPORTS) \
15002 cd $(HOST_SUBDIR)/libelf && \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15004 CFLAGS="$(STAGE1_CFLAGS)" \
15005 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15006 LIBCFLAGS="$(LIBCFLAGS)" \
15007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15010 $(EXTRA_HOST_FLAGS) \
15011 $(STAGE1_FLAGS_TO_PASS) \
15012 TFLAGS="$(STAGE1_TFLAGS)" \
15013 $(TARGET-stage1-libelf)
15015 maybe-clean-stage1-libelf: clean-stage1-libelf
15016 clean-stage1: clean-stage1-libelf
15017 clean-stage1-libelf:
15018 @if [ $(current_stage) = stage1 ]; then \
15019 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15020 else \
15021 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15022 $(MAKE) stage1-start; \
15023 fi; \
15024 cd $(HOST_SUBDIR)/libelf && \
15025 $(MAKE) $(EXTRA_HOST_FLAGS) \
15026 $(STAGE1_FLAGS_TO_PASS) clean
15027 @endif libelf-bootstrap
15030 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15031 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15032 maybe-all-stage2-libelf:
15033 maybe-clean-stage2-libelf:
15034 @if libelf-bootstrap
15035 maybe-all-stage2-libelf: all-stage2-libelf
15036 all-stage2: all-stage2-libelf
15037 TARGET-stage2-libelf = $(TARGET-libelf)
15038 all-stage2-libelf: configure-stage2-libelf
15039 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15040 @r=`${PWD_COMMAND}`; export r; \
15041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15042 TFLAGS="$(STAGE2_TFLAGS)"; \
15043 $(HOST_EXPORTS) \
15044 $(POSTSTAGE1_HOST_EXPORTS) \
15045 cd $(HOST_SUBDIR)/libelf && \
15046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15047 CFLAGS="$(STAGE2_CFLAGS)" \
15048 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15049 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15054 TFLAGS="$(STAGE2_TFLAGS)" \
15055 $(TARGET-stage2-libelf)
15057 maybe-clean-stage2-libelf: clean-stage2-libelf
15058 clean-stage2: clean-stage2-libelf
15059 clean-stage2-libelf:
15060 @if [ $(current_stage) = stage2 ]; then \
15061 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15062 else \
15063 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15064 $(MAKE) stage2-start; \
15065 fi; \
15066 cd $(HOST_SUBDIR)/libelf && \
15067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15068 @endif libelf-bootstrap
15071 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15072 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15073 maybe-all-stage3-libelf:
15074 maybe-clean-stage3-libelf:
15075 @if libelf-bootstrap
15076 maybe-all-stage3-libelf: all-stage3-libelf
15077 all-stage3: all-stage3-libelf
15078 TARGET-stage3-libelf = $(TARGET-libelf)
15079 all-stage3-libelf: configure-stage3-libelf
15080 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15081 @r=`${PWD_COMMAND}`; export r; \
15082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15083 TFLAGS="$(STAGE3_TFLAGS)"; \
15084 $(HOST_EXPORTS) \
15085 $(POSTSTAGE1_HOST_EXPORTS) \
15086 cd $(HOST_SUBDIR)/libelf && \
15087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15088 CFLAGS="$(STAGE3_CFLAGS)" \
15089 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15090 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15095 TFLAGS="$(STAGE3_TFLAGS)" \
15096 $(TARGET-stage3-libelf)
15098 maybe-clean-stage3-libelf: clean-stage3-libelf
15099 clean-stage3: clean-stage3-libelf
15100 clean-stage3-libelf:
15101 @if [ $(current_stage) = stage3 ]; then \
15102 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15103 else \
15104 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15105 $(MAKE) stage3-start; \
15106 fi; \
15107 cd $(HOST_SUBDIR)/libelf && \
15108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15109 @endif libelf-bootstrap
15112 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15113 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15114 maybe-all-stage4-libelf:
15115 maybe-clean-stage4-libelf:
15116 @if libelf-bootstrap
15117 maybe-all-stage4-libelf: all-stage4-libelf
15118 all-stage4: all-stage4-libelf
15119 TARGET-stage4-libelf = $(TARGET-libelf)
15120 all-stage4-libelf: configure-stage4-libelf
15121 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15122 @r=`${PWD_COMMAND}`; export r; \
15123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15124 TFLAGS="$(STAGE4_TFLAGS)"; \
15125 $(HOST_EXPORTS) \
15126 $(POSTSTAGE1_HOST_EXPORTS) \
15127 cd $(HOST_SUBDIR)/libelf && \
15128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15129 CFLAGS="$(STAGE4_CFLAGS)" \
15130 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15131 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15136 TFLAGS="$(STAGE4_TFLAGS)" \
15137 $(TARGET-stage4-libelf)
15139 maybe-clean-stage4-libelf: clean-stage4-libelf
15140 clean-stage4: clean-stage4-libelf
15141 clean-stage4-libelf:
15142 @if [ $(current_stage) = stage4 ]; then \
15143 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15144 else \
15145 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15146 $(MAKE) stage4-start; \
15147 fi; \
15148 cd $(HOST_SUBDIR)/libelf && \
15149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15150 @endif libelf-bootstrap
15153 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15154 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15155 maybe-all-stageprofile-libelf:
15156 maybe-clean-stageprofile-libelf:
15157 @if libelf-bootstrap
15158 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15159 all-stageprofile: all-stageprofile-libelf
15160 TARGET-stageprofile-libelf = $(TARGET-libelf)
15161 all-stageprofile-libelf: configure-stageprofile-libelf
15162 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15163 @r=`${PWD_COMMAND}`; export r; \
15164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15165 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15166 $(HOST_EXPORTS) \
15167 $(POSTSTAGE1_HOST_EXPORTS) \
15168 cd $(HOST_SUBDIR)/libelf && \
15169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15170 CFLAGS="$(STAGEprofile_CFLAGS)" \
15171 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15172 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15177 TFLAGS="$(STAGEprofile_TFLAGS)" \
15178 $(TARGET-stageprofile-libelf)
15180 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15181 clean-stageprofile: clean-stageprofile-libelf
15182 clean-stageprofile-libelf:
15183 @if [ $(current_stage) = stageprofile ]; then \
15184 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15185 else \
15186 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15187 $(MAKE) stageprofile-start; \
15188 fi; \
15189 cd $(HOST_SUBDIR)/libelf && \
15190 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15191 @endif libelf-bootstrap
15194 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15195 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15196 maybe-all-stagefeedback-libelf:
15197 maybe-clean-stagefeedback-libelf:
15198 @if libelf-bootstrap
15199 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15200 all-stagefeedback: all-stagefeedback-libelf
15201 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15202 all-stagefeedback-libelf: configure-stagefeedback-libelf
15203 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15204 @r=`${PWD_COMMAND}`; export r; \
15205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15207 $(HOST_EXPORTS) \
15208 $(POSTSTAGE1_HOST_EXPORTS) \
15209 cd $(HOST_SUBDIR)/libelf && \
15210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15211 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15212 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15213 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15218 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15219 $(TARGET-stagefeedback-libelf)
15221 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15222 clean-stagefeedback: clean-stagefeedback-libelf
15223 clean-stagefeedback-libelf:
15224 @if [ $(current_stage) = stagefeedback ]; then \
15225 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15226 else \
15227 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15228 $(MAKE) stagefeedback-start; \
15229 fi; \
15230 cd $(HOST_SUBDIR)/libelf && \
15231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15232 @endif libelf-bootstrap
15238 .PHONY: check-libelf maybe-check-libelf
15239 maybe-check-libelf:
15240 @if libelf
15241 maybe-check-libelf: check-libelf
15243 check-libelf:
15244 @: $(MAKE); $(unstage)
15245 @r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 $(HOST_EXPORTS) \
15248 (cd $(HOST_SUBDIR)/libelf && \
15249 $(MAKE) $(FLAGS_TO_PASS) check)
15251 @endif libelf
15253 .PHONY: install-libelf maybe-install-libelf
15254 maybe-install-libelf:
15255 @if libelf
15256 maybe-install-libelf: install-libelf
15258 install-libelf:
15260 @endif libelf
15262 .PHONY: install-strip-libelf maybe-install-strip-libelf
15263 maybe-install-strip-libelf:
15264 @if libelf
15265 maybe-install-strip-libelf: install-strip-libelf
15267 install-strip-libelf:
15269 @endif libelf
15271 # Other targets (info, dvi, pdf, etc.)
15273 .PHONY: maybe-info-libelf info-libelf
15274 maybe-info-libelf:
15275 @if libelf
15276 maybe-info-libelf: info-libelf
15278 info-libelf: \
15279 configure-libelf
15280 @[ -f ./libelf/Makefile ] || exit 0; \
15281 r=`${PWD_COMMAND}`; export r; \
15282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15283 $(HOST_EXPORTS) \
15284 for flag in $(EXTRA_HOST_FLAGS) ; do \
15285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15286 done; \
15287 echo "Doing info in libelf" ; \
15288 (cd $(HOST_SUBDIR)/libelf && \
15289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15291 "RANLIB=$${RANLIB}" \
15292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15293 info) \
15294 || exit 1
15296 @endif libelf
15298 .PHONY: maybe-dvi-libelf dvi-libelf
15299 maybe-dvi-libelf:
15300 @if libelf
15301 maybe-dvi-libelf: dvi-libelf
15303 dvi-libelf: \
15304 configure-libelf
15305 @[ -f ./libelf/Makefile ] || exit 0; \
15306 r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(HOST_EXPORTS) \
15309 for flag in $(EXTRA_HOST_FLAGS) ; do \
15310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15311 done; \
15312 echo "Doing dvi in libelf" ; \
15313 (cd $(HOST_SUBDIR)/libelf && \
15314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15316 "RANLIB=$${RANLIB}" \
15317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15318 dvi) \
15319 || exit 1
15321 @endif libelf
15323 .PHONY: maybe-pdf-libelf pdf-libelf
15324 maybe-pdf-libelf:
15325 @if libelf
15326 maybe-pdf-libelf: pdf-libelf
15328 pdf-libelf: \
15329 configure-libelf
15330 @[ -f ./libelf/Makefile ] || exit 0; \
15331 r=`${PWD_COMMAND}`; export r; \
15332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15333 $(HOST_EXPORTS) \
15334 for flag in $(EXTRA_HOST_FLAGS) ; do \
15335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15336 done; \
15337 echo "Doing pdf in libelf" ; \
15338 (cd $(HOST_SUBDIR)/libelf && \
15339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341 "RANLIB=$${RANLIB}" \
15342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15343 pdf) \
15344 || exit 1
15346 @endif libelf
15348 .PHONY: maybe-html-libelf html-libelf
15349 maybe-html-libelf:
15350 @if libelf
15351 maybe-html-libelf: html-libelf
15353 html-libelf: \
15354 configure-libelf
15355 @[ -f ./libelf/Makefile ] || exit 0; \
15356 r=`${PWD_COMMAND}`; export r; \
15357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358 $(HOST_EXPORTS) \
15359 for flag in $(EXTRA_HOST_FLAGS) ; do \
15360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361 done; \
15362 echo "Doing html in libelf" ; \
15363 (cd $(HOST_SUBDIR)/libelf && \
15364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366 "RANLIB=$${RANLIB}" \
15367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15368 html) \
15369 || exit 1
15371 @endif libelf
15373 .PHONY: maybe-TAGS-libelf TAGS-libelf
15374 maybe-TAGS-libelf:
15375 @if libelf
15376 maybe-TAGS-libelf: TAGS-libelf
15378 TAGS-libelf: \
15379 configure-libelf
15380 @[ -f ./libelf/Makefile ] || exit 0; \
15381 r=`${PWD_COMMAND}`; export r; \
15382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 $(HOST_EXPORTS) \
15384 for flag in $(EXTRA_HOST_FLAGS) ; do \
15385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 done; \
15387 echo "Doing TAGS in libelf" ; \
15388 (cd $(HOST_SUBDIR)/libelf && \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15391 "RANLIB=$${RANLIB}" \
15392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15393 TAGS) \
15394 || exit 1
15396 @endif libelf
15398 .PHONY: maybe-install-info-libelf install-info-libelf
15399 maybe-install-info-libelf:
15400 @if libelf
15401 maybe-install-info-libelf: install-info-libelf
15403 install-info-libelf: \
15404 configure-libelf \
15405 info-libelf
15406 @[ -f ./libelf/Makefile ] || exit 0; \
15407 r=`${PWD_COMMAND}`; export r; \
15408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 $(HOST_EXPORTS) \
15410 for flag in $(EXTRA_HOST_FLAGS) ; do \
15411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15412 done; \
15413 echo "Doing install-info in libelf" ; \
15414 (cd $(HOST_SUBDIR)/libelf && \
15415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15417 "RANLIB=$${RANLIB}" \
15418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15419 install-info) \
15420 || exit 1
15422 @endif libelf
15424 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15425 maybe-install-pdf-libelf:
15426 @if libelf
15427 maybe-install-pdf-libelf: install-pdf-libelf
15429 install-pdf-libelf: \
15430 configure-libelf \
15431 pdf-libelf
15432 @[ -f ./libelf/Makefile ] || exit 0; \
15433 r=`${PWD_COMMAND}`; export r; \
15434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15435 $(HOST_EXPORTS) \
15436 for flag in $(EXTRA_HOST_FLAGS) ; do \
15437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15438 done; \
15439 echo "Doing install-pdf in libelf" ; \
15440 (cd $(HOST_SUBDIR)/libelf && \
15441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15443 "RANLIB=$${RANLIB}" \
15444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15445 install-pdf) \
15446 || exit 1
15448 @endif libelf
15450 .PHONY: maybe-install-html-libelf install-html-libelf
15451 maybe-install-html-libelf:
15452 @if libelf
15453 maybe-install-html-libelf: install-html-libelf
15455 install-html-libelf: \
15456 configure-libelf \
15457 html-libelf
15458 @[ -f ./libelf/Makefile ] || exit 0; \
15459 r=`${PWD_COMMAND}`; export r; \
15460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15461 $(HOST_EXPORTS) \
15462 for flag in $(EXTRA_HOST_FLAGS) ; do \
15463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15464 done; \
15465 echo "Doing install-html in libelf" ; \
15466 (cd $(HOST_SUBDIR)/libelf && \
15467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15469 "RANLIB=$${RANLIB}" \
15470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15471 install-html) \
15472 || exit 1
15474 @endif libelf
15476 .PHONY: maybe-installcheck-libelf installcheck-libelf
15477 maybe-installcheck-libelf:
15478 @if libelf
15479 maybe-installcheck-libelf: installcheck-libelf
15481 installcheck-libelf: \
15482 configure-libelf
15483 @[ -f ./libelf/Makefile ] || exit 0; \
15484 r=`${PWD_COMMAND}`; export r; \
15485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15486 $(HOST_EXPORTS) \
15487 for flag in $(EXTRA_HOST_FLAGS) ; do \
15488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15489 done; \
15490 echo "Doing installcheck in libelf" ; \
15491 (cd $(HOST_SUBDIR)/libelf && \
15492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15494 "RANLIB=$${RANLIB}" \
15495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15496 installcheck) \
15497 || exit 1
15499 @endif libelf
15501 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15502 maybe-mostlyclean-libelf:
15503 @if libelf
15504 maybe-mostlyclean-libelf: mostlyclean-libelf
15506 mostlyclean-libelf:
15507 @[ -f ./libelf/Makefile ] || exit 0; \
15508 r=`${PWD_COMMAND}`; export r; \
15509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15510 $(HOST_EXPORTS) \
15511 for flag in $(EXTRA_HOST_FLAGS) ; do \
15512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15513 done; \
15514 echo "Doing mostlyclean in libelf" ; \
15515 (cd $(HOST_SUBDIR)/libelf && \
15516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15518 "RANLIB=$${RANLIB}" \
15519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15520 mostlyclean) \
15521 || exit 1
15523 @endif libelf
15525 .PHONY: maybe-clean-libelf clean-libelf
15526 maybe-clean-libelf:
15527 @if libelf
15528 maybe-clean-libelf: clean-libelf
15530 clean-libelf:
15531 @[ -f ./libelf/Makefile ] || exit 0; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 for flag in $(EXTRA_HOST_FLAGS) ; do \
15536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15537 done; \
15538 echo "Doing clean in libelf" ; \
15539 (cd $(HOST_SUBDIR)/libelf && \
15540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15542 "RANLIB=$${RANLIB}" \
15543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15544 clean) \
15545 || exit 1
15547 @endif libelf
15549 .PHONY: maybe-distclean-libelf distclean-libelf
15550 maybe-distclean-libelf:
15551 @if libelf
15552 maybe-distclean-libelf: distclean-libelf
15554 distclean-libelf:
15555 @[ -f ./libelf/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing distclean in libelf" ; \
15563 (cd $(HOST_SUBDIR)/libelf && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15568 distclean) \
15569 || exit 1
15571 @endif libelf
15573 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15574 maybe-maintainer-clean-libelf:
15575 @if libelf
15576 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15578 maintainer-clean-libelf:
15579 @[ -f ./libelf/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing maintainer-clean in libelf" ; \
15587 (cd $(HOST_SUBDIR)/libelf && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15592 maintainer-clean) \
15593 || exit 1
15595 @endif libelf
15599 .PHONY: configure-gold maybe-configure-gold
15600 maybe-configure-gold:
15601 @if gcc-bootstrap
15602 configure-gold: stage_current
15603 @endif gcc-bootstrap
15604 @if gold
15605 maybe-configure-gold: configure-gold
15606 configure-gold:
15607 @r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15611 $(HOST_EXPORTS) \
15612 echo Configuring in $(HOST_SUBDIR)/gold; \
15613 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15614 case $(srcdir) in \
15615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15616 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15618 esac; \
15619 srcdiroption="--srcdir=$${topdir}/gold"; \
15620 libsrcdir="$$s/gold"; \
15621 $(SHELL) $${libsrcdir}/configure \
15622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15623 --target=${target_alias} $${srcdiroption} \
15624 || exit 1
15625 @endif gold
15629 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15630 maybe-configure-stage1-gold:
15631 @if gold-bootstrap
15632 maybe-configure-stage1-gold: configure-stage1-gold
15633 configure-stage1-gold:
15634 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15636 @r=`${PWD_COMMAND}`; export r; \
15637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15638 TFLAGS="$(STAGE1_TFLAGS)"; \
15639 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15640 $(HOST_EXPORTS) \
15641 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15642 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15643 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15644 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15646 cd $(HOST_SUBDIR)/gold || exit 1; \
15647 case $(srcdir) in \
15648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15649 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15651 esac; \
15652 srcdiroption="--srcdir=$${topdir}/gold"; \
15653 libsrcdir="$$s/gold"; \
15654 $(SHELL) $${libsrcdir}/configure \
15655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15656 --target=${target_alias} $${srcdiroption} \
15657 $(STAGE1_CONFIGURE_FLAGS)
15658 @endif gold-bootstrap
15660 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15661 maybe-configure-stage2-gold:
15662 @if gold-bootstrap
15663 maybe-configure-stage2-gold: configure-stage2-gold
15664 configure-stage2-gold:
15665 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15667 @r=`${PWD_COMMAND}`; export r; \
15668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15669 TFLAGS="$(STAGE2_TFLAGS)"; \
15670 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15671 $(HOST_EXPORTS) \
15672 $(POSTSTAGE1_HOST_EXPORTS) \
15673 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15674 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15675 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15676 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15678 cd $(HOST_SUBDIR)/gold || exit 1; \
15679 case $(srcdir) in \
15680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15681 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15683 esac; \
15684 srcdiroption="--srcdir=$${topdir}/gold"; \
15685 libsrcdir="$$s/gold"; \
15686 $(SHELL) $${libsrcdir}/configure \
15687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15688 --target=${target_alias} $${srcdiroption} \
15689 --with-build-libsubdir=$(HOST_SUBDIR) \
15690 $(STAGE2_CONFIGURE_FLAGS)
15691 @endif gold-bootstrap
15693 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15694 maybe-configure-stage3-gold:
15695 @if gold-bootstrap
15696 maybe-configure-stage3-gold: configure-stage3-gold
15697 configure-stage3-gold:
15698 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15700 @r=`${PWD_COMMAND}`; export r; \
15701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15702 TFLAGS="$(STAGE3_TFLAGS)"; \
15703 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15704 $(HOST_EXPORTS) \
15705 $(POSTSTAGE1_HOST_EXPORTS) \
15706 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15707 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15708 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15709 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15711 cd $(HOST_SUBDIR)/gold || exit 1; \
15712 case $(srcdir) in \
15713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15714 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15716 esac; \
15717 srcdiroption="--srcdir=$${topdir}/gold"; \
15718 libsrcdir="$$s/gold"; \
15719 $(SHELL) $${libsrcdir}/configure \
15720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15721 --target=${target_alias} $${srcdiroption} \
15722 --with-build-libsubdir=$(HOST_SUBDIR) \
15723 $(STAGE3_CONFIGURE_FLAGS)
15724 @endif gold-bootstrap
15726 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15727 maybe-configure-stage4-gold:
15728 @if gold-bootstrap
15729 maybe-configure-stage4-gold: configure-stage4-gold
15730 configure-stage4-gold:
15731 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15733 @r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735 TFLAGS="$(STAGE4_TFLAGS)"; \
15736 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15737 $(HOST_EXPORTS) \
15738 $(POSTSTAGE1_HOST_EXPORTS) \
15739 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15740 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15741 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15742 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15744 cd $(HOST_SUBDIR)/gold || exit 1; \
15745 case $(srcdir) in \
15746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15747 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15749 esac; \
15750 srcdiroption="--srcdir=$${topdir}/gold"; \
15751 libsrcdir="$$s/gold"; \
15752 $(SHELL) $${libsrcdir}/configure \
15753 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15754 --target=${target_alias} $${srcdiroption} \
15755 --with-build-libsubdir=$(HOST_SUBDIR) \
15756 $(STAGE4_CONFIGURE_FLAGS)
15757 @endif gold-bootstrap
15759 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15760 maybe-configure-stageprofile-gold:
15761 @if gold-bootstrap
15762 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15763 configure-stageprofile-gold:
15764 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15766 @r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15769 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15770 $(HOST_EXPORTS) \
15771 $(POSTSTAGE1_HOST_EXPORTS) \
15772 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15773 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15774 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15775 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15777 cd $(HOST_SUBDIR)/gold || exit 1; \
15778 case $(srcdir) in \
15779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15780 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15782 esac; \
15783 srcdiroption="--srcdir=$${topdir}/gold"; \
15784 libsrcdir="$$s/gold"; \
15785 $(SHELL) $${libsrcdir}/configure \
15786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15787 --target=${target_alias} $${srcdiroption} \
15788 --with-build-libsubdir=$(HOST_SUBDIR) \
15789 $(STAGEprofile_CONFIGURE_FLAGS)
15790 @endif gold-bootstrap
15792 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15793 maybe-configure-stagefeedback-gold:
15794 @if gold-bootstrap
15795 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15796 configure-stagefeedback-gold:
15797 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15799 @r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15802 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15803 $(HOST_EXPORTS) \
15804 $(POSTSTAGE1_HOST_EXPORTS) \
15805 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15806 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15807 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15808 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15810 cd $(HOST_SUBDIR)/gold || exit 1; \
15811 case $(srcdir) in \
15812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15813 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15815 esac; \
15816 srcdiroption="--srcdir=$${topdir}/gold"; \
15817 libsrcdir="$$s/gold"; \
15818 $(SHELL) $${libsrcdir}/configure \
15819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15820 --target=${target_alias} $${srcdiroption} \
15821 --with-build-libsubdir=$(HOST_SUBDIR) \
15822 $(STAGEfeedback_CONFIGURE_FLAGS)
15823 @endif gold-bootstrap
15829 .PHONY: all-gold maybe-all-gold
15830 maybe-all-gold:
15831 @if gcc-bootstrap
15832 all-gold: stage_current
15833 @endif gcc-bootstrap
15834 @if gold
15835 TARGET-gold=all
15836 maybe-all-gold: all-gold
15837 all-gold: configure-gold
15838 @r=`${PWD_COMMAND}`; export r; \
15839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15840 $(HOST_EXPORTS) \
15841 (cd $(HOST_SUBDIR)/gold && \
15842 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15843 $(TARGET-gold))
15844 @endif gold
15848 .PHONY: all-stage1-gold maybe-all-stage1-gold
15849 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15850 maybe-all-stage1-gold:
15851 maybe-clean-stage1-gold:
15852 @if gold-bootstrap
15853 maybe-all-stage1-gold: all-stage1-gold
15854 all-stage1: all-stage1-gold
15855 TARGET-stage1-gold = $(TARGET-gold)
15856 all-stage1-gold: configure-stage1-gold
15857 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15858 @r=`${PWD_COMMAND}`; export r; \
15859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 TFLAGS="$(STAGE1_TFLAGS)"; \
15861 $(HOST_EXPORTS) \
15862 cd $(HOST_SUBDIR)/gold && \
15863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15864 CFLAGS="$(STAGE1_CFLAGS)" \
15865 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15866 LIBCFLAGS="$(LIBCFLAGS)" \
15867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15870 $(EXTRA_HOST_FLAGS) \
15871 $(STAGE1_FLAGS_TO_PASS) \
15872 TFLAGS="$(STAGE1_TFLAGS)" \
15873 $(TARGET-stage1-gold)
15875 maybe-clean-stage1-gold: clean-stage1-gold
15876 clean-stage1: clean-stage1-gold
15877 clean-stage1-gold:
15878 @if [ $(current_stage) = stage1 ]; then \
15879 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15880 else \
15881 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15882 $(MAKE) stage1-start; \
15883 fi; \
15884 cd $(HOST_SUBDIR)/gold && \
15885 $(MAKE) $(EXTRA_HOST_FLAGS) \
15886 $(STAGE1_FLAGS_TO_PASS) clean
15887 @endif gold-bootstrap
15890 .PHONY: all-stage2-gold maybe-all-stage2-gold
15891 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15892 maybe-all-stage2-gold:
15893 maybe-clean-stage2-gold:
15894 @if gold-bootstrap
15895 maybe-all-stage2-gold: all-stage2-gold
15896 all-stage2: all-stage2-gold
15897 TARGET-stage2-gold = $(TARGET-gold)
15898 all-stage2-gold: configure-stage2-gold
15899 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15900 @r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 TFLAGS="$(STAGE2_TFLAGS)"; \
15903 $(HOST_EXPORTS) \
15904 $(POSTSTAGE1_HOST_EXPORTS) \
15905 cd $(HOST_SUBDIR)/gold && \
15906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15907 CFLAGS="$(STAGE2_CFLAGS)" \
15908 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15909 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15914 TFLAGS="$(STAGE2_TFLAGS)" \
15915 $(TARGET-stage2-gold)
15917 maybe-clean-stage2-gold: clean-stage2-gold
15918 clean-stage2: clean-stage2-gold
15919 clean-stage2-gold:
15920 @if [ $(current_stage) = stage2 ]; then \
15921 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15922 else \
15923 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15924 $(MAKE) stage2-start; \
15925 fi; \
15926 cd $(HOST_SUBDIR)/gold && \
15927 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15928 @endif gold-bootstrap
15931 .PHONY: all-stage3-gold maybe-all-stage3-gold
15932 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15933 maybe-all-stage3-gold:
15934 maybe-clean-stage3-gold:
15935 @if gold-bootstrap
15936 maybe-all-stage3-gold: all-stage3-gold
15937 all-stage3: all-stage3-gold
15938 TARGET-stage3-gold = $(TARGET-gold)
15939 all-stage3-gold: configure-stage3-gold
15940 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15941 @r=`${PWD_COMMAND}`; export r; \
15942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15943 TFLAGS="$(STAGE3_TFLAGS)"; \
15944 $(HOST_EXPORTS) \
15945 $(POSTSTAGE1_HOST_EXPORTS) \
15946 cd $(HOST_SUBDIR)/gold && \
15947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15948 CFLAGS="$(STAGE3_CFLAGS)" \
15949 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15950 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15954 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15955 TFLAGS="$(STAGE3_TFLAGS)" \
15956 $(TARGET-stage3-gold)
15958 maybe-clean-stage3-gold: clean-stage3-gold
15959 clean-stage3: clean-stage3-gold
15960 clean-stage3-gold:
15961 @if [ $(current_stage) = stage3 ]; then \
15962 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15963 else \
15964 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15965 $(MAKE) stage3-start; \
15966 fi; \
15967 cd $(HOST_SUBDIR)/gold && \
15968 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15969 @endif gold-bootstrap
15972 .PHONY: all-stage4-gold maybe-all-stage4-gold
15973 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15974 maybe-all-stage4-gold:
15975 maybe-clean-stage4-gold:
15976 @if gold-bootstrap
15977 maybe-all-stage4-gold: all-stage4-gold
15978 all-stage4: all-stage4-gold
15979 TARGET-stage4-gold = $(TARGET-gold)
15980 all-stage4-gold: configure-stage4-gold
15981 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15982 @r=`${PWD_COMMAND}`; export r; \
15983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15984 TFLAGS="$(STAGE4_TFLAGS)"; \
15985 $(HOST_EXPORTS) \
15986 $(POSTSTAGE1_HOST_EXPORTS) \
15987 cd $(HOST_SUBDIR)/gold && \
15988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15989 CFLAGS="$(STAGE4_CFLAGS)" \
15990 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15991 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15995 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15996 TFLAGS="$(STAGE4_TFLAGS)" \
15997 $(TARGET-stage4-gold)
15999 maybe-clean-stage4-gold: clean-stage4-gold
16000 clean-stage4: clean-stage4-gold
16001 clean-stage4-gold:
16002 @if [ $(current_stage) = stage4 ]; then \
16003 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16004 else \
16005 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16006 $(MAKE) stage4-start; \
16007 fi; \
16008 cd $(HOST_SUBDIR)/gold && \
16009 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16010 @endif gold-bootstrap
16013 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16014 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16015 maybe-all-stageprofile-gold:
16016 maybe-clean-stageprofile-gold:
16017 @if gold-bootstrap
16018 maybe-all-stageprofile-gold: all-stageprofile-gold
16019 all-stageprofile: all-stageprofile-gold
16020 TARGET-stageprofile-gold = $(TARGET-gold)
16021 all-stageprofile-gold: configure-stageprofile-gold
16022 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16023 @r=`${PWD_COMMAND}`; export r; \
16024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16025 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16026 $(HOST_EXPORTS) \
16027 $(POSTSTAGE1_HOST_EXPORTS) \
16028 cd $(HOST_SUBDIR)/gold && \
16029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16030 CFLAGS="$(STAGEprofile_CFLAGS)" \
16031 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16032 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16037 TFLAGS="$(STAGEprofile_TFLAGS)" \
16038 $(TARGET-stageprofile-gold)
16040 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16041 clean-stageprofile: clean-stageprofile-gold
16042 clean-stageprofile-gold:
16043 @if [ $(current_stage) = stageprofile ]; then \
16044 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16045 else \
16046 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16047 $(MAKE) stageprofile-start; \
16048 fi; \
16049 cd $(HOST_SUBDIR)/gold && \
16050 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16051 @endif gold-bootstrap
16054 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16055 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16056 maybe-all-stagefeedback-gold:
16057 maybe-clean-stagefeedback-gold:
16058 @if gold-bootstrap
16059 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16060 all-stagefeedback: all-stagefeedback-gold
16061 TARGET-stagefeedback-gold = $(TARGET-gold)
16062 all-stagefeedback-gold: configure-stagefeedback-gold
16063 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16064 @r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16067 $(HOST_EXPORTS) \
16068 $(POSTSTAGE1_HOST_EXPORTS) \
16069 cd $(HOST_SUBDIR)/gold && \
16070 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16071 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16072 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16073 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16078 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16079 $(TARGET-stagefeedback-gold)
16081 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16082 clean-stagefeedback: clean-stagefeedback-gold
16083 clean-stagefeedback-gold:
16084 @if [ $(current_stage) = stagefeedback ]; then \
16085 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16086 else \
16087 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16088 $(MAKE) stagefeedback-start; \
16089 fi; \
16090 cd $(HOST_SUBDIR)/gold && \
16091 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16092 @endif gold-bootstrap
16098 .PHONY: check-gold maybe-check-gold
16099 maybe-check-gold:
16100 @if gold
16101 maybe-check-gold: check-gold
16103 check-gold:
16104 @: $(MAKE); $(unstage)
16105 @r=`${PWD_COMMAND}`; export r; \
16106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16107 $(HOST_EXPORTS) \
16108 (cd $(HOST_SUBDIR)/gold && \
16109 $(MAKE) $(FLAGS_TO_PASS) check)
16111 @endif gold
16113 .PHONY: install-gold maybe-install-gold
16114 maybe-install-gold:
16115 @if gold
16116 maybe-install-gold: install-gold
16118 install-gold: installdirs
16119 @: $(MAKE); $(unstage)
16120 @r=`${PWD_COMMAND}`; export r; \
16121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16122 $(HOST_EXPORTS) \
16123 (cd $(HOST_SUBDIR)/gold && \
16124 $(MAKE) $(FLAGS_TO_PASS) install)
16126 @endif gold
16128 .PHONY: install-strip-gold maybe-install-strip-gold
16129 maybe-install-strip-gold:
16130 @if gold
16131 maybe-install-strip-gold: install-strip-gold
16133 install-strip-gold: installdirs
16134 @: $(MAKE); $(unstage)
16135 @r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 $(HOST_EXPORTS) \
16138 (cd $(HOST_SUBDIR)/gold && \
16139 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16141 @endif gold
16143 # Other targets (info, dvi, pdf, etc.)
16145 .PHONY: maybe-info-gold info-gold
16146 maybe-info-gold:
16147 @if gold
16148 maybe-info-gold: info-gold
16150 info-gold: \
16151 configure-gold
16152 @[ -f ./gold/Makefile ] || exit 0; \
16153 r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 $(HOST_EXPORTS) \
16156 for flag in $(EXTRA_HOST_FLAGS) ; do \
16157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16158 done; \
16159 echo "Doing info in gold" ; \
16160 (cd $(HOST_SUBDIR)/gold && \
16161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16163 "RANLIB=$${RANLIB}" \
16164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16165 info) \
16166 || exit 1
16168 @endif gold
16170 .PHONY: maybe-dvi-gold dvi-gold
16171 maybe-dvi-gold:
16172 @if gold
16173 maybe-dvi-gold: dvi-gold
16175 dvi-gold: \
16176 configure-gold
16177 @[ -f ./gold/Makefile ] || exit 0; \
16178 r=`${PWD_COMMAND}`; export r; \
16179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16180 $(HOST_EXPORTS) \
16181 for flag in $(EXTRA_HOST_FLAGS) ; do \
16182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16183 done; \
16184 echo "Doing dvi in gold" ; \
16185 (cd $(HOST_SUBDIR)/gold && \
16186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16188 "RANLIB=$${RANLIB}" \
16189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16190 dvi) \
16191 || exit 1
16193 @endif gold
16195 .PHONY: maybe-pdf-gold pdf-gold
16196 maybe-pdf-gold:
16197 @if gold
16198 maybe-pdf-gold: pdf-gold
16200 pdf-gold: \
16201 configure-gold
16202 @[ -f ./gold/Makefile ] || exit 0; \
16203 r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 $(HOST_EXPORTS) \
16206 for flag in $(EXTRA_HOST_FLAGS) ; do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16208 done; \
16209 echo "Doing pdf in gold" ; \
16210 (cd $(HOST_SUBDIR)/gold && \
16211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16213 "RANLIB=$${RANLIB}" \
16214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16215 pdf) \
16216 || exit 1
16218 @endif gold
16220 .PHONY: maybe-html-gold html-gold
16221 maybe-html-gold:
16222 @if gold
16223 maybe-html-gold: html-gold
16225 html-gold: \
16226 configure-gold
16227 @[ -f ./gold/Makefile ] || exit 0; \
16228 r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 $(HOST_EXPORTS) \
16231 for flag in $(EXTRA_HOST_FLAGS) ; do \
16232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16233 done; \
16234 echo "Doing html in gold" ; \
16235 (cd $(HOST_SUBDIR)/gold && \
16236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16238 "RANLIB=$${RANLIB}" \
16239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16240 html) \
16241 || exit 1
16243 @endif gold
16245 .PHONY: maybe-TAGS-gold TAGS-gold
16246 maybe-TAGS-gold:
16247 @if gold
16248 maybe-TAGS-gold: TAGS-gold
16250 TAGS-gold: \
16251 configure-gold
16252 @[ -f ./gold/Makefile ] || exit 0; \
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255 $(HOST_EXPORTS) \
16256 for flag in $(EXTRA_HOST_FLAGS) ; do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing TAGS in gold" ; \
16260 (cd $(HOST_SUBDIR)/gold && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16265 TAGS) \
16266 || exit 1
16268 @endif gold
16270 .PHONY: maybe-install-info-gold install-info-gold
16271 maybe-install-info-gold:
16272 @if gold
16273 maybe-install-info-gold: install-info-gold
16275 install-info-gold: \
16276 configure-gold \
16277 info-gold
16278 @[ -f ./gold/Makefile ] || exit 0; \
16279 r=`${PWD_COMMAND}`; export r; \
16280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16281 $(HOST_EXPORTS) \
16282 for flag in $(EXTRA_HOST_FLAGS) ; do \
16283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16284 done; \
16285 echo "Doing install-info in gold" ; \
16286 (cd $(HOST_SUBDIR)/gold && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16289 "RANLIB=$${RANLIB}" \
16290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16291 install-info) \
16292 || exit 1
16294 @endif gold
16296 .PHONY: maybe-install-pdf-gold install-pdf-gold
16297 maybe-install-pdf-gold:
16298 @if gold
16299 maybe-install-pdf-gold: install-pdf-gold
16301 install-pdf-gold: \
16302 configure-gold \
16303 pdf-gold
16304 @[ -f ./gold/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 $(HOST_EXPORTS) \
16308 for flag in $(EXTRA_HOST_FLAGS) ; do \
16309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16310 done; \
16311 echo "Doing install-pdf in gold" ; \
16312 (cd $(HOST_SUBDIR)/gold && \
16313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315 "RANLIB=$${RANLIB}" \
16316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16317 install-pdf) \
16318 || exit 1
16320 @endif gold
16322 .PHONY: maybe-install-html-gold install-html-gold
16323 maybe-install-html-gold:
16324 @if gold
16325 maybe-install-html-gold: install-html-gold
16327 install-html-gold: \
16328 configure-gold \
16329 html-gold
16330 @[ -f ./gold/Makefile ] || exit 0; \
16331 r=`${PWD_COMMAND}`; export r; \
16332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16333 $(HOST_EXPORTS) \
16334 for flag in $(EXTRA_HOST_FLAGS) ; do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 done; \
16337 echo "Doing install-html in gold" ; \
16338 (cd $(HOST_SUBDIR)/gold && \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16343 install-html) \
16344 || exit 1
16346 @endif gold
16348 .PHONY: maybe-installcheck-gold installcheck-gold
16349 maybe-installcheck-gold:
16350 @if gold
16351 maybe-installcheck-gold: installcheck-gold
16353 installcheck-gold: \
16354 configure-gold
16355 @[ -f ./gold/Makefile ] || exit 0; \
16356 r=`${PWD_COMMAND}`; export r; \
16357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16358 $(HOST_EXPORTS) \
16359 for flag in $(EXTRA_HOST_FLAGS) ; do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 done; \
16362 echo "Doing installcheck in gold" ; \
16363 (cd $(HOST_SUBDIR)/gold && \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16368 installcheck) \
16369 || exit 1
16371 @endif gold
16373 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16374 maybe-mostlyclean-gold:
16375 @if gold
16376 maybe-mostlyclean-gold: mostlyclean-gold
16378 mostlyclean-gold:
16379 @[ -f ./gold/Makefile ] || exit 0; \
16380 r=`${PWD_COMMAND}`; export r; \
16381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16382 $(HOST_EXPORTS) \
16383 for flag in $(EXTRA_HOST_FLAGS) ; do \
16384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16385 done; \
16386 echo "Doing mostlyclean in gold" ; \
16387 (cd $(HOST_SUBDIR)/gold && \
16388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16390 "RANLIB=$${RANLIB}" \
16391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16392 mostlyclean) \
16393 || exit 1
16395 @endif gold
16397 .PHONY: maybe-clean-gold clean-gold
16398 maybe-clean-gold:
16399 @if gold
16400 maybe-clean-gold: clean-gold
16402 clean-gold:
16403 @[ -f ./gold/Makefile ] || exit 0; \
16404 r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 $(HOST_EXPORTS) \
16407 for flag in $(EXTRA_HOST_FLAGS) ; do \
16408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16409 done; \
16410 echo "Doing clean in gold" ; \
16411 (cd $(HOST_SUBDIR)/gold && \
16412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16414 "RANLIB=$${RANLIB}" \
16415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16416 clean) \
16417 || exit 1
16419 @endif gold
16421 .PHONY: maybe-distclean-gold distclean-gold
16422 maybe-distclean-gold:
16423 @if gold
16424 maybe-distclean-gold: distclean-gold
16426 distclean-gold:
16427 @[ -f ./gold/Makefile ] || exit 0; \
16428 r=`${PWD_COMMAND}`; export r; \
16429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16430 $(HOST_EXPORTS) \
16431 for flag in $(EXTRA_HOST_FLAGS) ; do \
16432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16433 done; \
16434 echo "Doing distclean in gold" ; \
16435 (cd $(HOST_SUBDIR)/gold && \
16436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16438 "RANLIB=$${RANLIB}" \
16439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16440 distclean) \
16441 || exit 1
16443 @endif gold
16445 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16446 maybe-maintainer-clean-gold:
16447 @if gold
16448 maybe-maintainer-clean-gold: maintainer-clean-gold
16450 maintainer-clean-gold:
16451 @[ -f ./gold/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 $(HOST_EXPORTS) \
16455 for flag in $(EXTRA_HOST_FLAGS) ; do \
16456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16457 done; \
16458 echo "Doing maintainer-clean in gold" ; \
16459 (cd $(HOST_SUBDIR)/gold && \
16460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16462 "RANLIB=$${RANLIB}" \
16463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16464 maintainer-clean) \
16465 || exit 1
16467 @endif gold
16471 .PHONY: configure-gprof maybe-configure-gprof
16472 maybe-configure-gprof:
16473 @if gcc-bootstrap
16474 configure-gprof: stage_current
16475 @endif gcc-bootstrap
16476 @if gprof
16477 maybe-configure-gprof: configure-gprof
16478 configure-gprof:
16479 @: $(MAKE); $(unstage)
16480 @r=`${PWD_COMMAND}`; export r; \
16481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16482 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16484 $(HOST_EXPORTS) \
16485 echo Configuring in $(HOST_SUBDIR)/gprof; \
16486 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16487 case $(srcdir) in \
16488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16489 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16491 esac; \
16492 srcdiroption="--srcdir=$${topdir}/gprof"; \
16493 libsrcdir="$$s/gprof"; \
16494 $(SHELL) $${libsrcdir}/configure \
16495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16496 --target=${target_alias} $${srcdiroption} \
16497 || exit 1
16498 @endif gprof
16504 .PHONY: all-gprof maybe-all-gprof
16505 maybe-all-gprof:
16506 @if gcc-bootstrap
16507 all-gprof: stage_current
16508 @endif gcc-bootstrap
16509 @if gprof
16510 TARGET-gprof=all
16511 maybe-all-gprof: all-gprof
16512 all-gprof: configure-gprof
16513 @: $(MAKE); $(unstage)
16514 @r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 $(HOST_EXPORTS) \
16517 (cd $(HOST_SUBDIR)/gprof && \
16518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16519 $(TARGET-gprof))
16520 @endif gprof
16525 .PHONY: check-gprof maybe-check-gprof
16526 maybe-check-gprof:
16527 @if gprof
16528 maybe-check-gprof: check-gprof
16530 check-gprof:
16531 @: $(MAKE); $(unstage)
16532 @r=`${PWD_COMMAND}`; export r; \
16533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 $(HOST_EXPORTS) \
16535 (cd $(HOST_SUBDIR)/gprof && \
16536 $(MAKE) $(FLAGS_TO_PASS) check)
16538 @endif gprof
16540 .PHONY: install-gprof maybe-install-gprof
16541 maybe-install-gprof:
16542 @if gprof
16543 maybe-install-gprof: install-gprof
16545 install-gprof: installdirs
16546 @: $(MAKE); $(unstage)
16547 @r=`${PWD_COMMAND}`; export r; \
16548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16549 $(HOST_EXPORTS) \
16550 (cd $(HOST_SUBDIR)/gprof && \
16551 $(MAKE) $(FLAGS_TO_PASS) install)
16553 @endif gprof
16555 .PHONY: install-strip-gprof maybe-install-strip-gprof
16556 maybe-install-strip-gprof:
16557 @if gprof
16558 maybe-install-strip-gprof: install-strip-gprof
16560 install-strip-gprof: installdirs
16561 @: $(MAKE); $(unstage)
16562 @r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 (cd $(HOST_SUBDIR)/gprof && \
16566 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16568 @endif gprof
16570 # Other targets (info, dvi, pdf, etc.)
16572 .PHONY: maybe-info-gprof info-gprof
16573 maybe-info-gprof:
16574 @if gprof
16575 maybe-info-gprof: info-gprof
16577 info-gprof: \
16578 configure-gprof
16579 @: $(MAKE); $(unstage)
16580 @[ -f ./gprof/Makefile ] || exit 0; \
16581 r=`${PWD_COMMAND}`; export r; \
16582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16583 $(HOST_EXPORTS) \
16584 for flag in $(EXTRA_HOST_FLAGS) ; do \
16585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16586 done; \
16587 echo "Doing info in gprof" ; \
16588 (cd $(HOST_SUBDIR)/gprof && \
16589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16591 "RANLIB=$${RANLIB}" \
16592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16593 info) \
16594 || exit 1
16596 @endif gprof
16598 .PHONY: maybe-dvi-gprof dvi-gprof
16599 maybe-dvi-gprof:
16600 @if gprof
16601 maybe-dvi-gprof: dvi-gprof
16603 dvi-gprof: \
16604 configure-gprof
16605 @: $(MAKE); $(unstage)
16606 @[ -f ./gprof/Makefile ] || exit 0; \
16607 r=`${PWD_COMMAND}`; export r; \
16608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16609 $(HOST_EXPORTS) \
16610 for flag in $(EXTRA_HOST_FLAGS) ; do \
16611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16612 done; \
16613 echo "Doing dvi in gprof" ; \
16614 (cd $(HOST_SUBDIR)/gprof && \
16615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16617 "RANLIB=$${RANLIB}" \
16618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16619 dvi) \
16620 || exit 1
16622 @endif gprof
16624 .PHONY: maybe-pdf-gprof pdf-gprof
16625 maybe-pdf-gprof:
16626 @if gprof
16627 maybe-pdf-gprof: pdf-gprof
16629 pdf-gprof: \
16630 configure-gprof
16631 @: $(MAKE); $(unstage)
16632 @[ -f ./gprof/Makefile ] || exit 0; \
16633 r=`${PWD_COMMAND}`; export r; \
16634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16635 $(HOST_EXPORTS) \
16636 for flag in $(EXTRA_HOST_FLAGS) ; do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16638 done; \
16639 echo "Doing pdf in gprof" ; \
16640 (cd $(HOST_SUBDIR)/gprof && \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16645 pdf) \
16646 || exit 1
16648 @endif gprof
16650 .PHONY: maybe-html-gprof html-gprof
16651 maybe-html-gprof:
16652 @if gprof
16653 maybe-html-gprof: html-gprof
16655 html-gprof: \
16656 configure-gprof
16657 @: $(MAKE); $(unstage)
16658 @[ -f ./gprof/Makefile ] || exit 0; \
16659 r=`${PWD_COMMAND}`; export r; \
16660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16661 $(HOST_EXPORTS) \
16662 for flag in $(EXTRA_HOST_FLAGS) ; do \
16663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16664 done; \
16665 echo "Doing html in gprof" ; \
16666 (cd $(HOST_SUBDIR)/gprof && \
16667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16669 "RANLIB=$${RANLIB}" \
16670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16671 html) \
16672 || exit 1
16674 @endif gprof
16676 .PHONY: maybe-TAGS-gprof TAGS-gprof
16677 maybe-TAGS-gprof:
16678 @if gprof
16679 maybe-TAGS-gprof: TAGS-gprof
16681 TAGS-gprof: \
16682 configure-gprof
16683 @: $(MAKE); $(unstage)
16684 @[ -f ./gprof/Makefile ] || exit 0; \
16685 r=`${PWD_COMMAND}`; export r; \
16686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16687 $(HOST_EXPORTS) \
16688 for flag in $(EXTRA_HOST_FLAGS) ; do \
16689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16690 done; \
16691 echo "Doing TAGS in gprof" ; \
16692 (cd $(HOST_SUBDIR)/gprof && \
16693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16695 "RANLIB=$${RANLIB}" \
16696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16697 TAGS) \
16698 || exit 1
16700 @endif gprof
16702 .PHONY: maybe-install-info-gprof install-info-gprof
16703 maybe-install-info-gprof:
16704 @if gprof
16705 maybe-install-info-gprof: install-info-gprof
16707 install-info-gprof: \
16708 configure-gprof \
16709 info-gprof
16710 @: $(MAKE); $(unstage)
16711 @[ -f ./gprof/Makefile ] || exit 0; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(HOST_EXPORTS) \
16715 for flag in $(EXTRA_HOST_FLAGS) ; do \
16716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16717 done; \
16718 echo "Doing install-info in gprof" ; \
16719 (cd $(HOST_SUBDIR)/gprof && \
16720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16722 "RANLIB=$${RANLIB}" \
16723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16724 install-info) \
16725 || exit 1
16727 @endif gprof
16729 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16730 maybe-install-pdf-gprof:
16731 @if gprof
16732 maybe-install-pdf-gprof: install-pdf-gprof
16734 install-pdf-gprof: \
16735 configure-gprof \
16736 pdf-gprof
16737 @: $(MAKE); $(unstage)
16738 @[ -f ./gprof/Makefile ] || exit 0; \
16739 r=`${PWD_COMMAND}`; export r; \
16740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16741 $(HOST_EXPORTS) \
16742 for flag in $(EXTRA_HOST_FLAGS) ; do \
16743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16744 done; \
16745 echo "Doing install-pdf in gprof" ; \
16746 (cd $(HOST_SUBDIR)/gprof && \
16747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16749 "RANLIB=$${RANLIB}" \
16750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16751 install-pdf) \
16752 || exit 1
16754 @endif gprof
16756 .PHONY: maybe-install-html-gprof install-html-gprof
16757 maybe-install-html-gprof:
16758 @if gprof
16759 maybe-install-html-gprof: install-html-gprof
16761 install-html-gprof: \
16762 configure-gprof \
16763 html-gprof
16764 @: $(MAKE); $(unstage)
16765 @[ -f ./gprof/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(HOST_EXPORTS) \
16769 for flag in $(EXTRA_HOST_FLAGS) ; do \
16770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16771 done; \
16772 echo "Doing install-html in gprof" ; \
16773 (cd $(HOST_SUBDIR)/gprof && \
16774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776 "RANLIB=$${RANLIB}" \
16777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16778 install-html) \
16779 || exit 1
16781 @endif gprof
16783 .PHONY: maybe-installcheck-gprof installcheck-gprof
16784 maybe-installcheck-gprof:
16785 @if gprof
16786 maybe-installcheck-gprof: installcheck-gprof
16788 installcheck-gprof: \
16789 configure-gprof
16790 @: $(MAKE); $(unstage)
16791 @[ -f ./gprof/Makefile ] || exit 0; \
16792 r=`${PWD_COMMAND}`; export r; \
16793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16794 $(HOST_EXPORTS) \
16795 for flag in $(EXTRA_HOST_FLAGS) ; do \
16796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16797 done; \
16798 echo "Doing installcheck in gprof" ; \
16799 (cd $(HOST_SUBDIR)/gprof && \
16800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16802 "RANLIB=$${RANLIB}" \
16803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16804 installcheck) \
16805 || exit 1
16807 @endif gprof
16809 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16810 maybe-mostlyclean-gprof:
16811 @if gprof
16812 maybe-mostlyclean-gprof: mostlyclean-gprof
16814 mostlyclean-gprof:
16815 @: $(MAKE); $(unstage)
16816 @[ -f ./gprof/Makefile ] || exit 0; \
16817 r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(HOST_EXPORTS) \
16820 for flag in $(EXTRA_HOST_FLAGS) ; do \
16821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16822 done; \
16823 echo "Doing mostlyclean in gprof" ; \
16824 (cd $(HOST_SUBDIR)/gprof && \
16825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16827 "RANLIB=$${RANLIB}" \
16828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16829 mostlyclean) \
16830 || exit 1
16832 @endif gprof
16834 .PHONY: maybe-clean-gprof clean-gprof
16835 maybe-clean-gprof:
16836 @if gprof
16837 maybe-clean-gprof: clean-gprof
16839 clean-gprof:
16840 @: $(MAKE); $(unstage)
16841 @[ -f ./gprof/Makefile ] || exit 0; \
16842 r=`${PWD_COMMAND}`; export r; \
16843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing clean in gprof" ; \
16849 (cd $(HOST_SUBDIR)/gprof && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16854 clean) \
16855 || exit 1
16857 @endif gprof
16859 .PHONY: maybe-distclean-gprof distclean-gprof
16860 maybe-distclean-gprof:
16861 @if gprof
16862 maybe-distclean-gprof: distclean-gprof
16864 distclean-gprof:
16865 @: $(MAKE); $(unstage)
16866 @[ -f ./gprof/Makefile ] || exit 0; \
16867 r=`${PWD_COMMAND}`; export r; \
16868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16869 $(HOST_EXPORTS) \
16870 for flag in $(EXTRA_HOST_FLAGS) ; do \
16871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16872 done; \
16873 echo "Doing distclean in gprof" ; \
16874 (cd $(HOST_SUBDIR)/gprof && \
16875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16877 "RANLIB=$${RANLIB}" \
16878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16879 distclean) \
16880 || exit 1
16882 @endif gprof
16884 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16885 maybe-maintainer-clean-gprof:
16886 @if gprof
16887 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16889 maintainer-clean-gprof:
16890 @: $(MAKE); $(unstage)
16891 @[ -f ./gprof/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 $(HOST_EXPORTS) \
16895 for flag in $(EXTRA_HOST_FLAGS) ; do \
16896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16897 done; \
16898 echo "Doing maintainer-clean in gprof" ; \
16899 (cd $(HOST_SUBDIR)/gprof && \
16900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16902 "RANLIB=$${RANLIB}" \
16903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16904 maintainer-clean) \
16905 || exit 1
16907 @endif gprof
16911 .PHONY: configure-intl maybe-configure-intl
16912 maybe-configure-intl:
16913 @if gcc-bootstrap
16914 configure-intl: stage_current
16915 @endif gcc-bootstrap
16916 @if intl
16917 maybe-configure-intl: configure-intl
16918 configure-intl:
16919 @r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16923 $(HOST_EXPORTS) \
16924 echo Configuring in $(HOST_SUBDIR)/intl; \
16925 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16926 case $(srcdir) in \
16927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16928 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16930 esac; \
16931 srcdiroption="--srcdir=$${topdir}/intl"; \
16932 libsrcdir="$$s/intl"; \
16933 $(SHELL) $${libsrcdir}/configure \
16934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16935 --target=${target_alias} $${srcdiroption} \
16936 || exit 1
16937 @endif intl
16941 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16942 maybe-configure-stage1-intl:
16943 @if intl-bootstrap
16944 maybe-configure-stage1-intl: configure-stage1-intl
16945 configure-stage1-intl:
16946 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16948 @r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 TFLAGS="$(STAGE1_TFLAGS)"; \
16951 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16952 $(HOST_EXPORTS) \
16953 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16954 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16955 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16956 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16958 cd $(HOST_SUBDIR)/intl || exit 1; \
16959 case $(srcdir) in \
16960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16961 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16963 esac; \
16964 srcdiroption="--srcdir=$${topdir}/intl"; \
16965 libsrcdir="$$s/intl"; \
16966 $(SHELL) $${libsrcdir}/configure \
16967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16968 --target=${target_alias} $${srcdiroption} \
16969 $(STAGE1_CONFIGURE_FLAGS)
16970 @endif intl-bootstrap
16972 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16973 maybe-configure-stage2-intl:
16974 @if intl-bootstrap
16975 maybe-configure-stage2-intl: configure-stage2-intl
16976 configure-stage2-intl:
16977 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16979 @r=`${PWD_COMMAND}`; export r; \
16980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 TFLAGS="$(STAGE2_TFLAGS)"; \
16982 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16983 $(HOST_EXPORTS) \
16984 $(POSTSTAGE1_HOST_EXPORTS) \
16985 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16986 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16987 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16988 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16990 cd $(HOST_SUBDIR)/intl || exit 1; \
16991 case $(srcdir) in \
16992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16993 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16995 esac; \
16996 srcdiroption="--srcdir=$${topdir}/intl"; \
16997 libsrcdir="$$s/intl"; \
16998 $(SHELL) $${libsrcdir}/configure \
16999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17000 --target=${target_alias} $${srcdiroption} \
17001 --with-build-libsubdir=$(HOST_SUBDIR) \
17002 $(STAGE2_CONFIGURE_FLAGS)
17003 @endif intl-bootstrap
17005 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17006 maybe-configure-stage3-intl:
17007 @if intl-bootstrap
17008 maybe-configure-stage3-intl: configure-stage3-intl
17009 configure-stage3-intl:
17010 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17012 @r=`${PWD_COMMAND}`; export r; \
17013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17014 TFLAGS="$(STAGE3_TFLAGS)"; \
17015 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17016 $(HOST_EXPORTS) \
17017 $(POSTSTAGE1_HOST_EXPORTS) \
17018 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17019 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17020 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17021 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17023 cd $(HOST_SUBDIR)/intl || exit 1; \
17024 case $(srcdir) in \
17025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17026 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17028 esac; \
17029 srcdiroption="--srcdir=$${topdir}/intl"; \
17030 libsrcdir="$$s/intl"; \
17031 $(SHELL) $${libsrcdir}/configure \
17032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17033 --target=${target_alias} $${srcdiroption} \
17034 --with-build-libsubdir=$(HOST_SUBDIR) \
17035 $(STAGE3_CONFIGURE_FLAGS)
17036 @endif intl-bootstrap
17038 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17039 maybe-configure-stage4-intl:
17040 @if intl-bootstrap
17041 maybe-configure-stage4-intl: configure-stage4-intl
17042 configure-stage4-intl:
17043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17045 @r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 TFLAGS="$(STAGE4_TFLAGS)"; \
17048 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17049 $(HOST_EXPORTS) \
17050 $(POSTSTAGE1_HOST_EXPORTS) \
17051 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17052 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17053 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17054 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17056 cd $(HOST_SUBDIR)/intl || exit 1; \
17057 case $(srcdir) in \
17058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17059 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17061 esac; \
17062 srcdiroption="--srcdir=$${topdir}/intl"; \
17063 libsrcdir="$$s/intl"; \
17064 $(SHELL) $${libsrcdir}/configure \
17065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17066 --target=${target_alias} $${srcdiroption} \
17067 --with-build-libsubdir=$(HOST_SUBDIR) \
17068 $(STAGE4_CONFIGURE_FLAGS)
17069 @endif intl-bootstrap
17071 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17072 maybe-configure-stageprofile-intl:
17073 @if intl-bootstrap
17074 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17075 configure-stageprofile-intl:
17076 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17078 @r=`${PWD_COMMAND}`; export r; \
17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17081 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17082 $(HOST_EXPORTS) \
17083 $(POSTSTAGE1_HOST_EXPORTS) \
17084 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17085 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17086 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17087 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17089 cd $(HOST_SUBDIR)/intl || exit 1; \
17090 case $(srcdir) in \
17091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17092 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17094 esac; \
17095 srcdiroption="--srcdir=$${topdir}/intl"; \
17096 libsrcdir="$$s/intl"; \
17097 $(SHELL) $${libsrcdir}/configure \
17098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17099 --target=${target_alias} $${srcdiroption} \
17100 --with-build-libsubdir=$(HOST_SUBDIR) \
17101 $(STAGEprofile_CONFIGURE_FLAGS)
17102 @endif intl-bootstrap
17104 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17105 maybe-configure-stagefeedback-intl:
17106 @if intl-bootstrap
17107 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17108 configure-stagefeedback-intl:
17109 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17111 @r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17114 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17115 $(HOST_EXPORTS) \
17116 $(POSTSTAGE1_HOST_EXPORTS) \
17117 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17118 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17119 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17120 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17122 cd $(HOST_SUBDIR)/intl || exit 1; \
17123 case $(srcdir) in \
17124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17125 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17127 esac; \
17128 srcdiroption="--srcdir=$${topdir}/intl"; \
17129 libsrcdir="$$s/intl"; \
17130 $(SHELL) $${libsrcdir}/configure \
17131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17132 --target=${target_alias} $${srcdiroption} \
17133 --with-build-libsubdir=$(HOST_SUBDIR) \
17134 $(STAGEfeedback_CONFIGURE_FLAGS)
17135 @endif intl-bootstrap
17141 .PHONY: all-intl maybe-all-intl
17142 maybe-all-intl:
17143 @if gcc-bootstrap
17144 all-intl: stage_current
17145 @endif gcc-bootstrap
17146 @if intl
17147 TARGET-intl=all
17148 maybe-all-intl: all-intl
17149 all-intl: configure-intl
17150 @r=`${PWD_COMMAND}`; export r; \
17151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17152 $(HOST_EXPORTS) \
17153 (cd $(HOST_SUBDIR)/intl && \
17154 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17155 $(TARGET-intl))
17156 @endif intl
17160 .PHONY: all-stage1-intl maybe-all-stage1-intl
17161 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17162 maybe-all-stage1-intl:
17163 maybe-clean-stage1-intl:
17164 @if intl-bootstrap
17165 maybe-all-stage1-intl: all-stage1-intl
17166 all-stage1: all-stage1-intl
17167 TARGET-stage1-intl = $(TARGET-intl)
17168 all-stage1-intl: configure-stage1-intl
17169 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17170 @r=`${PWD_COMMAND}`; export r; \
17171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17172 TFLAGS="$(STAGE1_TFLAGS)"; \
17173 $(HOST_EXPORTS) \
17174 cd $(HOST_SUBDIR)/intl && \
17175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17176 CFLAGS="$(STAGE1_CFLAGS)" \
17177 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17178 LIBCFLAGS="$(LIBCFLAGS)" \
17179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17182 $(EXTRA_HOST_FLAGS) \
17183 $(STAGE1_FLAGS_TO_PASS) \
17184 TFLAGS="$(STAGE1_TFLAGS)" \
17185 $(TARGET-stage1-intl)
17187 maybe-clean-stage1-intl: clean-stage1-intl
17188 clean-stage1: clean-stage1-intl
17189 clean-stage1-intl:
17190 @if [ $(current_stage) = stage1 ]; then \
17191 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17192 else \
17193 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17194 $(MAKE) stage1-start; \
17195 fi; \
17196 cd $(HOST_SUBDIR)/intl && \
17197 $(MAKE) $(EXTRA_HOST_FLAGS) \
17198 $(STAGE1_FLAGS_TO_PASS) clean
17199 @endif intl-bootstrap
17202 .PHONY: all-stage2-intl maybe-all-stage2-intl
17203 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17204 maybe-all-stage2-intl:
17205 maybe-clean-stage2-intl:
17206 @if intl-bootstrap
17207 maybe-all-stage2-intl: all-stage2-intl
17208 all-stage2: all-stage2-intl
17209 TARGET-stage2-intl = $(TARGET-intl)
17210 all-stage2-intl: configure-stage2-intl
17211 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17212 @r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 TFLAGS="$(STAGE2_TFLAGS)"; \
17215 $(HOST_EXPORTS) \
17216 $(POSTSTAGE1_HOST_EXPORTS) \
17217 cd $(HOST_SUBDIR)/intl && \
17218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17219 CFLAGS="$(STAGE2_CFLAGS)" \
17220 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17221 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17226 TFLAGS="$(STAGE2_TFLAGS)" \
17227 $(TARGET-stage2-intl)
17229 maybe-clean-stage2-intl: clean-stage2-intl
17230 clean-stage2: clean-stage2-intl
17231 clean-stage2-intl:
17232 @if [ $(current_stage) = stage2 ]; then \
17233 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17234 else \
17235 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17236 $(MAKE) stage2-start; \
17237 fi; \
17238 cd $(HOST_SUBDIR)/intl && \
17239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17240 @endif intl-bootstrap
17243 .PHONY: all-stage3-intl maybe-all-stage3-intl
17244 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17245 maybe-all-stage3-intl:
17246 maybe-clean-stage3-intl:
17247 @if intl-bootstrap
17248 maybe-all-stage3-intl: all-stage3-intl
17249 all-stage3: all-stage3-intl
17250 TARGET-stage3-intl = $(TARGET-intl)
17251 all-stage3-intl: configure-stage3-intl
17252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17253 @r=`${PWD_COMMAND}`; export r; \
17254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17255 TFLAGS="$(STAGE3_TFLAGS)"; \
17256 $(HOST_EXPORTS) \
17257 $(POSTSTAGE1_HOST_EXPORTS) \
17258 cd $(HOST_SUBDIR)/intl && \
17259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17260 CFLAGS="$(STAGE3_CFLAGS)" \
17261 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17262 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17267 TFLAGS="$(STAGE3_TFLAGS)" \
17268 $(TARGET-stage3-intl)
17270 maybe-clean-stage3-intl: clean-stage3-intl
17271 clean-stage3: clean-stage3-intl
17272 clean-stage3-intl:
17273 @if [ $(current_stage) = stage3 ]; then \
17274 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17275 else \
17276 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17277 $(MAKE) stage3-start; \
17278 fi; \
17279 cd $(HOST_SUBDIR)/intl && \
17280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17281 @endif intl-bootstrap
17284 .PHONY: all-stage4-intl maybe-all-stage4-intl
17285 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17286 maybe-all-stage4-intl:
17287 maybe-clean-stage4-intl:
17288 @if intl-bootstrap
17289 maybe-all-stage4-intl: all-stage4-intl
17290 all-stage4: all-stage4-intl
17291 TARGET-stage4-intl = $(TARGET-intl)
17292 all-stage4-intl: configure-stage4-intl
17293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17294 @r=`${PWD_COMMAND}`; export r; \
17295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17296 TFLAGS="$(STAGE4_TFLAGS)"; \
17297 $(HOST_EXPORTS) \
17298 $(POSTSTAGE1_HOST_EXPORTS) \
17299 cd $(HOST_SUBDIR)/intl && \
17300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17301 CFLAGS="$(STAGE4_CFLAGS)" \
17302 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17303 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17308 TFLAGS="$(STAGE4_TFLAGS)" \
17309 $(TARGET-stage4-intl)
17311 maybe-clean-stage4-intl: clean-stage4-intl
17312 clean-stage4: clean-stage4-intl
17313 clean-stage4-intl:
17314 @if [ $(current_stage) = stage4 ]; then \
17315 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17316 else \
17317 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17318 $(MAKE) stage4-start; \
17319 fi; \
17320 cd $(HOST_SUBDIR)/intl && \
17321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17322 @endif intl-bootstrap
17325 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17326 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17327 maybe-all-stageprofile-intl:
17328 maybe-clean-stageprofile-intl:
17329 @if intl-bootstrap
17330 maybe-all-stageprofile-intl: all-stageprofile-intl
17331 all-stageprofile: all-stageprofile-intl
17332 TARGET-stageprofile-intl = $(TARGET-intl)
17333 all-stageprofile-intl: configure-stageprofile-intl
17334 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17335 @r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17338 $(HOST_EXPORTS) \
17339 $(POSTSTAGE1_HOST_EXPORTS) \
17340 cd $(HOST_SUBDIR)/intl && \
17341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17342 CFLAGS="$(STAGEprofile_CFLAGS)" \
17343 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17344 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17349 TFLAGS="$(STAGEprofile_TFLAGS)" \
17350 $(TARGET-stageprofile-intl)
17352 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17353 clean-stageprofile: clean-stageprofile-intl
17354 clean-stageprofile-intl:
17355 @if [ $(current_stage) = stageprofile ]; then \
17356 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17357 else \
17358 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17359 $(MAKE) stageprofile-start; \
17360 fi; \
17361 cd $(HOST_SUBDIR)/intl && \
17362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17363 @endif intl-bootstrap
17366 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17367 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17368 maybe-all-stagefeedback-intl:
17369 maybe-clean-stagefeedback-intl:
17370 @if intl-bootstrap
17371 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17372 all-stagefeedback: all-stagefeedback-intl
17373 TARGET-stagefeedback-intl = $(TARGET-intl)
17374 all-stagefeedback-intl: configure-stagefeedback-intl
17375 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17376 @r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17378 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17379 $(HOST_EXPORTS) \
17380 $(POSTSTAGE1_HOST_EXPORTS) \
17381 cd $(HOST_SUBDIR)/intl && \
17382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17383 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17384 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17385 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17390 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17391 $(TARGET-stagefeedback-intl)
17393 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17394 clean-stagefeedback: clean-stagefeedback-intl
17395 clean-stagefeedback-intl:
17396 @if [ $(current_stage) = stagefeedback ]; then \
17397 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17398 else \
17399 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17400 $(MAKE) stagefeedback-start; \
17401 fi; \
17402 cd $(HOST_SUBDIR)/intl && \
17403 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17404 @endif intl-bootstrap
17410 .PHONY: check-intl maybe-check-intl
17411 maybe-check-intl:
17412 @if intl
17413 maybe-check-intl: check-intl
17415 check-intl:
17416 @: $(MAKE); $(unstage)
17417 @r=`${PWD_COMMAND}`; export r; \
17418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17419 $(HOST_EXPORTS) \
17420 (cd $(HOST_SUBDIR)/intl && \
17421 $(MAKE) $(FLAGS_TO_PASS) check)
17423 @endif intl
17425 .PHONY: install-intl maybe-install-intl
17426 maybe-install-intl:
17427 @if intl
17428 maybe-install-intl: install-intl
17430 install-intl: installdirs
17431 @: $(MAKE); $(unstage)
17432 @r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 $(HOST_EXPORTS) \
17435 (cd $(HOST_SUBDIR)/intl && \
17436 $(MAKE) $(FLAGS_TO_PASS) install)
17438 @endif intl
17440 .PHONY: install-strip-intl maybe-install-strip-intl
17441 maybe-install-strip-intl:
17442 @if intl
17443 maybe-install-strip-intl: install-strip-intl
17445 install-strip-intl: installdirs
17446 @: $(MAKE); $(unstage)
17447 @r=`${PWD_COMMAND}`; export r; \
17448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17449 $(HOST_EXPORTS) \
17450 (cd $(HOST_SUBDIR)/intl && \
17451 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17453 @endif intl
17455 # Other targets (info, dvi, pdf, etc.)
17457 .PHONY: maybe-info-intl info-intl
17458 maybe-info-intl:
17459 @if intl
17460 maybe-info-intl: info-intl
17462 info-intl: \
17463 configure-intl
17464 @[ -f ./intl/Makefile ] || exit 0; \
17465 r=`${PWD_COMMAND}`; export r; \
17466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17467 $(HOST_EXPORTS) \
17468 for flag in $(EXTRA_HOST_FLAGS) ; do \
17469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17470 done; \
17471 echo "Doing info in intl" ; \
17472 (cd $(HOST_SUBDIR)/intl && \
17473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17475 "RANLIB=$${RANLIB}" \
17476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17477 info) \
17478 || exit 1
17480 @endif intl
17482 .PHONY: maybe-dvi-intl dvi-intl
17483 maybe-dvi-intl:
17484 @if intl
17485 maybe-dvi-intl: dvi-intl
17487 dvi-intl: \
17488 configure-intl
17489 @[ -f ./intl/Makefile ] || exit 0; \
17490 r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 $(HOST_EXPORTS) \
17493 for flag in $(EXTRA_HOST_FLAGS) ; do \
17494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495 done; \
17496 echo "Doing dvi in intl" ; \
17497 (cd $(HOST_SUBDIR)/intl && \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500 "RANLIB=$${RANLIB}" \
17501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17502 dvi) \
17503 || exit 1
17505 @endif intl
17507 .PHONY: maybe-pdf-intl pdf-intl
17508 maybe-pdf-intl:
17509 @if intl
17510 maybe-pdf-intl: pdf-intl
17512 pdf-intl: \
17513 configure-intl
17514 @[ -f ./intl/Makefile ] || exit 0; \
17515 r=`${PWD_COMMAND}`; export r; \
17516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 $(HOST_EXPORTS) \
17518 for flag in $(EXTRA_HOST_FLAGS) ; do \
17519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17520 done; \
17521 echo "Doing pdf in intl" ; \
17522 (cd $(HOST_SUBDIR)/intl && \
17523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17525 "RANLIB=$${RANLIB}" \
17526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17527 pdf) \
17528 || exit 1
17530 @endif intl
17532 .PHONY: maybe-html-intl html-intl
17533 maybe-html-intl:
17534 @if intl
17535 maybe-html-intl: html-intl
17537 html-intl: \
17538 configure-intl
17539 @[ -f ./intl/Makefile ] || exit 0; \
17540 r=`${PWD_COMMAND}`; export r; \
17541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 $(HOST_EXPORTS) \
17543 for flag in $(EXTRA_HOST_FLAGS) ; do \
17544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 done; \
17546 echo "Doing html in intl" ; \
17547 (cd $(HOST_SUBDIR)/intl && \
17548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17550 "RANLIB=$${RANLIB}" \
17551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17552 html) \
17553 || exit 1
17555 @endif intl
17557 .PHONY: maybe-TAGS-intl TAGS-intl
17558 maybe-TAGS-intl:
17559 @if intl
17560 maybe-TAGS-intl: TAGS-intl
17562 TAGS-intl: \
17563 configure-intl
17564 @[ -f ./intl/Makefile ] || exit 0; \
17565 r=`${PWD_COMMAND}`; export r; \
17566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567 $(HOST_EXPORTS) \
17568 for flag in $(EXTRA_HOST_FLAGS) ; do \
17569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17570 done; \
17571 echo "Doing TAGS in intl" ; \
17572 (cd $(HOST_SUBDIR)/intl && \
17573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17575 "RANLIB=$${RANLIB}" \
17576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17577 TAGS) \
17578 || exit 1
17580 @endif intl
17582 .PHONY: maybe-install-info-intl install-info-intl
17583 maybe-install-info-intl:
17584 @if intl
17585 maybe-install-info-intl: install-info-intl
17587 install-info-intl: \
17588 configure-intl \
17589 info-intl
17590 @[ -f ./intl/Makefile ] || exit 0; \
17591 r=`${PWD_COMMAND}`; export r; \
17592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17593 $(HOST_EXPORTS) \
17594 for flag in $(EXTRA_HOST_FLAGS) ; do \
17595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17596 done; \
17597 echo "Doing install-info in intl" ; \
17598 (cd $(HOST_SUBDIR)/intl && \
17599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17601 "RANLIB=$${RANLIB}" \
17602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17603 install-info) \
17604 || exit 1
17606 @endif intl
17608 .PHONY: maybe-install-pdf-intl install-pdf-intl
17609 maybe-install-pdf-intl:
17610 @if intl
17611 maybe-install-pdf-intl: install-pdf-intl
17613 install-pdf-intl: \
17614 configure-intl \
17615 pdf-intl
17616 @[ -f ./intl/Makefile ] || exit 0; \
17617 r=`${PWD_COMMAND}`; export r; \
17618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 $(HOST_EXPORTS) \
17620 for flag in $(EXTRA_HOST_FLAGS) ; do \
17621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17622 done; \
17623 echo "Doing install-pdf in intl" ; \
17624 (cd $(HOST_SUBDIR)/intl && \
17625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17627 "RANLIB=$${RANLIB}" \
17628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17629 install-pdf) \
17630 || exit 1
17632 @endif intl
17634 .PHONY: maybe-install-html-intl install-html-intl
17635 maybe-install-html-intl:
17636 @if intl
17637 maybe-install-html-intl: install-html-intl
17639 install-html-intl: \
17640 configure-intl \
17641 html-intl
17642 @[ -f ./intl/Makefile ] || exit 0; \
17643 r=`${PWD_COMMAND}`; export r; \
17644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17645 $(HOST_EXPORTS) \
17646 for flag in $(EXTRA_HOST_FLAGS) ; do \
17647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17648 done; \
17649 echo "Doing install-html in intl" ; \
17650 (cd $(HOST_SUBDIR)/intl && \
17651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17653 "RANLIB=$${RANLIB}" \
17654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17655 install-html) \
17656 || exit 1
17658 @endif intl
17660 .PHONY: maybe-installcheck-intl installcheck-intl
17661 maybe-installcheck-intl:
17662 @if intl
17663 maybe-installcheck-intl: installcheck-intl
17665 installcheck-intl: \
17666 configure-intl
17667 @[ -f ./intl/Makefile ] || exit 0; \
17668 r=`${PWD_COMMAND}`; export r; \
17669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 $(HOST_EXPORTS) \
17671 for flag in $(EXTRA_HOST_FLAGS) ; do \
17672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 done; \
17674 echo "Doing installcheck in intl" ; \
17675 (cd $(HOST_SUBDIR)/intl && \
17676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17678 "RANLIB=$${RANLIB}" \
17679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17680 installcheck) \
17681 || exit 1
17683 @endif intl
17685 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17686 maybe-mostlyclean-intl:
17687 @if intl
17688 maybe-mostlyclean-intl: mostlyclean-intl
17690 mostlyclean-intl:
17691 @[ -f ./intl/Makefile ] || exit 0; \
17692 r=`${PWD_COMMAND}`; export r; \
17693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17694 $(HOST_EXPORTS) \
17695 for flag in $(EXTRA_HOST_FLAGS) ; do \
17696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17697 done; \
17698 echo "Doing mostlyclean in intl" ; \
17699 (cd $(HOST_SUBDIR)/intl && \
17700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17702 "RANLIB=$${RANLIB}" \
17703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17704 mostlyclean) \
17705 || exit 1
17707 @endif intl
17709 .PHONY: maybe-clean-intl clean-intl
17710 maybe-clean-intl:
17711 @if intl
17712 maybe-clean-intl: clean-intl
17714 clean-intl:
17715 @[ -f ./intl/Makefile ] || exit 0; \
17716 r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing clean in intl" ; \
17723 (cd $(HOST_SUBDIR)/intl && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17728 clean) \
17729 || exit 1
17731 @endif intl
17733 .PHONY: maybe-distclean-intl distclean-intl
17734 maybe-distclean-intl:
17735 @if intl
17736 maybe-distclean-intl: distclean-intl
17738 distclean-intl:
17739 @[ -f ./intl/Makefile ] || exit 0; \
17740 r=`${PWD_COMMAND}`; export r; \
17741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17742 $(HOST_EXPORTS) \
17743 for flag in $(EXTRA_HOST_FLAGS) ; do \
17744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17745 done; \
17746 echo "Doing distclean in intl" ; \
17747 (cd $(HOST_SUBDIR)/intl && \
17748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17750 "RANLIB=$${RANLIB}" \
17751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17752 distclean) \
17753 || exit 1
17755 @endif intl
17757 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17758 maybe-maintainer-clean-intl:
17759 @if intl
17760 maybe-maintainer-clean-intl: maintainer-clean-intl
17762 maintainer-clean-intl:
17763 @[ -f ./intl/Makefile ] || exit 0; \
17764 r=`${PWD_COMMAND}`; export r; \
17765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17766 $(HOST_EXPORTS) \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17769 done; \
17770 echo "Doing maintainer-clean in intl" ; \
17771 (cd $(HOST_SUBDIR)/intl && \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17776 maintainer-clean) \
17777 || exit 1
17779 @endif intl
17783 .PHONY: configure-tcl maybe-configure-tcl
17784 maybe-configure-tcl:
17785 @if gcc-bootstrap
17786 configure-tcl: stage_current
17787 @endif gcc-bootstrap
17788 @if tcl
17789 maybe-configure-tcl: configure-tcl
17790 configure-tcl:
17791 @: $(MAKE); $(unstage)
17792 @r=`${PWD_COMMAND}`; export r; \
17793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17796 $(HOST_EXPORTS) \
17797 echo Configuring in $(HOST_SUBDIR)/tcl; \
17798 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17799 case $(srcdir) in \
17800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17801 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17803 esac; \
17804 srcdiroption="--srcdir=$${topdir}/tcl"; \
17805 libsrcdir="$$s/tcl"; \
17806 $(SHELL) $${libsrcdir}/configure \
17807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17808 --target=${target_alias} $${srcdiroption} \
17809 || exit 1
17810 @endif tcl
17816 .PHONY: all-tcl maybe-all-tcl
17817 maybe-all-tcl:
17818 @if gcc-bootstrap
17819 all-tcl: stage_current
17820 @endif gcc-bootstrap
17821 @if tcl
17822 TARGET-tcl=all
17823 maybe-all-tcl: all-tcl
17824 all-tcl: configure-tcl
17825 @: $(MAKE); $(unstage)
17826 @r=`${PWD_COMMAND}`; export r; \
17827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17828 $(HOST_EXPORTS) \
17829 (cd $(HOST_SUBDIR)/tcl && \
17830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17831 $(TARGET-tcl))
17832 @endif tcl
17837 .PHONY: check-tcl maybe-check-tcl
17838 maybe-check-tcl:
17839 @if tcl
17840 maybe-check-tcl: check-tcl
17842 check-tcl:
17843 @: $(MAKE); $(unstage)
17844 @r=`${PWD_COMMAND}`; export r; \
17845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 $(HOST_EXPORTS) \
17847 (cd $(HOST_SUBDIR)/tcl && \
17848 $(MAKE) $(FLAGS_TO_PASS) check)
17850 @endif tcl
17852 .PHONY: install-tcl maybe-install-tcl
17853 maybe-install-tcl:
17854 @if tcl
17855 maybe-install-tcl: install-tcl
17857 install-tcl: installdirs
17858 @: $(MAKE); $(unstage)
17859 @r=`${PWD_COMMAND}`; export r; \
17860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17861 $(HOST_EXPORTS) \
17862 (cd $(HOST_SUBDIR)/tcl && \
17863 $(MAKE) $(FLAGS_TO_PASS) install)
17865 @endif tcl
17867 .PHONY: install-strip-tcl maybe-install-strip-tcl
17868 maybe-install-strip-tcl:
17869 @if tcl
17870 maybe-install-strip-tcl: install-strip-tcl
17872 install-strip-tcl: installdirs
17873 @: $(MAKE); $(unstage)
17874 @r=`${PWD_COMMAND}`; export r; \
17875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17876 $(HOST_EXPORTS) \
17877 (cd $(HOST_SUBDIR)/tcl && \
17878 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17880 @endif tcl
17882 # Other targets (info, dvi, pdf, etc.)
17884 .PHONY: maybe-info-tcl info-tcl
17885 maybe-info-tcl:
17886 @if tcl
17887 maybe-info-tcl: info-tcl
17889 info-tcl: \
17890 configure-tcl
17891 @: $(MAKE); $(unstage)
17892 @[ -f ./tcl/Makefile ] || exit 0; \
17893 r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing info in tcl" ; \
17900 (cd $(HOST_SUBDIR)/tcl && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17905 info) \
17906 || exit 1
17908 @endif tcl
17910 .PHONY: maybe-dvi-tcl dvi-tcl
17911 maybe-dvi-tcl:
17912 @if tcl
17913 maybe-dvi-tcl: dvi-tcl
17915 dvi-tcl: \
17916 configure-tcl
17917 @: $(MAKE); $(unstage)
17918 @[ -f ./tcl/Makefile ] || exit 0; \
17919 r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 $(HOST_EXPORTS) \
17922 for flag in $(EXTRA_HOST_FLAGS) ; do \
17923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17924 done; \
17925 echo "Doing dvi in tcl" ; \
17926 (cd $(HOST_SUBDIR)/tcl && \
17927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17929 "RANLIB=$${RANLIB}" \
17930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17931 dvi) \
17932 || exit 1
17934 @endif tcl
17936 .PHONY: maybe-pdf-tcl pdf-tcl
17937 maybe-pdf-tcl:
17938 @if tcl
17939 maybe-pdf-tcl: pdf-tcl
17941 pdf-tcl: \
17942 configure-tcl
17943 @: $(MAKE); $(unstage)
17944 @[ -f ./tcl/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947 $(HOST_EXPORTS) \
17948 for flag in $(EXTRA_HOST_FLAGS) ; do \
17949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17950 done; \
17951 echo "Doing pdf in tcl" ; \
17952 (cd $(HOST_SUBDIR)/tcl && \
17953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17955 "RANLIB=$${RANLIB}" \
17956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17957 pdf) \
17958 || exit 1
17960 @endif tcl
17962 .PHONY: maybe-html-tcl html-tcl
17963 maybe-html-tcl:
17964 @if tcl
17965 maybe-html-tcl: html-tcl
17967 html-tcl: \
17968 configure-tcl
17969 @: $(MAKE); $(unstage)
17970 @[ -f ./tcl/Makefile ] || exit 0; \
17971 r=`${PWD_COMMAND}`; export r; \
17972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17973 $(HOST_EXPORTS) \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976 done; \
17977 echo "Doing html in tcl" ; \
17978 (cd $(HOST_SUBDIR)/tcl && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17983 html) \
17984 || exit 1
17986 @endif tcl
17988 .PHONY: maybe-TAGS-tcl TAGS-tcl
17989 maybe-TAGS-tcl:
17990 @if tcl
17991 maybe-TAGS-tcl: TAGS-tcl
17993 TAGS-tcl: \
17994 configure-tcl
17995 @: $(MAKE); $(unstage)
17996 @[ -f ./tcl/Makefile ] || exit 0; \
17997 r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(HOST_EXPORTS) \
18000 for flag in $(EXTRA_HOST_FLAGS) ; do \
18001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 done; \
18003 echo "Doing TAGS in tcl" ; \
18004 (cd $(HOST_SUBDIR)/tcl && \
18005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18007 "RANLIB=$${RANLIB}" \
18008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18009 TAGS) \
18010 || exit 1
18012 @endif tcl
18014 .PHONY: maybe-install-info-tcl install-info-tcl
18015 maybe-install-info-tcl:
18016 @if tcl
18017 maybe-install-info-tcl: install-info-tcl
18019 install-info-tcl: \
18020 configure-tcl \
18021 info-tcl
18022 @: $(MAKE); $(unstage)
18023 @[ -f ./tcl/Makefile ] || exit 0; \
18024 r=`${PWD_COMMAND}`; export r; \
18025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18026 $(HOST_EXPORTS) \
18027 for flag in $(EXTRA_HOST_FLAGS) ; do \
18028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18029 done; \
18030 echo "Doing install-info in tcl" ; \
18031 (cd $(HOST_SUBDIR)/tcl && \
18032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18034 "RANLIB=$${RANLIB}" \
18035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18036 install-info) \
18037 || exit 1
18039 @endif tcl
18041 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18042 maybe-install-pdf-tcl:
18043 @if tcl
18044 maybe-install-pdf-tcl: install-pdf-tcl
18046 install-pdf-tcl: \
18047 configure-tcl \
18048 pdf-tcl
18049 @: $(MAKE); $(unstage)
18050 @[ -f ./tcl/Makefile ] || exit 0; \
18051 r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 for flag in $(EXTRA_HOST_FLAGS) ; do \
18055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18056 done; \
18057 echo "Doing install-pdf in tcl" ; \
18058 (cd $(HOST_SUBDIR)/tcl && \
18059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18061 "RANLIB=$${RANLIB}" \
18062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18063 install-pdf) \
18064 || exit 1
18066 @endif tcl
18068 .PHONY: maybe-install-html-tcl install-html-tcl
18069 maybe-install-html-tcl:
18070 @if tcl
18071 maybe-install-html-tcl: install-html-tcl
18073 install-html-tcl: \
18074 configure-tcl \
18075 html-tcl
18076 @: $(MAKE); $(unstage)
18077 @[ -f ./tcl/Makefile ] || exit 0; \
18078 r=`${PWD_COMMAND}`; export r; \
18079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080 $(HOST_EXPORTS) \
18081 for flag in $(EXTRA_HOST_FLAGS) ; do \
18082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18083 done; \
18084 echo "Doing install-html in tcl" ; \
18085 (cd $(HOST_SUBDIR)/tcl && \
18086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18088 "RANLIB=$${RANLIB}" \
18089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18090 install-html) \
18091 || exit 1
18093 @endif tcl
18095 .PHONY: maybe-installcheck-tcl installcheck-tcl
18096 maybe-installcheck-tcl:
18097 @if tcl
18098 maybe-installcheck-tcl: installcheck-tcl
18100 installcheck-tcl: \
18101 configure-tcl
18102 @: $(MAKE); $(unstage)
18103 @[ -f ./tcl/Makefile ] || exit 0; \
18104 r=`${PWD_COMMAND}`; export r; \
18105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18106 $(HOST_EXPORTS) \
18107 for flag in $(EXTRA_HOST_FLAGS) ; do \
18108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18109 done; \
18110 echo "Doing installcheck in tcl" ; \
18111 (cd $(HOST_SUBDIR)/tcl && \
18112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18114 "RANLIB=$${RANLIB}" \
18115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18116 installcheck) \
18117 || exit 1
18119 @endif tcl
18121 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18122 maybe-mostlyclean-tcl:
18123 @if tcl
18124 maybe-mostlyclean-tcl: mostlyclean-tcl
18126 # tcl doesn't support mostlyclean.
18127 mostlyclean-tcl:
18129 @endif tcl
18131 .PHONY: maybe-clean-tcl clean-tcl
18132 maybe-clean-tcl:
18133 @if tcl
18134 maybe-clean-tcl: clean-tcl
18136 clean-tcl:
18137 @: $(MAKE); $(unstage)
18138 @[ -f ./tcl/Makefile ] || exit 0; \
18139 r=`${PWD_COMMAND}`; export r; \
18140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18141 $(HOST_EXPORTS) \
18142 for flag in $(EXTRA_HOST_FLAGS) ; do \
18143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18144 done; \
18145 echo "Doing clean in tcl" ; \
18146 (cd $(HOST_SUBDIR)/tcl && \
18147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18149 "RANLIB=$${RANLIB}" \
18150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18151 clean) \
18152 || exit 1
18154 @endif tcl
18156 .PHONY: maybe-distclean-tcl distclean-tcl
18157 maybe-distclean-tcl:
18158 @if tcl
18159 maybe-distclean-tcl: distclean-tcl
18161 distclean-tcl:
18162 @: $(MAKE); $(unstage)
18163 @[ -f ./tcl/Makefile ] || exit 0; \
18164 r=`${PWD_COMMAND}`; export r; \
18165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18166 $(HOST_EXPORTS) \
18167 for flag in $(EXTRA_HOST_FLAGS) ; do \
18168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18169 done; \
18170 echo "Doing distclean in tcl" ; \
18171 (cd $(HOST_SUBDIR)/tcl && \
18172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18174 "RANLIB=$${RANLIB}" \
18175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18176 distclean) \
18177 || exit 1
18179 @endif tcl
18181 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18182 maybe-maintainer-clean-tcl:
18183 @if tcl
18184 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18186 maintainer-clean-tcl:
18187 @: $(MAKE); $(unstage)
18188 @[ -f ./tcl/Makefile ] || exit 0; \
18189 r=`${PWD_COMMAND}`; export r; \
18190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18191 $(HOST_EXPORTS) \
18192 for flag in $(EXTRA_HOST_FLAGS) ; do \
18193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18194 done; \
18195 echo "Doing maintainer-clean in tcl" ; \
18196 (cd $(HOST_SUBDIR)/tcl && \
18197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18199 "RANLIB=$${RANLIB}" \
18200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18201 maintainer-clean) \
18202 || exit 1
18204 @endif tcl
18208 .PHONY: configure-itcl maybe-configure-itcl
18209 maybe-configure-itcl:
18210 @if gcc-bootstrap
18211 configure-itcl: stage_current
18212 @endif gcc-bootstrap
18213 @if itcl
18214 maybe-configure-itcl: configure-itcl
18215 configure-itcl:
18216 @: $(MAKE); $(unstage)
18217 @r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18221 $(HOST_EXPORTS) \
18222 echo Configuring in $(HOST_SUBDIR)/itcl; \
18223 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18224 case $(srcdir) in \
18225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18226 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18228 esac; \
18229 srcdiroption="--srcdir=$${topdir}/itcl"; \
18230 libsrcdir="$$s/itcl"; \
18231 $(SHELL) $${libsrcdir}/configure \
18232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18233 --target=${target_alias} $${srcdiroption} \
18234 || exit 1
18235 @endif itcl
18241 .PHONY: all-itcl maybe-all-itcl
18242 maybe-all-itcl:
18243 @if gcc-bootstrap
18244 all-itcl: stage_current
18245 @endif gcc-bootstrap
18246 @if itcl
18247 TARGET-itcl=all
18248 maybe-all-itcl: all-itcl
18249 all-itcl: configure-itcl
18250 @: $(MAKE); $(unstage)
18251 @r=`${PWD_COMMAND}`; export r; \
18252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18253 $(HOST_EXPORTS) \
18254 (cd $(HOST_SUBDIR)/itcl && \
18255 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18256 $(TARGET-itcl))
18257 @endif itcl
18262 .PHONY: check-itcl maybe-check-itcl
18263 maybe-check-itcl:
18264 @if itcl
18265 maybe-check-itcl: check-itcl
18267 check-itcl:
18268 @: $(MAKE); $(unstage)
18269 @r=`${PWD_COMMAND}`; export r; \
18270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18271 $(HOST_EXPORTS) \
18272 (cd $(HOST_SUBDIR)/itcl && \
18273 $(MAKE) $(FLAGS_TO_PASS) check)
18275 @endif itcl
18277 .PHONY: install-itcl maybe-install-itcl
18278 maybe-install-itcl:
18279 @if itcl
18280 maybe-install-itcl: install-itcl
18282 install-itcl: installdirs
18283 @: $(MAKE); $(unstage)
18284 @r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 $(HOST_EXPORTS) \
18287 (cd $(HOST_SUBDIR)/itcl && \
18288 $(MAKE) $(FLAGS_TO_PASS) install)
18290 @endif itcl
18292 .PHONY: install-strip-itcl maybe-install-strip-itcl
18293 maybe-install-strip-itcl:
18294 @if itcl
18295 maybe-install-strip-itcl: install-strip-itcl
18297 install-strip-itcl: installdirs
18298 @: $(MAKE); $(unstage)
18299 @r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18301 $(HOST_EXPORTS) \
18302 (cd $(HOST_SUBDIR)/itcl && \
18303 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18305 @endif itcl
18307 # Other targets (info, dvi, pdf, etc.)
18309 .PHONY: maybe-info-itcl info-itcl
18310 maybe-info-itcl:
18311 @if itcl
18312 maybe-info-itcl: info-itcl
18314 info-itcl: \
18315 configure-itcl
18316 @: $(MAKE); $(unstage)
18317 @[ -f ./itcl/Makefile ] || exit 0; \
18318 r=`${PWD_COMMAND}`; export r; \
18319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18320 $(HOST_EXPORTS) \
18321 for flag in $(EXTRA_HOST_FLAGS) ; do \
18322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18323 done; \
18324 echo "Doing info in itcl" ; \
18325 (cd $(HOST_SUBDIR)/itcl && \
18326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18328 "RANLIB=$${RANLIB}" \
18329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18330 info) \
18331 || exit 1
18333 @endif itcl
18335 .PHONY: maybe-dvi-itcl dvi-itcl
18336 maybe-dvi-itcl:
18337 @if itcl
18338 maybe-dvi-itcl: dvi-itcl
18340 dvi-itcl: \
18341 configure-itcl
18342 @: $(MAKE); $(unstage)
18343 @[ -f ./itcl/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 $(HOST_EXPORTS) \
18347 for flag in $(EXTRA_HOST_FLAGS) ; do \
18348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18349 done; \
18350 echo "Doing dvi in itcl" ; \
18351 (cd $(HOST_SUBDIR)/itcl && \
18352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354 "RANLIB=$${RANLIB}" \
18355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18356 dvi) \
18357 || exit 1
18359 @endif itcl
18361 .PHONY: maybe-pdf-itcl pdf-itcl
18362 maybe-pdf-itcl:
18363 @if itcl
18364 maybe-pdf-itcl: pdf-itcl
18366 pdf-itcl: \
18367 configure-itcl
18368 @: $(MAKE); $(unstage)
18369 @[ -f ./itcl/Makefile ] || exit 0; \
18370 r=`${PWD_COMMAND}`; export r; \
18371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18372 $(HOST_EXPORTS) \
18373 for flag in $(EXTRA_HOST_FLAGS) ; do \
18374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18375 done; \
18376 echo "Doing pdf in itcl" ; \
18377 (cd $(HOST_SUBDIR)/itcl && \
18378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18380 "RANLIB=$${RANLIB}" \
18381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18382 pdf) \
18383 || exit 1
18385 @endif itcl
18387 .PHONY: maybe-html-itcl html-itcl
18388 maybe-html-itcl:
18389 @if itcl
18390 maybe-html-itcl: html-itcl
18392 html-itcl: \
18393 configure-itcl
18394 @: $(MAKE); $(unstage)
18395 @[ -f ./itcl/Makefile ] || exit 0; \
18396 r=`${PWD_COMMAND}`; export r; \
18397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18398 $(HOST_EXPORTS) \
18399 for flag in $(EXTRA_HOST_FLAGS) ; do \
18400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18401 done; \
18402 echo "Doing html in itcl" ; \
18403 (cd $(HOST_SUBDIR)/itcl && \
18404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18406 "RANLIB=$${RANLIB}" \
18407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18408 html) \
18409 || exit 1
18411 @endif itcl
18413 .PHONY: maybe-TAGS-itcl TAGS-itcl
18414 maybe-TAGS-itcl:
18415 @if itcl
18416 maybe-TAGS-itcl: TAGS-itcl
18418 TAGS-itcl: \
18419 configure-itcl
18420 @: $(MAKE); $(unstage)
18421 @[ -f ./itcl/Makefile ] || exit 0; \
18422 r=`${PWD_COMMAND}`; export r; \
18423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18424 $(HOST_EXPORTS) \
18425 for flag in $(EXTRA_HOST_FLAGS) ; do \
18426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18427 done; \
18428 echo "Doing TAGS in itcl" ; \
18429 (cd $(HOST_SUBDIR)/itcl && \
18430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18432 "RANLIB=$${RANLIB}" \
18433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18434 TAGS) \
18435 || exit 1
18437 @endif itcl
18439 .PHONY: maybe-install-info-itcl install-info-itcl
18440 maybe-install-info-itcl:
18441 @if itcl
18442 maybe-install-info-itcl: install-info-itcl
18444 install-info-itcl: \
18445 configure-itcl \
18446 info-itcl
18447 @: $(MAKE); $(unstage)
18448 @[ -f ./itcl/Makefile ] || exit 0; \
18449 r=`${PWD_COMMAND}`; export r; \
18450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18451 $(HOST_EXPORTS) \
18452 for flag in $(EXTRA_HOST_FLAGS) ; do \
18453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18454 done; \
18455 echo "Doing install-info in itcl" ; \
18456 (cd $(HOST_SUBDIR)/itcl && \
18457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18459 "RANLIB=$${RANLIB}" \
18460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18461 install-info) \
18462 || exit 1
18464 @endif itcl
18466 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18467 maybe-install-pdf-itcl:
18468 @if itcl
18469 maybe-install-pdf-itcl: install-pdf-itcl
18471 install-pdf-itcl: \
18472 configure-itcl \
18473 pdf-itcl
18474 @: $(MAKE); $(unstage)
18475 @[ -f ./itcl/Makefile ] || exit 0; \
18476 r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 $(HOST_EXPORTS) \
18479 for flag in $(EXTRA_HOST_FLAGS) ; do \
18480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18481 done; \
18482 echo "Doing install-pdf in itcl" ; \
18483 (cd $(HOST_SUBDIR)/itcl && \
18484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18486 "RANLIB=$${RANLIB}" \
18487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18488 install-pdf) \
18489 || exit 1
18491 @endif itcl
18493 .PHONY: maybe-install-html-itcl install-html-itcl
18494 maybe-install-html-itcl:
18495 @if itcl
18496 maybe-install-html-itcl: install-html-itcl
18498 install-html-itcl: \
18499 configure-itcl \
18500 html-itcl
18501 @: $(MAKE); $(unstage)
18502 @[ -f ./itcl/Makefile ] || exit 0; \
18503 r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(HOST_EXPORTS) \
18506 for flag in $(EXTRA_HOST_FLAGS) ; do \
18507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18508 done; \
18509 echo "Doing install-html in itcl" ; \
18510 (cd $(HOST_SUBDIR)/itcl && \
18511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18513 "RANLIB=$${RANLIB}" \
18514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18515 install-html) \
18516 || exit 1
18518 @endif itcl
18520 .PHONY: maybe-installcheck-itcl installcheck-itcl
18521 maybe-installcheck-itcl:
18522 @if itcl
18523 maybe-installcheck-itcl: installcheck-itcl
18525 installcheck-itcl: \
18526 configure-itcl
18527 @: $(MAKE); $(unstage)
18528 @[ -f ./itcl/Makefile ] || exit 0; \
18529 r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(HOST_EXPORTS) \
18532 for flag in $(EXTRA_HOST_FLAGS) ; do \
18533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18534 done; \
18535 echo "Doing installcheck in itcl" ; \
18536 (cd $(HOST_SUBDIR)/itcl && \
18537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18539 "RANLIB=$${RANLIB}" \
18540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18541 installcheck) \
18542 || exit 1
18544 @endif itcl
18546 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18547 maybe-mostlyclean-itcl:
18548 @if itcl
18549 maybe-mostlyclean-itcl: mostlyclean-itcl
18551 mostlyclean-itcl:
18552 @: $(MAKE); $(unstage)
18553 @[ -f ./itcl/Makefile ] || exit 0; \
18554 r=`${PWD_COMMAND}`; export r; \
18555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18556 $(HOST_EXPORTS) \
18557 for flag in $(EXTRA_HOST_FLAGS) ; do \
18558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18559 done; \
18560 echo "Doing mostlyclean in itcl" ; \
18561 (cd $(HOST_SUBDIR)/itcl && \
18562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18564 "RANLIB=$${RANLIB}" \
18565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18566 mostlyclean) \
18567 || exit 1
18569 @endif itcl
18571 .PHONY: maybe-clean-itcl clean-itcl
18572 maybe-clean-itcl:
18573 @if itcl
18574 maybe-clean-itcl: clean-itcl
18576 clean-itcl:
18577 @: $(MAKE); $(unstage)
18578 @[ -f ./itcl/Makefile ] || exit 0; \
18579 r=`${PWD_COMMAND}`; export r; \
18580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18581 $(HOST_EXPORTS) \
18582 for flag in $(EXTRA_HOST_FLAGS) ; do \
18583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18584 done; \
18585 echo "Doing clean in itcl" ; \
18586 (cd $(HOST_SUBDIR)/itcl && \
18587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18589 "RANLIB=$${RANLIB}" \
18590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18591 clean) \
18592 || exit 1
18594 @endif itcl
18596 .PHONY: maybe-distclean-itcl distclean-itcl
18597 maybe-distclean-itcl:
18598 @if itcl
18599 maybe-distclean-itcl: distclean-itcl
18601 distclean-itcl:
18602 @: $(MAKE); $(unstage)
18603 @[ -f ./itcl/Makefile ] || exit 0; \
18604 r=`${PWD_COMMAND}`; export r; \
18605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18606 $(HOST_EXPORTS) \
18607 for flag in $(EXTRA_HOST_FLAGS) ; do \
18608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18609 done; \
18610 echo "Doing distclean in itcl" ; \
18611 (cd $(HOST_SUBDIR)/itcl && \
18612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18614 "RANLIB=$${RANLIB}" \
18615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18616 distclean) \
18617 || exit 1
18619 @endif itcl
18621 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18622 maybe-maintainer-clean-itcl:
18623 @if itcl
18624 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18626 maintainer-clean-itcl:
18627 @: $(MAKE); $(unstage)
18628 @[ -f ./itcl/Makefile ] || exit 0; \
18629 r=`${PWD_COMMAND}`; export r; \
18630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18631 $(HOST_EXPORTS) \
18632 for flag in $(EXTRA_HOST_FLAGS) ; do \
18633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18634 done; \
18635 echo "Doing maintainer-clean in itcl" ; \
18636 (cd $(HOST_SUBDIR)/itcl && \
18637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18639 "RANLIB=$${RANLIB}" \
18640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18641 maintainer-clean) \
18642 || exit 1
18644 @endif itcl
18648 .PHONY: configure-ld maybe-configure-ld
18649 maybe-configure-ld:
18650 @if gcc-bootstrap
18651 configure-ld: stage_current
18652 @endif gcc-bootstrap
18653 @if ld
18654 maybe-configure-ld: configure-ld
18655 configure-ld:
18656 @r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18660 $(HOST_EXPORTS) \
18661 echo Configuring in $(HOST_SUBDIR)/ld; \
18662 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18663 case $(srcdir) in \
18664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18665 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18667 esac; \
18668 srcdiroption="--srcdir=$${topdir}/ld"; \
18669 libsrcdir="$$s/ld"; \
18670 $(SHELL) $${libsrcdir}/configure \
18671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18672 --target=${target_alias} $${srcdiroption} \
18673 || exit 1
18674 @endif ld
18678 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18679 maybe-configure-stage1-ld:
18680 @if ld-bootstrap
18681 maybe-configure-stage1-ld: configure-stage1-ld
18682 configure-stage1-ld:
18683 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18685 @r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18687 TFLAGS="$(STAGE1_TFLAGS)"; \
18688 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18689 $(HOST_EXPORTS) \
18690 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18691 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18692 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18693 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18695 cd $(HOST_SUBDIR)/ld || exit 1; \
18696 case $(srcdir) in \
18697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18698 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18700 esac; \
18701 srcdiroption="--srcdir=$${topdir}/ld"; \
18702 libsrcdir="$$s/ld"; \
18703 $(SHELL) $${libsrcdir}/configure \
18704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18705 --target=${target_alias} $${srcdiroption} \
18706 $(STAGE1_CONFIGURE_FLAGS)
18707 @endif ld-bootstrap
18709 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18710 maybe-configure-stage2-ld:
18711 @if ld-bootstrap
18712 maybe-configure-stage2-ld: configure-stage2-ld
18713 configure-stage2-ld:
18714 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18716 @r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 TFLAGS="$(STAGE2_TFLAGS)"; \
18719 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18720 $(HOST_EXPORTS) \
18721 $(POSTSTAGE1_HOST_EXPORTS) \
18722 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18723 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18724 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18725 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18727 cd $(HOST_SUBDIR)/ld || exit 1; \
18728 case $(srcdir) in \
18729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18730 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18732 esac; \
18733 srcdiroption="--srcdir=$${topdir}/ld"; \
18734 libsrcdir="$$s/ld"; \
18735 $(SHELL) $${libsrcdir}/configure \
18736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18737 --target=${target_alias} $${srcdiroption} \
18738 --with-build-libsubdir=$(HOST_SUBDIR) \
18739 $(STAGE2_CONFIGURE_FLAGS)
18740 @endif ld-bootstrap
18742 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18743 maybe-configure-stage3-ld:
18744 @if ld-bootstrap
18745 maybe-configure-stage3-ld: configure-stage3-ld
18746 configure-stage3-ld:
18747 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18749 @r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 TFLAGS="$(STAGE3_TFLAGS)"; \
18752 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18753 $(HOST_EXPORTS) \
18754 $(POSTSTAGE1_HOST_EXPORTS) \
18755 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18756 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18757 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18758 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18760 cd $(HOST_SUBDIR)/ld || exit 1; \
18761 case $(srcdir) in \
18762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18763 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18765 esac; \
18766 srcdiroption="--srcdir=$${topdir}/ld"; \
18767 libsrcdir="$$s/ld"; \
18768 $(SHELL) $${libsrcdir}/configure \
18769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18770 --target=${target_alias} $${srcdiroption} \
18771 --with-build-libsubdir=$(HOST_SUBDIR) \
18772 $(STAGE3_CONFIGURE_FLAGS)
18773 @endif ld-bootstrap
18775 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18776 maybe-configure-stage4-ld:
18777 @if ld-bootstrap
18778 maybe-configure-stage4-ld: configure-stage4-ld
18779 configure-stage4-ld:
18780 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18782 @r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 TFLAGS="$(STAGE4_TFLAGS)"; \
18785 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18786 $(HOST_EXPORTS) \
18787 $(POSTSTAGE1_HOST_EXPORTS) \
18788 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18789 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18790 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18791 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18793 cd $(HOST_SUBDIR)/ld || exit 1; \
18794 case $(srcdir) in \
18795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18796 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18798 esac; \
18799 srcdiroption="--srcdir=$${topdir}/ld"; \
18800 libsrcdir="$$s/ld"; \
18801 $(SHELL) $${libsrcdir}/configure \
18802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18803 --target=${target_alias} $${srcdiroption} \
18804 --with-build-libsubdir=$(HOST_SUBDIR) \
18805 $(STAGE4_CONFIGURE_FLAGS)
18806 @endif ld-bootstrap
18808 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18809 maybe-configure-stageprofile-ld:
18810 @if ld-bootstrap
18811 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18812 configure-stageprofile-ld:
18813 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18815 @r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18818 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18819 $(HOST_EXPORTS) \
18820 $(POSTSTAGE1_HOST_EXPORTS) \
18821 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18822 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18823 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18824 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18826 cd $(HOST_SUBDIR)/ld || exit 1; \
18827 case $(srcdir) in \
18828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18829 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18831 esac; \
18832 srcdiroption="--srcdir=$${topdir}/ld"; \
18833 libsrcdir="$$s/ld"; \
18834 $(SHELL) $${libsrcdir}/configure \
18835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18836 --target=${target_alias} $${srcdiroption} \
18837 --with-build-libsubdir=$(HOST_SUBDIR) \
18838 $(STAGEprofile_CONFIGURE_FLAGS)
18839 @endif ld-bootstrap
18841 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18842 maybe-configure-stagefeedback-ld:
18843 @if ld-bootstrap
18844 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18845 configure-stagefeedback-ld:
18846 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18848 @r=`${PWD_COMMAND}`; export r; \
18849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18851 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18852 $(HOST_EXPORTS) \
18853 $(POSTSTAGE1_HOST_EXPORTS) \
18854 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18855 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18856 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18857 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18859 cd $(HOST_SUBDIR)/ld || exit 1; \
18860 case $(srcdir) in \
18861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18862 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18864 esac; \
18865 srcdiroption="--srcdir=$${topdir}/ld"; \
18866 libsrcdir="$$s/ld"; \
18867 $(SHELL) $${libsrcdir}/configure \
18868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18869 --target=${target_alias} $${srcdiroption} \
18870 --with-build-libsubdir=$(HOST_SUBDIR) \
18871 $(STAGEfeedback_CONFIGURE_FLAGS)
18872 @endif ld-bootstrap
18878 .PHONY: all-ld maybe-all-ld
18879 maybe-all-ld:
18880 @if gcc-bootstrap
18881 all-ld: stage_current
18882 @endif gcc-bootstrap
18883 @if ld
18884 TARGET-ld=all
18885 maybe-all-ld: all-ld
18886 all-ld: configure-ld
18887 @r=`${PWD_COMMAND}`; export r; \
18888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18889 $(HOST_EXPORTS) \
18890 (cd $(HOST_SUBDIR)/ld && \
18891 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18892 $(TARGET-ld))
18893 @endif ld
18897 .PHONY: all-stage1-ld maybe-all-stage1-ld
18898 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18899 maybe-all-stage1-ld:
18900 maybe-clean-stage1-ld:
18901 @if ld-bootstrap
18902 maybe-all-stage1-ld: all-stage1-ld
18903 all-stage1: all-stage1-ld
18904 TARGET-stage1-ld = $(TARGET-ld)
18905 all-stage1-ld: configure-stage1-ld
18906 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 TFLAGS="$(STAGE1_TFLAGS)"; \
18910 $(HOST_EXPORTS) \
18911 cd $(HOST_SUBDIR)/ld && \
18912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18913 CFLAGS="$(STAGE1_CFLAGS)" \
18914 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18915 LIBCFLAGS="$(LIBCFLAGS)" \
18916 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18917 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18918 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18919 $(EXTRA_HOST_FLAGS) \
18920 $(STAGE1_FLAGS_TO_PASS) \
18921 TFLAGS="$(STAGE1_TFLAGS)" \
18922 $(TARGET-stage1-ld)
18924 maybe-clean-stage1-ld: clean-stage1-ld
18925 clean-stage1: clean-stage1-ld
18926 clean-stage1-ld:
18927 @if [ $(current_stage) = stage1 ]; then \
18928 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18929 else \
18930 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18931 $(MAKE) stage1-start; \
18932 fi; \
18933 cd $(HOST_SUBDIR)/ld && \
18934 $(MAKE) $(EXTRA_HOST_FLAGS) \
18935 $(STAGE1_FLAGS_TO_PASS) clean
18936 @endif ld-bootstrap
18939 .PHONY: all-stage2-ld maybe-all-stage2-ld
18940 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18941 maybe-all-stage2-ld:
18942 maybe-clean-stage2-ld:
18943 @if ld-bootstrap
18944 maybe-all-stage2-ld: all-stage2-ld
18945 all-stage2: all-stage2-ld
18946 TARGET-stage2-ld = $(TARGET-ld)
18947 all-stage2-ld: configure-stage2-ld
18948 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18949 @r=`${PWD_COMMAND}`; export r; \
18950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18951 TFLAGS="$(STAGE2_TFLAGS)"; \
18952 $(HOST_EXPORTS) \
18953 $(POSTSTAGE1_HOST_EXPORTS) \
18954 cd $(HOST_SUBDIR)/ld && \
18955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18956 CFLAGS="$(STAGE2_CFLAGS)" \
18957 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18958 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18963 TFLAGS="$(STAGE2_TFLAGS)" \
18964 $(TARGET-stage2-ld)
18966 maybe-clean-stage2-ld: clean-stage2-ld
18967 clean-stage2: clean-stage2-ld
18968 clean-stage2-ld:
18969 @if [ $(current_stage) = stage2 ]; then \
18970 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18971 else \
18972 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18973 $(MAKE) stage2-start; \
18974 fi; \
18975 cd $(HOST_SUBDIR)/ld && \
18976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18977 @endif ld-bootstrap
18980 .PHONY: all-stage3-ld maybe-all-stage3-ld
18981 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18982 maybe-all-stage3-ld:
18983 maybe-clean-stage3-ld:
18984 @if ld-bootstrap
18985 maybe-all-stage3-ld: all-stage3-ld
18986 all-stage3: all-stage3-ld
18987 TARGET-stage3-ld = $(TARGET-ld)
18988 all-stage3-ld: configure-stage3-ld
18989 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18990 @r=`${PWD_COMMAND}`; export r; \
18991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992 TFLAGS="$(STAGE3_TFLAGS)"; \
18993 $(HOST_EXPORTS) \
18994 $(POSTSTAGE1_HOST_EXPORTS) \
18995 cd $(HOST_SUBDIR)/ld && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18997 CFLAGS="$(STAGE3_CFLAGS)" \
18998 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18999 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19004 TFLAGS="$(STAGE3_TFLAGS)" \
19005 $(TARGET-stage3-ld)
19007 maybe-clean-stage3-ld: clean-stage3-ld
19008 clean-stage3: clean-stage3-ld
19009 clean-stage3-ld:
19010 @if [ $(current_stage) = stage3 ]; then \
19011 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19012 else \
19013 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19014 $(MAKE) stage3-start; \
19015 fi; \
19016 cd $(HOST_SUBDIR)/ld && \
19017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19018 @endif ld-bootstrap
19021 .PHONY: all-stage4-ld maybe-all-stage4-ld
19022 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19023 maybe-all-stage4-ld:
19024 maybe-clean-stage4-ld:
19025 @if ld-bootstrap
19026 maybe-all-stage4-ld: all-stage4-ld
19027 all-stage4: all-stage4-ld
19028 TARGET-stage4-ld = $(TARGET-ld)
19029 all-stage4-ld: configure-stage4-ld
19030 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19031 @r=`${PWD_COMMAND}`; export r; \
19032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19033 TFLAGS="$(STAGE4_TFLAGS)"; \
19034 $(HOST_EXPORTS) \
19035 $(POSTSTAGE1_HOST_EXPORTS) \
19036 cd $(HOST_SUBDIR)/ld && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19038 CFLAGS="$(STAGE4_CFLAGS)" \
19039 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19040 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19045 TFLAGS="$(STAGE4_TFLAGS)" \
19046 $(TARGET-stage4-ld)
19048 maybe-clean-stage4-ld: clean-stage4-ld
19049 clean-stage4: clean-stage4-ld
19050 clean-stage4-ld:
19051 @if [ $(current_stage) = stage4 ]; then \
19052 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19053 else \
19054 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19055 $(MAKE) stage4-start; \
19056 fi; \
19057 cd $(HOST_SUBDIR)/ld && \
19058 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19059 @endif ld-bootstrap
19062 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19063 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19064 maybe-all-stageprofile-ld:
19065 maybe-clean-stageprofile-ld:
19066 @if ld-bootstrap
19067 maybe-all-stageprofile-ld: all-stageprofile-ld
19068 all-stageprofile: all-stageprofile-ld
19069 TARGET-stageprofile-ld = $(TARGET-ld)
19070 all-stageprofile-ld: configure-stageprofile-ld
19071 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19072 @r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19074 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19075 $(HOST_EXPORTS) \
19076 $(POSTSTAGE1_HOST_EXPORTS) \
19077 cd $(HOST_SUBDIR)/ld && \
19078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19079 CFLAGS="$(STAGEprofile_CFLAGS)" \
19080 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19081 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19086 TFLAGS="$(STAGEprofile_TFLAGS)" \
19087 $(TARGET-stageprofile-ld)
19089 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19090 clean-stageprofile: clean-stageprofile-ld
19091 clean-stageprofile-ld:
19092 @if [ $(current_stage) = stageprofile ]; then \
19093 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19094 else \
19095 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19096 $(MAKE) stageprofile-start; \
19097 fi; \
19098 cd $(HOST_SUBDIR)/ld && \
19099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19100 @endif ld-bootstrap
19103 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19104 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19105 maybe-all-stagefeedback-ld:
19106 maybe-clean-stagefeedback-ld:
19107 @if ld-bootstrap
19108 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19109 all-stagefeedback: all-stagefeedback-ld
19110 TARGET-stagefeedback-ld = $(TARGET-ld)
19111 all-stagefeedback-ld: configure-stagefeedback-ld
19112 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19113 @r=`${PWD_COMMAND}`; export r; \
19114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19115 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19116 $(HOST_EXPORTS) \
19117 $(POSTSTAGE1_HOST_EXPORTS) \
19118 cd $(HOST_SUBDIR)/ld && \
19119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19120 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19121 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19122 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19126 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19127 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19128 $(TARGET-stagefeedback-ld)
19130 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19131 clean-stagefeedback: clean-stagefeedback-ld
19132 clean-stagefeedback-ld:
19133 @if [ $(current_stage) = stagefeedback ]; then \
19134 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19135 else \
19136 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19137 $(MAKE) stagefeedback-start; \
19138 fi; \
19139 cd $(HOST_SUBDIR)/ld && \
19140 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19141 @endif ld-bootstrap
19147 .PHONY: check-ld maybe-check-ld
19148 maybe-check-ld:
19149 @if ld
19150 maybe-check-ld: check-ld
19152 check-ld:
19153 @: $(MAKE); $(unstage)
19154 @r=`${PWD_COMMAND}`; export r; \
19155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 $(HOST_EXPORTS) \
19157 (cd $(HOST_SUBDIR)/ld && \
19158 $(MAKE) $(FLAGS_TO_PASS) check)
19160 @endif ld
19162 .PHONY: install-ld maybe-install-ld
19163 maybe-install-ld:
19164 @if ld
19165 maybe-install-ld: install-ld
19167 install-ld: installdirs
19168 @: $(MAKE); $(unstage)
19169 @r=`${PWD_COMMAND}`; export r; \
19170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171 $(HOST_EXPORTS) \
19172 (cd $(HOST_SUBDIR)/ld && \
19173 $(MAKE) $(FLAGS_TO_PASS) install)
19175 @endif ld
19177 .PHONY: install-strip-ld maybe-install-strip-ld
19178 maybe-install-strip-ld:
19179 @if ld
19180 maybe-install-strip-ld: install-strip-ld
19182 install-strip-ld: installdirs
19183 @: $(MAKE); $(unstage)
19184 @r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 $(HOST_EXPORTS) \
19187 (cd $(HOST_SUBDIR)/ld && \
19188 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19190 @endif ld
19192 # Other targets (info, dvi, pdf, etc.)
19194 .PHONY: maybe-info-ld info-ld
19195 maybe-info-ld:
19196 @if ld
19197 maybe-info-ld: info-ld
19199 info-ld: \
19200 configure-ld
19201 @[ -f ./ld/Makefile ] || exit 0; \
19202 r=`${PWD_COMMAND}`; export r; \
19203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19204 $(HOST_EXPORTS) \
19205 for flag in $(EXTRA_HOST_FLAGS) ; do \
19206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19207 done; \
19208 echo "Doing info in ld" ; \
19209 (cd $(HOST_SUBDIR)/ld && \
19210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19212 "RANLIB=$${RANLIB}" \
19213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19214 info) \
19215 || exit 1
19217 @endif ld
19219 .PHONY: maybe-dvi-ld dvi-ld
19220 maybe-dvi-ld:
19221 @if ld
19222 maybe-dvi-ld: dvi-ld
19224 dvi-ld: \
19225 configure-ld
19226 @[ -f ./ld/Makefile ] || exit 0; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing dvi in ld" ; \
19234 (cd $(HOST_SUBDIR)/ld && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19239 dvi) \
19240 || exit 1
19242 @endif ld
19244 .PHONY: maybe-pdf-ld pdf-ld
19245 maybe-pdf-ld:
19246 @if ld
19247 maybe-pdf-ld: pdf-ld
19249 pdf-ld: \
19250 configure-ld
19251 @[ -f ./ld/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(HOST_EXPORTS) \
19255 for flag in $(EXTRA_HOST_FLAGS) ; do \
19256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19257 done; \
19258 echo "Doing pdf in ld" ; \
19259 (cd $(HOST_SUBDIR)/ld && \
19260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19262 "RANLIB=$${RANLIB}" \
19263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19264 pdf) \
19265 || exit 1
19267 @endif ld
19269 .PHONY: maybe-html-ld html-ld
19270 maybe-html-ld:
19271 @if ld
19272 maybe-html-ld: html-ld
19274 html-ld: \
19275 configure-ld
19276 @[ -f ./ld/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing html in ld" ; \
19284 (cd $(HOST_SUBDIR)/ld && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19289 html) \
19290 || exit 1
19292 @endif ld
19294 .PHONY: maybe-TAGS-ld TAGS-ld
19295 maybe-TAGS-ld:
19296 @if ld
19297 maybe-TAGS-ld: TAGS-ld
19299 TAGS-ld: \
19300 configure-ld
19301 @[ -f ./ld/Makefile ] || exit 0; \
19302 r=`${PWD_COMMAND}`; export r; \
19303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 $(HOST_EXPORTS) \
19305 for flag in $(EXTRA_HOST_FLAGS) ; do \
19306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19307 done; \
19308 echo "Doing TAGS in ld" ; \
19309 (cd $(HOST_SUBDIR)/ld && \
19310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19312 "RANLIB=$${RANLIB}" \
19313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19314 TAGS) \
19315 || exit 1
19317 @endif ld
19319 .PHONY: maybe-install-info-ld install-info-ld
19320 maybe-install-info-ld:
19321 @if ld
19322 maybe-install-info-ld: install-info-ld
19324 install-info-ld: \
19325 configure-ld \
19326 info-ld
19327 @[ -f ./ld/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing install-info in ld" ; \
19335 (cd $(HOST_SUBDIR)/ld && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19340 install-info) \
19341 || exit 1
19343 @endif ld
19345 .PHONY: maybe-install-pdf-ld install-pdf-ld
19346 maybe-install-pdf-ld:
19347 @if ld
19348 maybe-install-pdf-ld: install-pdf-ld
19350 install-pdf-ld: \
19351 configure-ld \
19352 pdf-ld
19353 @[ -f ./ld/Makefile ] || exit 0; \
19354 r=`${PWD_COMMAND}`; export r; \
19355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19356 $(HOST_EXPORTS) \
19357 for flag in $(EXTRA_HOST_FLAGS) ; do \
19358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19359 done; \
19360 echo "Doing install-pdf in ld" ; \
19361 (cd $(HOST_SUBDIR)/ld && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19364 "RANLIB=$${RANLIB}" \
19365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19366 install-pdf) \
19367 || exit 1
19369 @endif ld
19371 .PHONY: maybe-install-html-ld install-html-ld
19372 maybe-install-html-ld:
19373 @if ld
19374 maybe-install-html-ld: install-html-ld
19376 install-html-ld: \
19377 configure-ld \
19378 html-ld
19379 @[ -f ./ld/Makefile ] || exit 0; \
19380 r=`${PWD_COMMAND}`; export r; \
19381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19382 $(HOST_EXPORTS) \
19383 for flag in $(EXTRA_HOST_FLAGS) ; do \
19384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19385 done; \
19386 echo "Doing install-html in ld" ; \
19387 (cd $(HOST_SUBDIR)/ld && \
19388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19390 "RANLIB=$${RANLIB}" \
19391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19392 install-html) \
19393 || exit 1
19395 @endif ld
19397 .PHONY: maybe-installcheck-ld installcheck-ld
19398 maybe-installcheck-ld:
19399 @if ld
19400 maybe-installcheck-ld: installcheck-ld
19402 installcheck-ld: \
19403 configure-ld
19404 @[ -f ./ld/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 for flag in $(EXTRA_HOST_FLAGS) ; do \
19409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 done; \
19411 echo "Doing installcheck in ld" ; \
19412 (cd $(HOST_SUBDIR)/ld && \
19413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19415 "RANLIB=$${RANLIB}" \
19416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19417 installcheck) \
19418 || exit 1
19420 @endif ld
19422 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19423 maybe-mostlyclean-ld:
19424 @if ld
19425 maybe-mostlyclean-ld: mostlyclean-ld
19427 mostlyclean-ld:
19428 @[ -f ./ld/Makefile ] || exit 0; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(HOST_EXPORTS) \
19432 for flag in $(EXTRA_HOST_FLAGS) ; do \
19433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19434 done; \
19435 echo "Doing mostlyclean in ld" ; \
19436 (cd $(HOST_SUBDIR)/ld && \
19437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19439 "RANLIB=$${RANLIB}" \
19440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19441 mostlyclean) \
19442 || exit 1
19444 @endif ld
19446 .PHONY: maybe-clean-ld clean-ld
19447 maybe-clean-ld:
19448 @if ld
19449 maybe-clean-ld: clean-ld
19451 clean-ld:
19452 @[ -f ./ld/Makefile ] || exit 0; \
19453 r=`${PWD_COMMAND}`; export r; \
19454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19455 $(HOST_EXPORTS) \
19456 for flag in $(EXTRA_HOST_FLAGS) ; do \
19457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19458 done; \
19459 echo "Doing clean in ld" ; \
19460 (cd $(HOST_SUBDIR)/ld && \
19461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19463 "RANLIB=$${RANLIB}" \
19464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19465 clean) \
19466 || exit 1
19468 @endif ld
19470 .PHONY: maybe-distclean-ld distclean-ld
19471 maybe-distclean-ld:
19472 @if ld
19473 maybe-distclean-ld: distclean-ld
19475 distclean-ld:
19476 @[ -f ./ld/Makefile ] || exit 0; \
19477 r=`${PWD_COMMAND}`; export r; \
19478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19479 $(HOST_EXPORTS) \
19480 for flag in $(EXTRA_HOST_FLAGS) ; do \
19481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19482 done; \
19483 echo "Doing distclean in ld" ; \
19484 (cd $(HOST_SUBDIR)/ld && \
19485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19487 "RANLIB=$${RANLIB}" \
19488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19489 distclean) \
19490 || exit 1
19492 @endif ld
19494 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19495 maybe-maintainer-clean-ld:
19496 @if ld
19497 maybe-maintainer-clean-ld: maintainer-clean-ld
19499 maintainer-clean-ld:
19500 @[ -f ./ld/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(HOST_EXPORTS) \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 done; \
19507 echo "Doing maintainer-clean in ld" ; \
19508 (cd $(HOST_SUBDIR)/ld && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19513 maintainer-clean) \
19514 || exit 1
19516 @endif ld
19520 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19521 maybe-configure-libbacktrace:
19522 @if gcc-bootstrap
19523 configure-libbacktrace: stage_current
19524 @endif gcc-bootstrap
19525 @if libbacktrace
19526 maybe-configure-libbacktrace: configure-libbacktrace
19527 configure-libbacktrace:
19528 @r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19532 $(HOST_EXPORTS) \
19533 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19534 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19535 case $(srcdir) in \
19536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19537 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19539 esac; \
19540 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19541 libsrcdir="$$s/libbacktrace"; \
19542 $(SHELL) $${libsrcdir}/configure \
19543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19544 --target=${target_alias} $${srcdiroption} \
19545 || exit 1
19546 @endif libbacktrace
19550 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19551 maybe-configure-stage1-libbacktrace:
19552 @if libbacktrace-bootstrap
19553 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19554 configure-stage1-libbacktrace:
19555 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19557 @r=`${PWD_COMMAND}`; export r; \
19558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19559 TFLAGS="$(STAGE1_TFLAGS)"; \
19560 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19561 $(HOST_EXPORTS) \
19562 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19563 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19564 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19565 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19567 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19568 case $(srcdir) in \
19569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19570 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19572 esac; \
19573 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19574 libsrcdir="$$s/libbacktrace"; \
19575 $(SHELL) $${libsrcdir}/configure \
19576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19577 --target=${target_alias} $${srcdiroption} \
19578 $(STAGE1_CONFIGURE_FLAGS)
19579 @endif libbacktrace-bootstrap
19581 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19582 maybe-configure-stage2-libbacktrace:
19583 @if libbacktrace-bootstrap
19584 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19585 configure-stage2-libbacktrace:
19586 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19588 @r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19590 TFLAGS="$(STAGE2_TFLAGS)"; \
19591 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19592 $(HOST_EXPORTS) \
19593 $(POSTSTAGE1_HOST_EXPORTS) \
19594 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19595 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19596 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19597 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19599 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19600 case $(srcdir) in \
19601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19602 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19604 esac; \
19605 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19606 libsrcdir="$$s/libbacktrace"; \
19607 $(SHELL) $${libsrcdir}/configure \
19608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19609 --target=${target_alias} $${srcdiroption} \
19610 --with-build-libsubdir=$(HOST_SUBDIR) \
19611 $(STAGE2_CONFIGURE_FLAGS)
19612 @endif libbacktrace-bootstrap
19614 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19615 maybe-configure-stage3-libbacktrace:
19616 @if libbacktrace-bootstrap
19617 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19618 configure-stage3-libbacktrace:
19619 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19621 @r=`${PWD_COMMAND}`; export r; \
19622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19623 TFLAGS="$(STAGE3_TFLAGS)"; \
19624 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19625 $(HOST_EXPORTS) \
19626 $(POSTSTAGE1_HOST_EXPORTS) \
19627 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19628 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19629 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19630 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19632 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19633 case $(srcdir) in \
19634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19635 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19637 esac; \
19638 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19639 libsrcdir="$$s/libbacktrace"; \
19640 $(SHELL) $${libsrcdir}/configure \
19641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19642 --target=${target_alias} $${srcdiroption} \
19643 --with-build-libsubdir=$(HOST_SUBDIR) \
19644 $(STAGE3_CONFIGURE_FLAGS)
19645 @endif libbacktrace-bootstrap
19647 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19648 maybe-configure-stage4-libbacktrace:
19649 @if libbacktrace-bootstrap
19650 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19651 configure-stage4-libbacktrace:
19652 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19654 @r=`${PWD_COMMAND}`; export r; \
19655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19656 TFLAGS="$(STAGE4_TFLAGS)"; \
19657 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19658 $(HOST_EXPORTS) \
19659 $(POSTSTAGE1_HOST_EXPORTS) \
19660 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19661 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19662 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19663 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19665 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19666 case $(srcdir) in \
19667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19668 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19670 esac; \
19671 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19672 libsrcdir="$$s/libbacktrace"; \
19673 $(SHELL) $${libsrcdir}/configure \
19674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19675 --target=${target_alias} $${srcdiroption} \
19676 --with-build-libsubdir=$(HOST_SUBDIR) \
19677 $(STAGE4_CONFIGURE_FLAGS)
19678 @endif libbacktrace-bootstrap
19680 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19681 maybe-configure-stageprofile-libbacktrace:
19682 @if libbacktrace-bootstrap
19683 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19684 configure-stageprofile-libbacktrace:
19685 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19687 @r=`${PWD_COMMAND}`; export r; \
19688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19689 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19690 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19691 $(HOST_EXPORTS) \
19692 $(POSTSTAGE1_HOST_EXPORTS) \
19693 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19694 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19695 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19696 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19698 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19699 case $(srcdir) in \
19700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19701 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19703 esac; \
19704 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19705 libsrcdir="$$s/libbacktrace"; \
19706 $(SHELL) $${libsrcdir}/configure \
19707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19708 --target=${target_alias} $${srcdiroption} \
19709 --with-build-libsubdir=$(HOST_SUBDIR) \
19710 $(STAGEprofile_CONFIGURE_FLAGS)
19711 @endif libbacktrace-bootstrap
19713 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19714 maybe-configure-stagefeedback-libbacktrace:
19715 @if libbacktrace-bootstrap
19716 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19717 configure-stagefeedback-libbacktrace:
19718 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19720 @r=`${PWD_COMMAND}`; export r; \
19721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19723 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19724 $(HOST_EXPORTS) \
19725 $(POSTSTAGE1_HOST_EXPORTS) \
19726 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19727 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19728 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19729 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19731 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19732 case $(srcdir) in \
19733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19734 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19736 esac; \
19737 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19738 libsrcdir="$$s/libbacktrace"; \
19739 $(SHELL) $${libsrcdir}/configure \
19740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19741 --target=${target_alias} $${srcdiroption} \
19742 --with-build-libsubdir=$(HOST_SUBDIR) \
19743 $(STAGEfeedback_CONFIGURE_FLAGS)
19744 @endif libbacktrace-bootstrap
19750 .PHONY: all-libbacktrace maybe-all-libbacktrace
19751 maybe-all-libbacktrace:
19752 @if gcc-bootstrap
19753 all-libbacktrace: stage_current
19754 @endif gcc-bootstrap
19755 @if libbacktrace
19756 TARGET-libbacktrace=all
19757 maybe-all-libbacktrace: all-libbacktrace
19758 all-libbacktrace: configure-libbacktrace
19759 @r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 $(HOST_EXPORTS) \
19762 (cd $(HOST_SUBDIR)/libbacktrace && \
19763 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19764 $(TARGET-libbacktrace))
19765 @endif libbacktrace
19769 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19770 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19771 maybe-all-stage1-libbacktrace:
19772 maybe-clean-stage1-libbacktrace:
19773 @if libbacktrace-bootstrap
19774 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19775 all-stage1: all-stage1-libbacktrace
19776 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19777 all-stage1-libbacktrace: configure-stage1-libbacktrace
19778 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19779 @r=`${PWD_COMMAND}`; export r; \
19780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19781 TFLAGS="$(STAGE1_TFLAGS)"; \
19782 $(HOST_EXPORTS) \
19783 cd $(HOST_SUBDIR)/libbacktrace && \
19784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19785 CFLAGS="$(STAGE1_CFLAGS)" \
19786 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19787 LIBCFLAGS="$(LIBCFLAGS)" \
19788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19791 $(EXTRA_HOST_FLAGS) \
19792 $(STAGE1_FLAGS_TO_PASS) \
19793 TFLAGS="$(STAGE1_TFLAGS)" \
19794 $(TARGET-stage1-libbacktrace)
19796 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19797 clean-stage1: clean-stage1-libbacktrace
19798 clean-stage1-libbacktrace:
19799 @if [ $(current_stage) = stage1 ]; then \
19800 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19801 else \
19802 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19803 $(MAKE) stage1-start; \
19804 fi; \
19805 cd $(HOST_SUBDIR)/libbacktrace && \
19806 $(MAKE) $(EXTRA_HOST_FLAGS) \
19807 $(STAGE1_FLAGS_TO_PASS) clean
19808 @endif libbacktrace-bootstrap
19811 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19812 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19813 maybe-all-stage2-libbacktrace:
19814 maybe-clean-stage2-libbacktrace:
19815 @if libbacktrace-bootstrap
19816 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19817 all-stage2: all-stage2-libbacktrace
19818 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19819 all-stage2-libbacktrace: configure-stage2-libbacktrace
19820 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19821 @r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 TFLAGS="$(STAGE2_TFLAGS)"; \
19824 $(HOST_EXPORTS) \
19825 $(POSTSTAGE1_HOST_EXPORTS) \
19826 cd $(HOST_SUBDIR)/libbacktrace && \
19827 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19828 CFLAGS="$(STAGE2_CFLAGS)" \
19829 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19830 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19834 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19835 TFLAGS="$(STAGE2_TFLAGS)" \
19836 $(TARGET-stage2-libbacktrace)
19838 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19839 clean-stage2: clean-stage2-libbacktrace
19840 clean-stage2-libbacktrace:
19841 @if [ $(current_stage) = stage2 ]; then \
19842 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19843 else \
19844 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19845 $(MAKE) stage2-start; \
19846 fi; \
19847 cd $(HOST_SUBDIR)/libbacktrace && \
19848 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19849 @endif libbacktrace-bootstrap
19852 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19853 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19854 maybe-all-stage3-libbacktrace:
19855 maybe-clean-stage3-libbacktrace:
19856 @if libbacktrace-bootstrap
19857 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19858 all-stage3: all-stage3-libbacktrace
19859 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19860 all-stage3-libbacktrace: configure-stage3-libbacktrace
19861 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19862 @r=`${PWD_COMMAND}`; export r; \
19863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19864 TFLAGS="$(STAGE3_TFLAGS)"; \
19865 $(HOST_EXPORTS) \
19866 $(POSTSTAGE1_HOST_EXPORTS) \
19867 cd $(HOST_SUBDIR)/libbacktrace && \
19868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19869 CFLAGS="$(STAGE3_CFLAGS)" \
19870 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19871 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19876 TFLAGS="$(STAGE3_TFLAGS)" \
19877 $(TARGET-stage3-libbacktrace)
19879 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19880 clean-stage3: clean-stage3-libbacktrace
19881 clean-stage3-libbacktrace:
19882 @if [ $(current_stage) = stage3 ]; then \
19883 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19884 else \
19885 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19886 $(MAKE) stage3-start; \
19887 fi; \
19888 cd $(HOST_SUBDIR)/libbacktrace && \
19889 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19890 @endif libbacktrace-bootstrap
19893 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19894 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19895 maybe-all-stage4-libbacktrace:
19896 maybe-clean-stage4-libbacktrace:
19897 @if libbacktrace-bootstrap
19898 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19899 all-stage4: all-stage4-libbacktrace
19900 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19901 all-stage4-libbacktrace: configure-stage4-libbacktrace
19902 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19903 @r=`${PWD_COMMAND}`; export r; \
19904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19905 TFLAGS="$(STAGE4_TFLAGS)"; \
19906 $(HOST_EXPORTS) \
19907 $(POSTSTAGE1_HOST_EXPORTS) \
19908 cd $(HOST_SUBDIR)/libbacktrace && \
19909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19910 CFLAGS="$(STAGE4_CFLAGS)" \
19911 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19912 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19917 TFLAGS="$(STAGE4_TFLAGS)" \
19918 $(TARGET-stage4-libbacktrace)
19920 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19921 clean-stage4: clean-stage4-libbacktrace
19922 clean-stage4-libbacktrace:
19923 @if [ $(current_stage) = stage4 ]; then \
19924 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19925 else \
19926 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19927 $(MAKE) stage4-start; \
19928 fi; \
19929 cd $(HOST_SUBDIR)/libbacktrace && \
19930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19931 @endif libbacktrace-bootstrap
19934 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19935 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19936 maybe-all-stageprofile-libbacktrace:
19937 maybe-clean-stageprofile-libbacktrace:
19938 @if libbacktrace-bootstrap
19939 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19940 all-stageprofile: all-stageprofile-libbacktrace
19941 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19942 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19943 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19944 @r=`${PWD_COMMAND}`; export r; \
19945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19946 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19947 $(HOST_EXPORTS) \
19948 $(POSTSTAGE1_HOST_EXPORTS) \
19949 cd $(HOST_SUBDIR)/libbacktrace && \
19950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19951 CFLAGS="$(STAGEprofile_CFLAGS)" \
19952 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19953 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19958 TFLAGS="$(STAGEprofile_TFLAGS)" \
19959 $(TARGET-stageprofile-libbacktrace)
19961 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19962 clean-stageprofile: clean-stageprofile-libbacktrace
19963 clean-stageprofile-libbacktrace:
19964 @if [ $(current_stage) = stageprofile ]; then \
19965 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19966 else \
19967 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19968 $(MAKE) stageprofile-start; \
19969 fi; \
19970 cd $(HOST_SUBDIR)/libbacktrace && \
19971 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19972 @endif libbacktrace-bootstrap
19975 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19976 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19977 maybe-all-stagefeedback-libbacktrace:
19978 maybe-clean-stagefeedback-libbacktrace:
19979 @if libbacktrace-bootstrap
19980 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19981 all-stagefeedback: all-stagefeedback-libbacktrace
19982 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19983 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19984 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19985 @r=`${PWD_COMMAND}`; export r; \
19986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19987 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19988 $(HOST_EXPORTS) \
19989 $(POSTSTAGE1_HOST_EXPORTS) \
19990 cd $(HOST_SUBDIR)/libbacktrace && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19992 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19993 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19994 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19998 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19999 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20000 $(TARGET-stagefeedback-libbacktrace)
20002 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20003 clean-stagefeedback: clean-stagefeedback-libbacktrace
20004 clean-stagefeedback-libbacktrace:
20005 @if [ $(current_stage) = stagefeedback ]; then \
20006 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20007 else \
20008 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20009 $(MAKE) stagefeedback-start; \
20010 fi; \
20011 cd $(HOST_SUBDIR)/libbacktrace && \
20012 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20013 @endif libbacktrace-bootstrap
20019 .PHONY: check-libbacktrace maybe-check-libbacktrace
20020 maybe-check-libbacktrace:
20021 @if libbacktrace
20022 maybe-check-libbacktrace: check-libbacktrace
20024 check-libbacktrace:
20025 @: $(MAKE); $(unstage)
20026 @r=`${PWD_COMMAND}`; export r; \
20027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 $(HOST_EXPORTS) \
20029 (cd $(HOST_SUBDIR)/libbacktrace && \
20030 $(MAKE) $(FLAGS_TO_PASS) check)
20032 @endif libbacktrace
20034 .PHONY: install-libbacktrace maybe-install-libbacktrace
20035 maybe-install-libbacktrace:
20036 @if libbacktrace
20037 maybe-install-libbacktrace: install-libbacktrace
20039 install-libbacktrace: installdirs
20040 @: $(MAKE); $(unstage)
20041 @r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 $(HOST_EXPORTS) \
20044 (cd $(HOST_SUBDIR)/libbacktrace && \
20045 $(MAKE) $(FLAGS_TO_PASS) install)
20047 @endif libbacktrace
20049 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20050 maybe-install-strip-libbacktrace:
20051 @if libbacktrace
20052 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20054 install-strip-libbacktrace: installdirs
20055 @: $(MAKE); $(unstage)
20056 @r=`${PWD_COMMAND}`; export r; \
20057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20058 $(HOST_EXPORTS) \
20059 (cd $(HOST_SUBDIR)/libbacktrace && \
20060 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20062 @endif libbacktrace
20064 # Other targets (info, dvi, pdf, etc.)
20066 .PHONY: maybe-info-libbacktrace info-libbacktrace
20067 maybe-info-libbacktrace:
20068 @if libbacktrace
20069 maybe-info-libbacktrace: info-libbacktrace
20071 info-libbacktrace: \
20072 configure-libbacktrace
20073 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20074 r=`${PWD_COMMAND}`; export r; \
20075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20076 $(HOST_EXPORTS) \
20077 for flag in $(EXTRA_HOST_FLAGS) ; do \
20078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20079 done; \
20080 echo "Doing info in libbacktrace" ; \
20081 (cd $(HOST_SUBDIR)/libbacktrace && \
20082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20084 "RANLIB=$${RANLIB}" \
20085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20086 info) \
20087 || exit 1
20089 @endif libbacktrace
20091 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20092 maybe-dvi-libbacktrace:
20093 @if libbacktrace
20094 maybe-dvi-libbacktrace: dvi-libbacktrace
20096 dvi-libbacktrace: \
20097 configure-libbacktrace
20098 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20099 r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 $(HOST_EXPORTS) \
20102 for flag in $(EXTRA_HOST_FLAGS) ; do \
20103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20104 done; \
20105 echo "Doing dvi in libbacktrace" ; \
20106 (cd $(HOST_SUBDIR)/libbacktrace && \
20107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20109 "RANLIB=$${RANLIB}" \
20110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20111 dvi) \
20112 || exit 1
20114 @endif libbacktrace
20116 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20117 maybe-pdf-libbacktrace:
20118 @if libbacktrace
20119 maybe-pdf-libbacktrace: pdf-libbacktrace
20121 pdf-libbacktrace: \
20122 configure-libbacktrace
20123 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20124 r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing pdf in libbacktrace" ; \
20131 (cd $(HOST_SUBDIR)/libbacktrace && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20136 pdf) \
20137 || exit 1
20139 @endif libbacktrace
20141 .PHONY: maybe-html-libbacktrace html-libbacktrace
20142 maybe-html-libbacktrace:
20143 @if libbacktrace
20144 maybe-html-libbacktrace: html-libbacktrace
20146 html-libbacktrace: \
20147 configure-libbacktrace
20148 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20149 r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(HOST_EXPORTS) \
20152 for flag in $(EXTRA_HOST_FLAGS) ; do \
20153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154 done; \
20155 echo "Doing html in libbacktrace" ; \
20156 (cd $(HOST_SUBDIR)/libbacktrace && \
20157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159 "RANLIB=$${RANLIB}" \
20160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20161 html) \
20162 || exit 1
20164 @endif libbacktrace
20166 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20167 maybe-TAGS-libbacktrace:
20168 @if libbacktrace
20169 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20171 TAGS-libbacktrace: \
20172 configure-libbacktrace
20173 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 for flag in $(EXTRA_HOST_FLAGS) ; do \
20178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20179 done; \
20180 echo "Doing TAGS in libbacktrace" ; \
20181 (cd $(HOST_SUBDIR)/libbacktrace && \
20182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20184 "RANLIB=$${RANLIB}" \
20185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20186 TAGS) \
20187 || exit 1
20189 @endif libbacktrace
20191 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20192 maybe-install-info-libbacktrace:
20193 @if libbacktrace
20194 maybe-install-info-libbacktrace: install-info-libbacktrace
20196 install-info-libbacktrace: \
20197 configure-libbacktrace \
20198 info-libbacktrace
20199 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20200 r=`${PWD_COMMAND}`; export r; \
20201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20202 $(HOST_EXPORTS) \
20203 for flag in $(EXTRA_HOST_FLAGS) ; do \
20204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20205 done; \
20206 echo "Doing install-info in libbacktrace" ; \
20207 (cd $(HOST_SUBDIR)/libbacktrace && \
20208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20210 "RANLIB=$${RANLIB}" \
20211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20212 install-info) \
20213 || exit 1
20215 @endif libbacktrace
20217 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20218 maybe-install-pdf-libbacktrace:
20219 @if libbacktrace
20220 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20222 install-pdf-libbacktrace: \
20223 configure-libbacktrace \
20224 pdf-libbacktrace
20225 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20226 r=`${PWD_COMMAND}`; export r; \
20227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20228 $(HOST_EXPORTS) \
20229 for flag in $(EXTRA_HOST_FLAGS) ; do \
20230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20231 done; \
20232 echo "Doing install-pdf in libbacktrace" ; \
20233 (cd $(HOST_SUBDIR)/libbacktrace && \
20234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236 "RANLIB=$${RANLIB}" \
20237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20238 install-pdf) \
20239 || exit 1
20241 @endif libbacktrace
20243 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20244 maybe-install-html-libbacktrace:
20245 @if libbacktrace
20246 maybe-install-html-libbacktrace: install-html-libbacktrace
20248 install-html-libbacktrace: \
20249 configure-libbacktrace \
20250 html-libbacktrace
20251 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20252 r=`${PWD_COMMAND}`; export r; \
20253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 $(HOST_EXPORTS) \
20255 for flag in $(EXTRA_HOST_FLAGS) ; do \
20256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20257 done; \
20258 echo "Doing install-html in libbacktrace" ; \
20259 (cd $(HOST_SUBDIR)/libbacktrace && \
20260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20262 "RANLIB=$${RANLIB}" \
20263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20264 install-html) \
20265 || exit 1
20267 @endif libbacktrace
20269 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20270 maybe-installcheck-libbacktrace:
20271 @if libbacktrace
20272 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20274 installcheck-libbacktrace: \
20275 configure-libbacktrace
20276 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(HOST_EXPORTS) \
20280 for flag in $(EXTRA_HOST_FLAGS) ; do \
20281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20282 done; \
20283 echo "Doing installcheck in libbacktrace" ; \
20284 (cd $(HOST_SUBDIR)/libbacktrace && \
20285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20287 "RANLIB=$${RANLIB}" \
20288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20289 installcheck) \
20290 || exit 1
20292 @endif libbacktrace
20294 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20295 maybe-mostlyclean-libbacktrace:
20296 @if libbacktrace
20297 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20299 mostlyclean-libbacktrace:
20300 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20301 r=`${PWD_COMMAND}`; export r; \
20302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20303 $(HOST_EXPORTS) \
20304 for flag in $(EXTRA_HOST_FLAGS) ; do \
20305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20306 done; \
20307 echo "Doing mostlyclean in libbacktrace" ; \
20308 (cd $(HOST_SUBDIR)/libbacktrace && \
20309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20311 "RANLIB=$${RANLIB}" \
20312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20313 mostlyclean) \
20314 || exit 1
20316 @endif libbacktrace
20318 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20319 maybe-clean-libbacktrace:
20320 @if libbacktrace
20321 maybe-clean-libbacktrace: clean-libbacktrace
20323 clean-libbacktrace:
20324 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20325 r=`${PWD_COMMAND}`; export r; \
20326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20327 $(HOST_EXPORTS) \
20328 for flag in $(EXTRA_HOST_FLAGS) ; do \
20329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20330 done; \
20331 echo "Doing clean in libbacktrace" ; \
20332 (cd $(HOST_SUBDIR)/libbacktrace && \
20333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20335 "RANLIB=$${RANLIB}" \
20336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20337 clean) \
20338 || exit 1
20340 @endif libbacktrace
20342 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20343 maybe-distclean-libbacktrace:
20344 @if libbacktrace
20345 maybe-distclean-libbacktrace: distclean-libbacktrace
20347 distclean-libbacktrace:
20348 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20349 r=`${PWD_COMMAND}`; export r; \
20350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20351 $(HOST_EXPORTS) \
20352 for flag in $(EXTRA_HOST_FLAGS) ; do \
20353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20354 done; \
20355 echo "Doing distclean in libbacktrace" ; \
20356 (cd $(HOST_SUBDIR)/libbacktrace && \
20357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20359 "RANLIB=$${RANLIB}" \
20360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20361 distclean) \
20362 || exit 1
20364 @endif libbacktrace
20366 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20367 maybe-maintainer-clean-libbacktrace:
20368 @if libbacktrace
20369 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20371 maintainer-clean-libbacktrace:
20372 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20373 r=`${PWD_COMMAND}`; export r; \
20374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20375 $(HOST_EXPORTS) \
20376 for flag in $(EXTRA_HOST_FLAGS) ; do \
20377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20378 done; \
20379 echo "Doing maintainer-clean in libbacktrace" ; \
20380 (cd $(HOST_SUBDIR)/libbacktrace && \
20381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20383 "RANLIB=$${RANLIB}" \
20384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20385 maintainer-clean) \
20386 || exit 1
20388 @endif libbacktrace
20392 .PHONY: configure-libcpp maybe-configure-libcpp
20393 maybe-configure-libcpp:
20394 @if gcc-bootstrap
20395 configure-libcpp: stage_current
20396 @endif gcc-bootstrap
20397 @if libcpp
20398 maybe-configure-libcpp: configure-libcpp
20399 configure-libcpp:
20400 @r=`${PWD_COMMAND}`; export r; \
20401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20402 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20404 $(HOST_EXPORTS) \
20405 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20406 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20407 case $(srcdir) in \
20408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20409 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20411 esac; \
20412 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20413 libsrcdir="$$s/libcpp"; \
20414 $(SHELL) $${libsrcdir}/configure \
20415 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20416 --target=${target_alias} $${srcdiroption} \
20417 || exit 1
20418 @endif libcpp
20422 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20423 maybe-configure-stage1-libcpp:
20424 @if libcpp-bootstrap
20425 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20426 configure-stage1-libcpp:
20427 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20429 @r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 TFLAGS="$(STAGE1_TFLAGS)"; \
20432 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20433 $(HOST_EXPORTS) \
20434 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20435 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20436 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20437 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20438 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20439 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20440 case $(srcdir) in \
20441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20442 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20444 esac; \
20445 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20446 libsrcdir="$$s/libcpp"; \
20447 $(SHELL) $${libsrcdir}/configure \
20448 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20449 --target=${target_alias} $${srcdiroption} \
20450 $(STAGE1_CONFIGURE_FLAGS)
20451 @endif libcpp-bootstrap
20453 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20454 maybe-configure-stage2-libcpp:
20455 @if libcpp-bootstrap
20456 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20457 configure-stage2-libcpp:
20458 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20459 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20460 @r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20462 TFLAGS="$(STAGE2_TFLAGS)"; \
20463 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20464 $(HOST_EXPORTS) \
20465 $(POSTSTAGE1_HOST_EXPORTS) \
20466 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20467 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20468 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20469 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20471 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20472 case $(srcdir) in \
20473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20474 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20476 esac; \
20477 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20478 libsrcdir="$$s/libcpp"; \
20479 $(SHELL) $${libsrcdir}/configure \
20480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20481 --target=${target_alias} $${srcdiroption} \
20482 --with-build-libsubdir=$(HOST_SUBDIR) \
20483 $(STAGE2_CONFIGURE_FLAGS)
20484 @endif libcpp-bootstrap
20486 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20487 maybe-configure-stage3-libcpp:
20488 @if libcpp-bootstrap
20489 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20490 configure-stage3-libcpp:
20491 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 TFLAGS="$(STAGE3_TFLAGS)"; \
20496 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20497 $(HOST_EXPORTS) \
20498 $(POSTSTAGE1_HOST_EXPORTS) \
20499 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20500 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20501 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20502 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20504 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20505 case $(srcdir) in \
20506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20507 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20509 esac; \
20510 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20511 libsrcdir="$$s/libcpp"; \
20512 $(SHELL) $${libsrcdir}/configure \
20513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20514 --target=${target_alias} $${srcdiroption} \
20515 --with-build-libsubdir=$(HOST_SUBDIR) \
20516 $(STAGE3_CONFIGURE_FLAGS)
20517 @endif libcpp-bootstrap
20519 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20520 maybe-configure-stage4-libcpp:
20521 @if libcpp-bootstrap
20522 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20523 configure-stage4-libcpp:
20524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20525 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20526 @r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 TFLAGS="$(STAGE4_TFLAGS)"; \
20529 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20530 $(HOST_EXPORTS) \
20531 $(POSTSTAGE1_HOST_EXPORTS) \
20532 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20533 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20534 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20535 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20537 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20538 case $(srcdir) in \
20539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20540 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20542 esac; \
20543 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20544 libsrcdir="$$s/libcpp"; \
20545 $(SHELL) $${libsrcdir}/configure \
20546 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20547 --target=${target_alias} $${srcdiroption} \
20548 --with-build-libsubdir=$(HOST_SUBDIR) \
20549 $(STAGE4_CONFIGURE_FLAGS)
20550 @endif libcpp-bootstrap
20552 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20553 maybe-configure-stageprofile-libcpp:
20554 @if libcpp-bootstrap
20555 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20556 configure-stageprofile-libcpp:
20557 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20559 @r=`${PWD_COMMAND}`; export r; \
20560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20561 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20562 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20563 $(HOST_EXPORTS) \
20564 $(POSTSTAGE1_HOST_EXPORTS) \
20565 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20566 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20567 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20568 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20570 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20571 case $(srcdir) in \
20572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20573 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20575 esac; \
20576 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20577 libsrcdir="$$s/libcpp"; \
20578 $(SHELL) $${libsrcdir}/configure \
20579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20580 --target=${target_alias} $${srcdiroption} \
20581 --with-build-libsubdir=$(HOST_SUBDIR) \
20582 $(STAGEprofile_CONFIGURE_FLAGS)
20583 @endif libcpp-bootstrap
20585 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20586 maybe-configure-stagefeedback-libcpp:
20587 @if libcpp-bootstrap
20588 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20589 configure-stagefeedback-libcpp:
20590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20592 @r=`${PWD_COMMAND}`; export r; \
20593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20595 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20596 $(HOST_EXPORTS) \
20597 $(POSTSTAGE1_HOST_EXPORTS) \
20598 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20601 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20603 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20604 case $(srcdir) in \
20605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20606 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20608 esac; \
20609 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20610 libsrcdir="$$s/libcpp"; \
20611 $(SHELL) $${libsrcdir}/configure \
20612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20613 --target=${target_alias} $${srcdiroption} \
20614 --with-build-libsubdir=$(HOST_SUBDIR) \
20615 $(STAGEfeedback_CONFIGURE_FLAGS)
20616 @endif libcpp-bootstrap
20622 .PHONY: all-libcpp maybe-all-libcpp
20623 maybe-all-libcpp:
20624 @if gcc-bootstrap
20625 all-libcpp: stage_current
20626 @endif gcc-bootstrap
20627 @if libcpp
20628 TARGET-libcpp=all
20629 maybe-all-libcpp: all-libcpp
20630 all-libcpp: configure-libcpp
20631 @r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 $(HOST_EXPORTS) \
20634 (cd $(HOST_SUBDIR)/libcpp && \
20635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20636 $(TARGET-libcpp))
20637 @endif libcpp
20641 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20642 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20643 maybe-all-stage1-libcpp:
20644 maybe-clean-stage1-libcpp:
20645 @if libcpp-bootstrap
20646 maybe-all-stage1-libcpp: all-stage1-libcpp
20647 all-stage1: all-stage1-libcpp
20648 TARGET-stage1-libcpp = $(TARGET-libcpp)
20649 all-stage1-libcpp: configure-stage1-libcpp
20650 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20651 @r=`${PWD_COMMAND}`; export r; \
20652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20653 TFLAGS="$(STAGE1_TFLAGS)"; \
20654 $(HOST_EXPORTS) \
20655 cd $(HOST_SUBDIR)/libcpp && \
20656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20657 CFLAGS="$(STAGE1_CFLAGS)" \
20658 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20659 LIBCFLAGS="$(LIBCFLAGS)" \
20660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20663 $(EXTRA_HOST_FLAGS) \
20664 $(STAGE1_FLAGS_TO_PASS) \
20665 TFLAGS="$(STAGE1_TFLAGS)" \
20666 $(TARGET-stage1-libcpp)
20668 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20669 clean-stage1: clean-stage1-libcpp
20670 clean-stage1-libcpp:
20671 @if [ $(current_stage) = stage1 ]; then \
20672 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20673 else \
20674 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20675 $(MAKE) stage1-start; \
20676 fi; \
20677 cd $(HOST_SUBDIR)/libcpp && \
20678 $(MAKE) $(EXTRA_HOST_FLAGS) \
20679 $(STAGE1_FLAGS_TO_PASS) clean
20680 @endif libcpp-bootstrap
20683 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20684 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20685 maybe-all-stage2-libcpp:
20686 maybe-clean-stage2-libcpp:
20687 @if libcpp-bootstrap
20688 maybe-all-stage2-libcpp: all-stage2-libcpp
20689 all-stage2: all-stage2-libcpp
20690 TARGET-stage2-libcpp = $(TARGET-libcpp)
20691 all-stage2-libcpp: configure-stage2-libcpp
20692 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20693 @r=`${PWD_COMMAND}`; export r; \
20694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20695 TFLAGS="$(STAGE2_TFLAGS)"; \
20696 $(HOST_EXPORTS) \
20697 $(POSTSTAGE1_HOST_EXPORTS) \
20698 cd $(HOST_SUBDIR)/libcpp && \
20699 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20700 CFLAGS="$(STAGE2_CFLAGS)" \
20701 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20702 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20703 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20704 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20705 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20706 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20707 TFLAGS="$(STAGE2_TFLAGS)" \
20708 $(TARGET-stage2-libcpp)
20710 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20711 clean-stage2: clean-stage2-libcpp
20712 clean-stage2-libcpp:
20713 @if [ $(current_stage) = stage2 ]; then \
20714 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20715 else \
20716 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20717 $(MAKE) stage2-start; \
20718 fi; \
20719 cd $(HOST_SUBDIR)/libcpp && \
20720 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20721 @endif libcpp-bootstrap
20724 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20725 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20726 maybe-all-stage3-libcpp:
20727 maybe-clean-stage3-libcpp:
20728 @if libcpp-bootstrap
20729 maybe-all-stage3-libcpp: all-stage3-libcpp
20730 all-stage3: all-stage3-libcpp
20731 TARGET-stage3-libcpp = $(TARGET-libcpp)
20732 all-stage3-libcpp: configure-stage3-libcpp
20733 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20734 @r=`${PWD_COMMAND}`; export r; \
20735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20736 TFLAGS="$(STAGE3_TFLAGS)"; \
20737 $(HOST_EXPORTS) \
20738 $(POSTSTAGE1_HOST_EXPORTS) \
20739 cd $(HOST_SUBDIR)/libcpp && \
20740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20741 CFLAGS="$(STAGE3_CFLAGS)" \
20742 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20743 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20747 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20748 TFLAGS="$(STAGE3_TFLAGS)" \
20749 $(TARGET-stage3-libcpp)
20751 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20752 clean-stage3: clean-stage3-libcpp
20753 clean-stage3-libcpp:
20754 @if [ $(current_stage) = stage3 ]; then \
20755 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20756 else \
20757 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20758 $(MAKE) stage3-start; \
20759 fi; \
20760 cd $(HOST_SUBDIR)/libcpp && \
20761 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20762 @endif libcpp-bootstrap
20765 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20766 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20767 maybe-all-stage4-libcpp:
20768 maybe-clean-stage4-libcpp:
20769 @if libcpp-bootstrap
20770 maybe-all-stage4-libcpp: all-stage4-libcpp
20771 all-stage4: all-stage4-libcpp
20772 TARGET-stage4-libcpp = $(TARGET-libcpp)
20773 all-stage4-libcpp: configure-stage4-libcpp
20774 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20775 @r=`${PWD_COMMAND}`; export r; \
20776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20777 TFLAGS="$(STAGE4_TFLAGS)"; \
20778 $(HOST_EXPORTS) \
20779 $(POSTSTAGE1_HOST_EXPORTS) \
20780 cd $(HOST_SUBDIR)/libcpp && \
20781 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20782 CFLAGS="$(STAGE4_CFLAGS)" \
20783 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20784 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20785 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20786 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20787 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20788 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20789 TFLAGS="$(STAGE4_TFLAGS)" \
20790 $(TARGET-stage4-libcpp)
20792 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20793 clean-stage4: clean-stage4-libcpp
20794 clean-stage4-libcpp:
20795 @if [ $(current_stage) = stage4 ]; then \
20796 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20797 else \
20798 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20799 $(MAKE) stage4-start; \
20800 fi; \
20801 cd $(HOST_SUBDIR)/libcpp && \
20802 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20803 @endif libcpp-bootstrap
20806 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20807 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20808 maybe-all-stageprofile-libcpp:
20809 maybe-clean-stageprofile-libcpp:
20810 @if libcpp-bootstrap
20811 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20812 all-stageprofile: all-stageprofile-libcpp
20813 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20814 all-stageprofile-libcpp: configure-stageprofile-libcpp
20815 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20816 @r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20818 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20819 $(HOST_EXPORTS) \
20820 $(POSTSTAGE1_HOST_EXPORTS) \
20821 cd $(HOST_SUBDIR)/libcpp && \
20822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20823 CFLAGS="$(STAGEprofile_CFLAGS)" \
20824 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20825 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20830 TFLAGS="$(STAGEprofile_TFLAGS)" \
20831 $(TARGET-stageprofile-libcpp)
20833 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20834 clean-stageprofile: clean-stageprofile-libcpp
20835 clean-stageprofile-libcpp:
20836 @if [ $(current_stage) = stageprofile ]; then \
20837 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20838 else \
20839 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20840 $(MAKE) stageprofile-start; \
20841 fi; \
20842 cd $(HOST_SUBDIR)/libcpp && \
20843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20844 @endif libcpp-bootstrap
20847 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20848 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20849 maybe-all-stagefeedback-libcpp:
20850 maybe-clean-stagefeedback-libcpp:
20851 @if libcpp-bootstrap
20852 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20853 all-stagefeedback: all-stagefeedback-libcpp
20854 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20855 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20856 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20857 @r=`${PWD_COMMAND}`; export r; \
20858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20859 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20860 $(HOST_EXPORTS) \
20861 $(POSTSTAGE1_HOST_EXPORTS) \
20862 cd $(HOST_SUBDIR)/libcpp && \
20863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20864 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20865 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20866 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20871 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20872 $(TARGET-stagefeedback-libcpp)
20874 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20875 clean-stagefeedback: clean-stagefeedback-libcpp
20876 clean-stagefeedback-libcpp:
20877 @if [ $(current_stage) = stagefeedback ]; then \
20878 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20879 else \
20880 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20881 $(MAKE) stagefeedback-start; \
20882 fi; \
20883 cd $(HOST_SUBDIR)/libcpp && \
20884 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20885 @endif libcpp-bootstrap
20891 .PHONY: check-libcpp maybe-check-libcpp
20892 maybe-check-libcpp:
20893 @if libcpp
20894 maybe-check-libcpp: check-libcpp
20896 check-libcpp:
20897 @: $(MAKE); $(unstage)
20898 @r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(HOST_EXPORTS) \
20901 (cd $(HOST_SUBDIR)/libcpp && \
20902 $(MAKE) $(FLAGS_TO_PASS) check)
20904 @endif libcpp
20906 .PHONY: install-libcpp maybe-install-libcpp
20907 maybe-install-libcpp:
20908 @if libcpp
20909 maybe-install-libcpp: install-libcpp
20911 install-libcpp: installdirs
20912 @: $(MAKE); $(unstage)
20913 @r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 $(HOST_EXPORTS) \
20916 (cd $(HOST_SUBDIR)/libcpp && \
20917 $(MAKE) $(FLAGS_TO_PASS) install)
20919 @endif libcpp
20921 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20922 maybe-install-strip-libcpp:
20923 @if libcpp
20924 maybe-install-strip-libcpp: install-strip-libcpp
20926 install-strip-libcpp: installdirs
20927 @: $(MAKE); $(unstage)
20928 @r=`${PWD_COMMAND}`; export r; \
20929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20930 $(HOST_EXPORTS) \
20931 (cd $(HOST_SUBDIR)/libcpp && \
20932 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20934 @endif libcpp
20936 # Other targets (info, dvi, pdf, etc.)
20938 .PHONY: maybe-info-libcpp info-libcpp
20939 maybe-info-libcpp:
20940 @if libcpp
20941 maybe-info-libcpp: info-libcpp
20943 info-libcpp: \
20944 configure-libcpp
20945 @[ -f ./libcpp/Makefile ] || exit 0; \
20946 r=`${PWD_COMMAND}`; export r; \
20947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20948 $(HOST_EXPORTS) \
20949 for flag in $(EXTRA_HOST_FLAGS) ; do \
20950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20951 done; \
20952 echo "Doing info in libcpp" ; \
20953 (cd $(HOST_SUBDIR)/libcpp && \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20956 "RANLIB=$${RANLIB}" \
20957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20958 info) \
20959 || exit 1
20961 @endif libcpp
20963 .PHONY: maybe-dvi-libcpp dvi-libcpp
20964 maybe-dvi-libcpp:
20965 @if libcpp
20966 maybe-dvi-libcpp: dvi-libcpp
20968 dvi-libcpp: \
20969 configure-libcpp
20970 @[ -f ./libcpp/Makefile ] || exit 0; \
20971 r=`${PWD_COMMAND}`; export r; \
20972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20973 $(HOST_EXPORTS) \
20974 for flag in $(EXTRA_HOST_FLAGS) ; do \
20975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20976 done; \
20977 echo "Doing dvi in libcpp" ; \
20978 (cd $(HOST_SUBDIR)/libcpp && \
20979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20981 "RANLIB=$${RANLIB}" \
20982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20983 dvi) \
20984 || exit 1
20986 @endif libcpp
20988 .PHONY: maybe-pdf-libcpp pdf-libcpp
20989 maybe-pdf-libcpp:
20990 @if libcpp
20991 maybe-pdf-libcpp: pdf-libcpp
20993 pdf-libcpp: \
20994 configure-libcpp
20995 @[ -f ./libcpp/Makefile ] || exit 0; \
20996 r=`${PWD_COMMAND}`; export r; \
20997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998 $(HOST_EXPORTS) \
20999 for flag in $(EXTRA_HOST_FLAGS) ; do \
21000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21001 done; \
21002 echo "Doing pdf in libcpp" ; \
21003 (cd $(HOST_SUBDIR)/libcpp && \
21004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21006 "RANLIB=$${RANLIB}" \
21007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21008 pdf) \
21009 || exit 1
21011 @endif libcpp
21013 .PHONY: maybe-html-libcpp html-libcpp
21014 maybe-html-libcpp:
21015 @if libcpp
21016 maybe-html-libcpp: html-libcpp
21018 html-libcpp: \
21019 configure-libcpp
21020 @[ -f ./libcpp/Makefile ] || exit 0; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 for flag in $(EXTRA_HOST_FLAGS) ; do \
21025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21026 done; \
21027 echo "Doing html in libcpp" ; \
21028 (cd $(HOST_SUBDIR)/libcpp && \
21029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031 "RANLIB=$${RANLIB}" \
21032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21033 html) \
21034 || exit 1
21036 @endif libcpp
21038 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21039 maybe-TAGS-libcpp:
21040 @if libcpp
21041 maybe-TAGS-libcpp: TAGS-libcpp
21043 TAGS-libcpp: \
21044 configure-libcpp
21045 @[ -f ./libcpp/Makefile ] || exit 0; \
21046 r=`${PWD_COMMAND}`; export r; \
21047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21048 $(HOST_EXPORTS) \
21049 for flag in $(EXTRA_HOST_FLAGS) ; do \
21050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21051 done; \
21052 echo "Doing TAGS in libcpp" ; \
21053 (cd $(HOST_SUBDIR)/libcpp && \
21054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21056 "RANLIB=$${RANLIB}" \
21057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21058 TAGS) \
21059 || exit 1
21061 @endif libcpp
21063 .PHONY: maybe-install-info-libcpp install-info-libcpp
21064 maybe-install-info-libcpp:
21065 @if libcpp
21066 maybe-install-info-libcpp: install-info-libcpp
21068 install-info-libcpp: \
21069 configure-libcpp \
21070 info-libcpp
21071 @[ -f ./libcpp/Makefile ] || exit 0; \
21072 r=`${PWD_COMMAND}`; export r; \
21073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21074 $(HOST_EXPORTS) \
21075 for flag in $(EXTRA_HOST_FLAGS) ; do \
21076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21077 done; \
21078 echo "Doing install-info in libcpp" ; \
21079 (cd $(HOST_SUBDIR)/libcpp && \
21080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21082 "RANLIB=$${RANLIB}" \
21083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21084 install-info) \
21085 || exit 1
21087 @endif libcpp
21089 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21090 maybe-install-pdf-libcpp:
21091 @if libcpp
21092 maybe-install-pdf-libcpp: install-pdf-libcpp
21094 install-pdf-libcpp: \
21095 configure-libcpp \
21096 pdf-libcpp
21097 @[ -f ./libcpp/Makefile ] || exit 0; \
21098 r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21100 $(HOST_EXPORTS) \
21101 for flag in $(EXTRA_HOST_FLAGS) ; do \
21102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21103 done; \
21104 echo "Doing install-pdf in libcpp" ; \
21105 (cd $(HOST_SUBDIR)/libcpp && \
21106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21108 "RANLIB=$${RANLIB}" \
21109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21110 install-pdf) \
21111 || exit 1
21113 @endif libcpp
21115 .PHONY: maybe-install-html-libcpp install-html-libcpp
21116 maybe-install-html-libcpp:
21117 @if libcpp
21118 maybe-install-html-libcpp: install-html-libcpp
21120 install-html-libcpp: \
21121 configure-libcpp \
21122 html-libcpp
21123 @[ -f ./libcpp/Makefile ] || exit 0; \
21124 r=`${PWD_COMMAND}`; export r; \
21125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21126 $(HOST_EXPORTS) \
21127 for flag in $(EXTRA_HOST_FLAGS) ; do \
21128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21129 done; \
21130 echo "Doing install-html in libcpp" ; \
21131 (cd $(HOST_SUBDIR)/libcpp && \
21132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21134 "RANLIB=$${RANLIB}" \
21135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21136 install-html) \
21137 || exit 1
21139 @endif libcpp
21141 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21142 maybe-installcheck-libcpp:
21143 @if libcpp
21144 maybe-installcheck-libcpp: installcheck-libcpp
21146 installcheck-libcpp: \
21147 configure-libcpp
21148 @[ -f ./libcpp/Makefile ] || exit 0; \
21149 r=`${PWD_COMMAND}`; export r; \
21150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21151 $(HOST_EXPORTS) \
21152 for flag in $(EXTRA_HOST_FLAGS) ; do \
21153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 done; \
21155 echo "Doing installcheck in libcpp" ; \
21156 (cd $(HOST_SUBDIR)/libcpp && \
21157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21159 "RANLIB=$${RANLIB}" \
21160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21161 installcheck) \
21162 || exit 1
21164 @endif libcpp
21166 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21167 maybe-mostlyclean-libcpp:
21168 @if libcpp
21169 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21171 mostlyclean-libcpp:
21172 @[ -f ./libcpp/Makefile ] || exit 0; \
21173 r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 $(HOST_EXPORTS) \
21176 for flag in $(EXTRA_HOST_FLAGS) ; do \
21177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178 done; \
21179 echo "Doing mostlyclean in libcpp" ; \
21180 (cd $(HOST_SUBDIR)/libcpp && \
21181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183 "RANLIB=$${RANLIB}" \
21184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21185 mostlyclean) \
21186 || exit 1
21188 @endif libcpp
21190 .PHONY: maybe-clean-libcpp clean-libcpp
21191 maybe-clean-libcpp:
21192 @if libcpp
21193 maybe-clean-libcpp: clean-libcpp
21195 clean-libcpp:
21196 @[ -f ./libcpp/Makefile ] || exit 0; \
21197 r=`${PWD_COMMAND}`; export r; \
21198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21199 $(HOST_EXPORTS) \
21200 for flag in $(EXTRA_HOST_FLAGS) ; do \
21201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21202 done; \
21203 echo "Doing clean in libcpp" ; \
21204 (cd $(HOST_SUBDIR)/libcpp && \
21205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21207 "RANLIB=$${RANLIB}" \
21208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21209 clean) \
21210 || exit 1
21212 @endif libcpp
21214 .PHONY: maybe-distclean-libcpp distclean-libcpp
21215 maybe-distclean-libcpp:
21216 @if libcpp
21217 maybe-distclean-libcpp: distclean-libcpp
21219 distclean-libcpp:
21220 @[ -f ./libcpp/Makefile ] || exit 0; \
21221 r=`${PWD_COMMAND}`; export r; \
21222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21223 $(HOST_EXPORTS) \
21224 for flag in $(EXTRA_HOST_FLAGS) ; do \
21225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21226 done; \
21227 echo "Doing distclean in libcpp" ; \
21228 (cd $(HOST_SUBDIR)/libcpp && \
21229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21231 "RANLIB=$${RANLIB}" \
21232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21233 distclean) \
21234 || exit 1
21236 @endif libcpp
21238 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21239 maybe-maintainer-clean-libcpp:
21240 @if libcpp
21241 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21243 maintainer-clean-libcpp:
21244 @[ -f ./libcpp/Makefile ] || exit 0; \
21245 r=`${PWD_COMMAND}`; export r; \
21246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21247 $(HOST_EXPORTS) \
21248 for flag in $(EXTRA_HOST_FLAGS) ; do \
21249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21250 done; \
21251 echo "Doing maintainer-clean in libcpp" ; \
21252 (cd $(HOST_SUBDIR)/libcpp && \
21253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21255 "RANLIB=$${RANLIB}" \
21256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21257 maintainer-clean) \
21258 || exit 1
21260 @endif libcpp
21264 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21265 maybe-configure-libdecnumber:
21266 @if gcc-bootstrap
21267 configure-libdecnumber: stage_current
21268 @endif gcc-bootstrap
21269 @if libdecnumber
21270 maybe-configure-libdecnumber: configure-libdecnumber
21271 configure-libdecnumber:
21272 @r=`${PWD_COMMAND}`; export r; \
21273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21274 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21276 $(HOST_EXPORTS) \
21277 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21278 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21279 case $(srcdir) in \
21280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21281 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21283 esac; \
21284 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21285 libsrcdir="$$s/libdecnumber"; \
21286 $(SHELL) $${libsrcdir}/configure \
21287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21288 --target=${target_alias} $${srcdiroption} \
21289 || exit 1
21290 @endif libdecnumber
21294 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21295 maybe-configure-stage1-libdecnumber:
21296 @if libdecnumber-bootstrap
21297 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21298 configure-stage1-libdecnumber:
21299 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21301 @r=`${PWD_COMMAND}`; export r; \
21302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21303 TFLAGS="$(STAGE1_TFLAGS)"; \
21304 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21305 $(HOST_EXPORTS) \
21306 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21307 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21308 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21309 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21311 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21312 case $(srcdir) in \
21313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21314 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21316 esac; \
21317 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21318 libsrcdir="$$s/libdecnumber"; \
21319 $(SHELL) $${libsrcdir}/configure \
21320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21321 --target=${target_alias} $${srcdiroption} \
21322 $(STAGE1_CONFIGURE_FLAGS)
21323 @endif libdecnumber-bootstrap
21325 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21326 maybe-configure-stage2-libdecnumber:
21327 @if libdecnumber-bootstrap
21328 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21329 configure-stage2-libdecnumber:
21330 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21332 @r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 TFLAGS="$(STAGE2_TFLAGS)"; \
21335 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21336 $(HOST_EXPORTS) \
21337 $(POSTSTAGE1_HOST_EXPORTS) \
21338 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21339 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21340 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21341 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21343 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21344 case $(srcdir) in \
21345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21346 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21348 esac; \
21349 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21350 libsrcdir="$$s/libdecnumber"; \
21351 $(SHELL) $${libsrcdir}/configure \
21352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21353 --target=${target_alias} $${srcdiroption} \
21354 --with-build-libsubdir=$(HOST_SUBDIR) \
21355 $(STAGE2_CONFIGURE_FLAGS)
21356 @endif libdecnumber-bootstrap
21358 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21359 maybe-configure-stage3-libdecnumber:
21360 @if libdecnumber-bootstrap
21361 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21362 configure-stage3-libdecnumber:
21363 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21365 @r=`${PWD_COMMAND}`; export r; \
21366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21367 TFLAGS="$(STAGE3_TFLAGS)"; \
21368 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21369 $(HOST_EXPORTS) \
21370 $(POSTSTAGE1_HOST_EXPORTS) \
21371 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21372 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21373 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21374 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21376 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21377 case $(srcdir) in \
21378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21379 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21381 esac; \
21382 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21383 libsrcdir="$$s/libdecnumber"; \
21384 $(SHELL) $${libsrcdir}/configure \
21385 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21386 --target=${target_alias} $${srcdiroption} \
21387 --with-build-libsubdir=$(HOST_SUBDIR) \
21388 $(STAGE3_CONFIGURE_FLAGS)
21389 @endif libdecnumber-bootstrap
21391 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21392 maybe-configure-stage4-libdecnumber:
21393 @if libdecnumber-bootstrap
21394 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21395 configure-stage4-libdecnumber:
21396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21398 @r=`${PWD_COMMAND}`; export r; \
21399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 TFLAGS="$(STAGE4_TFLAGS)"; \
21401 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21402 $(HOST_EXPORTS) \
21403 $(POSTSTAGE1_HOST_EXPORTS) \
21404 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21405 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21406 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21407 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21409 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21410 case $(srcdir) in \
21411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21412 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21414 esac; \
21415 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21416 libsrcdir="$$s/libdecnumber"; \
21417 $(SHELL) $${libsrcdir}/configure \
21418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21419 --target=${target_alias} $${srcdiroption} \
21420 --with-build-libsubdir=$(HOST_SUBDIR) \
21421 $(STAGE4_CONFIGURE_FLAGS)
21422 @endif libdecnumber-bootstrap
21424 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21425 maybe-configure-stageprofile-libdecnumber:
21426 @if libdecnumber-bootstrap
21427 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21428 configure-stageprofile-libdecnumber:
21429 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21430 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21431 @r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21434 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21435 $(HOST_EXPORTS) \
21436 $(POSTSTAGE1_HOST_EXPORTS) \
21437 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21438 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21439 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21440 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21442 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21443 case $(srcdir) in \
21444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21445 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21447 esac; \
21448 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21449 libsrcdir="$$s/libdecnumber"; \
21450 $(SHELL) $${libsrcdir}/configure \
21451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21452 --target=${target_alias} $${srcdiroption} \
21453 --with-build-libsubdir=$(HOST_SUBDIR) \
21454 $(STAGEprofile_CONFIGURE_FLAGS)
21455 @endif libdecnumber-bootstrap
21457 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21458 maybe-configure-stagefeedback-libdecnumber:
21459 @if libdecnumber-bootstrap
21460 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21461 configure-stagefeedback-libdecnumber:
21462 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21464 @r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21467 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21468 $(HOST_EXPORTS) \
21469 $(POSTSTAGE1_HOST_EXPORTS) \
21470 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21471 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21472 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21473 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21475 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21476 case $(srcdir) in \
21477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21478 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21480 esac; \
21481 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21482 libsrcdir="$$s/libdecnumber"; \
21483 $(SHELL) $${libsrcdir}/configure \
21484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21485 --target=${target_alias} $${srcdiroption} \
21486 --with-build-libsubdir=$(HOST_SUBDIR) \
21487 $(STAGEfeedback_CONFIGURE_FLAGS)
21488 @endif libdecnumber-bootstrap
21494 .PHONY: all-libdecnumber maybe-all-libdecnumber
21495 maybe-all-libdecnumber:
21496 @if gcc-bootstrap
21497 all-libdecnumber: stage_current
21498 @endif gcc-bootstrap
21499 @if libdecnumber
21500 TARGET-libdecnumber=all
21501 maybe-all-libdecnumber: all-libdecnumber
21502 all-libdecnumber: configure-libdecnumber
21503 @r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505 $(HOST_EXPORTS) \
21506 (cd $(HOST_SUBDIR)/libdecnumber && \
21507 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21508 $(TARGET-libdecnumber))
21509 @endif libdecnumber
21513 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21514 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21515 maybe-all-stage1-libdecnumber:
21516 maybe-clean-stage1-libdecnumber:
21517 @if libdecnumber-bootstrap
21518 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21519 all-stage1: all-stage1-libdecnumber
21520 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21521 all-stage1-libdecnumber: configure-stage1-libdecnumber
21522 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21523 @r=`${PWD_COMMAND}`; export r; \
21524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21525 TFLAGS="$(STAGE1_TFLAGS)"; \
21526 $(HOST_EXPORTS) \
21527 cd $(HOST_SUBDIR)/libdecnumber && \
21528 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21529 CFLAGS="$(STAGE1_CFLAGS)" \
21530 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21531 LIBCFLAGS="$(LIBCFLAGS)" \
21532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21535 $(EXTRA_HOST_FLAGS) \
21536 $(STAGE1_FLAGS_TO_PASS) \
21537 TFLAGS="$(STAGE1_TFLAGS)" \
21538 $(TARGET-stage1-libdecnumber)
21540 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21541 clean-stage1: clean-stage1-libdecnumber
21542 clean-stage1-libdecnumber:
21543 @if [ $(current_stage) = stage1 ]; then \
21544 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21545 else \
21546 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21547 $(MAKE) stage1-start; \
21548 fi; \
21549 cd $(HOST_SUBDIR)/libdecnumber && \
21550 $(MAKE) $(EXTRA_HOST_FLAGS) \
21551 $(STAGE1_FLAGS_TO_PASS) clean
21552 @endif libdecnumber-bootstrap
21555 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21556 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21557 maybe-all-stage2-libdecnumber:
21558 maybe-clean-stage2-libdecnumber:
21559 @if libdecnumber-bootstrap
21560 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21561 all-stage2: all-stage2-libdecnumber
21562 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21563 all-stage2-libdecnumber: configure-stage2-libdecnumber
21564 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21565 @r=`${PWD_COMMAND}`; export r; \
21566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 TFLAGS="$(STAGE2_TFLAGS)"; \
21568 $(HOST_EXPORTS) \
21569 $(POSTSTAGE1_HOST_EXPORTS) \
21570 cd $(HOST_SUBDIR)/libdecnumber && \
21571 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21572 CFLAGS="$(STAGE2_CFLAGS)" \
21573 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21574 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21578 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21579 TFLAGS="$(STAGE2_TFLAGS)" \
21580 $(TARGET-stage2-libdecnumber)
21582 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21583 clean-stage2: clean-stage2-libdecnumber
21584 clean-stage2-libdecnumber:
21585 @if [ $(current_stage) = stage2 ]; then \
21586 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21587 else \
21588 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21589 $(MAKE) stage2-start; \
21590 fi; \
21591 cd $(HOST_SUBDIR)/libdecnumber && \
21592 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21593 @endif libdecnumber-bootstrap
21596 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21597 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21598 maybe-all-stage3-libdecnumber:
21599 maybe-clean-stage3-libdecnumber:
21600 @if libdecnumber-bootstrap
21601 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21602 all-stage3: all-stage3-libdecnumber
21603 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21604 all-stage3-libdecnumber: configure-stage3-libdecnumber
21605 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21606 @r=`${PWD_COMMAND}`; export r; \
21607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21608 TFLAGS="$(STAGE3_TFLAGS)"; \
21609 $(HOST_EXPORTS) \
21610 $(POSTSTAGE1_HOST_EXPORTS) \
21611 cd $(HOST_SUBDIR)/libdecnumber && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21613 CFLAGS="$(STAGE3_CFLAGS)" \
21614 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21615 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21620 TFLAGS="$(STAGE3_TFLAGS)" \
21621 $(TARGET-stage3-libdecnumber)
21623 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21624 clean-stage3: clean-stage3-libdecnumber
21625 clean-stage3-libdecnumber:
21626 @if [ $(current_stage) = stage3 ]; then \
21627 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21628 else \
21629 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21630 $(MAKE) stage3-start; \
21631 fi; \
21632 cd $(HOST_SUBDIR)/libdecnumber && \
21633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21634 @endif libdecnumber-bootstrap
21637 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21638 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21639 maybe-all-stage4-libdecnumber:
21640 maybe-clean-stage4-libdecnumber:
21641 @if libdecnumber-bootstrap
21642 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21643 all-stage4: all-stage4-libdecnumber
21644 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21645 all-stage4-libdecnumber: configure-stage4-libdecnumber
21646 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21647 @r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649 TFLAGS="$(STAGE4_TFLAGS)"; \
21650 $(HOST_EXPORTS) \
21651 $(POSTSTAGE1_HOST_EXPORTS) \
21652 cd $(HOST_SUBDIR)/libdecnumber && \
21653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21654 CFLAGS="$(STAGE4_CFLAGS)" \
21655 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21656 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21660 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21661 TFLAGS="$(STAGE4_TFLAGS)" \
21662 $(TARGET-stage4-libdecnumber)
21664 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21665 clean-stage4: clean-stage4-libdecnumber
21666 clean-stage4-libdecnumber:
21667 @if [ $(current_stage) = stage4 ]; then \
21668 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21669 else \
21670 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21671 $(MAKE) stage4-start; \
21672 fi; \
21673 cd $(HOST_SUBDIR)/libdecnumber && \
21674 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21675 @endif libdecnumber-bootstrap
21678 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21679 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21680 maybe-all-stageprofile-libdecnumber:
21681 maybe-clean-stageprofile-libdecnumber:
21682 @if libdecnumber-bootstrap
21683 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21684 all-stageprofile: all-stageprofile-libdecnumber
21685 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21686 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21687 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21688 @r=`${PWD_COMMAND}`; export r; \
21689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21691 $(HOST_EXPORTS) \
21692 $(POSTSTAGE1_HOST_EXPORTS) \
21693 cd $(HOST_SUBDIR)/libdecnumber && \
21694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21695 CFLAGS="$(STAGEprofile_CFLAGS)" \
21696 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21697 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21702 TFLAGS="$(STAGEprofile_TFLAGS)" \
21703 $(TARGET-stageprofile-libdecnumber)
21705 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21706 clean-stageprofile: clean-stageprofile-libdecnumber
21707 clean-stageprofile-libdecnumber:
21708 @if [ $(current_stage) = stageprofile ]; then \
21709 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21710 else \
21711 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21712 $(MAKE) stageprofile-start; \
21713 fi; \
21714 cd $(HOST_SUBDIR)/libdecnumber && \
21715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21716 @endif libdecnumber-bootstrap
21719 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21720 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21721 maybe-all-stagefeedback-libdecnumber:
21722 maybe-clean-stagefeedback-libdecnumber:
21723 @if libdecnumber-bootstrap
21724 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21725 all-stagefeedback: all-stagefeedback-libdecnumber
21726 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21727 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21728 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21729 @r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21732 $(HOST_EXPORTS) \
21733 $(POSTSTAGE1_HOST_EXPORTS) \
21734 cd $(HOST_SUBDIR)/libdecnumber && \
21735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21736 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21737 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21738 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21742 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21743 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21744 $(TARGET-stagefeedback-libdecnumber)
21746 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21747 clean-stagefeedback: clean-stagefeedback-libdecnumber
21748 clean-stagefeedback-libdecnumber:
21749 @if [ $(current_stage) = stagefeedback ]; then \
21750 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21751 else \
21752 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21753 $(MAKE) stagefeedback-start; \
21754 fi; \
21755 cd $(HOST_SUBDIR)/libdecnumber && \
21756 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21757 @endif libdecnumber-bootstrap
21763 .PHONY: check-libdecnumber maybe-check-libdecnumber
21764 maybe-check-libdecnumber:
21765 @if libdecnumber
21766 maybe-check-libdecnumber: check-libdecnumber
21768 check-libdecnumber:
21769 @: $(MAKE); $(unstage)
21770 @r=`${PWD_COMMAND}`; export r; \
21771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21772 $(HOST_EXPORTS) \
21773 (cd $(HOST_SUBDIR)/libdecnumber && \
21774 $(MAKE) $(FLAGS_TO_PASS) check)
21776 @endif libdecnumber
21778 .PHONY: install-libdecnumber maybe-install-libdecnumber
21779 maybe-install-libdecnumber:
21780 @if libdecnumber
21781 maybe-install-libdecnumber: install-libdecnumber
21783 install-libdecnumber: installdirs
21784 @: $(MAKE); $(unstage)
21785 @r=`${PWD_COMMAND}`; export r; \
21786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 $(HOST_EXPORTS) \
21788 (cd $(HOST_SUBDIR)/libdecnumber && \
21789 $(MAKE) $(FLAGS_TO_PASS) install)
21791 @endif libdecnumber
21793 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21794 maybe-install-strip-libdecnumber:
21795 @if libdecnumber
21796 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21798 install-strip-libdecnumber: installdirs
21799 @: $(MAKE); $(unstage)
21800 @r=`${PWD_COMMAND}`; export r; \
21801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 $(HOST_EXPORTS) \
21803 (cd $(HOST_SUBDIR)/libdecnumber && \
21804 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21806 @endif libdecnumber
21808 # Other targets (info, dvi, pdf, etc.)
21810 .PHONY: maybe-info-libdecnumber info-libdecnumber
21811 maybe-info-libdecnumber:
21812 @if libdecnumber
21813 maybe-info-libdecnumber: info-libdecnumber
21815 info-libdecnumber: \
21816 configure-libdecnumber
21817 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21818 r=`${PWD_COMMAND}`; export r; \
21819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21820 $(HOST_EXPORTS) \
21821 for flag in $(EXTRA_HOST_FLAGS) ; do \
21822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21823 done; \
21824 echo "Doing info in libdecnumber" ; \
21825 (cd $(HOST_SUBDIR)/libdecnumber && \
21826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21828 "RANLIB=$${RANLIB}" \
21829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21830 info) \
21831 || exit 1
21833 @endif libdecnumber
21835 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21836 maybe-dvi-libdecnumber:
21837 @if libdecnumber
21838 maybe-dvi-libdecnumber: dvi-libdecnumber
21840 dvi-libdecnumber: \
21841 configure-libdecnumber
21842 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21843 r=`${PWD_COMMAND}`; export r; \
21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21845 $(HOST_EXPORTS) \
21846 for flag in $(EXTRA_HOST_FLAGS) ; do \
21847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21848 done; \
21849 echo "Doing dvi in libdecnumber" ; \
21850 (cd $(HOST_SUBDIR)/libdecnumber && \
21851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21853 "RANLIB=$${RANLIB}" \
21854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21855 dvi) \
21856 || exit 1
21858 @endif libdecnumber
21860 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21861 maybe-pdf-libdecnumber:
21862 @if libdecnumber
21863 maybe-pdf-libdecnumber: pdf-libdecnumber
21865 pdf-libdecnumber: \
21866 configure-libdecnumber
21867 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21868 r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870 $(HOST_EXPORTS) \
21871 for flag in $(EXTRA_HOST_FLAGS) ; do \
21872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21873 done; \
21874 echo "Doing pdf in libdecnumber" ; \
21875 (cd $(HOST_SUBDIR)/libdecnumber && \
21876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878 "RANLIB=$${RANLIB}" \
21879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21880 pdf) \
21881 || exit 1
21883 @endif libdecnumber
21885 .PHONY: maybe-html-libdecnumber html-libdecnumber
21886 maybe-html-libdecnumber:
21887 @if libdecnumber
21888 maybe-html-libdecnumber: html-libdecnumber
21890 html-libdecnumber: \
21891 configure-libdecnumber
21892 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21893 r=`${PWD_COMMAND}`; export r; \
21894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21895 $(HOST_EXPORTS) \
21896 for flag in $(EXTRA_HOST_FLAGS) ; do \
21897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21898 done; \
21899 echo "Doing html in libdecnumber" ; \
21900 (cd $(HOST_SUBDIR)/libdecnumber && \
21901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21903 "RANLIB=$${RANLIB}" \
21904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21905 html) \
21906 || exit 1
21908 @endif libdecnumber
21910 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21911 maybe-TAGS-libdecnumber:
21912 @if libdecnumber
21913 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21915 TAGS-libdecnumber: \
21916 configure-libdecnumber
21917 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21918 r=`${PWD_COMMAND}`; export r; \
21919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21920 $(HOST_EXPORTS) \
21921 for flag in $(EXTRA_HOST_FLAGS) ; do \
21922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21923 done; \
21924 echo "Doing TAGS in libdecnumber" ; \
21925 (cd $(HOST_SUBDIR)/libdecnumber && \
21926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21928 "RANLIB=$${RANLIB}" \
21929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21930 TAGS) \
21931 || exit 1
21933 @endif libdecnumber
21935 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21936 maybe-install-info-libdecnumber:
21937 @if libdecnumber
21938 maybe-install-info-libdecnumber: install-info-libdecnumber
21940 install-info-libdecnumber: \
21941 configure-libdecnumber \
21942 info-libdecnumber
21943 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21944 r=`${PWD_COMMAND}`; export r; \
21945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21946 $(HOST_EXPORTS) \
21947 for flag in $(EXTRA_HOST_FLAGS) ; do \
21948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21949 done; \
21950 echo "Doing install-info in libdecnumber" ; \
21951 (cd $(HOST_SUBDIR)/libdecnumber && \
21952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21954 "RANLIB=$${RANLIB}" \
21955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21956 install-info) \
21957 || exit 1
21959 @endif libdecnumber
21961 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21962 maybe-install-pdf-libdecnumber:
21963 @if libdecnumber
21964 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21966 install-pdf-libdecnumber: \
21967 configure-libdecnumber \
21968 pdf-libdecnumber
21969 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21970 r=`${PWD_COMMAND}`; export r; \
21971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21972 $(HOST_EXPORTS) \
21973 for flag in $(EXTRA_HOST_FLAGS) ; do \
21974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21975 done; \
21976 echo "Doing install-pdf in libdecnumber" ; \
21977 (cd $(HOST_SUBDIR)/libdecnumber && \
21978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21980 "RANLIB=$${RANLIB}" \
21981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21982 install-pdf) \
21983 || exit 1
21985 @endif libdecnumber
21987 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21988 maybe-install-html-libdecnumber:
21989 @if libdecnumber
21990 maybe-install-html-libdecnumber: install-html-libdecnumber
21992 install-html-libdecnumber: \
21993 configure-libdecnumber \
21994 html-libdecnumber
21995 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21996 r=`${PWD_COMMAND}`; export r; \
21997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21998 $(HOST_EXPORTS) \
21999 for flag in $(EXTRA_HOST_FLAGS) ; do \
22000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22001 done; \
22002 echo "Doing install-html in libdecnumber" ; \
22003 (cd $(HOST_SUBDIR)/libdecnumber && \
22004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22006 "RANLIB=$${RANLIB}" \
22007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22008 install-html) \
22009 || exit 1
22011 @endif libdecnumber
22013 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22014 maybe-installcheck-libdecnumber:
22015 @if libdecnumber
22016 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22018 installcheck-libdecnumber: \
22019 configure-libdecnumber
22020 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22021 r=`${PWD_COMMAND}`; export r; \
22022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22023 $(HOST_EXPORTS) \
22024 for flag in $(EXTRA_HOST_FLAGS) ; do \
22025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22026 done; \
22027 echo "Doing installcheck in libdecnumber" ; \
22028 (cd $(HOST_SUBDIR)/libdecnumber && \
22029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22031 "RANLIB=$${RANLIB}" \
22032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22033 installcheck) \
22034 || exit 1
22036 @endif libdecnumber
22038 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22039 maybe-mostlyclean-libdecnumber:
22040 @if libdecnumber
22041 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22043 mostlyclean-libdecnumber:
22044 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047 $(HOST_EXPORTS) \
22048 for flag in $(EXTRA_HOST_FLAGS) ; do \
22049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22050 done; \
22051 echo "Doing mostlyclean in libdecnumber" ; \
22052 (cd $(HOST_SUBDIR)/libdecnumber && \
22053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22055 "RANLIB=$${RANLIB}" \
22056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22057 mostlyclean) \
22058 || exit 1
22060 @endif libdecnumber
22062 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22063 maybe-clean-libdecnumber:
22064 @if libdecnumber
22065 maybe-clean-libdecnumber: clean-libdecnumber
22067 clean-libdecnumber:
22068 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22069 r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 $(HOST_EXPORTS) \
22072 for flag in $(EXTRA_HOST_FLAGS) ; do \
22073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22074 done; \
22075 echo "Doing clean in libdecnumber" ; \
22076 (cd $(HOST_SUBDIR)/libdecnumber && \
22077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22079 "RANLIB=$${RANLIB}" \
22080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22081 clean) \
22082 || exit 1
22084 @endif libdecnumber
22086 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22087 maybe-distclean-libdecnumber:
22088 @if libdecnumber
22089 maybe-distclean-libdecnumber: distclean-libdecnumber
22091 distclean-libdecnumber:
22092 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22093 r=`${PWD_COMMAND}`; export r; \
22094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22095 $(HOST_EXPORTS) \
22096 for flag in $(EXTRA_HOST_FLAGS) ; do \
22097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22098 done; \
22099 echo "Doing distclean in libdecnumber" ; \
22100 (cd $(HOST_SUBDIR)/libdecnumber && \
22101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22103 "RANLIB=$${RANLIB}" \
22104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22105 distclean) \
22106 || exit 1
22108 @endif libdecnumber
22110 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22111 maybe-maintainer-clean-libdecnumber:
22112 @if libdecnumber
22113 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22115 maintainer-clean-libdecnumber:
22116 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22117 r=`${PWD_COMMAND}`; export r; \
22118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22119 $(HOST_EXPORTS) \
22120 for flag in $(EXTRA_HOST_FLAGS) ; do \
22121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22122 done; \
22123 echo "Doing maintainer-clean in libdecnumber" ; \
22124 (cd $(HOST_SUBDIR)/libdecnumber && \
22125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22127 "RANLIB=$${RANLIB}" \
22128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22129 maintainer-clean) \
22130 || exit 1
22132 @endif libdecnumber
22136 .PHONY: configure-libgui maybe-configure-libgui
22137 maybe-configure-libgui:
22138 @if gcc-bootstrap
22139 configure-libgui: stage_current
22140 @endif gcc-bootstrap
22141 @if libgui
22142 maybe-configure-libgui: configure-libgui
22143 configure-libgui:
22144 @: $(MAKE); $(unstage)
22145 @r=`${PWD_COMMAND}`; export r; \
22146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22147 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22149 $(HOST_EXPORTS) \
22150 echo Configuring in $(HOST_SUBDIR)/libgui; \
22151 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22152 case $(srcdir) in \
22153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22154 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22156 esac; \
22157 srcdiroption="--srcdir=$${topdir}/libgui"; \
22158 libsrcdir="$$s/libgui"; \
22159 $(SHELL) $${libsrcdir}/configure \
22160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22161 --target=${target_alias} $${srcdiroption} \
22162 || exit 1
22163 @endif libgui
22169 .PHONY: all-libgui maybe-all-libgui
22170 maybe-all-libgui:
22171 @if gcc-bootstrap
22172 all-libgui: stage_current
22173 @endif gcc-bootstrap
22174 @if libgui
22175 TARGET-libgui=all
22176 maybe-all-libgui: all-libgui
22177 all-libgui: configure-libgui
22178 @: $(MAKE); $(unstage)
22179 @r=`${PWD_COMMAND}`; export r; \
22180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22181 $(HOST_EXPORTS) \
22182 (cd $(HOST_SUBDIR)/libgui && \
22183 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22184 $(TARGET-libgui))
22185 @endif libgui
22190 .PHONY: check-libgui maybe-check-libgui
22191 maybe-check-libgui:
22192 @if libgui
22193 maybe-check-libgui: check-libgui
22195 check-libgui:
22196 @: $(MAKE); $(unstage)
22197 @r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 $(HOST_EXPORTS) \
22200 (cd $(HOST_SUBDIR)/libgui && \
22201 $(MAKE) $(FLAGS_TO_PASS) check)
22203 @endif libgui
22205 .PHONY: install-libgui maybe-install-libgui
22206 maybe-install-libgui:
22207 @if libgui
22208 maybe-install-libgui: install-libgui
22210 install-libgui: installdirs
22211 @: $(MAKE); $(unstage)
22212 @r=`${PWD_COMMAND}`; export r; \
22213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 $(HOST_EXPORTS) \
22215 (cd $(HOST_SUBDIR)/libgui && \
22216 $(MAKE) $(FLAGS_TO_PASS) install)
22218 @endif libgui
22220 .PHONY: install-strip-libgui maybe-install-strip-libgui
22221 maybe-install-strip-libgui:
22222 @if libgui
22223 maybe-install-strip-libgui: install-strip-libgui
22225 install-strip-libgui: installdirs
22226 @: $(MAKE); $(unstage)
22227 @r=`${PWD_COMMAND}`; export r; \
22228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22229 $(HOST_EXPORTS) \
22230 (cd $(HOST_SUBDIR)/libgui && \
22231 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22233 @endif libgui
22235 # Other targets (info, dvi, pdf, etc.)
22237 .PHONY: maybe-info-libgui info-libgui
22238 maybe-info-libgui:
22239 @if libgui
22240 maybe-info-libgui: info-libgui
22242 info-libgui: \
22243 configure-libgui
22244 @: $(MAKE); $(unstage)
22245 @[ -f ./libgui/Makefile ] || exit 0; \
22246 r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 $(HOST_EXPORTS) \
22249 for flag in $(EXTRA_HOST_FLAGS) ; do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22251 done; \
22252 echo "Doing info in libgui" ; \
22253 (cd $(HOST_SUBDIR)/libgui && \
22254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22256 "RANLIB=$${RANLIB}" \
22257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22258 info) \
22259 || exit 1
22261 @endif libgui
22263 .PHONY: maybe-dvi-libgui dvi-libgui
22264 maybe-dvi-libgui:
22265 @if libgui
22266 maybe-dvi-libgui: dvi-libgui
22268 dvi-libgui: \
22269 configure-libgui
22270 @: $(MAKE); $(unstage)
22271 @[ -f ./libgui/Makefile ] || exit 0; \
22272 r=`${PWD_COMMAND}`; export r; \
22273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22274 $(HOST_EXPORTS) \
22275 for flag in $(EXTRA_HOST_FLAGS) ; do \
22276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22277 done; \
22278 echo "Doing dvi in libgui" ; \
22279 (cd $(HOST_SUBDIR)/libgui && \
22280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22282 "RANLIB=$${RANLIB}" \
22283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22284 dvi) \
22285 || exit 1
22287 @endif libgui
22289 .PHONY: maybe-pdf-libgui pdf-libgui
22290 maybe-pdf-libgui:
22291 @if libgui
22292 maybe-pdf-libgui: pdf-libgui
22294 pdf-libgui: \
22295 configure-libgui
22296 @: $(MAKE); $(unstage)
22297 @[ -f ./libgui/Makefile ] || exit 0; \
22298 r=`${PWD_COMMAND}`; export r; \
22299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22300 $(HOST_EXPORTS) \
22301 for flag in $(EXTRA_HOST_FLAGS) ; do \
22302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22303 done; \
22304 echo "Doing pdf in libgui" ; \
22305 (cd $(HOST_SUBDIR)/libgui && \
22306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22308 "RANLIB=$${RANLIB}" \
22309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22310 pdf) \
22311 || exit 1
22313 @endif libgui
22315 .PHONY: maybe-html-libgui html-libgui
22316 maybe-html-libgui:
22317 @if libgui
22318 maybe-html-libgui: html-libgui
22320 html-libgui: \
22321 configure-libgui
22322 @: $(MAKE); $(unstage)
22323 @[ -f ./libgui/Makefile ] || exit 0; \
22324 r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22326 $(HOST_EXPORTS) \
22327 for flag in $(EXTRA_HOST_FLAGS) ; do \
22328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22329 done; \
22330 echo "Doing html in libgui" ; \
22331 (cd $(HOST_SUBDIR)/libgui && \
22332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22334 "RANLIB=$${RANLIB}" \
22335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22336 html) \
22337 || exit 1
22339 @endif libgui
22341 .PHONY: maybe-TAGS-libgui TAGS-libgui
22342 maybe-TAGS-libgui:
22343 @if libgui
22344 maybe-TAGS-libgui: TAGS-libgui
22346 TAGS-libgui: \
22347 configure-libgui
22348 @: $(MAKE); $(unstage)
22349 @[ -f ./libgui/Makefile ] || exit 0; \
22350 r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 $(HOST_EXPORTS) \
22353 for flag in $(EXTRA_HOST_FLAGS) ; do \
22354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22355 done; \
22356 echo "Doing TAGS in libgui" ; \
22357 (cd $(HOST_SUBDIR)/libgui && \
22358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22360 "RANLIB=$${RANLIB}" \
22361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22362 TAGS) \
22363 || exit 1
22365 @endif libgui
22367 .PHONY: maybe-install-info-libgui install-info-libgui
22368 maybe-install-info-libgui:
22369 @if libgui
22370 maybe-install-info-libgui: install-info-libgui
22372 install-info-libgui: \
22373 configure-libgui \
22374 info-libgui
22375 @: $(MAKE); $(unstage)
22376 @[ -f ./libgui/Makefile ] || exit 0; \
22377 r=`${PWD_COMMAND}`; export r; \
22378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22379 $(HOST_EXPORTS) \
22380 for flag in $(EXTRA_HOST_FLAGS) ; do \
22381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22382 done; \
22383 echo "Doing install-info in libgui" ; \
22384 (cd $(HOST_SUBDIR)/libgui && \
22385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22387 "RANLIB=$${RANLIB}" \
22388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22389 install-info) \
22390 || exit 1
22392 @endif libgui
22394 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22395 maybe-install-pdf-libgui:
22396 @if libgui
22397 maybe-install-pdf-libgui: install-pdf-libgui
22399 install-pdf-libgui: \
22400 configure-libgui \
22401 pdf-libgui
22402 @: $(MAKE); $(unstage)
22403 @[ -f ./libgui/Makefile ] || exit 0; \
22404 r=`${PWD_COMMAND}`; export r; \
22405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22406 $(HOST_EXPORTS) \
22407 for flag in $(EXTRA_HOST_FLAGS) ; do \
22408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22409 done; \
22410 echo "Doing install-pdf in libgui" ; \
22411 (cd $(HOST_SUBDIR)/libgui && \
22412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22414 "RANLIB=$${RANLIB}" \
22415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22416 install-pdf) \
22417 || exit 1
22419 @endif libgui
22421 .PHONY: maybe-install-html-libgui install-html-libgui
22422 maybe-install-html-libgui:
22423 @if libgui
22424 maybe-install-html-libgui: install-html-libgui
22426 install-html-libgui: \
22427 configure-libgui \
22428 html-libgui
22429 @: $(MAKE); $(unstage)
22430 @[ -f ./libgui/Makefile ] || exit 0; \
22431 r=`${PWD_COMMAND}`; export r; \
22432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22433 $(HOST_EXPORTS) \
22434 for flag in $(EXTRA_HOST_FLAGS) ; do \
22435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22436 done; \
22437 echo "Doing install-html in libgui" ; \
22438 (cd $(HOST_SUBDIR)/libgui && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22443 install-html) \
22444 || exit 1
22446 @endif libgui
22448 .PHONY: maybe-installcheck-libgui installcheck-libgui
22449 maybe-installcheck-libgui:
22450 @if libgui
22451 maybe-installcheck-libgui: installcheck-libgui
22453 installcheck-libgui: \
22454 configure-libgui
22455 @: $(MAKE); $(unstage)
22456 @[ -f ./libgui/Makefile ] || exit 0; \
22457 r=`${PWD_COMMAND}`; export r; \
22458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22459 $(HOST_EXPORTS) \
22460 for flag in $(EXTRA_HOST_FLAGS) ; do \
22461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22462 done; \
22463 echo "Doing installcheck in libgui" ; \
22464 (cd $(HOST_SUBDIR)/libgui && \
22465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22467 "RANLIB=$${RANLIB}" \
22468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22469 installcheck) \
22470 || exit 1
22472 @endif libgui
22474 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22475 maybe-mostlyclean-libgui:
22476 @if libgui
22477 maybe-mostlyclean-libgui: mostlyclean-libgui
22479 mostlyclean-libgui:
22480 @: $(MAKE); $(unstage)
22481 @[ -f ./libgui/Makefile ] || exit 0; \
22482 r=`${PWD_COMMAND}`; export r; \
22483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22484 $(HOST_EXPORTS) \
22485 for flag in $(EXTRA_HOST_FLAGS) ; do \
22486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22487 done; \
22488 echo "Doing mostlyclean in libgui" ; \
22489 (cd $(HOST_SUBDIR)/libgui && \
22490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22492 "RANLIB=$${RANLIB}" \
22493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22494 mostlyclean) \
22495 || exit 1
22497 @endif libgui
22499 .PHONY: maybe-clean-libgui clean-libgui
22500 maybe-clean-libgui:
22501 @if libgui
22502 maybe-clean-libgui: clean-libgui
22504 clean-libgui:
22505 @: $(MAKE); $(unstage)
22506 @[ -f ./libgui/Makefile ] || exit 0; \
22507 r=`${PWD_COMMAND}`; export r; \
22508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22509 $(HOST_EXPORTS) \
22510 for flag in $(EXTRA_HOST_FLAGS) ; do \
22511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22512 done; \
22513 echo "Doing clean in libgui" ; \
22514 (cd $(HOST_SUBDIR)/libgui && \
22515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22517 "RANLIB=$${RANLIB}" \
22518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22519 clean) \
22520 || exit 1
22522 @endif libgui
22524 .PHONY: maybe-distclean-libgui distclean-libgui
22525 maybe-distclean-libgui:
22526 @if libgui
22527 maybe-distclean-libgui: distclean-libgui
22529 distclean-libgui:
22530 @: $(MAKE); $(unstage)
22531 @[ -f ./libgui/Makefile ] || exit 0; \
22532 r=`${PWD_COMMAND}`; export r; \
22533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22534 $(HOST_EXPORTS) \
22535 for flag in $(EXTRA_HOST_FLAGS) ; do \
22536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22537 done; \
22538 echo "Doing distclean in libgui" ; \
22539 (cd $(HOST_SUBDIR)/libgui && \
22540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22542 "RANLIB=$${RANLIB}" \
22543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22544 distclean) \
22545 || exit 1
22547 @endif libgui
22549 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22550 maybe-maintainer-clean-libgui:
22551 @if libgui
22552 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22554 maintainer-clean-libgui:
22555 @: $(MAKE); $(unstage)
22556 @[ -f ./libgui/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(HOST_EXPORTS) \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 echo "Doing maintainer-clean in libgui" ; \
22564 (cd $(HOST_SUBDIR)/libgui && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22569 maintainer-clean) \
22570 || exit 1
22572 @endif libgui
22576 .PHONY: configure-libiberty maybe-configure-libiberty
22577 maybe-configure-libiberty:
22578 @if gcc-bootstrap
22579 configure-libiberty: stage_current
22580 @endif gcc-bootstrap
22581 @if libiberty
22582 maybe-configure-libiberty: configure-libiberty
22583 configure-libiberty:
22584 @r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22588 $(HOST_EXPORTS) \
22589 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22590 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22591 case $(srcdir) in \
22592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22593 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22595 esac; \
22596 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22597 libsrcdir="$$s/libiberty"; \
22598 $(SHELL) $${libsrcdir}/configure \
22599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22600 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22601 || exit 1
22602 @endif libiberty
22606 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22607 maybe-configure-stage1-libiberty:
22608 @if libiberty-bootstrap
22609 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22610 configure-stage1-libiberty:
22611 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22613 @r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 TFLAGS="$(STAGE1_TFLAGS)"; \
22616 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22617 $(HOST_EXPORTS) \
22618 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22619 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22620 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22621 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22623 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22624 case $(srcdir) in \
22625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22626 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22628 esac; \
22629 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22630 libsrcdir="$$s/libiberty"; \
22631 $(SHELL) $${libsrcdir}/configure \
22632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22633 --target=${target_alias} $${srcdiroption} \
22634 $(STAGE1_CONFIGURE_FLAGS) \
22635 @extra_host_libiberty_configure_flags@
22636 @endif libiberty-bootstrap
22638 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22639 maybe-configure-stage2-libiberty:
22640 @if libiberty-bootstrap
22641 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22642 configure-stage2-libiberty:
22643 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22645 @r=`${PWD_COMMAND}`; export r; \
22646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22647 TFLAGS="$(STAGE2_TFLAGS)"; \
22648 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22649 $(HOST_EXPORTS) \
22650 $(POSTSTAGE1_HOST_EXPORTS) \
22651 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22652 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22653 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22654 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22656 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22657 case $(srcdir) in \
22658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22659 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22661 esac; \
22662 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22663 libsrcdir="$$s/libiberty"; \
22664 $(SHELL) $${libsrcdir}/configure \
22665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22666 --target=${target_alias} $${srcdiroption} \
22667 --with-build-libsubdir=$(HOST_SUBDIR) \
22668 $(STAGE2_CONFIGURE_FLAGS) \
22669 @extra_host_libiberty_configure_flags@
22670 @endif libiberty-bootstrap
22672 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22673 maybe-configure-stage3-libiberty:
22674 @if libiberty-bootstrap
22675 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22676 configure-stage3-libiberty:
22677 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22679 @r=`${PWD_COMMAND}`; export r; \
22680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22681 TFLAGS="$(STAGE3_TFLAGS)"; \
22682 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22683 $(HOST_EXPORTS) \
22684 $(POSTSTAGE1_HOST_EXPORTS) \
22685 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22686 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22687 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22688 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22690 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22691 case $(srcdir) in \
22692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22693 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22695 esac; \
22696 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22697 libsrcdir="$$s/libiberty"; \
22698 $(SHELL) $${libsrcdir}/configure \
22699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22700 --target=${target_alias} $${srcdiroption} \
22701 --with-build-libsubdir=$(HOST_SUBDIR) \
22702 $(STAGE3_CONFIGURE_FLAGS) \
22703 @extra_host_libiberty_configure_flags@
22704 @endif libiberty-bootstrap
22706 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22707 maybe-configure-stage4-libiberty:
22708 @if libiberty-bootstrap
22709 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22710 configure-stage4-libiberty:
22711 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22713 @r=`${PWD_COMMAND}`; export r; \
22714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22715 TFLAGS="$(STAGE4_TFLAGS)"; \
22716 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22717 $(HOST_EXPORTS) \
22718 $(POSTSTAGE1_HOST_EXPORTS) \
22719 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22720 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22721 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22722 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22724 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22725 case $(srcdir) in \
22726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22727 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22729 esac; \
22730 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22731 libsrcdir="$$s/libiberty"; \
22732 $(SHELL) $${libsrcdir}/configure \
22733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22734 --target=${target_alias} $${srcdiroption} \
22735 --with-build-libsubdir=$(HOST_SUBDIR) \
22736 $(STAGE4_CONFIGURE_FLAGS) \
22737 @extra_host_libiberty_configure_flags@
22738 @endif libiberty-bootstrap
22740 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22741 maybe-configure-stageprofile-libiberty:
22742 @if libiberty-bootstrap
22743 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22744 configure-stageprofile-libiberty:
22745 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22747 @r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22750 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22751 $(HOST_EXPORTS) \
22752 $(POSTSTAGE1_HOST_EXPORTS) \
22753 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22754 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22755 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22756 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22758 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22759 case $(srcdir) in \
22760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22761 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22763 esac; \
22764 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22765 libsrcdir="$$s/libiberty"; \
22766 $(SHELL) $${libsrcdir}/configure \
22767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22768 --target=${target_alias} $${srcdiroption} \
22769 --with-build-libsubdir=$(HOST_SUBDIR) \
22770 $(STAGEprofile_CONFIGURE_FLAGS) \
22771 @extra_host_libiberty_configure_flags@
22772 @endif libiberty-bootstrap
22774 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22775 maybe-configure-stagefeedback-libiberty:
22776 @if libiberty-bootstrap
22777 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22778 configure-stagefeedback-libiberty:
22779 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22781 @r=`${PWD_COMMAND}`; export r; \
22782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22783 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22784 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22785 $(HOST_EXPORTS) \
22786 $(POSTSTAGE1_HOST_EXPORTS) \
22787 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22788 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22789 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22790 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22792 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22793 case $(srcdir) in \
22794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22795 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22797 esac; \
22798 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22799 libsrcdir="$$s/libiberty"; \
22800 $(SHELL) $${libsrcdir}/configure \
22801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22802 --target=${target_alias} $${srcdiroption} \
22803 --with-build-libsubdir=$(HOST_SUBDIR) \
22804 $(STAGEfeedback_CONFIGURE_FLAGS) \
22805 @extra_host_libiberty_configure_flags@
22806 @endif libiberty-bootstrap
22812 .PHONY: all-libiberty maybe-all-libiberty
22813 maybe-all-libiberty:
22814 @if gcc-bootstrap
22815 all-libiberty: stage_current
22816 @endif gcc-bootstrap
22817 @if libiberty
22818 TARGET-libiberty=all
22819 maybe-all-libiberty: all-libiberty
22820 all-libiberty: configure-libiberty
22821 @r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 $(HOST_EXPORTS) \
22824 (cd $(HOST_SUBDIR)/libiberty && \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22826 $(TARGET-libiberty))
22827 @endif libiberty
22831 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22832 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22833 maybe-all-stage1-libiberty:
22834 maybe-clean-stage1-libiberty:
22835 @if libiberty-bootstrap
22836 maybe-all-stage1-libiberty: all-stage1-libiberty
22837 all-stage1: all-stage1-libiberty
22838 TARGET-stage1-libiberty = $(TARGET-libiberty)
22839 all-stage1-libiberty: configure-stage1-libiberty
22840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22841 @r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843 TFLAGS="$(STAGE1_TFLAGS)"; \
22844 $(HOST_EXPORTS) \
22845 cd $(HOST_SUBDIR)/libiberty && \
22846 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22847 CFLAGS="$(STAGE1_CFLAGS)" \
22848 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22849 LIBCFLAGS="$(LIBCFLAGS)" \
22850 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22851 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22852 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22853 $(EXTRA_HOST_FLAGS) \
22854 $(STAGE1_FLAGS_TO_PASS) \
22855 TFLAGS="$(STAGE1_TFLAGS)" \
22856 $(TARGET-stage1-libiberty)
22858 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22859 clean-stage1: clean-stage1-libiberty
22860 clean-stage1-libiberty:
22861 @if [ $(current_stage) = stage1 ]; then \
22862 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22863 else \
22864 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22865 $(MAKE) stage1-start; \
22866 fi; \
22867 cd $(HOST_SUBDIR)/libiberty && \
22868 $(MAKE) $(EXTRA_HOST_FLAGS) \
22869 $(STAGE1_FLAGS_TO_PASS) clean
22870 @endif libiberty-bootstrap
22873 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22874 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22875 maybe-all-stage2-libiberty:
22876 maybe-clean-stage2-libiberty:
22877 @if libiberty-bootstrap
22878 maybe-all-stage2-libiberty: all-stage2-libiberty
22879 all-stage2: all-stage2-libiberty
22880 TARGET-stage2-libiberty = $(TARGET-libiberty)
22881 all-stage2-libiberty: configure-stage2-libiberty
22882 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22883 @r=`${PWD_COMMAND}`; export r; \
22884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22885 TFLAGS="$(STAGE2_TFLAGS)"; \
22886 $(HOST_EXPORTS) \
22887 $(POSTSTAGE1_HOST_EXPORTS) \
22888 cd $(HOST_SUBDIR)/libiberty && \
22889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22890 CFLAGS="$(STAGE2_CFLAGS)" \
22891 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22892 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22896 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22897 TFLAGS="$(STAGE2_TFLAGS)" \
22898 $(TARGET-stage2-libiberty)
22900 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22901 clean-stage2: clean-stage2-libiberty
22902 clean-stage2-libiberty:
22903 @if [ $(current_stage) = stage2 ]; then \
22904 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22905 else \
22906 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22907 $(MAKE) stage2-start; \
22908 fi; \
22909 cd $(HOST_SUBDIR)/libiberty && \
22910 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22911 @endif libiberty-bootstrap
22914 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22915 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22916 maybe-all-stage3-libiberty:
22917 maybe-clean-stage3-libiberty:
22918 @if libiberty-bootstrap
22919 maybe-all-stage3-libiberty: all-stage3-libiberty
22920 all-stage3: all-stage3-libiberty
22921 TARGET-stage3-libiberty = $(TARGET-libiberty)
22922 all-stage3-libiberty: configure-stage3-libiberty
22923 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22924 @r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 TFLAGS="$(STAGE3_TFLAGS)"; \
22927 $(HOST_EXPORTS) \
22928 $(POSTSTAGE1_HOST_EXPORTS) \
22929 cd $(HOST_SUBDIR)/libiberty && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22931 CFLAGS="$(STAGE3_CFLAGS)" \
22932 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22933 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22938 TFLAGS="$(STAGE3_TFLAGS)" \
22939 $(TARGET-stage3-libiberty)
22941 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22942 clean-stage3: clean-stage3-libiberty
22943 clean-stage3-libiberty:
22944 @if [ $(current_stage) = stage3 ]; then \
22945 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22946 else \
22947 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22948 $(MAKE) stage3-start; \
22949 fi; \
22950 cd $(HOST_SUBDIR)/libiberty && \
22951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22952 @endif libiberty-bootstrap
22955 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22956 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22957 maybe-all-stage4-libiberty:
22958 maybe-clean-stage4-libiberty:
22959 @if libiberty-bootstrap
22960 maybe-all-stage4-libiberty: all-stage4-libiberty
22961 all-stage4: all-stage4-libiberty
22962 TARGET-stage4-libiberty = $(TARGET-libiberty)
22963 all-stage4-libiberty: configure-stage4-libiberty
22964 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22965 @r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 TFLAGS="$(STAGE4_TFLAGS)"; \
22968 $(HOST_EXPORTS) \
22969 $(POSTSTAGE1_HOST_EXPORTS) \
22970 cd $(HOST_SUBDIR)/libiberty && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22972 CFLAGS="$(STAGE4_CFLAGS)" \
22973 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22974 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22979 TFLAGS="$(STAGE4_TFLAGS)" \
22980 $(TARGET-stage4-libiberty)
22982 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22983 clean-stage4: clean-stage4-libiberty
22984 clean-stage4-libiberty:
22985 @if [ $(current_stage) = stage4 ]; then \
22986 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22987 else \
22988 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22989 $(MAKE) stage4-start; \
22990 fi; \
22991 cd $(HOST_SUBDIR)/libiberty && \
22992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22993 @endif libiberty-bootstrap
22996 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22997 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22998 maybe-all-stageprofile-libiberty:
22999 maybe-clean-stageprofile-libiberty:
23000 @if libiberty-bootstrap
23001 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23002 all-stageprofile: all-stageprofile-libiberty
23003 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23004 all-stageprofile-libiberty: configure-stageprofile-libiberty
23005 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23006 @r=`${PWD_COMMAND}`; export r; \
23007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23008 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23009 $(HOST_EXPORTS) \
23010 $(POSTSTAGE1_HOST_EXPORTS) \
23011 cd $(HOST_SUBDIR)/libiberty && \
23012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23013 CFLAGS="$(STAGEprofile_CFLAGS)" \
23014 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23015 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23019 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23020 TFLAGS="$(STAGEprofile_TFLAGS)" \
23021 $(TARGET-stageprofile-libiberty)
23023 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23024 clean-stageprofile: clean-stageprofile-libiberty
23025 clean-stageprofile-libiberty:
23026 @if [ $(current_stage) = stageprofile ]; then \
23027 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23028 else \
23029 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23030 $(MAKE) stageprofile-start; \
23031 fi; \
23032 cd $(HOST_SUBDIR)/libiberty && \
23033 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23034 @endif libiberty-bootstrap
23037 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23038 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23039 maybe-all-stagefeedback-libiberty:
23040 maybe-clean-stagefeedback-libiberty:
23041 @if libiberty-bootstrap
23042 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23043 all-stagefeedback: all-stagefeedback-libiberty
23044 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23045 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23046 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23050 $(HOST_EXPORTS) \
23051 $(POSTSTAGE1_HOST_EXPORTS) \
23052 cd $(HOST_SUBDIR)/libiberty && \
23053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23054 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23055 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23056 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23057 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23058 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23059 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23060 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23061 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23062 $(TARGET-stagefeedback-libiberty)
23064 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23065 clean-stagefeedback: clean-stagefeedback-libiberty
23066 clean-stagefeedback-libiberty:
23067 @if [ $(current_stage) = stagefeedback ]; then \
23068 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23069 else \
23070 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23071 $(MAKE) stagefeedback-start; \
23072 fi; \
23073 cd $(HOST_SUBDIR)/libiberty && \
23074 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23075 @endif libiberty-bootstrap
23081 .PHONY: check-libiberty maybe-check-libiberty
23082 maybe-check-libiberty:
23083 @if libiberty
23084 maybe-check-libiberty: check-libiberty
23086 check-libiberty:
23087 @: $(MAKE); $(unstage)
23088 @r=`${PWD_COMMAND}`; export r; \
23089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23090 $(HOST_EXPORTS) \
23091 (cd $(HOST_SUBDIR)/libiberty && \
23092 $(MAKE) $(FLAGS_TO_PASS) check)
23094 @endif libiberty
23096 .PHONY: install-libiberty maybe-install-libiberty
23097 maybe-install-libiberty:
23098 @if libiberty
23099 maybe-install-libiberty: install-libiberty
23101 install-libiberty: installdirs
23102 @: $(MAKE); $(unstage)
23103 @r=`${PWD_COMMAND}`; export r; \
23104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23105 $(HOST_EXPORTS) \
23106 (cd $(HOST_SUBDIR)/libiberty && \
23107 $(MAKE) $(FLAGS_TO_PASS) install)
23109 @endif libiberty
23111 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23112 maybe-install-strip-libiberty:
23113 @if libiberty
23114 maybe-install-strip-libiberty: install-strip-libiberty
23116 install-strip-libiberty: installdirs
23117 @: $(MAKE); $(unstage)
23118 @r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(HOST_EXPORTS) \
23121 (cd $(HOST_SUBDIR)/libiberty && \
23122 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23124 @endif libiberty
23126 # Other targets (info, dvi, pdf, etc.)
23128 .PHONY: maybe-info-libiberty info-libiberty
23129 maybe-info-libiberty:
23130 @if libiberty
23131 maybe-info-libiberty: info-libiberty
23133 info-libiberty: \
23134 configure-libiberty
23135 @[ -f ./libiberty/Makefile ] || exit 0; \
23136 r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 $(HOST_EXPORTS) \
23139 for flag in $(EXTRA_HOST_FLAGS) ; do \
23140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23141 done; \
23142 echo "Doing info in libiberty" ; \
23143 (cd $(HOST_SUBDIR)/libiberty && \
23144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23146 "RANLIB=$${RANLIB}" \
23147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23148 info) \
23149 || exit 1
23151 @endif libiberty
23153 .PHONY: maybe-dvi-libiberty dvi-libiberty
23154 maybe-dvi-libiberty:
23155 @if libiberty
23156 maybe-dvi-libiberty: dvi-libiberty
23158 dvi-libiberty: \
23159 configure-libiberty
23160 @[ -f ./libiberty/Makefile ] || exit 0; \
23161 r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 $(HOST_EXPORTS) \
23164 for flag in $(EXTRA_HOST_FLAGS) ; do \
23165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23166 done; \
23167 echo "Doing dvi in libiberty" ; \
23168 (cd $(HOST_SUBDIR)/libiberty && \
23169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23171 "RANLIB=$${RANLIB}" \
23172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23173 dvi) \
23174 || exit 1
23176 @endif libiberty
23178 .PHONY: maybe-pdf-libiberty pdf-libiberty
23179 maybe-pdf-libiberty:
23180 @if libiberty
23181 maybe-pdf-libiberty: pdf-libiberty
23183 pdf-libiberty: \
23184 configure-libiberty
23185 @[ -f ./libiberty/Makefile ] || exit 0; \
23186 r=`${PWD_COMMAND}`; export r; \
23187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23188 $(HOST_EXPORTS) \
23189 for flag in $(EXTRA_HOST_FLAGS) ; do \
23190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23191 done; \
23192 echo "Doing pdf in libiberty" ; \
23193 (cd $(HOST_SUBDIR)/libiberty && \
23194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23196 "RANLIB=$${RANLIB}" \
23197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23198 pdf) \
23199 || exit 1
23201 @endif libiberty
23203 .PHONY: maybe-html-libiberty html-libiberty
23204 maybe-html-libiberty:
23205 @if libiberty
23206 maybe-html-libiberty: html-libiberty
23208 html-libiberty: \
23209 configure-libiberty
23210 @[ -f ./libiberty/Makefile ] || exit 0; \
23211 r=`${PWD_COMMAND}`; export r; \
23212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23213 $(HOST_EXPORTS) \
23214 for flag in $(EXTRA_HOST_FLAGS) ; do \
23215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23216 done; \
23217 echo "Doing html in libiberty" ; \
23218 (cd $(HOST_SUBDIR)/libiberty && \
23219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23221 "RANLIB=$${RANLIB}" \
23222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23223 html) \
23224 || exit 1
23226 @endif libiberty
23228 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23229 maybe-TAGS-libiberty:
23230 @if libiberty
23231 maybe-TAGS-libiberty: TAGS-libiberty
23233 TAGS-libiberty: \
23234 configure-libiberty
23235 @[ -f ./libiberty/Makefile ] || exit 0; \
23236 r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(HOST_EXPORTS) \
23239 for flag in $(EXTRA_HOST_FLAGS) ; do \
23240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23241 done; \
23242 echo "Doing TAGS in libiberty" ; \
23243 (cd $(HOST_SUBDIR)/libiberty && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23248 TAGS) \
23249 || exit 1
23251 @endif libiberty
23253 .PHONY: maybe-install-info-libiberty install-info-libiberty
23254 maybe-install-info-libiberty:
23255 @if libiberty
23256 maybe-install-info-libiberty: install-info-libiberty
23258 install-info-libiberty: \
23259 configure-libiberty \
23260 info-libiberty
23261 @[ -f ./libiberty/Makefile ] || exit 0; \
23262 r=`${PWD_COMMAND}`; export r; \
23263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(HOST_EXPORTS) \
23265 for flag in $(EXTRA_HOST_FLAGS) ; do \
23266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23267 done; \
23268 echo "Doing install-info in libiberty" ; \
23269 (cd $(HOST_SUBDIR)/libiberty && \
23270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272 "RANLIB=$${RANLIB}" \
23273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23274 install-info) \
23275 || exit 1
23277 @endif libiberty
23279 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23280 maybe-install-pdf-libiberty:
23281 @if libiberty
23282 maybe-install-pdf-libiberty: install-pdf-libiberty
23284 install-pdf-libiberty: \
23285 configure-libiberty \
23286 pdf-libiberty
23287 @[ -f ./libiberty/Makefile ] || exit 0; \
23288 r=`${PWD_COMMAND}`; export r; \
23289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23290 $(HOST_EXPORTS) \
23291 for flag in $(EXTRA_HOST_FLAGS) ; do \
23292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23293 done; \
23294 echo "Doing install-pdf in libiberty" ; \
23295 (cd $(HOST_SUBDIR)/libiberty && \
23296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23298 "RANLIB=$${RANLIB}" \
23299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23300 install-pdf) \
23301 || exit 1
23303 @endif libiberty
23305 .PHONY: maybe-install-html-libiberty install-html-libiberty
23306 maybe-install-html-libiberty:
23307 @if libiberty
23308 maybe-install-html-libiberty: install-html-libiberty
23310 install-html-libiberty: \
23311 configure-libiberty \
23312 html-libiberty
23313 @[ -f ./libiberty/Makefile ] || exit 0; \
23314 r=`${PWD_COMMAND}`; export r; \
23315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23316 $(HOST_EXPORTS) \
23317 for flag in $(EXTRA_HOST_FLAGS) ; do \
23318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23319 done; \
23320 echo "Doing install-html in libiberty" ; \
23321 (cd $(HOST_SUBDIR)/libiberty && \
23322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23324 "RANLIB=$${RANLIB}" \
23325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23326 install-html) \
23327 || exit 1
23329 @endif libiberty
23331 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23332 maybe-installcheck-libiberty:
23333 @if libiberty
23334 maybe-installcheck-libiberty: installcheck-libiberty
23336 installcheck-libiberty: \
23337 configure-libiberty
23338 @[ -f ./libiberty/Makefile ] || exit 0; \
23339 r=`${PWD_COMMAND}`; export r; \
23340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23341 $(HOST_EXPORTS) \
23342 for flag in $(EXTRA_HOST_FLAGS) ; do \
23343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23344 done; \
23345 echo "Doing installcheck in libiberty" ; \
23346 (cd $(HOST_SUBDIR)/libiberty && \
23347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23349 "RANLIB=$${RANLIB}" \
23350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23351 installcheck) \
23352 || exit 1
23354 @endif libiberty
23356 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23357 maybe-mostlyclean-libiberty:
23358 @if libiberty
23359 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23361 mostlyclean-libiberty:
23362 @[ -f ./libiberty/Makefile ] || exit 0; \
23363 r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 $(HOST_EXPORTS) \
23366 for flag in $(EXTRA_HOST_FLAGS) ; do \
23367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23368 done; \
23369 echo "Doing mostlyclean in libiberty" ; \
23370 (cd $(HOST_SUBDIR)/libiberty && \
23371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23373 "RANLIB=$${RANLIB}" \
23374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23375 mostlyclean) \
23376 || exit 1
23378 @endif libiberty
23380 .PHONY: maybe-clean-libiberty clean-libiberty
23381 maybe-clean-libiberty:
23382 @if libiberty
23383 maybe-clean-libiberty: clean-libiberty
23385 clean-libiberty:
23386 @[ -f ./libiberty/Makefile ] || exit 0; \
23387 r=`${PWD_COMMAND}`; export r; \
23388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 $(HOST_EXPORTS) \
23390 for flag in $(EXTRA_HOST_FLAGS) ; do \
23391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23392 done; \
23393 echo "Doing clean in libiberty" ; \
23394 (cd $(HOST_SUBDIR)/libiberty && \
23395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23397 "RANLIB=$${RANLIB}" \
23398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23399 clean) \
23400 || exit 1
23402 @endif libiberty
23404 .PHONY: maybe-distclean-libiberty distclean-libiberty
23405 maybe-distclean-libiberty:
23406 @if libiberty
23407 maybe-distclean-libiberty: distclean-libiberty
23409 distclean-libiberty:
23410 @[ -f ./libiberty/Makefile ] || exit 0; \
23411 r=`${PWD_COMMAND}`; export r; \
23412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23413 $(HOST_EXPORTS) \
23414 for flag in $(EXTRA_HOST_FLAGS) ; do \
23415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23416 done; \
23417 echo "Doing distclean in libiberty" ; \
23418 (cd $(HOST_SUBDIR)/libiberty && \
23419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23421 "RANLIB=$${RANLIB}" \
23422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23423 distclean) \
23424 || exit 1
23426 @endif libiberty
23428 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23429 maybe-maintainer-clean-libiberty:
23430 @if libiberty
23431 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23433 maintainer-clean-libiberty:
23434 @[ -f ./libiberty/Makefile ] || exit 0; \
23435 r=`${PWD_COMMAND}`; export r; \
23436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23437 $(HOST_EXPORTS) \
23438 for flag in $(EXTRA_HOST_FLAGS) ; do \
23439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23440 done; \
23441 echo "Doing maintainer-clean in libiberty" ; \
23442 (cd $(HOST_SUBDIR)/libiberty && \
23443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23445 "RANLIB=$${RANLIB}" \
23446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23447 maintainer-clean) \
23448 || exit 1
23450 @endif libiberty
23454 .PHONY: configure-libiconv maybe-configure-libiconv
23455 maybe-configure-libiconv:
23456 @if gcc-bootstrap
23457 configure-libiconv: stage_current
23458 @endif gcc-bootstrap
23459 @if libiconv
23460 maybe-configure-libiconv: configure-libiconv
23461 configure-libiconv:
23462 @: $(MAKE); $(unstage)
23463 @r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23467 $(HOST_EXPORTS) \
23468 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23469 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23470 case $(srcdir) in \
23471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23472 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23474 esac; \
23475 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23476 libsrcdir="$$s/libiconv"; \
23477 $(SHELL) $${libsrcdir}/configure \
23478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23479 --target=${target_alias} $${srcdiroption} --disable-shared \
23480 || exit 1
23481 @endif libiconv
23487 .PHONY: all-libiconv maybe-all-libiconv
23488 maybe-all-libiconv:
23489 @if gcc-bootstrap
23490 all-libiconv: stage_current
23491 @endif gcc-bootstrap
23492 @if libiconv
23493 TARGET-libiconv=all
23494 maybe-all-libiconv: all-libiconv
23495 all-libiconv: configure-libiconv
23496 @: $(MAKE); $(unstage)
23497 @r=`${PWD_COMMAND}`; export r; \
23498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 $(HOST_EXPORTS) \
23500 (cd $(HOST_SUBDIR)/libiconv && \
23501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23502 $(TARGET-libiconv))
23503 @endif libiconv
23508 .PHONY: check-libiconv maybe-check-libiconv
23509 maybe-check-libiconv:
23510 @if libiconv
23511 maybe-check-libiconv: check-libiconv
23513 check-libiconv:
23514 @: $(MAKE); $(unstage)
23515 @r=`${PWD_COMMAND}`; export r; \
23516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23517 $(HOST_EXPORTS) \
23518 (cd $(HOST_SUBDIR)/libiconv && \
23519 $(MAKE) $(FLAGS_TO_PASS) check)
23521 @endif libiconv
23523 .PHONY: install-libiconv maybe-install-libiconv
23524 maybe-install-libiconv:
23525 @if libiconv
23526 maybe-install-libiconv: install-libiconv
23528 install-libiconv:
23530 @endif libiconv
23532 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23533 maybe-install-strip-libiconv:
23534 @if libiconv
23535 maybe-install-strip-libiconv: install-strip-libiconv
23537 install-strip-libiconv:
23539 @endif libiconv
23541 # Other targets (info, dvi, pdf, etc.)
23543 .PHONY: maybe-info-libiconv info-libiconv
23544 maybe-info-libiconv:
23545 @if libiconv
23546 maybe-info-libiconv: info-libiconv
23548 info-libiconv: \
23549 configure-libiconv
23550 @: $(MAKE); $(unstage)
23551 @[ -f ./libiconv/Makefile ] || exit 0; \
23552 r=`${PWD_COMMAND}`; export r; \
23553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(HOST_EXPORTS) \
23555 for flag in $(EXTRA_HOST_FLAGS) ; do \
23556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23557 done; \
23558 echo "Doing info in libiconv" ; \
23559 (cd $(HOST_SUBDIR)/libiconv && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23564 info) \
23565 || exit 1
23567 @endif libiconv
23569 .PHONY: maybe-dvi-libiconv dvi-libiconv
23570 maybe-dvi-libiconv:
23571 @if libiconv
23572 maybe-dvi-libiconv: dvi-libiconv
23574 dvi-libiconv: \
23575 configure-libiconv
23576 @: $(MAKE); $(unstage)
23577 @[ -f ./libiconv/Makefile ] || exit 0; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(HOST_EXPORTS) \
23581 for flag in $(EXTRA_HOST_FLAGS) ; do \
23582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23583 done; \
23584 echo "Doing dvi in libiconv" ; \
23585 (cd $(HOST_SUBDIR)/libiconv && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588 "RANLIB=$${RANLIB}" \
23589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23590 dvi) \
23591 || exit 1
23593 @endif libiconv
23595 .PHONY: maybe-pdf-libiconv pdf-libiconv
23596 maybe-pdf-libiconv:
23597 @if libiconv
23598 maybe-pdf-libiconv: pdf-libiconv
23600 pdf-libiconv: \
23601 configure-libiconv
23602 @: $(MAKE); $(unstage)
23603 @[ -f ./libiconv/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(HOST_EXPORTS) \
23607 for flag in $(EXTRA_HOST_FLAGS) ; do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 echo "Doing pdf in libiconv" ; \
23611 (cd $(HOST_SUBDIR)/libiconv && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23616 pdf) \
23617 || exit 1
23619 @endif libiconv
23621 .PHONY: maybe-html-libiconv html-libiconv
23622 maybe-html-libiconv:
23623 @if libiconv
23624 maybe-html-libiconv: html-libiconv
23626 html-libiconv: \
23627 configure-libiconv
23628 @: $(MAKE); $(unstage)
23629 @[ -f ./libiconv/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) ; do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing html in libiconv" ; \
23637 (cd $(HOST_SUBDIR)/libiconv && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23642 html) \
23643 || exit 1
23645 @endif libiconv
23647 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23648 maybe-TAGS-libiconv:
23649 @if libiconv
23650 maybe-TAGS-libiconv: TAGS-libiconv
23652 TAGS-libiconv: \
23653 configure-libiconv
23654 @: $(MAKE); $(unstage)
23655 @[ -f ./libiconv/Makefile ] || exit 0; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 for flag in $(EXTRA_HOST_FLAGS) ; do \
23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23661 done; \
23662 echo "Doing TAGS in libiconv" ; \
23663 (cd $(HOST_SUBDIR)/libiconv && \
23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23666 "RANLIB=$${RANLIB}" \
23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23668 TAGS) \
23669 || exit 1
23671 @endif libiconv
23673 .PHONY: maybe-install-info-libiconv install-info-libiconv
23674 maybe-install-info-libiconv:
23675 @if libiconv
23676 maybe-install-info-libiconv: install-info-libiconv
23678 # libiconv doesn't support install-info.
23679 install-info-libiconv:
23681 @endif libiconv
23683 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23684 maybe-install-pdf-libiconv:
23685 @if libiconv
23686 maybe-install-pdf-libiconv: install-pdf-libiconv
23688 # libiconv doesn't support install-pdf.
23689 install-pdf-libiconv:
23691 @endif libiconv
23693 .PHONY: maybe-install-html-libiconv install-html-libiconv
23694 maybe-install-html-libiconv:
23695 @if libiconv
23696 maybe-install-html-libiconv: install-html-libiconv
23698 # libiconv doesn't support install-html.
23699 install-html-libiconv:
23701 @endif libiconv
23703 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23704 maybe-installcheck-libiconv:
23705 @if libiconv
23706 maybe-installcheck-libiconv: installcheck-libiconv
23708 installcheck-libiconv: \
23709 configure-libiconv
23710 @: $(MAKE); $(unstage)
23711 @[ -f ./libiconv/Makefile ] || exit 0; \
23712 r=`${PWD_COMMAND}`; export r; \
23713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23714 $(HOST_EXPORTS) \
23715 for flag in $(EXTRA_HOST_FLAGS) ; do \
23716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23717 done; \
23718 echo "Doing installcheck in libiconv" ; \
23719 (cd $(HOST_SUBDIR)/libiconv && \
23720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23722 "RANLIB=$${RANLIB}" \
23723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23724 installcheck) \
23725 || exit 1
23727 @endif libiconv
23729 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23730 maybe-mostlyclean-libiconv:
23731 @if libiconv
23732 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23734 mostlyclean-libiconv:
23735 @: $(MAKE); $(unstage)
23736 @[ -f ./libiconv/Makefile ] || exit 0; \
23737 r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 $(HOST_EXPORTS) \
23740 for flag in $(EXTRA_HOST_FLAGS) ; do \
23741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23742 done; \
23743 echo "Doing mostlyclean in libiconv" ; \
23744 (cd $(HOST_SUBDIR)/libiconv && \
23745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23747 "RANLIB=$${RANLIB}" \
23748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23749 mostlyclean) \
23750 || exit 1
23752 @endif libiconv
23754 .PHONY: maybe-clean-libiconv clean-libiconv
23755 maybe-clean-libiconv:
23756 @if libiconv
23757 maybe-clean-libiconv: clean-libiconv
23759 clean-libiconv:
23760 @: $(MAKE); $(unstage)
23761 @[ -f ./libiconv/Makefile ] || exit 0; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(HOST_EXPORTS) \
23765 for flag in $(EXTRA_HOST_FLAGS) ; do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 echo "Doing clean in libiconv" ; \
23769 (cd $(HOST_SUBDIR)/libiconv && \
23770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23772 "RANLIB=$${RANLIB}" \
23773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23774 clean) \
23775 || exit 1
23777 @endif libiconv
23779 .PHONY: maybe-distclean-libiconv distclean-libiconv
23780 maybe-distclean-libiconv:
23781 @if libiconv
23782 maybe-distclean-libiconv: distclean-libiconv
23784 distclean-libiconv:
23785 @: $(MAKE); $(unstage)
23786 @[ -f ./libiconv/Makefile ] || exit 0; \
23787 r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789 $(HOST_EXPORTS) \
23790 for flag in $(EXTRA_HOST_FLAGS) ; do \
23791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23792 done; \
23793 echo "Doing distclean in libiconv" ; \
23794 (cd $(HOST_SUBDIR)/libiconv && \
23795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23797 "RANLIB=$${RANLIB}" \
23798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23799 distclean) \
23800 || exit 1
23802 @endif libiconv
23804 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23805 maybe-maintainer-clean-libiconv:
23806 @if libiconv
23807 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23809 maintainer-clean-libiconv:
23810 @: $(MAKE); $(unstage)
23811 @[ -f ./libiconv/Makefile ] || exit 0; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 for flag in $(EXTRA_HOST_FLAGS) ; do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 done; \
23818 echo "Doing maintainer-clean in libiconv" ; \
23819 (cd $(HOST_SUBDIR)/libiconv && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23824 maintainer-clean) \
23825 || exit 1
23827 @endif libiconv
23831 .PHONY: configure-m4 maybe-configure-m4
23832 maybe-configure-m4:
23833 @if gcc-bootstrap
23834 configure-m4: stage_current
23835 @endif gcc-bootstrap
23836 @if m4
23837 maybe-configure-m4: configure-m4
23838 configure-m4:
23839 @: $(MAKE); $(unstage)
23840 @r=`${PWD_COMMAND}`; export r; \
23841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23842 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23844 $(HOST_EXPORTS) \
23845 echo Configuring in $(HOST_SUBDIR)/m4; \
23846 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23847 case $(srcdir) in \
23848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23849 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23851 esac; \
23852 srcdiroption="--srcdir=$${topdir}/m4"; \
23853 libsrcdir="$$s/m4"; \
23854 $(SHELL) $${libsrcdir}/configure \
23855 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23856 --target=${target_alias} $${srcdiroption} \
23857 || exit 1
23858 @endif m4
23864 .PHONY: all-m4 maybe-all-m4
23865 maybe-all-m4:
23866 @if gcc-bootstrap
23867 all-m4: stage_current
23868 @endif gcc-bootstrap
23869 @if m4
23870 TARGET-m4=all
23871 maybe-all-m4: all-m4
23872 all-m4: configure-m4
23873 @: $(MAKE); $(unstage)
23874 @r=`${PWD_COMMAND}`; export r; \
23875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 $(HOST_EXPORTS) \
23877 (cd $(HOST_SUBDIR)/m4 && \
23878 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23879 $(TARGET-m4))
23880 @endif m4
23885 .PHONY: check-m4 maybe-check-m4
23886 maybe-check-m4:
23887 @if m4
23888 maybe-check-m4: check-m4
23890 check-m4:
23891 @: $(MAKE); $(unstage)
23892 @r=`${PWD_COMMAND}`; export r; \
23893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23894 $(HOST_EXPORTS) \
23895 (cd $(HOST_SUBDIR)/m4 && \
23896 $(MAKE) $(FLAGS_TO_PASS) check)
23898 @endif m4
23900 .PHONY: install-m4 maybe-install-m4
23901 maybe-install-m4:
23902 @if m4
23903 maybe-install-m4: install-m4
23905 install-m4: installdirs
23906 @: $(MAKE); $(unstage)
23907 @r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 (cd $(HOST_SUBDIR)/m4 && \
23911 $(MAKE) $(FLAGS_TO_PASS) install)
23913 @endif m4
23915 .PHONY: install-strip-m4 maybe-install-strip-m4
23916 maybe-install-strip-m4:
23917 @if m4
23918 maybe-install-strip-m4: install-strip-m4
23920 install-strip-m4: installdirs
23921 @: $(MAKE); $(unstage)
23922 @r=`${PWD_COMMAND}`; export r; \
23923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 $(HOST_EXPORTS) \
23925 (cd $(HOST_SUBDIR)/m4 && \
23926 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23928 @endif m4
23930 # Other targets (info, dvi, pdf, etc.)
23932 .PHONY: maybe-info-m4 info-m4
23933 maybe-info-m4:
23934 @if m4
23935 maybe-info-m4: info-m4
23937 info-m4: \
23938 configure-m4
23939 @: $(MAKE); $(unstage)
23940 @[ -f ./m4/Makefile ] || exit 0; \
23941 r=`${PWD_COMMAND}`; export r; \
23942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23943 $(HOST_EXPORTS) \
23944 for flag in $(EXTRA_HOST_FLAGS) ; do \
23945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23946 done; \
23947 echo "Doing info in m4" ; \
23948 (cd $(HOST_SUBDIR)/m4 && \
23949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23951 "RANLIB=$${RANLIB}" \
23952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23953 info) \
23954 || exit 1
23956 @endif m4
23958 .PHONY: maybe-dvi-m4 dvi-m4
23959 maybe-dvi-m4:
23960 @if m4
23961 maybe-dvi-m4: dvi-m4
23963 dvi-m4: \
23964 configure-m4
23965 @: $(MAKE); $(unstage)
23966 @[ -f ./m4/Makefile ] || exit 0; \
23967 r=`${PWD_COMMAND}`; export r; \
23968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23969 $(HOST_EXPORTS) \
23970 for flag in $(EXTRA_HOST_FLAGS) ; do \
23971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23972 done; \
23973 echo "Doing dvi in m4" ; \
23974 (cd $(HOST_SUBDIR)/m4 && \
23975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23977 "RANLIB=$${RANLIB}" \
23978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23979 dvi) \
23980 || exit 1
23982 @endif m4
23984 .PHONY: maybe-pdf-m4 pdf-m4
23985 maybe-pdf-m4:
23986 @if m4
23987 maybe-pdf-m4: pdf-m4
23989 pdf-m4: \
23990 configure-m4
23991 @: $(MAKE); $(unstage)
23992 @[ -f ./m4/Makefile ] || exit 0; \
23993 r=`${PWD_COMMAND}`; export r; \
23994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23995 $(HOST_EXPORTS) \
23996 for flag in $(EXTRA_HOST_FLAGS) ; do \
23997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23998 done; \
23999 echo "Doing pdf in m4" ; \
24000 (cd $(HOST_SUBDIR)/m4 && \
24001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24003 "RANLIB=$${RANLIB}" \
24004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24005 pdf) \
24006 || exit 1
24008 @endif m4
24010 .PHONY: maybe-html-m4 html-m4
24011 maybe-html-m4:
24012 @if m4
24013 maybe-html-m4: html-m4
24015 html-m4: \
24016 configure-m4
24017 @: $(MAKE); $(unstage)
24018 @[ -f ./m4/Makefile ] || exit 0; \
24019 r=`${PWD_COMMAND}`; export r; \
24020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24021 $(HOST_EXPORTS) \
24022 for flag in $(EXTRA_HOST_FLAGS) ; do \
24023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24024 done; \
24025 echo "Doing html in m4" ; \
24026 (cd $(HOST_SUBDIR)/m4 && \
24027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24029 "RANLIB=$${RANLIB}" \
24030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24031 html) \
24032 || exit 1
24034 @endif m4
24036 .PHONY: maybe-TAGS-m4 TAGS-m4
24037 maybe-TAGS-m4:
24038 @if m4
24039 maybe-TAGS-m4: TAGS-m4
24041 TAGS-m4: \
24042 configure-m4
24043 @: $(MAKE); $(unstage)
24044 @[ -f ./m4/Makefile ] || exit 0; \
24045 r=`${PWD_COMMAND}`; export r; \
24046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24047 $(HOST_EXPORTS) \
24048 for flag in $(EXTRA_HOST_FLAGS) ; do \
24049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24050 done; \
24051 echo "Doing TAGS in m4" ; \
24052 (cd $(HOST_SUBDIR)/m4 && \
24053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24055 "RANLIB=$${RANLIB}" \
24056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24057 TAGS) \
24058 || exit 1
24060 @endif m4
24062 .PHONY: maybe-install-info-m4 install-info-m4
24063 maybe-install-info-m4:
24064 @if m4
24065 maybe-install-info-m4: install-info-m4
24067 install-info-m4: \
24068 configure-m4 \
24069 info-m4
24070 @: $(MAKE); $(unstage)
24071 @[ -f ./m4/Makefile ] || exit 0; \
24072 r=`${PWD_COMMAND}`; export r; \
24073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24074 $(HOST_EXPORTS) \
24075 for flag in $(EXTRA_HOST_FLAGS) ; do \
24076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24077 done; \
24078 echo "Doing install-info in m4" ; \
24079 (cd $(HOST_SUBDIR)/m4 && \
24080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24082 "RANLIB=$${RANLIB}" \
24083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24084 install-info) \
24085 || exit 1
24087 @endif m4
24089 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24090 maybe-install-pdf-m4:
24091 @if m4
24092 maybe-install-pdf-m4: install-pdf-m4
24094 install-pdf-m4: \
24095 configure-m4 \
24096 pdf-m4
24097 @: $(MAKE); $(unstage)
24098 @[ -f ./m4/Makefile ] || exit 0; \
24099 r=`${PWD_COMMAND}`; export r; \
24100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24101 $(HOST_EXPORTS) \
24102 for flag in $(EXTRA_HOST_FLAGS) ; do \
24103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24104 done; \
24105 echo "Doing install-pdf in m4" ; \
24106 (cd $(HOST_SUBDIR)/m4 && \
24107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24109 "RANLIB=$${RANLIB}" \
24110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24111 install-pdf) \
24112 || exit 1
24114 @endif m4
24116 .PHONY: maybe-install-html-m4 install-html-m4
24117 maybe-install-html-m4:
24118 @if m4
24119 maybe-install-html-m4: install-html-m4
24121 install-html-m4: \
24122 configure-m4 \
24123 html-m4
24124 @: $(MAKE); $(unstage)
24125 @[ -f ./m4/Makefile ] || exit 0; \
24126 r=`${PWD_COMMAND}`; export r; \
24127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24128 $(HOST_EXPORTS) \
24129 for flag in $(EXTRA_HOST_FLAGS) ; do \
24130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24131 done; \
24132 echo "Doing install-html in m4" ; \
24133 (cd $(HOST_SUBDIR)/m4 && \
24134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24136 "RANLIB=$${RANLIB}" \
24137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24138 install-html) \
24139 || exit 1
24141 @endif m4
24143 .PHONY: maybe-installcheck-m4 installcheck-m4
24144 maybe-installcheck-m4:
24145 @if m4
24146 maybe-installcheck-m4: installcheck-m4
24148 installcheck-m4: \
24149 configure-m4
24150 @: $(MAKE); $(unstage)
24151 @[ -f ./m4/Makefile ] || exit 0; \
24152 r=`${PWD_COMMAND}`; export r; \
24153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24154 $(HOST_EXPORTS) \
24155 for flag in $(EXTRA_HOST_FLAGS) ; do \
24156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24157 done; \
24158 echo "Doing installcheck in m4" ; \
24159 (cd $(HOST_SUBDIR)/m4 && \
24160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24162 "RANLIB=$${RANLIB}" \
24163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24164 installcheck) \
24165 || exit 1
24167 @endif m4
24169 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24170 maybe-mostlyclean-m4:
24171 @if m4
24172 maybe-mostlyclean-m4: mostlyclean-m4
24174 mostlyclean-m4:
24175 @: $(MAKE); $(unstage)
24176 @[ -f ./m4/Makefile ] || exit 0; \
24177 r=`${PWD_COMMAND}`; export r; \
24178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24179 $(HOST_EXPORTS) \
24180 for flag in $(EXTRA_HOST_FLAGS) ; do \
24181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24182 done; \
24183 echo "Doing mostlyclean in m4" ; \
24184 (cd $(HOST_SUBDIR)/m4 && \
24185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24187 "RANLIB=$${RANLIB}" \
24188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24189 mostlyclean) \
24190 || exit 1
24192 @endif m4
24194 .PHONY: maybe-clean-m4 clean-m4
24195 maybe-clean-m4:
24196 @if m4
24197 maybe-clean-m4: clean-m4
24199 clean-m4:
24200 @: $(MAKE); $(unstage)
24201 @[ -f ./m4/Makefile ] || exit 0; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 $(HOST_EXPORTS) \
24205 for flag in $(EXTRA_HOST_FLAGS) ; do \
24206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 done; \
24208 echo "Doing clean in m4" ; \
24209 (cd $(HOST_SUBDIR)/m4 && \
24210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24212 "RANLIB=$${RANLIB}" \
24213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24214 clean) \
24215 || exit 1
24217 @endif m4
24219 .PHONY: maybe-distclean-m4 distclean-m4
24220 maybe-distclean-m4:
24221 @if m4
24222 maybe-distclean-m4: distclean-m4
24224 distclean-m4:
24225 @: $(MAKE); $(unstage)
24226 @[ -f ./m4/Makefile ] || exit 0; \
24227 r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(HOST_EXPORTS) \
24230 for flag in $(EXTRA_HOST_FLAGS) ; do \
24231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24232 done; \
24233 echo "Doing distclean in m4" ; \
24234 (cd $(HOST_SUBDIR)/m4 && \
24235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24237 "RANLIB=$${RANLIB}" \
24238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24239 distclean) \
24240 || exit 1
24242 @endif m4
24244 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24245 maybe-maintainer-clean-m4:
24246 @if m4
24247 maybe-maintainer-clean-m4: maintainer-clean-m4
24249 maintainer-clean-m4:
24250 @: $(MAKE); $(unstage)
24251 @[ -f ./m4/Makefile ] || exit 0; \
24252 r=`${PWD_COMMAND}`; export r; \
24253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24254 $(HOST_EXPORTS) \
24255 for flag in $(EXTRA_HOST_FLAGS) ; do \
24256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24257 done; \
24258 echo "Doing maintainer-clean in m4" ; \
24259 (cd $(HOST_SUBDIR)/m4 && \
24260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24262 "RANLIB=$${RANLIB}" \
24263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24264 maintainer-clean) \
24265 || exit 1
24267 @endif m4
24271 .PHONY: configure-readline maybe-configure-readline
24272 maybe-configure-readline:
24273 @if gcc-bootstrap
24274 configure-readline: stage_current
24275 @endif gcc-bootstrap
24276 @if readline
24277 maybe-configure-readline: configure-readline
24278 configure-readline:
24279 @: $(MAKE); $(unstage)
24280 @r=`${PWD_COMMAND}`; export r; \
24281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24282 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24284 $(HOST_EXPORTS) \
24285 echo Configuring in $(HOST_SUBDIR)/readline; \
24286 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24287 case $(srcdir) in \
24288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24289 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24291 esac; \
24292 srcdiroption="--srcdir=$${topdir}/readline"; \
24293 libsrcdir="$$s/readline"; \
24294 $(SHELL) $${libsrcdir}/configure \
24295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24296 --target=${target_alias} $${srcdiroption} \
24297 || exit 1
24298 @endif readline
24304 .PHONY: all-readline maybe-all-readline
24305 maybe-all-readline:
24306 @if gcc-bootstrap
24307 all-readline: stage_current
24308 @endif gcc-bootstrap
24309 @if readline
24310 TARGET-readline=all
24311 maybe-all-readline: all-readline
24312 all-readline: configure-readline
24313 @: $(MAKE); $(unstage)
24314 @r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 (cd $(HOST_SUBDIR)/readline && \
24318 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24319 $(TARGET-readline))
24320 @endif readline
24325 .PHONY: check-readline maybe-check-readline
24326 maybe-check-readline:
24327 @if readline
24328 maybe-check-readline: check-readline
24330 check-readline:
24331 @: $(MAKE); $(unstage)
24332 @r=`${PWD_COMMAND}`; export r; \
24333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24334 $(HOST_EXPORTS) \
24335 (cd $(HOST_SUBDIR)/readline && \
24336 $(MAKE) $(FLAGS_TO_PASS) check)
24338 @endif readline
24340 .PHONY: install-readline maybe-install-readline
24341 maybe-install-readline:
24342 @if readline
24343 maybe-install-readline: install-readline
24345 install-readline: installdirs
24346 @: $(MAKE); $(unstage)
24347 @r=`${PWD_COMMAND}`; export r; \
24348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24349 $(HOST_EXPORTS) \
24350 (cd $(HOST_SUBDIR)/readline && \
24351 $(MAKE) $(FLAGS_TO_PASS) install)
24353 @endif readline
24355 .PHONY: install-strip-readline maybe-install-strip-readline
24356 maybe-install-strip-readline:
24357 @if readline
24358 maybe-install-strip-readline: install-strip-readline
24360 install-strip-readline: installdirs
24361 @: $(MAKE); $(unstage)
24362 @r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(HOST_EXPORTS) \
24365 (cd $(HOST_SUBDIR)/readline && \
24366 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24368 @endif readline
24370 # Other targets (info, dvi, pdf, etc.)
24372 .PHONY: maybe-info-readline info-readline
24373 maybe-info-readline:
24374 @if readline
24375 maybe-info-readline: info-readline
24377 info-readline: \
24378 configure-readline
24379 @: $(MAKE); $(unstage)
24380 @[ -f ./readline/Makefile ] || exit 0; \
24381 r=`${PWD_COMMAND}`; export r; \
24382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(HOST_EXPORTS) \
24384 for flag in $(EXTRA_HOST_FLAGS) ; do \
24385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24386 done; \
24387 echo "Doing info in readline" ; \
24388 (cd $(HOST_SUBDIR)/readline && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24393 info) \
24394 || exit 1
24396 @endif readline
24398 .PHONY: maybe-dvi-readline dvi-readline
24399 maybe-dvi-readline:
24400 @if readline
24401 maybe-dvi-readline: dvi-readline
24403 dvi-readline: \
24404 configure-readline
24405 @: $(MAKE); $(unstage)
24406 @[ -f ./readline/Makefile ] || exit 0; \
24407 r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 for flag in $(EXTRA_HOST_FLAGS) ; do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 echo "Doing dvi in readline" ; \
24414 (cd $(HOST_SUBDIR)/readline && \
24415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24417 "RANLIB=$${RANLIB}" \
24418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24419 dvi) \
24420 || exit 1
24422 @endif readline
24424 .PHONY: maybe-pdf-readline pdf-readline
24425 maybe-pdf-readline:
24426 @if readline
24427 maybe-pdf-readline: pdf-readline
24429 pdf-readline: \
24430 configure-readline
24431 @: $(MAKE); $(unstage)
24432 @[ -f ./readline/Makefile ] || exit 0; \
24433 r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(HOST_EXPORTS) \
24436 for flag in $(EXTRA_HOST_FLAGS) ; do \
24437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24438 done; \
24439 echo "Doing pdf in readline" ; \
24440 (cd $(HOST_SUBDIR)/readline && \
24441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24443 "RANLIB=$${RANLIB}" \
24444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24445 pdf) \
24446 || exit 1
24448 @endif readline
24450 .PHONY: maybe-html-readline html-readline
24451 maybe-html-readline:
24452 @if readline
24453 maybe-html-readline: html-readline
24455 html-readline: \
24456 configure-readline
24457 @: $(MAKE); $(unstage)
24458 @[ -f ./readline/Makefile ] || exit 0; \
24459 r=`${PWD_COMMAND}`; export r; \
24460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 $(HOST_EXPORTS) \
24462 for flag in $(EXTRA_HOST_FLAGS) ; do \
24463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24464 done; \
24465 echo "Doing html in readline" ; \
24466 (cd $(HOST_SUBDIR)/readline && \
24467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24469 "RANLIB=$${RANLIB}" \
24470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24471 html) \
24472 || exit 1
24474 @endif readline
24476 .PHONY: maybe-TAGS-readline TAGS-readline
24477 maybe-TAGS-readline:
24478 @if readline
24479 maybe-TAGS-readline: TAGS-readline
24481 TAGS-readline: \
24482 configure-readline
24483 @: $(MAKE); $(unstage)
24484 @[ -f ./readline/Makefile ] || exit 0; \
24485 r=`${PWD_COMMAND}`; export r; \
24486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24487 $(HOST_EXPORTS) \
24488 for flag in $(EXTRA_HOST_FLAGS) ; do \
24489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24490 done; \
24491 echo "Doing TAGS in readline" ; \
24492 (cd $(HOST_SUBDIR)/readline && \
24493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24495 "RANLIB=$${RANLIB}" \
24496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24497 TAGS) \
24498 || exit 1
24500 @endif readline
24502 .PHONY: maybe-install-info-readline install-info-readline
24503 maybe-install-info-readline:
24504 @if readline
24505 maybe-install-info-readline: install-info-readline
24507 install-info-readline: \
24508 configure-readline \
24509 info-readline
24510 @: $(MAKE); $(unstage)
24511 @[ -f ./readline/Makefile ] || exit 0; \
24512 r=`${PWD_COMMAND}`; export r; \
24513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24514 $(HOST_EXPORTS) \
24515 for flag in $(EXTRA_HOST_FLAGS) ; do \
24516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24517 done; \
24518 echo "Doing install-info in readline" ; \
24519 (cd $(HOST_SUBDIR)/readline && \
24520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24522 "RANLIB=$${RANLIB}" \
24523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24524 install-info) \
24525 || exit 1
24527 @endif readline
24529 .PHONY: maybe-install-pdf-readline install-pdf-readline
24530 maybe-install-pdf-readline:
24531 @if readline
24532 maybe-install-pdf-readline: install-pdf-readline
24534 install-pdf-readline: \
24535 configure-readline \
24536 pdf-readline
24537 @: $(MAKE); $(unstage)
24538 @[ -f ./readline/Makefile ] || exit 0; \
24539 r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 $(HOST_EXPORTS) \
24542 for flag in $(EXTRA_HOST_FLAGS) ; do \
24543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24544 done; \
24545 echo "Doing install-pdf in readline" ; \
24546 (cd $(HOST_SUBDIR)/readline && \
24547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24549 "RANLIB=$${RANLIB}" \
24550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24551 install-pdf) \
24552 || exit 1
24554 @endif readline
24556 .PHONY: maybe-install-html-readline install-html-readline
24557 maybe-install-html-readline:
24558 @if readline
24559 maybe-install-html-readline: install-html-readline
24561 install-html-readline: \
24562 configure-readline \
24563 html-readline
24564 @: $(MAKE); $(unstage)
24565 @[ -f ./readline/Makefile ] || exit 0; \
24566 r=`${PWD_COMMAND}`; export r; \
24567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24568 $(HOST_EXPORTS) \
24569 for flag in $(EXTRA_HOST_FLAGS) ; do \
24570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24571 done; \
24572 echo "Doing install-html in readline" ; \
24573 (cd $(HOST_SUBDIR)/readline && \
24574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24576 "RANLIB=$${RANLIB}" \
24577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24578 install-html) \
24579 || exit 1
24581 @endif readline
24583 .PHONY: maybe-installcheck-readline installcheck-readline
24584 maybe-installcheck-readline:
24585 @if readline
24586 maybe-installcheck-readline: installcheck-readline
24588 installcheck-readline: \
24589 configure-readline
24590 @: $(MAKE); $(unstage)
24591 @[ -f ./readline/Makefile ] || exit 0; \
24592 r=`${PWD_COMMAND}`; export r; \
24593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24594 $(HOST_EXPORTS) \
24595 for flag in $(EXTRA_HOST_FLAGS) ; do \
24596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24597 done; \
24598 echo "Doing installcheck in readline" ; \
24599 (cd $(HOST_SUBDIR)/readline && \
24600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24602 "RANLIB=$${RANLIB}" \
24603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24604 installcheck) \
24605 || exit 1
24607 @endif readline
24609 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24610 maybe-mostlyclean-readline:
24611 @if readline
24612 maybe-mostlyclean-readline: mostlyclean-readline
24614 mostlyclean-readline:
24615 @: $(MAKE); $(unstage)
24616 @[ -f ./readline/Makefile ] || exit 0; \
24617 r=`${PWD_COMMAND}`; export r; \
24618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24619 $(HOST_EXPORTS) \
24620 for flag in $(EXTRA_HOST_FLAGS) ; do \
24621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24622 done; \
24623 echo "Doing mostlyclean in readline" ; \
24624 (cd $(HOST_SUBDIR)/readline && \
24625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24627 "RANLIB=$${RANLIB}" \
24628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24629 mostlyclean) \
24630 || exit 1
24632 @endif readline
24634 .PHONY: maybe-clean-readline clean-readline
24635 maybe-clean-readline:
24636 @if readline
24637 maybe-clean-readline: clean-readline
24639 clean-readline:
24640 @: $(MAKE); $(unstage)
24641 @[ -f ./readline/Makefile ] || exit 0; \
24642 r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(HOST_EXPORTS) \
24645 for flag in $(EXTRA_HOST_FLAGS) ; do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647 done; \
24648 echo "Doing clean in readline" ; \
24649 (cd $(HOST_SUBDIR)/readline && \
24650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652 "RANLIB=$${RANLIB}" \
24653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24654 clean) \
24655 || exit 1
24657 @endif readline
24659 .PHONY: maybe-distclean-readline distclean-readline
24660 maybe-distclean-readline:
24661 @if readline
24662 maybe-distclean-readline: distclean-readline
24664 distclean-readline:
24665 @: $(MAKE); $(unstage)
24666 @[ -f ./readline/Makefile ] || exit 0; \
24667 r=`${PWD_COMMAND}`; export r; \
24668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 $(HOST_EXPORTS) \
24670 for flag in $(EXTRA_HOST_FLAGS) ; do \
24671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24672 done; \
24673 echo "Doing distclean in readline" ; \
24674 (cd $(HOST_SUBDIR)/readline && \
24675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24677 "RANLIB=$${RANLIB}" \
24678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24679 distclean) \
24680 || exit 1
24682 @endif readline
24684 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24685 maybe-maintainer-clean-readline:
24686 @if readline
24687 maybe-maintainer-clean-readline: maintainer-clean-readline
24689 maintainer-clean-readline:
24690 @: $(MAKE); $(unstage)
24691 @[ -f ./readline/Makefile ] || exit 0; \
24692 r=`${PWD_COMMAND}`; export r; \
24693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24694 $(HOST_EXPORTS) \
24695 for flag in $(EXTRA_HOST_FLAGS) ; do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 echo "Doing maintainer-clean in readline" ; \
24699 (cd $(HOST_SUBDIR)/readline && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24704 maintainer-clean) \
24705 || exit 1
24707 @endif readline
24711 .PHONY: configure-sid maybe-configure-sid
24712 maybe-configure-sid:
24713 @if gcc-bootstrap
24714 configure-sid: stage_current
24715 @endif gcc-bootstrap
24716 @if sid
24717 maybe-configure-sid: configure-sid
24718 configure-sid:
24719 @: $(MAKE); $(unstage)
24720 @r=`${PWD_COMMAND}`; export r; \
24721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24722 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24724 $(HOST_EXPORTS) \
24725 echo Configuring in $(HOST_SUBDIR)/sid; \
24726 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24727 case $(srcdir) in \
24728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24729 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24731 esac; \
24732 srcdiroption="--srcdir=$${topdir}/sid"; \
24733 libsrcdir="$$s/sid"; \
24734 $(SHELL) $${libsrcdir}/configure \
24735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24736 --target=${target_alias} $${srcdiroption} \
24737 || exit 1
24738 @endif sid
24744 .PHONY: all-sid maybe-all-sid
24745 maybe-all-sid:
24746 @if gcc-bootstrap
24747 all-sid: stage_current
24748 @endif gcc-bootstrap
24749 @if sid
24750 TARGET-sid=all
24751 maybe-all-sid: all-sid
24752 all-sid: configure-sid
24753 @: $(MAKE); $(unstage)
24754 @r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 (cd $(HOST_SUBDIR)/sid && \
24758 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24759 $(TARGET-sid))
24760 @endif sid
24765 .PHONY: check-sid maybe-check-sid
24766 maybe-check-sid:
24767 @if sid
24768 maybe-check-sid: check-sid
24770 check-sid:
24771 @: $(MAKE); $(unstage)
24772 @r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(HOST_EXPORTS) \
24775 (cd $(HOST_SUBDIR)/sid && \
24776 $(MAKE) $(FLAGS_TO_PASS) check)
24778 @endif sid
24780 .PHONY: install-sid maybe-install-sid
24781 maybe-install-sid:
24782 @if sid
24783 maybe-install-sid: install-sid
24785 install-sid: installdirs
24786 @: $(MAKE); $(unstage)
24787 @r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(HOST_EXPORTS) \
24790 (cd $(HOST_SUBDIR)/sid && \
24791 $(MAKE) $(FLAGS_TO_PASS) install)
24793 @endif sid
24795 .PHONY: install-strip-sid maybe-install-strip-sid
24796 maybe-install-strip-sid:
24797 @if sid
24798 maybe-install-strip-sid: install-strip-sid
24800 install-strip-sid: installdirs
24801 @: $(MAKE); $(unstage)
24802 @r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 $(HOST_EXPORTS) \
24805 (cd $(HOST_SUBDIR)/sid && \
24806 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24808 @endif sid
24810 # Other targets (info, dvi, pdf, etc.)
24812 .PHONY: maybe-info-sid info-sid
24813 maybe-info-sid:
24814 @if sid
24815 maybe-info-sid: info-sid
24817 info-sid: \
24818 configure-sid
24819 @: $(MAKE); $(unstage)
24820 @[ -f ./sid/Makefile ] || exit 0; \
24821 r=`${PWD_COMMAND}`; export r; \
24822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24823 $(HOST_EXPORTS) \
24824 for flag in $(EXTRA_HOST_FLAGS) ; do \
24825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24826 done; \
24827 echo "Doing info in sid" ; \
24828 (cd $(HOST_SUBDIR)/sid && \
24829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24831 "RANLIB=$${RANLIB}" \
24832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24833 info) \
24834 || exit 1
24836 @endif sid
24838 .PHONY: maybe-dvi-sid dvi-sid
24839 maybe-dvi-sid:
24840 @if sid
24841 maybe-dvi-sid: dvi-sid
24843 dvi-sid: \
24844 configure-sid
24845 @: $(MAKE); $(unstage)
24846 @[ -f ./sid/Makefile ] || exit 0; \
24847 r=`${PWD_COMMAND}`; export r; \
24848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24849 $(HOST_EXPORTS) \
24850 for flag in $(EXTRA_HOST_FLAGS) ; do \
24851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24852 done; \
24853 echo "Doing dvi in sid" ; \
24854 (cd $(HOST_SUBDIR)/sid && \
24855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24857 "RANLIB=$${RANLIB}" \
24858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24859 dvi) \
24860 || exit 1
24862 @endif sid
24864 .PHONY: maybe-pdf-sid pdf-sid
24865 maybe-pdf-sid:
24866 @if sid
24867 maybe-pdf-sid: pdf-sid
24869 pdf-sid: \
24870 configure-sid
24871 @: $(MAKE); $(unstage)
24872 @[ -f ./sid/Makefile ] || exit 0; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 for flag in $(EXTRA_HOST_FLAGS) ; do \
24877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24878 done; \
24879 echo "Doing pdf in sid" ; \
24880 (cd $(HOST_SUBDIR)/sid && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24885 pdf) \
24886 || exit 1
24888 @endif sid
24890 .PHONY: maybe-html-sid html-sid
24891 maybe-html-sid:
24892 @if sid
24893 maybe-html-sid: html-sid
24895 html-sid: \
24896 configure-sid
24897 @: $(MAKE); $(unstage)
24898 @[ -f ./sid/Makefile ] || exit 0; \
24899 r=`${PWD_COMMAND}`; export r; \
24900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24901 $(HOST_EXPORTS) \
24902 for flag in $(EXTRA_HOST_FLAGS) ; do \
24903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24904 done; \
24905 echo "Doing html in sid" ; \
24906 (cd $(HOST_SUBDIR)/sid && \
24907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24909 "RANLIB=$${RANLIB}" \
24910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24911 html) \
24912 || exit 1
24914 @endif sid
24916 .PHONY: maybe-TAGS-sid TAGS-sid
24917 maybe-TAGS-sid:
24918 @if sid
24919 maybe-TAGS-sid: TAGS-sid
24921 TAGS-sid: \
24922 configure-sid
24923 @: $(MAKE); $(unstage)
24924 @[ -f ./sid/Makefile ] || exit 0; \
24925 r=`${PWD_COMMAND}`; export r; \
24926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24927 $(HOST_EXPORTS) \
24928 for flag in $(EXTRA_HOST_FLAGS) ; do \
24929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24930 done; \
24931 echo "Doing TAGS in sid" ; \
24932 (cd $(HOST_SUBDIR)/sid && \
24933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24935 "RANLIB=$${RANLIB}" \
24936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24937 TAGS) \
24938 || exit 1
24940 @endif sid
24942 .PHONY: maybe-install-info-sid install-info-sid
24943 maybe-install-info-sid:
24944 @if sid
24945 maybe-install-info-sid: install-info-sid
24947 install-info-sid: \
24948 configure-sid \
24949 info-sid
24950 @: $(MAKE); $(unstage)
24951 @[ -f ./sid/Makefile ] || exit 0; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(HOST_EXPORTS) \
24955 for flag in $(EXTRA_HOST_FLAGS) ; do \
24956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24957 done; \
24958 echo "Doing install-info in sid" ; \
24959 (cd $(HOST_SUBDIR)/sid && \
24960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962 "RANLIB=$${RANLIB}" \
24963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24964 install-info) \
24965 || exit 1
24967 @endif sid
24969 .PHONY: maybe-install-pdf-sid install-pdf-sid
24970 maybe-install-pdf-sid:
24971 @if sid
24972 maybe-install-pdf-sid: install-pdf-sid
24974 install-pdf-sid: \
24975 configure-sid \
24976 pdf-sid
24977 @: $(MAKE); $(unstage)
24978 @[ -f ./sid/Makefile ] || exit 0; \
24979 r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(HOST_EXPORTS) \
24982 for flag in $(EXTRA_HOST_FLAGS) ; do \
24983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24984 done; \
24985 echo "Doing install-pdf in sid" ; \
24986 (cd $(HOST_SUBDIR)/sid && \
24987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24989 "RANLIB=$${RANLIB}" \
24990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24991 install-pdf) \
24992 || exit 1
24994 @endif sid
24996 .PHONY: maybe-install-html-sid install-html-sid
24997 maybe-install-html-sid:
24998 @if sid
24999 maybe-install-html-sid: install-html-sid
25001 install-html-sid: \
25002 configure-sid \
25003 html-sid
25004 @: $(MAKE); $(unstage)
25005 @[ -f ./sid/Makefile ] || exit 0; \
25006 r=`${PWD_COMMAND}`; export r; \
25007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(HOST_EXPORTS) \
25009 for flag in $(EXTRA_HOST_FLAGS) ; do \
25010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25011 done; \
25012 echo "Doing install-html in sid" ; \
25013 (cd $(HOST_SUBDIR)/sid && \
25014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25016 "RANLIB=$${RANLIB}" \
25017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25018 install-html) \
25019 || exit 1
25021 @endif sid
25023 .PHONY: maybe-installcheck-sid installcheck-sid
25024 maybe-installcheck-sid:
25025 @if sid
25026 maybe-installcheck-sid: installcheck-sid
25028 installcheck-sid: \
25029 configure-sid
25030 @: $(MAKE); $(unstage)
25031 @[ -f ./sid/Makefile ] || exit 0; \
25032 r=`${PWD_COMMAND}`; export r; \
25033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25034 $(HOST_EXPORTS) \
25035 for flag in $(EXTRA_HOST_FLAGS) ; do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25037 done; \
25038 echo "Doing installcheck in sid" ; \
25039 (cd $(HOST_SUBDIR)/sid && \
25040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25042 "RANLIB=$${RANLIB}" \
25043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25044 installcheck) \
25045 || exit 1
25047 @endif sid
25049 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25050 maybe-mostlyclean-sid:
25051 @if sid
25052 maybe-mostlyclean-sid: mostlyclean-sid
25054 mostlyclean-sid:
25055 @: $(MAKE); $(unstage)
25056 @[ -f ./sid/Makefile ] || exit 0; \
25057 r=`${PWD_COMMAND}`; export r; \
25058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25059 $(HOST_EXPORTS) \
25060 for flag in $(EXTRA_HOST_FLAGS) ; do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 echo "Doing mostlyclean in sid" ; \
25064 (cd $(HOST_SUBDIR)/sid && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25069 mostlyclean) \
25070 || exit 1
25072 @endif sid
25074 .PHONY: maybe-clean-sid clean-sid
25075 maybe-clean-sid:
25076 @if sid
25077 maybe-clean-sid: clean-sid
25079 clean-sid:
25080 @: $(MAKE); $(unstage)
25081 @[ -f ./sid/Makefile ] || exit 0; \
25082 r=`${PWD_COMMAND}`; export r; \
25083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25084 $(HOST_EXPORTS) \
25085 for flag in $(EXTRA_HOST_FLAGS) ; do \
25086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25087 done; \
25088 echo "Doing clean in sid" ; \
25089 (cd $(HOST_SUBDIR)/sid && \
25090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25092 "RANLIB=$${RANLIB}" \
25093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25094 clean) \
25095 || exit 1
25097 @endif sid
25099 .PHONY: maybe-distclean-sid distclean-sid
25100 maybe-distclean-sid:
25101 @if sid
25102 maybe-distclean-sid: distclean-sid
25104 distclean-sid:
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./sid/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing distclean in sid" ; \
25114 (cd $(HOST_SUBDIR)/sid && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25119 distclean) \
25120 || exit 1
25122 @endif sid
25124 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25125 maybe-maintainer-clean-sid:
25126 @if sid
25127 maybe-maintainer-clean-sid: maintainer-clean-sid
25129 maintainer-clean-sid:
25130 @: $(MAKE); $(unstage)
25131 @[ -f ./sid/Makefile ] || exit 0; \
25132 r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 for flag in $(EXTRA_HOST_FLAGS) ; do \
25136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25137 done; \
25138 echo "Doing maintainer-clean in sid" ; \
25139 (cd $(HOST_SUBDIR)/sid && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25144 maintainer-clean) \
25145 || exit 1
25147 @endif sid
25151 .PHONY: configure-sim maybe-configure-sim
25152 maybe-configure-sim:
25153 @if gcc-bootstrap
25154 configure-sim: stage_current
25155 @endif gcc-bootstrap
25156 @if sim
25157 maybe-configure-sim: configure-sim
25158 configure-sim:
25159 @: $(MAKE); $(unstage)
25160 @r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25164 $(HOST_EXPORTS) \
25165 echo Configuring in $(HOST_SUBDIR)/sim; \
25166 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25167 case $(srcdir) in \
25168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25169 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25171 esac; \
25172 srcdiroption="--srcdir=$${topdir}/sim"; \
25173 libsrcdir="$$s/sim"; \
25174 $(SHELL) $${libsrcdir}/configure \
25175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25176 --target=${target_alias} $${srcdiroption} \
25177 || exit 1
25178 @endif sim
25184 .PHONY: all-sim maybe-all-sim
25185 maybe-all-sim:
25186 @if gcc-bootstrap
25187 all-sim: stage_current
25188 @endif gcc-bootstrap
25189 @if sim
25190 TARGET-sim=all
25191 maybe-all-sim: all-sim
25192 all-sim: configure-sim
25193 @: $(MAKE); $(unstage)
25194 @r=`${PWD_COMMAND}`; export r; \
25195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25196 $(HOST_EXPORTS) \
25197 (cd $(HOST_SUBDIR)/sim && \
25198 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25199 $(TARGET-sim))
25200 @endif sim
25205 .PHONY: check-sim maybe-check-sim
25206 maybe-check-sim:
25207 @if sim
25208 maybe-check-sim: check-sim
25210 check-sim:
25211 @: $(MAKE); $(unstage)
25212 @r=`${PWD_COMMAND}`; export r; \
25213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 $(HOST_EXPORTS) \
25215 (cd $(HOST_SUBDIR)/sim && \
25216 $(MAKE) $(FLAGS_TO_PASS) check)
25218 @endif sim
25220 .PHONY: install-sim maybe-install-sim
25221 maybe-install-sim:
25222 @if sim
25223 maybe-install-sim: install-sim
25225 install-sim: installdirs
25226 @: $(MAKE); $(unstage)
25227 @r=`${PWD_COMMAND}`; export r; \
25228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 $(HOST_EXPORTS) \
25230 (cd $(HOST_SUBDIR)/sim && \
25231 $(MAKE) $(FLAGS_TO_PASS) install)
25233 @endif sim
25235 .PHONY: install-strip-sim maybe-install-strip-sim
25236 maybe-install-strip-sim:
25237 @if sim
25238 maybe-install-strip-sim: install-strip-sim
25240 install-strip-sim: installdirs
25241 @: $(MAKE); $(unstage)
25242 @r=`${PWD_COMMAND}`; export r; \
25243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25244 $(HOST_EXPORTS) \
25245 (cd $(HOST_SUBDIR)/sim && \
25246 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25248 @endif sim
25250 # Other targets (info, dvi, pdf, etc.)
25252 .PHONY: maybe-info-sim info-sim
25253 maybe-info-sim:
25254 @if sim
25255 maybe-info-sim: info-sim
25257 info-sim: \
25258 configure-sim
25259 @: $(MAKE); $(unstage)
25260 @[ -f ./sim/Makefile ] || exit 0; \
25261 r=`${PWD_COMMAND}`; export r; \
25262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25263 $(HOST_EXPORTS) \
25264 for flag in $(EXTRA_HOST_FLAGS) ; do \
25265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25266 done; \
25267 echo "Doing info in sim" ; \
25268 (cd $(HOST_SUBDIR)/sim && \
25269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25271 "RANLIB=$${RANLIB}" \
25272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25273 info) \
25274 || exit 1
25276 @endif sim
25278 .PHONY: maybe-dvi-sim dvi-sim
25279 maybe-dvi-sim:
25280 @if sim
25281 maybe-dvi-sim: dvi-sim
25283 dvi-sim: \
25284 configure-sim
25285 @: $(MAKE); $(unstage)
25286 @[ -f ./sim/Makefile ] || exit 0; \
25287 r=`${PWD_COMMAND}`; export r; \
25288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25289 $(HOST_EXPORTS) \
25290 for flag in $(EXTRA_HOST_FLAGS) ; do \
25291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25292 done; \
25293 echo "Doing dvi in sim" ; \
25294 (cd $(HOST_SUBDIR)/sim && \
25295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25297 "RANLIB=$${RANLIB}" \
25298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25299 dvi) \
25300 || exit 1
25302 @endif sim
25304 .PHONY: maybe-pdf-sim pdf-sim
25305 maybe-pdf-sim:
25306 @if sim
25307 maybe-pdf-sim: pdf-sim
25309 pdf-sim: \
25310 configure-sim
25311 @: $(MAKE); $(unstage)
25312 @[ -f ./sim/Makefile ] || exit 0; \
25313 r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(HOST_EXPORTS) \
25316 for flag in $(EXTRA_HOST_FLAGS) ; do \
25317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25318 done; \
25319 echo "Doing pdf in sim" ; \
25320 (cd $(HOST_SUBDIR)/sim && \
25321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25323 "RANLIB=$${RANLIB}" \
25324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25325 pdf) \
25326 || exit 1
25328 @endif sim
25330 .PHONY: maybe-html-sim html-sim
25331 maybe-html-sim:
25332 @if sim
25333 maybe-html-sim: html-sim
25335 html-sim: \
25336 configure-sim
25337 @: $(MAKE); $(unstage)
25338 @[ -f ./sim/Makefile ] || exit 0; \
25339 r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 $(HOST_EXPORTS) \
25342 for flag in $(EXTRA_HOST_FLAGS) ; do \
25343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25344 done; \
25345 echo "Doing html in sim" ; \
25346 (cd $(HOST_SUBDIR)/sim && \
25347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25349 "RANLIB=$${RANLIB}" \
25350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25351 html) \
25352 || exit 1
25354 @endif sim
25356 .PHONY: maybe-TAGS-sim TAGS-sim
25357 maybe-TAGS-sim:
25358 @if sim
25359 maybe-TAGS-sim: TAGS-sim
25361 TAGS-sim: \
25362 configure-sim
25363 @: $(MAKE); $(unstage)
25364 @[ -f ./sim/Makefile ] || exit 0; \
25365 r=`${PWD_COMMAND}`; export r; \
25366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367 $(HOST_EXPORTS) \
25368 for flag in $(EXTRA_HOST_FLAGS) ; do \
25369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25370 done; \
25371 echo "Doing TAGS in sim" ; \
25372 (cd $(HOST_SUBDIR)/sim && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25375 "RANLIB=$${RANLIB}" \
25376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25377 TAGS) \
25378 || exit 1
25380 @endif sim
25382 .PHONY: maybe-install-info-sim install-info-sim
25383 maybe-install-info-sim:
25384 @if sim
25385 maybe-install-info-sim: install-info-sim
25387 install-info-sim: \
25388 configure-sim \
25389 info-sim
25390 @: $(MAKE); $(unstage)
25391 @[ -f ./sim/Makefile ] || exit 0; \
25392 r=`${PWD_COMMAND}`; export r; \
25393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25394 $(HOST_EXPORTS) \
25395 for flag in $(EXTRA_HOST_FLAGS) ; do \
25396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25397 done; \
25398 echo "Doing install-info in sim" ; \
25399 (cd $(HOST_SUBDIR)/sim && \
25400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25402 "RANLIB=$${RANLIB}" \
25403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25404 install-info) \
25405 || exit 1
25407 @endif sim
25409 .PHONY: maybe-install-pdf-sim install-pdf-sim
25410 maybe-install-pdf-sim:
25411 @if sim
25412 maybe-install-pdf-sim: install-pdf-sim
25414 install-pdf-sim: \
25415 configure-sim \
25416 pdf-sim
25417 @: $(MAKE); $(unstage)
25418 @[ -f ./sim/Makefile ] || exit 0; \
25419 r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(HOST_EXPORTS) \
25422 for flag in $(EXTRA_HOST_FLAGS) ; do \
25423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 done; \
25425 echo "Doing install-pdf in sim" ; \
25426 (cd $(HOST_SUBDIR)/sim && \
25427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25429 "RANLIB=$${RANLIB}" \
25430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25431 install-pdf) \
25432 || exit 1
25434 @endif sim
25436 .PHONY: maybe-install-html-sim install-html-sim
25437 maybe-install-html-sim:
25438 @if sim
25439 maybe-install-html-sim: install-html-sim
25441 install-html-sim: \
25442 configure-sim \
25443 html-sim
25444 @: $(MAKE); $(unstage)
25445 @[ -f ./sim/Makefile ] || exit 0; \
25446 r=`${PWD_COMMAND}`; export r; \
25447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25448 $(HOST_EXPORTS) \
25449 for flag in $(EXTRA_HOST_FLAGS) ; do \
25450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25451 done; \
25452 echo "Doing install-html in sim" ; \
25453 (cd $(HOST_SUBDIR)/sim && \
25454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25456 "RANLIB=$${RANLIB}" \
25457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25458 install-html) \
25459 || exit 1
25461 @endif sim
25463 .PHONY: maybe-installcheck-sim installcheck-sim
25464 maybe-installcheck-sim:
25465 @if sim
25466 maybe-installcheck-sim: installcheck-sim
25468 installcheck-sim: \
25469 configure-sim
25470 @: $(MAKE); $(unstage)
25471 @[ -f ./sim/Makefile ] || exit 0; \
25472 r=`${PWD_COMMAND}`; export r; \
25473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25474 $(HOST_EXPORTS) \
25475 for flag in $(EXTRA_HOST_FLAGS) ; do \
25476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25477 done; \
25478 echo "Doing installcheck in sim" ; \
25479 (cd $(HOST_SUBDIR)/sim && \
25480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25482 "RANLIB=$${RANLIB}" \
25483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25484 installcheck) \
25485 || exit 1
25487 @endif sim
25489 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25490 maybe-mostlyclean-sim:
25491 @if sim
25492 maybe-mostlyclean-sim: mostlyclean-sim
25494 mostlyclean-sim:
25495 @: $(MAKE); $(unstage)
25496 @[ -f ./sim/Makefile ] || exit 0; \
25497 r=`${PWD_COMMAND}`; export r; \
25498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25499 $(HOST_EXPORTS) \
25500 for flag in $(EXTRA_HOST_FLAGS) ; do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 done; \
25503 echo "Doing mostlyclean in sim" ; \
25504 (cd $(HOST_SUBDIR)/sim && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25507 "RANLIB=$${RANLIB}" \
25508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25509 mostlyclean) \
25510 || exit 1
25512 @endif sim
25514 .PHONY: maybe-clean-sim clean-sim
25515 maybe-clean-sim:
25516 @if sim
25517 maybe-clean-sim: clean-sim
25519 clean-sim:
25520 @: $(MAKE); $(unstage)
25521 @[ -f ./sim/Makefile ] || exit 0; \
25522 r=`${PWD_COMMAND}`; export r; \
25523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25524 $(HOST_EXPORTS) \
25525 for flag in $(EXTRA_HOST_FLAGS) ; do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 echo "Doing clean in sim" ; \
25529 (cd $(HOST_SUBDIR)/sim && \
25530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25532 "RANLIB=$${RANLIB}" \
25533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25534 clean) \
25535 || exit 1
25537 @endif sim
25539 .PHONY: maybe-distclean-sim distclean-sim
25540 maybe-distclean-sim:
25541 @if sim
25542 maybe-distclean-sim: distclean-sim
25544 distclean-sim:
25545 @: $(MAKE); $(unstage)
25546 @[ -f ./sim/Makefile ] || exit 0; \
25547 r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 $(HOST_EXPORTS) \
25550 for flag in $(EXTRA_HOST_FLAGS) ; do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 echo "Doing distclean in sim" ; \
25554 (cd $(HOST_SUBDIR)/sim && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25559 distclean) \
25560 || exit 1
25562 @endif sim
25564 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25565 maybe-maintainer-clean-sim:
25566 @if sim
25567 maybe-maintainer-clean-sim: maintainer-clean-sim
25569 maintainer-clean-sim:
25570 @: $(MAKE); $(unstage)
25571 @[ -f ./sim/Makefile ] || exit 0; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(HOST_EXPORTS) \
25575 for flag in $(EXTRA_HOST_FLAGS) ; do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 echo "Doing maintainer-clean in sim" ; \
25579 (cd $(HOST_SUBDIR)/sim && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25584 maintainer-clean) \
25585 || exit 1
25587 @endif sim
25591 .PHONY: configure-texinfo maybe-configure-texinfo
25592 maybe-configure-texinfo:
25593 @if gcc-bootstrap
25594 configure-texinfo: stage_current
25595 @endif gcc-bootstrap
25596 @if texinfo
25597 maybe-configure-texinfo: configure-texinfo
25598 configure-texinfo:
25599 @: $(MAKE); $(unstage)
25600 @r=`${PWD_COMMAND}`; export r; \
25601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25602 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25604 $(HOST_EXPORTS) \
25605 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25606 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25607 case $(srcdir) in \
25608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25609 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25611 esac; \
25612 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25613 libsrcdir="$$s/texinfo"; \
25614 $(SHELL) $${libsrcdir}/configure \
25615 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25616 --target=${target_alias} $${srcdiroption} \
25617 || exit 1
25618 @endif texinfo
25624 .PHONY: all-texinfo maybe-all-texinfo
25625 maybe-all-texinfo:
25626 @if gcc-bootstrap
25627 all-texinfo: stage_current
25628 @endif gcc-bootstrap
25629 @if texinfo
25630 TARGET-texinfo=all
25631 maybe-all-texinfo: all-texinfo
25632 all-texinfo: configure-texinfo
25633 @: $(MAKE); $(unstage)
25634 @r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 (cd $(HOST_SUBDIR)/texinfo && \
25638 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25639 $(TARGET-texinfo))
25640 @endif texinfo
25645 .PHONY: check-texinfo maybe-check-texinfo
25646 maybe-check-texinfo:
25647 @if texinfo
25648 maybe-check-texinfo: check-texinfo
25650 check-texinfo:
25651 @: $(MAKE); $(unstage)
25652 @r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 $(HOST_EXPORTS) \
25655 (cd $(HOST_SUBDIR)/texinfo && \
25656 $(MAKE) $(FLAGS_TO_PASS) check)
25658 @endif texinfo
25660 .PHONY: install-texinfo maybe-install-texinfo
25661 maybe-install-texinfo:
25662 @if texinfo
25663 maybe-install-texinfo: install-texinfo
25665 install-texinfo:
25667 @endif texinfo
25669 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25670 maybe-install-strip-texinfo:
25671 @if texinfo
25672 maybe-install-strip-texinfo: install-strip-texinfo
25674 install-strip-texinfo:
25676 @endif texinfo
25678 # Other targets (info, dvi, pdf, etc.)
25680 .PHONY: maybe-info-texinfo info-texinfo
25681 maybe-info-texinfo:
25682 @if texinfo
25683 maybe-info-texinfo: info-texinfo
25685 info-texinfo: \
25686 configure-texinfo
25687 @: $(MAKE); $(unstage)
25688 @[ -f ./texinfo/Makefile ] || exit 0; \
25689 r=`${PWD_COMMAND}`; export r; \
25690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25691 $(HOST_EXPORTS) \
25692 for flag in $(EXTRA_HOST_FLAGS) ; do \
25693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25694 done; \
25695 echo "Doing info in texinfo" ; \
25696 (cd $(HOST_SUBDIR)/texinfo && \
25697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25699 "RANLIB=$${RANLIB}" \
25700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25701 info) \
25702 || exit 1
25704 @endif texinfo
25706 .PHONY: maybe-dvi-texinfo dvi-texinfo
25707 maybe-dvi-texinfo:
25708 @if texinfo
25709 maybe-dvi-texinfo: dvi-texinfo
25711 dvi-texinfo: \
25712 configure-texinfo
25713 @: $(MAKE); $(unstage)
25714 @[ -f ./texinfo/Makefile ] || exit 0; \
25715 r=`${PWD_COMMAND}`; export r; \
25716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25717 $(HOST_EXPORTS) \
25718 for flag in $(EXTRA_HOST_FLAGS) ; do \
25719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25720 done; \
25721 echo "Doing dvi in texinfo" ; \
25722 (cd $(HOST_SUBDIR)/texinfo && \
25723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25725 "RANLIB=$${RANLIB}" \
25726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25727 dvi) \
25728 || exit 1
25730 @endif texinfo
25732 .PHONY: maybe-pdf-texinfo pdf-texinfo
25733 maybe-pdf-texinfo:
25734 @if texinfo
25735 maybe-pdf-texinfo: pdf-texinfo
25737 pdf-texinfo: \
25738 configure-texinfo
25739 @: $(MAKE); $(unstage)
25740 @[ -f ./texinfo/Makefile ] || exit 0; \
25741 r=`${PWD_COMMAND}`; export r; \
25742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25743 $(HOST_EXPORTS) \
25744 for flag in $(EXTRA_HOST_FLAGS) ; do \
25745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25746 done; \
25747 echo "Doing pdf in texinfo" ; \
25748 (cd $(HOST_SUBDIR)/texinfo && \
25749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25751 "RANLIB=$${RANLIB}" \
25752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25753 pdf) \
25754 || exit 1
25756 @endif texinfo
25758 .PHONY: maybe-html-texinfo html-texinfo
25759 maybe-html-texinfo:
25760 @if texinfo
25761 maybe-html-texinfo: html-texinfo
25763 html-texinfo: \
25764 configure-texinfo
25765 @: $(MAKE); $(unstage)
25766 @[ -f ./texinfo/Makefile ] || exit 0; \
25767 r=`${PWD_COMMAND}`; export r; \
25768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25769 $(HOST_EXPORTS) \
25770 for flag in $(EXTRA_HOST_FLAGS) ; do \
25771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25772 done; \
25773 echo "Doing html in texinfo" ; \
25774 (cd $(HOST_SUBDIR)/texinfo && \
25775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25777 "RANLIB=$${RANLIB}" \
25778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25779 html) \
25780 || exit 1
25782 @endif texinfo
25784 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25785 maybe-TAGS-texinfo:
25786 @if texinfo
25787 maybe-TAGS-texinfo: TAGS-texinfo
25789 TAGS-texinfo: \
25790 configure-texinfo
25791 @: $(MAKE); $(unstage)
25792 @[ -f ./texinfo/Makefile ] || exit 0; \
25793 r=`${PWD_COMMAND}`; export r; \
25794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25795 $(HOST_EXPORTS) \
25796 for flag in $(EXTRA_HOST_FLAGS) ; do \
25797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25798 done; \
25799 echo "Doing TAGS in texinfo" ; \
25800 (cd $(HOST_SUBDIR)/texinfo && \
25801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25803 "RANLIB=$${RANLIB}" \
25804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25805 TAGS) \
25806 || exit 1
25808 @endif texinfo
25810 .PHONY: maybe-install-info-texinfo install-info-texinfo
25811 maybe-install-info-texinfo:
25812 @if texinfo
25813 maybe-install-info-texinfo: install-info-texinfo
25815 install-info-texinfo: \
25816 configure-texinfo \
25817 info-texinfo
25818 @: $(MAKE); $(unstage)
25819 @[ -f ./texinfo/Makefile ] || exit 0; \
25820 r=`${PWD_COMMAND}`; export r; \
25821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25822 $(HOST_EXPORTS) \
25823 for flag in $(EXTRA_HOST_FLAGS) ; do \
25824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25825 done; \
25826 echo "Doing install-info in texinfo" ; \
25827 (cd $(HOST_SUBDIR)/texinfo && \
25828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25830 "RANLIB=$${RANLIB}" \
25831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25832 install-info) \
25833 || exit 1
25835 @endif texinfo
25837 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25838 maybe-install-pdf-texinfo:
25839 @if texinfo
25840 maybe-install-pdf-texinfo: install-pdf-texinfo
25842 install-pdf-texinfo: \
25843 configure-texinfo \
25844 pdf-texinfo
25845 @: $(MAKE); $(unstage)
25846 @[ -f ./texinfo/Makefile ] || exit 0; \
25847 r=`${PWD_COMMAND}`; export r; \
25848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25849 $(HOST_EXPORTS) \
25850 for flag in $(EXTRA_HOST_FLAGS) ; do \
25851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25852 done; \
25853 echo "Doing install-pdf in texinfo" ; \
25854 (cd $(HOST_SUBDIR)/texinfo && \
25855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25857 "RANLIB=$${RANLIB}" \
25858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25859 install-pdf) \
25860 || exit 1
25862 @endif texinfo
25864 .PHONY: maybe-install-html-texinfo install-html-texinfo
25865 maybe-install-html-texinfo:
25866 @if texinfo
25867 maybe-install-html-texinfo: install-html-texinfo
25869 install-html-texinfo: \
25870 configure-texinfo \
25871 html-texinfo
25872 @: $(MAKE); $(unstage)
25873 @[ -f ./texinfo/Makefile ] || exit 0; \
25874 r=`${PWD_COMMAND}`; export r; \
25875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25876 $(HOST_EXPORTS) \
25877 for flag in $(EXTRA_HOST_FLAGS) ; do \
25878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25879 done; \
25880 echo "Doing install-html in texinfo" ; \
25881 (cd $(HOST_SUBDIR)/texinfo && \
25882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25884 "RANLIB=$${RANLIB}" \
25885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25886 install-html) \
25887 || exit 1
25889 @endif texinfo
25891 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25892 maybe-installcheck-texinfo:
25893 @if texinfo
25894 maybe-installcheck-texinfo: installcheck-texinfo
25896 installcheck-texinfo: \
25897 configure-texinfo
25898 @: $(MAKE); $(unstage)
25899 @[ -f ./texinfo/Makefile ] || exit 0; \
25900 r=`${PWD_COMMAND}`; export r; \
25901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25902 $(HOST_EXPORTS) \
25903 for flag in $(EXTRA_HOST_FLAGS) ; do \
25904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25905 done; \
25906 echo "Doing installcheck in texinfo" ; \
25907 (cd $(HOST_SUBDIR)/texinfo && \
25908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25910 "RANLIB=$${RANLIB}" \
25911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25912 installcheck) \
25913 || exit 1
25915 @endif texinfo
25917 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25918 maybe-mostlyclean-texinfo:
25919 @if texinfo
25920 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25922 mostlyclean-texinfo:
25923 @: $(MAKE); $(unstage)
25924 @[ -f ./texinfo/Makefile ] || exit 0; \
25925 r=`${PWD_COMMAND}`; export r; \
25926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25927 $(HOST_EXPORTS) \
25928 for flag in $(EXTRA_HOST_FLAGS) ; do \
25929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25930 done; \
25931 echo "Doing mostlyclean in texinfo" ; \
25932 (cd $(HOST_SUBDIR)/texinfo && \
25933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25935 "RANLIB=$${RANLIB}" \
25936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25937 mostlyclean) \
25938 || exit 1
25940 @endif texinfo
25942 .PHONY: maybe-clean-texinfo clean-texinfo
25943 maybe-clean-texinfo:
25944 @if texinfo
25945 maybe-clean-texinfo: clean-texinfo
25947 clean-texinfo:
25948 @: $(MAKE); $(unstage)
25949 @[ -f ./texinfo/Makefile ] || exit 0; \
25950 r=`${PWD_COMMAND}`; export r; \
25951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25952 $(HOST_EXPORTS) \
25953 for flag in $(EXTRA_HOST_FLAGS) ; do \
25954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25955 done; \
25956 echo "Doing clean in texinfo" ; \
25957 (cd $(HOST_SUBDIR)/texinfo && \
25958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25960 "RANLIB=$${RANLIB}" \
25961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25962 clean) \
25963 || exit 1
25965 @endif texinfo
25967 .PHONY: maybe-distclean-texinfo distclean-texinfo
25968 maybe-distclean-texinfo:
25969 @if texinfo
25970 maybe-distclean-texinfo: distclean-texinfo
25972 distclean-texinfo:
25973 @: $(MAKE); $(unstage)
25974 @[ -f ./texinfo/Makefile ] || exit 0; \
25975 r=`${PWD_COMMAND}`; export r; \
25976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25977 $(HOST_EXPORTS) \
25978 for flag in $(EXTRA_HOST_FLAGS) ; do \
25979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25980 done; \
25981 echo "Doing distclean in texinfo" ; \
25982 (cd $(HOST_SUBDIR)/texinfo && \
25983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25985 "RANLIB=$${RANLIB}" \
25986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25987 distclean) \
25988 || exit 1
25990 @endif texinfo
25992 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25993 maybe-maintainer-clean-texinfo:
25994 @if texinfo
25995 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25997 maintainer-clean-texinfo:
25998 @: $(MAKE); $(unstage)
25999 @[ -f ./texinfo/Makefile ] || exit 0; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(HOST_EXPORTS) \
26003 for flag in $(EXTRA_HOST_FLAGS) ; do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 echo "Doing maintainer-clean in texinfo" ; \
26007 (cd $(HOST_SUBDIR)/texinfo && \
26008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010 "RANLIB=$${RANLIB}" \
26011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26012 maintainer-clean) \
26013 || exit 1
26015 @endif texinfo
26019 .PHONY: configure-zlib maybe-configure-zlib
26020 maybe-configure-zlib:
26021 @if gcc-bootstrap
26022 configure-zlib: stage_current
26023 @endif gcc-bootstrap
26024 @if zlib
26025 maybe-configure-zlib: configure-zlib
26026 configure-zlib:
26027 @r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26031 $(HOST_EXPORTS) \
26032 echo Configuring in $(HOST_SUBDIR)/zlib; \
26033 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26034 case $(srcdir) in \
26035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26036 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26038 esac; \
26039 srcdiroption="--srcdir=$${topdir}/zlib"; \
26040 libsrcdir="$$s/zlib"; \
26041 $(SHELL) $${libsrcdir}/configure \
26042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26043 --target=${target_alias} $${srcdiroption} \
26044 || exit 1
26045 @endif zlib
26049 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26050 maybe-configure-stage1-zlib:
26051 @if zlib-bootstrap
26052 maybe-configure-stage1-zlib: configure-stage1-zlib
26053 configure-stage1-zlib:
26054 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26056 @r=`${PWD_COMMAND}`; export r; \
26057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26058 TFLAGS="$(STAGE1_TFLAGS)"; \
26059 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26060 $(HOST_EXPORTS) \
26061 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26062 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26063 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26064 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26066 cd $(HOST_SUBDIR)/zlib || exit 1; \
26067 case $(srcdir) in \
26068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26069 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26071 esac; \
26072 srcdiroption="--srcdir=$${topdir}/zlib"; \
26073 libsrcdir="$$s/zlib"; \
26074 $(SHELL) $${libsrcdir}/configure \
26075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26076 --target=${target_alias} $${srcdiroption} \
26077 $(STAGE1_CONFIGURE_FLAGS)
26078 @endif zlib-bootstrap
26080 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26081 maybe-configure-stage2-zlib:
26082 @if zlib-bootstrap
26083 maybe-configure-stage2-zlib: configure-stage2-zlib
26084 configure-stage2-zlib:
26085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26087 @r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26089 TFLAGS="$(STAGE2_TFLAGS)"; \
26090 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26091 $(HOST_EXPORTS) \
26092 $(POSTSTAGE1_HOST_EXPORTS) \
26093 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26094 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26095 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26096 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26098 cd $(HOST_SUBDIR)/zlib || exit 1; \
26099 case $(srcdir) in \
26100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26101 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26103 esac; \
26104 srcdiroption="--srcdir=$${topdir}/zlib"; \
26105 libsrcdir="$$s/zlib"; \
26106 $(SHELL) $${libsrcdir}/configure \
26107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26108 --target=${target_alias} $${srcdiroption} \
26109 --with-build-libsubdir=$(HOST_SUBDIR) \
26110 $(STAGE2_CONFIGURE_FLAGS)
26111 @endif zlib-bootstrap
26113 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26114 maybe-configure-stage3-zlib:
26115 @if zlib-bootstrap
26116 maybe-configure-stage3-zlib: configure-stage3-zlib
26117 configure-stage3-zlib:
26118 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26119 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26120 @r=`${PWD_COMMAND}`; export r; \
26121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26122 TFLAGS="$(STAGE3_TFLAGS)"; \
26123 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26124 $(HOST_EXPORTS) \
26125 $(POSTSTAGE1_HOST_EXPORTS) \
26126 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26127 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26128 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26129 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26131 cd $(HOST_SUBDIR)/zlib || exit 1; \
26132 case $(srcdir) in \
26133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26134 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26136 esac; \
26137 srcdiroption="--srcdir=$${topdir}/zlib"; \
26138 libsrcdir="$$s/zlib"; \
26139 $(SHELL) $${libsrcdir}/configure \
26140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26141 --target=${target_alias} $${srcdiroption} \
26142 --with-build-libsubdir=$(HOST_SUBDIR) \
26143 $(STAGE3_CONFIGURE_FLAGS)
26144 @endif zlib-bootstrap
26146 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26147 maybe-configure-stage4-zlib:
26148 @if zlib-bootstrap
26149 maybe-configure-stage4-zlib: configure-stage4-zlib
26150 configure-stage4-zlib:
26151 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26152 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26153 @r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 TFLAGS="$(STAGE4_TFLAGS)"; \
26156 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26157 $(HOST_EXPORTS) \
26158 $(POSTSTAGE1_HOST_EXPORTS) \
26159 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26160 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26161 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26162 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26164 cd $(HOST_SUBDIR)/zlib || exit 1; \
26165 case $(srcdir) in \
26166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26167 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26169 esac; \
26170 srcdiroption="--srcdir=$${topdir}/zlib"; \
26171 libsrcdir="$$s/zlib"; \
26172 $(SHELL) $${libsrcdir}/configure \
26173 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26174 --target=${target_alias} $${srcdiroption} \
26175 --with-build-libsubdir=$(HOST_SUBDIR) \
26176 $(STAGE4_CONFIGURE_FLAGS)
26177 @endif zlib-bootstrap
26179 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26180 maybe-configure-stageprofile-zlib:
26181 @if zlib-bootstrap
26182 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26183 configure-stageprofile-zlib:
26184 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26185 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26186 @r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26189 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26190 $(HOST_EXPORTS) \
26191 $(POSTSTAGE1_HOST_EXPORTS) \
26192 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26193 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26194 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26195 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26197 cd $(HOST_SUBDIR)/zlib || exit 1; \
26198 case $(srcdir) in \
26199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26200 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26202 esac; \
26203 srcdiroption="--srcdir=$${topdir}/zlib"; \
26204 libsrcdir="$$s/zlib"; \
26205 $(SHELL) $${libsrcdir}/configure \
26206 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26207 --target=${target_alias} $${srcdiroption} \
26208 --with-build-libsubdir=$(HOST_SUBDIR) \
26209 $(STAGEprofile_CONFIGURE_FLAGS)
26210 @endif zlib-bootstrap
26212 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26213 maybe-configure-stagefeedback-zlib:
26214 @if zlib-bootstrap
26215 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26216 configure-stagefeedback-zlib:
26217 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26218 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26219 @r=`${PWD_COMMAND}`; export r; \
26220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26222 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26223 $(HOST_EXPORTS) \
26224 $(POSTSTAGE1_HOST_EXPORTS) \
26225 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26226 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26227 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26228 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26230 cd $(HOST_SUBDIR)/zlib || exit 1; \
26231 case $(srcdir) in \
26232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26233 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26235 esac; \
26236 srcdiroption="--srcdir=$${topdir}/zlib"; \
26237 libsrcdir="$$s/zlib"; \
26238 $(SHELL) $${libsrcdir}/configure \
26239 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26240 --target=${target_alias} $${srcdiroption} \
26241 --with-build-libsubdir=$(HOST_SUBDIR) \
26242 $(STAGEfeedback_CONFIGURE_FLAGS)
26243 @endif zlib-bootstrap
26249 .PHONY: all-zlib maybe-all-zlib
26250 maybe-all-zlib:
26251 @if gcc-bootstrap
26252 all-zlib: stage_current
26253 @endif gcc-bootstrap
26254 @if zlib
26255 TARGET-zlib=all
26256 maybe-all-zlib: all-zlib
26257 all-zlib: configure-zlib
26258 @r=`${PWD_COMMAND}`; export r; \
26259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26260 $(HOST_EXPORTS) \
26261 (cd $(HOST_SUBDIR)/zlib && \
26262 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26263 $(TARGET-zlib))
26264 @endif zlib
26268 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26269 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26270 maybe-all-stage1-zlib:
26271 maybe-clean-stage1-zlib:
26272 @if zlib-bootstrap
26273 maybe-all-stage1-zlib: all-stage1-zlib
26274 all-stage1: all-stage1-zlib
26275 TARGET-stage1-zlib = $(TARGET-zlib)
26276 all-stage1-zlib: configure-stage1-zlib
26277 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26278 @r=`${PWD_COMMAND}`; export r; \
26279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26280 TFLAGS="$(STAGE1_TFLAGS)"; \
26281 $(HOST_EXPORTS) \
26282 cd $(HOST_SUBDIR)/zlib && \
26283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26284 CFLAGS="$(STAGE1_CFLAGS)" \
26285 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26286 LIBCFLAGS="$(LIBCFLAGS)" \
26287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26290 $(EXTRA_HOST_FLAGS) \
26291 $(STAGE1_FLAGS_TO_PASS) \
26292 TFLAGS="$(STAGE1_TFLAGS)" \
26293 $(TARGET-stage1-zlib)
26295 maybe-clean-stage1-zlib: clean-stage1-zlib
26296 clean-stage1: clean-stage1-zlib
26297 clean-stage1-zlib:
26298 @if [ $(current_stage) = stage1 ]; then \
26299 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26300 else \
26301 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26302 $(MAKE) stage1-start; \
26303 fi; \
26304 cd $(HOST_SUBDIR)/zlib && \
26305 $(MAKE) $(EXTRA_HOST_FLAGS) \
26306 $(STAGE1_FLAGS_TO_PASS) clean
26307 @endif zlib-bootstrap
26310 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26311 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26312 maybe-all-stage2-zlib:
26313 maybe-clean-stage2-zlib:
26314 @if zlib-bootstrap
26315 maybe-all-stage2-zlib: all-stage2-zlib
26316 all-stage2: all-stage2-zlib
26317 TARGET-stage2-zlib = $(TARGET-zlib)
26318 all-stage2-zlib: configure-stage2-zlib
26319 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26320 @r=`${PWD_COMMAND}`; export r; \
26321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26322 TFLAGS="$(STAGE2_TFLAGS)"; \
26323 $(HOST_EXPORTS) \
26324 $(POSTSTAGE1_HOST_EXPORTS) \
26325 cd $(HOST_SUBDIR)/zlib && \
26326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26327 CFLAGS="$(STAGE2_CFLAGS)" \
26328 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26329 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26334 TFLAGS="$(STAGE2_TFLAGS)" \
26335 $(TARGET-stage2-zlib)
26337 maybe-clean-stage2-zlib: clean-stage2-zlib
26338 clean-stage2: clean-stage2-zlib
26339 clean-stage2-zlib:
26340 @if [ $(current_stage) = stage2 ]; then \
26341 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26342 else \
26343 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26344 $(MAKE) stage2-start; \
26345 fi; \
26346 cd $(HOST_SUBDIR)/zlib && \
26347 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26348 @endif zlib-bootstrap
26351 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26352 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26353 maybe-all-stage3-zlib:
26354 maybe-clean-stage3-zlib:
26355 @if zlib-bootstrap
26356 maybe-all-stage3-zlib: all-stage3-zlib
26357 all-stage3: all-stage3-zlib
26358 TARGET-stage3-zlib = $(TARGET-zlib)
26359 all-stage3-zlib: configure-stage3-zlib
26360 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26361 @r=`${PWD_COMMAND}`; export r; \
26362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26363 TFLAGS="$(STAGE3_TFLAGS)"; \
26364 $(HOST_EXPORTS) \
26365 $(POSTSTAGE1_HOST_EXPORTS) \
26366 cd $(HOST_SUBDIR)/zlib && \
26367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26368 CFLAGS="$(STAGE3_CFLAGS)" \
26369 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26370 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26371 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26372 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26373 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26374 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26375 TFLAGS="$(STAGE3_TFLAGS)" \
26376 $(TARGET-stage3-zlib)
26378 maybe-clean-stage3-zlib: clean-stage3-zlib
26379 clean-stage3: clean-stage3-zlib
26380 clean-stage3-zlib:
26381 @if [ $(current_stage) = stage3 ]; then \
26382 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26383 else \
26384 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26385 $(MAKE) stage3-start; \
26386 fi; \
26387 cd $(HOST_SUBDIR)/zlib && \
26388 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26389 @endif zlib-bootstrap
26392 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26393 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26394 maybe-all-stage4-zlib:
26395 maybe-clean-stage4-zlib:
26396 @if zlib-bootstrap
26397 maybe-all-stage4-zlib: all-stage4-zlib
26398 all-stage4: all-stage4-zlib
26399 TARGET-stage4-zlib = $(TARGET-zlib)
26400 all-stage4-zlib: configure-stage4-zlib
26401 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26402 @r=`${PWD_COMMAND}`; export r; \
26403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26404 TFLAGS="$(STAGE4_TFLAGS)"; \
26405 $(HOST_EXPORTS) \
26406 $(POSTSTAGE1_HOST_EXPORTS) \
26407 cd $(HOST_SUBDIR)/zlib && \
26408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26409 CFLAGS="$(STAGE4_CFLAGS)" \
26410 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26411 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26416 TFLAGS="$(STAGE4_TFLAGS)" \
26417 $(TARGET-stage4-zlib)
26419 maybe-clean-stage4-zlib: clean-stage4-zlib
26420 clean-stage4: clean-stage4-zlib
26421 clean-stage4-zlib:
26422 @if [ $(current_stage) = stage4 ]; then \
26423 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26424 else \
26425 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26426 $(MAKE) stage4-start; \
26427 fi; \
26428 cd $(HOST_SUBDIR)/zlib && \
26429 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26430 @endif zlib-bootstrap
26433 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26434 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26435 maybe-all-stageprofile-zlib:
26436 maybe-clean-stageprofile-zlib:
26437 @if zlib-bootstrap
26438 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26439 all-stageprofile: all-stageprofile-zlib
26440 TARGET-stageprofile-zlib = $(TARGET-zlib)
26441 all-stageprofile-zlib: configure-stageprofile-zlib
26442 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26443 @r=`${PWD_COMMAND}`; export r; \
26444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26445 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26446 $(HOST_EXPORTS) \
26447 $(POSTSTAGE1_HOST_EXPORTS) \
26448 cd $(HOST_SUBDIR)/zlib && \
26449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26450 CFLAGS="$(STAGEprofile_CFLAGS)" \
26451 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26452 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26457 TFLAGS="$(STAGEprofile_TFLAGS)" \
26458 $(TARGET-stageprofile-zlib)
26460 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26461 clean-stageprofile: clean-stageprofile-zlib
26462 clean-stageprofile-zlib:
26463 @if [ $(current_stage) = stageprofile ]; then \
26464 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26465 else \
26466 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26467 $(MAKE) stageprofile-start; \
26468 fi; \
26469 cd $(HOST_SUBDIR)/zlib && \
26470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26471 @endif zlib-bootstrap
26474 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26475 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26476 maybe-all-stagefeedback-zlib:
26477 maybe-clean-stagefeedback-zlib:
26478 @if zlib-bootstrap
26479 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26480 all-stagefeedback: all-stagefeedback-zlib
26481 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26482 all-stagefeedback-zlib: configure-stagefeedback-zlib
26483 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26484 @r=`${PWD_COMMAND}`; export r; \
26485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26486 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26487 $(HOST_EXPORTS) \
26488 $(POSTSTAGE1_HOST_EXPORTS) \
26489 cd $(HOST_SUBDIR)/zlib && \
26490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26491 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26492 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26493 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26498 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26499 $(TARGET-stagefeedback-zlib)
26501 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26502 clean-stagefeedback: clean-stagefeedback-zlib
26503 clean-stagefeedback-zlib:
26504 @if [ $(current_stage) = stagefeedback ]; then \
26505 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26506 else \
26507 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26508 $(MAKE) stagefeedback-start; \
26509 fi; \
26510 cd $(HOST_SUBDIR)/zlib && \
26511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26512 @endif zlib-bootstrap
26518 .PHONY: check-zlib maybe-check-zlib
26519 maybe-check-zlib:
26520 @if zlib
26521 maybe-check-zlib: check-zlib
26523 check-zlib:
26525 @endif zlib
26527 .PHONY: install-zlib maybe-install-zlib
26528 maybe-install-zlib:
26529 @if zlib
26530 maybe-install-zlib: install-zlib
26532 install-zlib:
26534 @endif zlib
26536 .PHONY: install-strip-zlib maybe-install-strip-zlib
26537 maybe-install-strip-zlib:
26538 @if zlib
26539 maybe-install-strip-zlib: install-strip-zlib
26541 install-strip-zlib:
26543 @endif zlib
26545 # Other targets (info, dvi, pdf, etc.)
26547 .PHONY: maybe-info-zlib info-zlib
26548 maybe-info-zlib:
26549 @if zlib
26550 maybe-info-zlib: info-zlib
26552 info-zlib: \
26553 configure-zlib
26554 @[ -f ./zlib/Makefile ] || exit 0; \
26555 r=`${PWD_COMMAND}`; export r; \
26556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26557 $(HOST_EXPORTS) \
26558 for flag in $(EXTRA_HOST_FLAGS) ; do \
26559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26560 done; \
26561 echo "Doing info in zlib" ; \
26562 (cd $(HOST_SUBDIR)/zlib && \
26563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26565 "RANLIB=$${RANLIB}" \
26566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26567 info) \
26568 || exit 1
26570 @endif zlib
26572 .PHONY: maybe-dvi-zlib dvi-zlib
26573 maybe-dvi-zlib:
26574 @if zlib
26575 maybe-dvi-zlib: dvi-zlib
26577 dvi-zlib: \
26578 configure-zlib
26579 @[ -f ./zlib/Makefile ] || exit 0; \
26580 r=`${PWD_COMMAND}`; export r; \
26581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26582 $(HOST_EXPORTS) \
26583 for flag in $(EXTRA_HOST_FLAGS) ; do \
26584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26585 done; \
26586 echo "Doing dvi in zlib" ; \
26587 (cd $(HOST_SUBDIR)/zlib && \
26588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26590 "RANLIB=$${RANLIB}" \
26591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26592 dvi) \
26593 || exit 1
26595 @endif zlib
26597 .PHONY: maybe-pdf-zlib pdf-zlib
26598 maybe-pdf-zlib:
26599 @if zlib
26600 maybe-pdf-zlib: pdf-zlib
26602 pdf-zlib: \
26603 configure-zlib
26604 @[ -f ./zlib/Makefile ] || exit 0; \
26605 r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(HOST_EXPORTS) \
26608 for flag in $(EXTRA_HOST_FLAGS) ; do \
26609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26610 done; \
26611 echo "Doing pdf in zlib" ; \
26612 (cd $(HOST_SUBDIR)/zlib && \
26613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26615 "RANLIB=$${RANLIB}" \
26616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26617 pdf) \
26618 || exit 1
26620 @endif zlib
26622 .PHONY: maybe-html-zlib html-zlib
26623 maybe-html-zlib:
26624 @if zlib
26625 maybe-html-zlib: html-zlib
26627 html-zlib: \
26628 configure-zlib
26629 @[ -f ./zlib/Makefile ] || exit 0; \
26630 r=`${PWD_COMMAND}`; export r; \
26631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 $(HOST_EXPORTS) \
26633 for flag in $(EXTRA_HOST_FLAGS) ; do \
26634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26635 done; \
26636 echo "Doing html in zlib" ; \
26637 (cd $(HOST_SUBDIR)/zlib && \
26638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26640 "RANLIB=$${RANLIB}" \
26641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26642 html) \
26643 || exit 1
26645 @endif zlib
26647 .PHONY: maybe-TAGS-zlib TAGS-zlib
26648 maybe-TAGS-zlib:
26649 @if zlib
26650 maybe-TAGS-zlib: TAGS-zlib
26652 TAGS-zlib: \
26653 configure-zlib
26654 @[ -f ./zlib/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(HOST_EXPORTS) \
26658 for flag in $(EXTRA_HOST_FLAGS) ; do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26660 done; \
26661 echo "Doing TAGS in zlib" ; \
26662 (cd $(HOST_SUBDIR)/zlib && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665 "RANLIB=$${RANLIB}" \
26666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26667 TAGS) \
26668 || exit 1
26670 @endif zlib
26672 .PHONY: maybe-install-info-zlib install-info-zlib
26673 maybe-install-info-zlib:
26674 @if zlib
26675 maybe-install-info-zlib: install-info-zlib
26677 install-info-zlib: \
26678 configure-zlib \
26679 info-zlib
26680 @[ -f ./zlib/Makefile ] || exit 0; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(HOST_EXPORTS) \
26684 for flag in $(EXTRA_HOST_FLAGS) ; do \
26685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26686 done; \
26687 echo "Doing install-info in zlib" ; \
26688 (cd $(HOST_SUBDIR)/zlib && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26691 "RANLIB=$${RANLIB}" \
26692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26693 install-info) \
26694 || exit 1
26696 @endif zlib
26698 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26699 maybe-install-pdf-zlib:
26700 @if zlib
26701 maybe-install-pdf-zlib: install-pdf-zlib
26703 install-pdf-zlib: \
26704 configure-zlib \
26705 pdf-zlib
26706 @[ -f ./zlib/Makefile ] || exit 0; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26709 $(HOST_EXPORTS) \
26710 for flag in $(EXTRA_HOST_FLAGS) ; do \
26711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26712 done; \
26713 echo "Doing install-pdf in zlib" ; \
26714 (cd $(HOST_SUBDIR)/zlib && \
26715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26717 "RANLIB=$${RANLIB}" \
26718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26719 install-pdf) \
26720 || exit 1
26722 @endif zlib
26724 .PHONY: maybe-install-html-zlib install-html-zlib
26725 maybe-install-html-zlib:
26726 @if zlib
26727 maybe-install-html-zlib: install-html-zlib
26729 install-html-zlib: \
26730 configure-zlib \
26731 html-zlib
26732 @[ -f ./zlib/Makefile ] || exit 0; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26735 $(HOST_EXPORTS) \
26736 for flag in $(EXTRA_HOST_FLAGS) ; do \
26737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26738 done; \
26739 echo "Doing install-html in zlib" ; \
26740 (cd $(HOST_SUBDIR)/zlib && \
26741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26743 "RANLIB=$${RANLIB}" \
26744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26745 install-html) \
26746 || exit 1
26748 @endif zlib
26750 .PHONY: maybe-installcheck-zlib installcheck-zlib
26751 maybe-installcheck-zlib:
26752 @if zlib
26753 maybe-installcheck-zlib: installcheck-zlib
26755 installcheck-zlib: \
26756 configure-zlib
26757 @[ -f ./zlib/Makefile ] || exit 0; \
26758 r=`${PWD_COMMAND}`; export r; \
26759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26760 $(HOST_EXPORTS) \
26761 for flag in $(EXTRA_HOST_FLAGS) ; do \
26762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26763 done; \
26764 echo "Doing installcheck in zlib" ; \
26765 (cd $(HOST_SUBDIR)/zlib && \
26766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26768 "RANLIB=$${RANLIB}" \
26769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26770 installcheck) \
26771 || exit 1
26773 @endif zlib
26775 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26776 maybe-mostlyclean-zlib:
26777 @if zlib
26778 maybe-mostlyclean-zlib: mostlyclean-zlib
26780 mostlyclean-zlib:
26781 @[ -f ./zlib/Makefile ] || exit 0; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26784 $(HOST_EXPORTS) \
26785 for flag in $(EXTRA_HOST_FLAGS) ; do \
26786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26787 done; \
26788 echo "Doing mostlyclean in zlib" ; \
26789 (cd $(HOST_SUBDIR)/zlib && \
26790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26792 "RANLIB=$${RANLIB}" \
26793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26794 mostlyclean) \
26795 || exit 1
26797 @endif zlib
26799 .PHONY: maybe-clean-zlib clean-zlib
26800 maybe-clean-zlib:
26801 @if zlib
26802 maybe-clean-zlib: clean-zlib
26804 clean-zlib:
26805 @[ -f ./zlib/Makefile ] || exit 0; \
26806 r=`${PWD_COMMAND}`; export r; \
26807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26808 $(HOST_EXPORTS) \
26809 for flag in $(EXTRA_HOST_FLAGS) ; do \
26810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26811 done; \
26812 echo "Doing clean in zlib" ; \
26813 (cd $(HOST_SUBDIR)/zlib && \
26814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26816 "RANLIB=$${RANLIB}" \
26817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26818 clean) \
26819 || exit 1
26821 @endif zlib
26823 .PHONY: maybe-distclean-zlib distclean-zlib
26824 maybe-distclean-zlib:
26825 @if zlib
26826 maybe-distclean-zlib: distclean-zlib
26828 distclean-zlib:
26829 @[ -f ./zlib/Makefile ] || exit 0; \
26830 r=`${PWD_COMMAND}`; export r; \
26831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26832 $(HOST_EXPORTS) \
26833 for flag in $(EXTRA_HOST_FLAGS) ; do \
26834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26835 done; \
26836 echo "Doing distclean in zlib" ; \
26837 (cd $(HOST_SUBDIR)/zlib && \
26838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26840 "RANLIB=$${RANLIB}" \
26841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26842 distclean) \
26843 || exit 1
26845 @endif zlib
26847 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26848 maybe-maintainer-clean-zlib:
26849 @if zlib
26850 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26852 maintainer-clean-zlib:
26853 @[ -f ./zlib/Makefile ] || exit 0; \
26854 r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26856 $(HOST_EXPORTS) \
26857 for flag in $(EXTRA_HOST_FLAGS) ; do \
26858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26859 done; \
26860 echo "Doing maintainer-clean in zlib" ; \
26861 (cd $(HOST_SUBDIR)/zlib && \
26862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26864 "RANLIB=$${RANLIB}" \
26865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26866 maintainer-clean) \
26867 || exit 1
26869 @endif zlib
26873 .PHONY: configure-gdb maybe-configure-gdb
26874 maybe-configure-gdb:
26875 @if gcc-bootstrap
26876 configure-gdb: stage_current
26877 @endif gcc-bootstrap
26878 @if gdb
26879 maybe-configure-gdb: configure-gdb
26880 configure-gdb:
26881 @: $(MAKE); $(unstage)
26882 @r=`${PWD_COMMAND}`; export r; \
26883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26884 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26886 $(HOST_EXPORTS) \
26887 echo Configuring in $(HOST_SUBDIR)/gdb; \
26888 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26889 case $(srcdir) in \
26890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26891 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26893 esac; \
26894 srcdiroption="--srcdir=$${topdir}/gdb"; \
26895 libsrcdir="$$s/gdb"; \
26896 $(SHELL) $${libsrcdir}/configure \
26897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26898 --target=${target_alias} $${srcdiroption} \
26899 || exit 1
26900 @endif gdb
26906 .PHONY: all-gdb maybe-all-gdb
26907 maybe-all-gdb:
26908 @if gcc-bootstrap
26909 all-gdb: stage_current
26910 @endif gcc-bootstrap
26911 @if gdb
26912 TARGET-gdb=all
26913 maybe-all-gdb: all-gdb
26914 all-gdb: configure-gdb
26915 @: $(MAKE); $(unstage)
26916 @r=`${PWD_COMMAND}`; export r; \
26917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26918 $(HOST_EXPORTS) \
26919 (cd $(HOST_SUBDIR)/gdb && \
26920 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26921 $(TARGET-gdb))
26922 @endif gdb
26927 .PHONY: check-gdb maybe-check-gdb
26928 maybe-check-gdb:
26929 @if gdb
26930 maybe-check-gdb: check-gdb
26932 check-gdb:
26933 @: $(MAKE); $(unstage)
26934 @r=`${PWD_COMMAND}`; export r; \
26935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26936 $(HOST_EXPORTS) \
26937 (cd $(HOST_SUBDIR)/gdb && \
26938 $(MAKE) $(FLAGS_TO_PASS) check)
26940 @endif gdb
26942 .PHONY: install-gdb maybe-install-gdb
26943 maybe-install-gdb:
26944 @if gdb
26945 maybe-install-gdb: install-gdb
26947 install-gdb: installdirs
26948 @: $(MAKE); $(unstage)
26949 @r=`${PWD_COMMAND}`; export r; \
26950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26951 $(HOST_EXPORTS) \
26952 (cd $(HOST_SUBDIR)/gdb && \
26953 $(MAKE) $(FLAGS_TO_PASS) install)
26955 @endif gdb
26957 .PHONY: install-strip-gdb maybe-install-strip-gdb
26958 maybe-install-strip-gdb:
26959 @if gdb
26960 maybe-install-strip-gdb: install-strip-gdb
26962 install-strip-gdb: installdirs
26963 @: $(MAKE); $(unstage)
26964 @r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(HOST_EXPORTS) \
26967 (cd $(HOST_SUBDIR)/gdb && \
26968 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26970 @endif gdb
26972 # Other targets (info, dvi, pdf, etc.)
26974 .PHONY: maybe-info-gdb info-gdb
26975 maybe-info-gdb:
26976 @if gdb
26977 maybe-info-gdb: info-gdb
26979 info-gdb: \
26980 configure-gdb
26981 @: $(MAKE); $(unstage)
26982 @[ -f ./gdb/Makefile ] || exit 0; \
26983 r=`${PWD_COMMAND}`; export r; \
26984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 $(HOST_EXPORTS) \
26986 for flag in $(EXTRA_HOST_FLAGS) ; do \
26987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26988 done; \
26989 echo "Doing info in gdb" ; \
26990 (cd $(HOST_SUBDIR)/gdb && \
26991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26993 "RANLIB=$${RANLIB}" \
26994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26995 info) \
26996 || exit 1
26998 @endif gdb
27000 .PHONY: maybe-dvi-gdb dvi-gdb
27001 maybe-dvi-gdb:
27002 @if gdb
27003 maybe-dvi-gdb: dvi-gdb
27005 dvi-gdb: \
27006 configure-gdb
27007 @: $(MAKE); $(unstage)
27008 @[ -f ./gdb/Makefile ] || exit 0; \
27009 r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(HOST_EXPORTS) \
27012 for flag in $(EXTRA_HOST_FLAGS) ; do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27014 done; \
27015 echo "Doing dvi in gdb" ; \
27016 (cd $(HOST_SUBDIR)/gdb && \
27017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27019 "RANLIB=$${RANLIB}" \
27020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27021 dvi) \
27022 || exit 1
27024 @endif gdb
27026 .PHONY: maybe-pdf-gdb pdf-gdb
27027 maybe-pdf-gdb:
27028 @if gdb
27029 maybe-pdf-gdb: pdf-gdb
27031 pdf-gdb: \
27032 configure-gdb
27033 @: $(MAKE); $(unstage)
27034 @[ -f ./gdb/Makefile ] || exit 0; \
27035 r=`${PWD_COMMAND}`; export r; \
27036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27037 $(HOST_EXPORTS) \
27038 for flag in $(EXTRA_HOST_FLAGS) ; do \
27039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27040 done; \
27041 echo "Doing pdf in gdb" ; \
27042 (cd $(HOST_SUBDIR)/gdb && \
27043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27045 "RANLIB=$${RANLIB}" \
27046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27047 pdf) \
27048 || exit 1
27050 @endif gdb
27052 .PHONY: maybe-html-gdb html-gdb
27053 maybe-html-gdb:
27054 @if gdb
27055 maybe-html-gdb: html-gdb
27057 html-gdb: \
27058 configure-gdb
27059 @: $(MAKE); $(unstage)
27060 @[ -f ./gdb/Makefile ] || exit 0; \
27061 r=`${PWD_COMMAND}`; export r; \
27062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27063 $(HOST_EXPORTS) \
27064 for flag in $(EXTRA_HOST_FLAGS) ; do \
27065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27066 done; \
27067 echo "Doing html in gdb" ; \
27068 (cd $(HOST_SUBDIR)/gdb && \
27069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27071 "RANLIB=$${RANLIB}" \
27072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27073 html) \
27074 || exit 1
27076 @endif gdb
27078 .PHONY: maybe-TAGS-gdb TAGS-gdb
27079 maybe-TAGS-gdb:
27080 @if gdb
27081 maybe-TAGS-gdb: TAGS-gdb
27083 TAGS-gdb: \
27084 configure-gdb
27085 @: $(MAKE); $(unstage)
27086 @[ -f ./gdb/Makefile ] || exit 0; \
27087 r=`${PWD_COMMAND}`; export r; \
27088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27089 $(HOST_EXPORTS) \
27090 for flag in $(EXTRA_HOST_FLAGS) ; do \
27091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27092 done; \
27093 echo "Doing TAGS in gdb" ; \
27094 (cd $(HOST_SUBDIR)/gdb && \
27095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27097 "RANLIB=$${RANLIB}" \
27098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27099 TAGS) \
27100 || exit 1
27102 @endif gdb
27104 .PHONY: maybe-install-info-gdb install-info-gdb
27105 maybe-install-info-gdb:
27106 @if gdb
27107 maybe-install-info-gdb: install-info-gdb
27109 install-info-gdb: \
27110 configure-gdb \
27111 info-gdb
27112 @: $(MAKE); $(unstage)
27113 @[ -f ./gdb/Makefile ] || exit 0; \
27114 r=`${PWD_COMMAND}`; export r; \
27115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27116 $(HOST_EXPORTS) \
27117 for flag in $(EXTRA_HOST_FLAGS) ; do \
27118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27119 done; \
27120 echo "Doing install-info in gdb" ; \
27121 (cd $(HOST_SUBDIR)/gdb && \
27122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27124 "RANLIB=$${RANLIB}" \
27125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27126 install-info) \
27127 || exit 1
27129 @endif gdb
27131 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27132 maybe-install-pdf-gdb:
27133 @if gdb
27134 maybe-install-pdf-gdb: install-pdf-gdb
27136 install-pdf-gdb: \
27137 configure-gdb \
27138 pdf-gdb
27139 @: $(MAKE); $(unstage)
27140 @[ -f ./gdb/Makefile ] || exit 0; \
27141 r=`${PWD_COMMAND}`; export r; \
27142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(HOST_EXPORTS) \
27144 for flag in $(EXTRA_HOST_FLAGS) ; do \
27145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27146 done; \
27147 echo "Doing install-pdf in gdb" ; \
27148 (cd $(HOST_SUBDIR)/gdb && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27153 install-pdf) \
27154 || exit 1
27156 @endif gdb
27158 .PHONY: maybe-install-html-gdb install-html-gdb
27159 maybe-install-html-gdb:
27160 @if gdb
27161 maybe-install-html-gdb: install-html-gdb
27163 install-html-gdb: \
27164 configure-gdb \
27165 html-gdb
27166 @: $(MAKE); $(unstage)
27167 @[ -f ./gdb/Makefile ] || exit 0; \
27168 r=`${PWD_COMMAND}`; export r; \
27169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27170 $(HOST_EXPORTS) \
27171 for flag in $(EXTRA_HOST_FLAGS) ; do \
27172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27173 done; \
27174 echo "Doing install-html in gdb" ; \
27175 (cd $(HOST_SUBDIR)/gdb && \
27176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27178 "RANLIB=$${RANLIB}" \
27179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27180 install-html) \
27181 || exit 1
27183 @endif gdb
27185 .PHONY: maybe-installcheck-gdb installcheck-gdb
27186 maybe-installcheck-gdb:
27187 @if gdb
27188 maybe-installcheck-gdb: installcheck-gdb
27190 installcheck-gdb: \
27191 configure-gdb
27192 @: $(MAKE); $(unstage)
27193 @[ -f ./gdb/Makefile ] || exit 0; \
27194 r=`${PWD_COMMAND}`; export r; \
27195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 $(HOST_EXPORTS) \
27197 for flag in $(EXTRA_HOST_FLAGS) ; do \
27198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27199 done; \
27200 echo "Doing installcheck in gdb" ; \
27201 (cd $(HOST_SUBDIR)/gdb && \
27202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27204 "RANLIB=$${RANLIB}" \
27205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27206 installcheck) \
27207 || exit 1
27209 @endif gdb
27211 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27212 maybe-mostlyclean-gdb:
27213 @if gdb
27214 maybe-mostlyclean-gdb: mostlyclean-gdb
27216 mostlyclean-gdb:
27217 @: $(MAKE); $(unstage)
27218 @[ -f ./gdb/Makefile ] || exit 0; \
27219 r=`${PWD_COMMAND}`; export r; \
27220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27221 $(HOST_EXPORTS) \
27222 for flag in $(EXTRA_HOST_FLAGS) ; do \
27223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27224 done; \
27225 echo "Doing mostlyclean in gdb" ; \
27226 (cd $(HOST_SUBDIR)/gdb && \
27227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27229 "RANLIB=$${RANLIB}" \
27230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27231 mostlyclean) \
27232 || exit 1
27234 @endif gdb
27236 .PHONY: maybe-clean-gdb clean-gdb
27237 maybe-clean-gdb:
27238 @if gdb
27239 maybe-clean-gdb: clean-gdb
27241 clean-gdb:
27242 @: $(MAKE); $(unstage)
27243 @[ -f ./gdb/Makefile ] || exit 0; \
27244 r=`${PWD_COMMAND}`; export r; \
27245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27246 $(HOST_EXPORTS) \
27247 for flag in $(EXTRA_HOST_FLAGS) ; do \
27248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27249 done; \
27250 echo "Doing clean in gdb" ; \
27251 (cd $(HOST_SUBDIR)/gdb && \
27252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27254 "RANLIB=$${RANLIB}" \
27255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27256 clean) \
27257 || exit 1
27259 @endif gdb
27261 .PHONY: maybe-distclean-gdb distclean-gdb
27262 maybe-distclean-gdb:
27263 @if gdb
27264 maybe-distclean-gdb: distclean-gdb
27266 distclean-gdb:
27267 @: $(MAKE); $(unstage)
27268 @[ -f ./gdb/Makefile ] || exit 0; \
27269 r=`${PWD_COMMAND}`; export r; \
27270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27271 $(HOST_EXPORTS) \
27272 for flag in $(EXTRA_HOST_FLAGS) ; do \
27273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27274 done; \
27275 echo "Doing distclean in gdb" ; \
27276 (cd $(HOST_SUBDIR)/gdb && \
27277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27279 "RANLIB=$${RANLIB}" \
27280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27281 distclean) \
27282 || exit 1
27284 @endif gdb
27286 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27287 maybe-maintainer-clean-gdb:
27288 @if gdb
27289 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27291 maintainer-clean-gdb:
27292 @: $(MAKE); $(unstage)
27293 @[ -f ./gdb/Makefile ] || exit 0; \
27294 r=`${PWD_COMMAND}`; export r; \
27295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27296 $(HOST_EXPORTS) \
27297 for flag in $(EXTRA_HOST_FLAGS) ; do \
27298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27299 done; \
27300 echo "Doing maintainer-clean in gdb" ; \
27301 (cd $(HOST_SUBDIR)/gdb && \
27302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27304 "RANLIB=$${RANLIB}" \
27305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27306 maintainer-clean) \
27307 || exit 1
27309 @endif gdb
27313 .PHONY: configure-expect maybe-configure-expect
27314 maybe-configure-expect:
27315 @if gcc-bootstrap
27316 configure-expect: stage_current
27317 @endif gcc-bootstrap
27318 @if expect
27319 maybe-configure-expect: configure-expect
27320 configure-expect:
27321 @: $(MAKE); $(unstage)
27322 @r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27326 $(HOST_EXPORTS) \
27327 echo Configuring in $(HOST_SUBDIR)/expect; \
27328 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27329 case $(srcdir) in \
27330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27331 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27333 esac; \
27334 srcdiroption="--srcdir=$${topdir}/expect"; \
27335 libsrcdir="$$s/expect"; \
27336 $(SHELL) $${libsrcdir}/configure \
27337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27338 --target=${target_alias} $${srcdiroption} \
27339 || exit 1
27340 @endif expect
27346 .PHONY: all-expect maybe-all-expect
27347 maybe-all-expect:
27348 @if gcc-bootstrap
27349 all-expect: stage_current
27350 @endif gcc-bootstrap
27351 @if expect
27352 TARGET-expect=all
27353 maybe-all-expect: all-expect
27354 all-expect: configure-expect
27355 @: $(MAKE); $(unstage)
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 (cd $(HOST_SUBDIR)/expect && \
27360 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27361 $(TARGET-expect))
27362 @endif expect
27367 .PHONY: check-expect maybe-check-expect
27368 maybe-check-expect:
27369 @if expect
27370 maybe-check-expect: check-expect
27372 check-expect:
27373 @: $(MAKE); $(unstage)
27374 @r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(HOST_EXPORTS) \
27377 (cd $(HOST_SUBDIR)/expect && \
27378 $(MAKE) $(FLAGS_TO_PASS) check)
27380 @endif expect
27382 .PHONY: install-expect maybe-install-expect
27383 maybe-install-expect:
27384 @if expect
27385 maybe-install-expect: install-expect
27387 install-expect: installdirs
27388 @: $(MAKE); $(unstage)
27389 @r=`${PWD_COMMAND}`; export r; \
27390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 $(HOST_EXPORTS) \
27392 (cd $(HOST_SUBDIR)/expect && \
27393 $(MAKE) $(FLAGS_TO_PASS) install)
27395 @endif expect
27397 .PHONY: install-strip-expect maybe-install-strip-expect
27398 maybe-install-strip-expect:
27399 @if expect
27400 maybe-install-strip-expect: install-strip-expect
27402 install-strip-expect: installdirs
27403 @: $(MAKE); $(unstage)
27404 @r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(HOST_EXPORTS) \
27407 (cd $(HOST_SUBDIR)/expect && \
27408 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27410 @endif expect
27412 # Other targets (info, dvi, pdf, etc.)
27414 .PHONY: maybe-info-expect info-expect
27415 maybe-info-expect:
27416 @if expect
27417 maybe-info-expect: info-expect
27419 info-expect: \
27420 configure-expect
27421 @: $(MAKE); $(unstage)
27422 @[ -f ./expect/Makefile ] || exit 0; \
27423 r=`${PWD_COMMAND}`; export r; \
27424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27425 $(HOST_EXPORTS) \
27426 for flag in $(EXTRA_HOST_FLAGS) ; do \
27427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27428 done; \
27429 echo "Doing info in expect" ; \
27430 (cd $(HOST_SUBDIR)/expect && \
27431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27433 "RANLIB=$${RANLIB}" \
27434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27435 info) \
27436 || exit 1
27438 @endif expect
27440 .PHONY: maybe-dvi-expect dvi-expect
27441 maybe-dvi-expect:
27442 @if expect
27443 maybe-dvi-expect: dvi-expect
27445 dvi-expect: \
27446 configure-expect
27447 @: $(MAKE); $(unstage)
27448 @[ -f ./expect/Makefile ] || exit 0; \
27449 r=`${PWD_COMMAND}`; export r; \
27450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27451 $(HOST_EXPORTS) \
27452 for flag in $(EXTRA_HOST_FLAGS) ; do \
27453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27454 done; \
27455 echo "Doing dvi in expect" ; \
27456 (cd $(HOST_SUBDIR)/expect && \
27457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27459 "RANLIB=$${RANLIB}" \
27460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27461 dvi) \
27462 || exit 1
27464 @endif expect
27466 .PHONY: maybe-pdf-expect pdf-expect
27467 maybe-pdf-expect:
27468 @if expect
27469 maybe-pdf-expect: pdf-expect
27471 pdf-expect: \
27472 configure-expect
27473 @: $(MAKE); $(unstage)
27474 @[ -f ./expect/Makefile ] || exit 0; \
27475 r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 $(HOST_EXPORTS) \
27478 for flag in $(EXTRA_HOST_FLAGS) ; do \
27479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27480 done; \
27481 echo "Doing pdf in expect" ; \
27482 (cd $(HOST_SUBDIR)/expect && \
27483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27485 "RANLIB=$${RANLIB}" \
27486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27487 pdf) \
27488 || exit 1
27490 @endif expect
27492 .PHONY: maybe-html-expect html-expect
27493 maybe-html-expect:
27494 @if expect
27495 maybe-html-expect: html-expect
27497 html-expect: \
27498 configure-expect
27499 @: $(MAKE); $(unstage)
27500 @[ -f ./expect/Makefile ] || exit 0; \
27501 r=`${PWD_COMMAND}`; export r; \
27502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27503 $(HOST_EXPORTS) \
27504 for flag in $(EXTRA_HOST_FLAGS) ; do \
27505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27506 done; \
27507 echo "Doing html in expect" ; \
27508 (cd $(HOST_SUBDIR)/expect && \
27509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27511 "RANLIB=$${RANLIB}" \
27512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27513 html) \
27514 || exit 1
27516 @endif expect
27518 .PHONY: maybe-TAGS-expect TAGS-expect
27519 maybe-TAGS-expect:
27520 @if expect
27521 maybe-TAGS-expect: TAGS-expect
27523 TAGS-expect: \
27524 configure-expect
27525 @: $(MAKE); $(unstage)
27526 @[ -f ./expect/Makefile ] || exit 0; \
27527 r=`${PWD_COMMAND}`; export r; \
27528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27529 $(HOST_EXPORTS) \
27530 for flag in $(EXTRA_HOST_FLAGS) ; do \
27531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27532 done; \
27533 echo "Doing TAGS in expect" ; \
27534 (cd $(HOST_SUBDIR)/expect && \
27535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27537 "RANLIB=$${RANLIB}" \
27538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27539 TAGS) \
27540 || exit 1
27542 @endif expect
27544 .PHONY: maybe-install-info-expect install-info-expect
27545 maybe-install-info-expect:
27546 @if expect
27547 maybe-install-info-expect: install-info-expect
27549 install-info-expect: \
27550 configure-expect \
27551 info-expect
27552 @: $(MAKE); $(unstage)
27553 @[ -f ./expect/Makefile ] || exit 0; \
27554 r=`${PWD_COMMAND}`; export r; \
27555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27556 $(HOST_EXPORTS) \
27557 for flag in $(EXTRA_HOST_FLAGS) ; do \
27558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27559 done; \
27560 echo "Doing install-info in expect" ; \
27561 (cd $(HOST_SUBDIR)/expect && \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27564 "RANLIB=$${RANLIB}" \
27565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27566 install-info) \
27567 || exit 1
27569 @endif expect
27571 .PHONY: maybe-install-pdf-expect install-pdf-expect
27572 maybe-install-pdf-expect:
27573 @if expect
27574 maybe-install-pdf-expect: install-pdf-expect
27576 install-pdf-expect: \
27577 configure-expect \
27578 pdf-expect
27579 @: $(MAKE); $(unstage)
27580 @[ -f ./expect/Makefile ] || exit 0; \
27581 r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27583 $(HOST_EXPORTS) \
27584 for flag in $(EXTRA_HOST_FLAGS) ; do \
27585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27586 done; \
27587 echo "Doing install-pdf in expect" ; \
27588 (cd $(HOST_SUBDIR)/expect && \
27589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27591 "RANLIB=$${RANLIB}" \
27592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27593 install-pdf) \
27594 || exit 1
27596 @endif expect
27598 .PHONY: maybe-install-html-expect install-html-expect
27599 maybe-install-html-expect:
27600 @if expect
27601 maybe-install-html-expect: install-html-expect
27603 install-html-expect: \
27604 configure-expect \
27605 html-expect
27606 @: $(MAKE); $(unstage)
27607 @[ -f ./expect/Makefile ] || exit 0; \
27608 r=`${PWD_COMMAND}`; export r; \
27609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27610 $(HOST_EXPORTS) \
27611 for flag in $(EXTRA_HOST_FLAGS) ; do \
27612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27613 done; \
27614 echo "Doing install-html in expect" ; \
27615 (cd $(HOST_SUBDIR)/expect && \
27616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27618 "RANLIB=$${RANLIB}" \
27619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27620 install-html) \
27621 || exit 1
27623 @endif expect
27625 .PHONY: maybe-installcheck-expect installcheck-expect
27626 maybe-installcheck-expect:
27627 @if expect
27628 maybe-installcheck-expect: installcheck-expect
27630 installcheck-expect: \
27631 configure-expect
27632 @: $(MAKE); $(unstage)
27633 @[ -f ./expect/Makefile ] || exit 0; \
27634 r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27636 $(HOST_EXPORTS) \
27637 for flag in $(EXTRA_HOST_FLAGS) ; do \
27638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27639 done; \
27640 echo "Doing installcheck in expect" ; \
27641 (cd $(HOST_SUBDIR)/expect && \
27642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27644 "RANLIB=$${RANLIB}" \
27645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27646 installcheck) \
27647 || exit 1
27649 @endif expect
27651 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27652 maybe-mostlyclean-expect:
27653 @if expect
27654 maybe-mostlyclean-expect: mostlyclean-expect
27656 mostlyclean-expect:
27657 @: $(MAKE); $(unstage)
27658 @[ -f ./expect/Makefile ] || exit 0; \
27659 r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 $(HOST_EXPORTS) \
27662 for flag in $(EXTRA_HOST_FLAGS) ; do \
27663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27664 done; \
27665 echo "Doing mostlyclean in expect" ; \
27666 (cd $(HOST_SUBDIR)/expect && \
27667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27669 "RANLIB=$${RANLIB}" \
27670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27671 mostlyclean) \
27672 || exit 1
27674 @endif expect
27676 .PHONY: maybe-clean-expect clean-expect
27677 maybe-clean-expect:
27678 @if expect
27679 maybe-clean-expect: clean-expect
27681 clean-expect:
27682 @: $(MAKE); $(unstage)
27683 @[ -f ./expect/Makefile ] || exit 0; \
27684 r=`${PWD_COMMAND}`; export r; \
27685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27686 $(HOST_EXPORTS) \
27687 for flag in $(EXTRA_HOST_FLAGS) ; do \
27688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27689 done; \
27690 echo "Doing clean in expect" ; \
27691 (cd $(HOST_SUBDIR)/expect && \
27692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27694 "RANLIB=$${RANLIB}" \
27695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27696 clean) \
27697 || exit 1
27699 @endif expect
27701 .PHONY: maybe-distclean-expect distclean-expect
27702 maybe-distclean-expect:
27703 @if expect
27704 maybe-distclean-expect: distclean-expect
27706 distclean-expect:
27707 @: $(MAKE); $(unstage)
27708 @[ -f ./expect/Makefile ] || exit 0; \
27709 r=`${PWD_COMMAND}`; export r; \
27710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27711 $(HOST_EXPORTS) \
27712 for flag in $(EXTRA_HOST_FLAGS) ; do \
27713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27714 done; \
27715 echo "Doing distclean in expect" ; \
27716 (cd $(HOST_SUBDIR)/expect && \
27717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27719 "RANLIB=$${RANLIB}" \
27720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27721 distclean) \
27722 || exit 1
27724 @endif expect
27726 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27727 maybe-maintainer-clean-expect:
27728 @if expect
27729 maybe-maintainer-clean-expect: maintainer-clean-expect
27731 maintainer-clean-expect:
27732 @: $(MAKE); $(unstage)
27733 @[ -f ./expect/Makefile ] || exit 0; \
27734 r=`${PWD_COMMAND}`; export r; \
27735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27736 $(HOST_EXPORTS) \
27737 for flag in $(EXTRA_HOST_FLAGS) ; do \
27738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27739 done; \
27740 echo "Doing maintainer-clean in expect" ; \
27741 (cd $(HOST_SUBDIR)/expect && \
27742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27744 "RANLIB=$${RANLIB}" \
27745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27746 maintainer-clean) \
27747 || exit 1
27749 @endif expect
27753 .PHONY: configure-guile maybe-configure-guile
27754 maybe-configure-guile:
27755 @if gcc-bootstrap
27756 configure-guile: stage_current
27757 @endif gcc-bootstrap
27758 @if guile
27759 maybe-configure-guile: configure-guile
27760 configure-guile:
27761 @: $(MAKE); $(unstage)
27762 @r=`${PWD_COMMAND}`; export r; \
27763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27764 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27766 $(HOST_EXPORTS) \
27767 echo Configuring in $(HOST_SUBDIR)/guile; \
27768 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27769 case $(srcdir) in \
27770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27771 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27773 esac; \
27774 srcdiroption="--srcdir=$${topdir}/guile"; \
27775 libsrcdir="$$s/guile"; \
27776 $(SHELL) $${libsrcdir}/configure \
27777 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27778 --target=${target_alias} $${srcdiroption} \
27779 || exit 1
27780 @endif guile
27786 .PHONY: all-guile maybe-all-guile
27787 maybe-all-guile:
27788 @if gcc-bootstrap
27789 all-guile: stage_current
27790 @endif gcc-bootstrap
27791 @if guile
27792 TARGET-guile=all
27793 maybe-all-guile: all-guile
27794 all-guile: configure-guile
27795 @: $(MAKE); $(unstage)
27796 @r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798 $(HOST_EXPORTS) \
27799 (cd $(HOST_SUBDIR)/guile && \
27800 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27801 $(TARGET-guile))
27802 @endif guile
27807 .PHONY: check-guile maybe-check-guile
27808 maybe-check-guile:
27809 @if guile
27810 maybe-check-guile: check-guile
27812 check-guile:
27813 @: $(MAKE); $(unstage)
27814 @r=`${PWD_COMMAND}`; export r; \
27815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27816 $(HOST_EXPORTS) \
27817 (cd $(HOST_SUBDIR)/guile && \
27818 $(MAKE) $(FLAGS_TO_PASS) check)
27820 @endif guile
27822 .PHONY: install-guile maybe-install-guile
27823 maybe-install-guile:
27824 @if guile
27825 maybe-install-guile: install-guile
27827 install-guile: installdirs
27828 @: $(MAKE); $(unstage)
27829 @r=`${PWD_COMMAND}`; export r; \
27830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 $(HOST_EXPORTS) \
27832 (cd $(HOST_SUBDIR)/guile && \
27833 $(MAKE) $(FLAGS_TO_PASS) install)
27835 @endif guile
27837 .PHONY: install-strip-guile maybe-install-strip-guile
27838 maybe-install-strip-guile:
27839 @if guile
27840 maybe-install-strip-guile: install-strip-guile
27842 install-strip-guile: installdirs
27843 @: $(MAKE); $(unstage)
27844 @r=`${PWD_COMMAND}`; export r; \
27845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27846 $(HOST_EXPORTS) \
27847 (cd $(HOST_SUBDIR)/guile && \
27848 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27850 @endif guile
27852 # Other targets (info, dvi, pdf, etc.)
27854 .PHONY: maybe-info-guile info-guile
27855 maybe-info-guile:
27856 @if guile
27857 maybe-info-guile: info-guile
27859 info-guile: \
27860 configure-guile
27861 @: $(MAKE); $(unstage)
27862 @[ -f ./guile/Makefile ] || exit 0; \
27863 r=`${PWD_COMMAND}`; export r; \
27864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27865 $(HOST_EXPORTS) \
27866 for flag in $(EXTRA_HOST_FLAGS) ; do \
27867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27868 done; \
27869 echo "Doing info in guile" ; \
27870 (cd $(HOST_SUBDIR)/guile && \
27871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27873 "RANLIB=$${RANLIB}" \
27874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27875 info) \
27876 || exit 1
27878 @endif guile
27880 .PHONY: maybe-dvi-guile dvi-guile
27881 maybe-dvi-guile:
27882 @if guile
27883 maybe-dvi-guile: dvi-guile
27885 dvi-guile: \
27886 configure-guile
27887 @: $(MAKE); $(unstage)
27888 @[ -f ./guile/Makefile ] || exit 0; \
27889 r=`${PWD_COMMAND}`; export r; \
27890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27891 $(HOST_EXPORTS) \
27892 for flag in $(EXTRA_HOST_FLAGS) ; do \
27893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27894 done; \
27895 echo "Doing dvi in guile" ; \
27896 (cd $(HOST_SUBDIR)/guile && \
27897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27899 "RANLIB=$${RANLIB}" \
27900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27901 dvi) \
27902 || exit 1
27904 @endif guile
27906 .PHONY: maybe-pdf-guile pdf-guile
27907 maybe-pdf-guile:
27908 @if guile
27909 maybe-pdf-guile: pdf-guile
27911 pdf-guile: \
27912 configure-guile
27913 @: $(MAKE); $(unstage)
27914 @[ -f ./guile/Makefile ] || exit 0; \
27915 r=`${PWD_COMMAND}`; export r; \
27916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 $(HOST_EXPORTS) \
27918 for flag in $(EXTRA_HOST_FLAGS) ; do \
27919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27920 done; \
27921 echo "Doing pdf in guile" ; \
27922 (cd $(HOST_SUBDIR)/guile && \
27923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27925 "RANLIB=$${RANLIB}" \
27926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27927 pdf) \
27928 || exit 1
27930 @endif guile
27932 .PHONY: maybe-html-guile html-guile
27933 maybe-html-guile:
27934 @if guile
27935 maybe-html-guile: html-guile
27937 html-guile: \
27938 configure-guile
27939 @: $(MAKE); $(unstage)
27940 @[ -f ./guile/Makefile ] || exit 0; \
27941 r=`${PWD_COMMAND}`; export r; \
27942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27943 $(HOST_EXPORTS) \
27944 for flag in $(EXTRA_HOST_FLAGS) ; do \
27945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27946 done; \
27947 echo "Doing html in guile" ; \
27948 (cd $(HOST_SUBDIR)/guile && \
27949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27951 "RANLIB=$${RANLIB}" \
27952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27953 html) \
27954 || exit 1
27956 @endif guile
27958 .PHONY: maybe-TAGS-guile TAGS-guile
27959 maybe-TAGS-guile:
27960 @if guile
27961 maybe-TAGS-guile: TAGS-guile
27963 TAGS-guile: \
27964 configure-guile
27965 @: $(MAKE); $(unstage)
27966 @[ -f ./guile/Makefile ] || exit 0; \
27967 r=`${PWD_COMMAND}`; export r; \
27968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27969 $(HOST_EXPORTS) \
27970 for flag in $(EXTRA_HOST_FLAGS) ; do \
27971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27972 done; \
27973 echo "Doing TAGS in guile" ; \
27974 (cd $(HOST_SUBDIR)/guile && \
27975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27977 "RANLIB=$${RANLIB}" \
27978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27979 TAGS) \
27980 || exit 1
27982 @endif guile
27984 .PHONY: maybe-install-info-guile install-info-guile
27985 maybe-install-info-guile:
27986 @if guile
27987 maybe-install-info-guile: install-info-guile
27989 install-info-guile: \
27990 configure-guile \
27991 info-guile
27992 @: $(MAKE); $(unstage)
27993 @[ -f ./guile/Makefile ] || exit 0; \
27994 r=`${PWD_COMMAND}`; export r; \
27995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(HOST_EXPORTS) \
27997 for flag in $(EXTRA_HOST_FLAGS) ; do \
27998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27999 done; \
28000 echo "Doing install-info in guile" ; \
28001 (cd $(HOST_SUBDIR)/guile && \
28002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28004 "RANLIB=$${RANLIB}" \
28005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28006 install-info) \
28007 || exit 1
28009 @endif guile
28011 .PHONY: maybe-install-pdf-guile install-pdf-guile
28012 maybe-install-pdf-guile:
28013 @if guile
28014 maybe-install-pdf-guile: install-pdf-guile
28016 install-pdf-guile: \
28017 configure-guile \
28018 pdf-guile
28019 @: $(MAKE); $(unstage)
28020 @[ -f ./guile/Makefile ] || exit 0; \
28021 r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(HOST_EXPORTS) \
28024 for flag in $(EXTRA_HOST_FLAGS) ; do \
28025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28026 done; \
28027 echo "Doing install-pdf in guile" ; \
28028 (cd $(HOST_SUBDIR)/guile && \
28029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28031 "RANLIB=$${RANLIB}" \
28032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28033 install-pdf) \
28034 || exit 1
28036 @endif guile
28038 .PHONY: maybe-install-html-guile install-html-guile
28039 maybe-install-html-guile:
28040 @if guile
28041 maybe-install-html-guile: install-html-guile
28043 install-html-guile: \
28044 configure-guile \
28045 html-guile
28046 @: $(MAKE); $(unstage)
28047 @[ -f ./guile/Makefile ] || exit 0; \
28048 r=`${PWD_COMMAND}`; export r; \
28049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28050 $(HOST_EXPORTS) \
28051 for flag in $(EXTRA_HOST_FLAGS) ; do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28053 done; \
28054 echo "Doing install-html in guile" ; \
28055 (cd $(HOST_SUBDIR)/guile && \
28056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28058 "RANLIB=$${RANLIB}" \
28059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28060 install-html) \
28061 || exit 1
28063 @endif guile
28065 .PHONY: maybe-installcheck-guile installcheck-guile
28066 maybe-installcheck-guile:
28067 @if guile
28068 maybe-installcheck-guile: installcheck-guile
28070 installcheck-guile: \
28071 configure-guile
28072 @: $(MAKE); $(unstage)
28073 @[ -f ./guile/Makefile ] || exit 0; \
28074 r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 $(HOST_EXPORTS) \
28077 for flag in $(EXTRA_HOST_FLAGS) ; do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 done; \
28080 echo "Doing installcheck in guile" ; \
28081 (cd $(HOST_SUBDIR)/guile && \
28082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28084 "RANLIB=$${RANLIB}" \
28085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28086 installcheck) \
28087 || exit 1
28089 @endif guile
28091 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28092 maybe-mostlyclean-guile:
28093 @if guile
28094 maybe-mostlyclean-guile: mostlyclean-guile
28096 mostlyclean-guile:
28097 @: $(MAKE); $(unstage)
28098 @[ -f ./guile/Makefile ] || exit 0; \
28099 r=`${PWD_COMMAND}`; export r; \
28100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28101 $(HOST_EXPORTS) \
28102 for flag in $(EXTRA_HOST_FLAGS) ; do \
28103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28104 done; \
28105 echo "Doing mostlyclean in guile" ; \
28106 (cd $(HOST_SUBDIR)/guile && \
28107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28109 "RANLIB=$${RANLIB}" \
28110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28111 mostlyclean) \
28112 || exit 1
28114 @endif guile
28116 .PHONY: maybe-clean-guile clean-guile
28117 maybe-clean-guile:
28118 @if guile
28119 maybe-clean-guile: clean-guile
28121 clean-guile:
28122 @: $(MAKE); $(unstage)
28123 @[ -f ./guile/Makefile ] || exit 0; \
28124 r=`${PWD_COMMAND}`; export r; \
28125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28126 $(HOST_EXPORTS) \
28127 for flag in $(EXTRA_HOST_FLAGS) ; do \
28128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28129 done; \
28130 echo "Doing clean in guile" ; \
28131 (cd $(HOST_SUBDIR)/guile && \
28132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28134 "RANLIB=$${RANLIB}" \
28135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28136 clean) \
28137 || exit 1
28139 @endif guile
28141 .PHONY: maybe-distclean-guile distclean-guile
28142 maybe-distclean-guile:
28143 @if guile
28144 maybe-distclean-guile: distclean-guile
28146 distclean-guile:
28147 @: $(MAKE); $(unstage)
28148 @[ -f ./guile/Makefile ] || exit 0; \
28149 r=`${PWD_COMMAND}`; export r; \
28150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28151 $(HOST_EXPORTS) \
28152 for flag in $(EXTRA_HOST_FLAGS) ; do \
28153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28154 done; \
28155 echo "Doing distclean in guile" ; \
28156 (cd $(HOST_SUBDIR)/guile && \
28157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28159 "RANLIB=$${RANLIB}" \
28160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28161 distclean) \
28162 || exit 1
28164 @endif guile
28166 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28167 maybe-maintainer-clean-guile:
28168 @if guile
28169 maybe-maintainer-clean-guile: maintainer-clean-guile
28171 maintainer-clean-guile:
28172 @: $(MAKE); $(unstage)
28173 @[ -f ./guile/Makefile ] || exit 0; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(HOST_EXPORTS) \
28177 for flag in $(EXTRA_HOST_FLAGS) ; do \
28178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28179 done; \
28180 echo "Doing maintainer-clean in guile" ; \
28181 (cd $(HOST_SUBDIR)/guile && \
28182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28184 "RANLIB=$${RANLIB}" \
28185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28186 maintainer-clean) \
28187 || exit 1
28189 @endif guile
28193 .PHONY: configure-tk maybe-configure-tk
28194 maybe-configure-tk:
28195 @if gcc-bootstrap
28196 configure-tk: stage_current
28197 @endif gcc-bootstrap
28198 @if tk
28199 maybe-configure-tk: configure-tk
28200 configure-tk:
28201 @: $(MAKE); $(unstage)
28202 @r=`${PWD_COMMAND}`; export r; \
28203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28204 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28206 $(HOST_EXPORTS) \
28207 echo Configuring in $(HOST_SUBDIR)/tk; \
28208 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28209 case $(srcdir) in \
28210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28211 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28213 esac; \
28214 srcdiroption="--srcdir=$${topdir}/tk"; \
28215 libsrcdir="$$s/tk"; \
28216 $(SHELL) $${libsrcdir}/configure \
28217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28218 --target=${target_alias} $${srcdiroption} \
28219 || exit 1
28220 @endif tk
28226 .PHONY: all-tk maybe-all-tk
28227 maybe-all-tk:
28228 @if gcc-bootstrap
28229 all-tk: stage_current
28230 @endif gcc-bootstrap
28231 @if tk
28232 TARGET-tk=all
28233 maybe-all-tk: all-tk
28234 all-tk: configure-tk
28235 @: $(MAKE); $(unstage)
28236 @r=`${PWD_COMMAND}`; export r; \
28237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28238 $(HOST_EXPORTS) \
28239 (cd $(HOST_SUBDIR)/tk && \
28240 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28241 $(TARGET-tk))
28242 @endif tk
28247 .PHONY: check-tk maybe-check-tk
28248 maybe-check-tk:
28249 @if tk
28250 maybe-check-tk: check-tk
28252 check-tk:
28253 @: $(MAKE); $(unstage)
28254 @r=`${PWD_COMMAND}`; export r; \
28255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28256 $(HOST_EXPORTS) \
28257 (cd $(HOST_SUBDIR)/tk && \
28258 $(MAKE) $(FLAGS_TO_PASS) check)
28260 @endif tk
28262 .PHONY: install-tk maybe-install-tk
28263 maybe-install-tk:
28264 @if tk
28265 maybe-install-tk: install-tk
28267 install-tk: installdirs
28268 @: $(MAKE); $(unstage)
28269 @r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 $(HOST_EXPORTS) \
28272 (cd $(HOST_SUBDIR)/tk && \
28273 $(MAKE) $(FLAGS_TO_PASS) install)
28275 @endif tk
28277 .PHONY: install-strip-tk maybe-install-strip-tk
28278 maybe-install-strip-tk:
28279 @if tk
28280 maybe-install-strip-tk: install-strip-tk
28282 install-strip-tk: installdirs
28283 @: $(MAKE); $(unstage)
28284 @r=`${PWD_COMMAND}`; export r; \
28285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28286 $(HOST_EXPORTS) \
28287 (cd $(HOST_SUBDIR)/tk && \
28288 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28290 @endif tk
28292 # Other targets (info, dvi, pdf, etc.)
28294 .PHONY: maybe-info-tk info-tk
28295 maybe-info-tk:
28296 @if tk
28297 maybe-info-tk: info-tk
28299 info-tk: \
28300 configure-tk
28301 @: $(MAKE); $(unstage)
28302 @[ -f ./tk/Makefile ] || exit 0; \
28303 r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28305 $(HOST_EXPORTS) \
28306 for flag in $(EXTRA_HOST_FLAGS) ; do \
28307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28308 done; \
28309 echo "Doing info in tk" ; \
28310 (cd $(HOST_SUBDIR)/tk && \
28311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28313 "RANLIB=$${RANLIB}" \
28314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28315 info) \
28316 || exit 1
28318 @endif tk
28320 .PHONY: maybe-dvi-tk dvi-tk
28321 maybe-dvi-tk:
28322 @if tk
28323 maybe-dvi-tk: dvi-tk
28325 dvi-tk: \
28326 configure-tk
28327 @: $(MAKE); $(unstage)
28328 @[ -f ./tk/Makefile ] || exit 0; \
28329 r=`${PWD_COMMAND}`; export r; \
28330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28331 $(HOST_EXPORTS) \
28332 for flag in $(EXTRA_HOST_FLAGS) ; do \
28333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28334 done; \
28335 echo "Doing dvi in tk" ; \
28336 (cd $(HOST_SUBDIR)/tk && \
28337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28339 "RANLIB=$${RANLIB}" \
28340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28341 dvi) \
28342 || exit 1
28344 @endif tk
28346 .PHONY: maybe-pdf-tk pdf-tk
28347 maybe-pdf-tk:
28348 @if tk
28349 maybe-pdf-tk: pdf-tk
28351 pdf-tk: \
28352 configure-tk
28353 @: $(MAKE); $(unstage)
28354 @[ -f ./tk/Makefile ] || exit 0; \
28355 r=`${PWD_COMMAND}`; export r; \
28356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28357 $(HOST_EXPORTS) \
28358 for flag in $(EXTRA_HOST_FLAGS) ; do \
28359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28360 done; \
28361 echo "Doing pdf in tk" ; \
28362 (cd $(HOST_SUBDIR)/tk && \
28363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28365 "RANLIB=$${RANLIB}" \
28366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28367 pdf) \
28368 || exit 1
28370 @endif tk
28372 .PHONY: maybe-html-tk html-tk
28373 maybe-html-tk:
28374 @if tk
28375 maybe-html-tk: html-tk
28377 html-tk: \
28378 configure-tk
28379 @: $(MAKE); $(unstage)
28380 @[ -f ./tk/Makefile ] || exit 0; \
28381 r=`${PWD_COMMAND}`; export r; \
28382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28383 $(HOST_EXPORTS) \
28384 for flag in $(EXTRA_HOST_FLAGS) ; do \
28385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28386 done; \
28387 echo "Doing html in tk" ; \
28388 (cd $(HOST_SUBDIR)/tk && \
28389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28391 "RANLIB=$${RANLIB}" \
28392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28393 html) \
28394 || exit 1
28396 @endif tk
28398 .PHONY: maybe-TAGS-tk TAGS-tk
28399 maybe-TAGS-tk:
28400 @if tk
28401 maybe-TAGS-tk: TAGS-tk
28403 TAGS-tk: \
28404 configure-tk
28405 @: $(MAKE); $(unstage)
28406 @[ -f ./tk/Makefile ] || exit 0; \
28407 r=`${PWD_COMMAND}`; export r; \
28408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28409 $(HOST_EXPORTS) \
28410 for flag in $(EXTRA_HOST_FLAGS) ; do \
28411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28412 done; \
28413 echo "Doing TAGS in tk" ; \
28414 (cd $(HOST_SUBDIR)/tk && \
28415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28417 "RANLIB=$${RANLIB}" \
28418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28419 TAGS) \
28420 || exit 1
28422 @endif tk
28424 .PHONY: maybe-install-info-tk install-info-tk
28425 maybe-install-info-tk:
28426 @if tk
28427 maybe-install-info-tk: install-info-tk
28429 install-info-tk: \
28430 configure-tk \
28431 info-tk
28432 @: $(MAKE); $(unstage)
28433 @[ -f ./tk/Makefile ] || exit 0; \
28434 r=`${PWD_COMMAND}`; export r; \
28435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28436 $(HOST_EXPORTS) \
28437 for flag in $(EXTRA_HOST_FLAGS) ; do \
28438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28439 done; \
28440 echo "Doing install-info in tk" ; \
28441 (cd $(HOST_SUBDIR)/tk && \
28442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28444 "RANLIB=$${RANLIB}" \
28445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28446 install-info) \
28447 || exit 1
28449 @endif tk
28451 .PHONY: maybe-install-pdf-tk install-pdf-tk
28452 maybe-install-pdf-tk:
28453 @if tk
28454 maybe-install-pdf-tk: install-pdf-tk
28456 install-pdf-tk: \
28457 configure-tk \
28458 pdf-tk
28459 @: $(MAKE); $(unstage)
28460 @[ -f ./tk/Makefile ] || exit 0; \
28461 r=`${PWD_COMMAND}`; export r; \
28462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28463 $(HOST_EXPORTS) \
28464 for flag in $(EXTRA_HOST_FLAGS) ; do \
28465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28466 done; \
28467 echo "Doing install-pdf in tk" ; \
28468 (cd $(HOST_SUBDIR)/tk && \
28469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28471 "RANLIB=$${RANLIB}" \
28472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28473 install-pdf) \
28474 || exit 1
28476 @endif tk
28478 .PHONY: maybe-install-html-tk install-html-tk
28479 maybe-install-html-tk:
28480 @if tk
28481 maybe-install-html-tk: install-html-tk
28483 install-html-tk: \
28484 configure-tk \
28485 html-tk
28486 @: $(MAKE); $(unstage)
28487 @[ -f ./tk/Makefile ] || exit 0; \
28488 r=`${PWD_COMMAND}`; export r; \
28489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28490 $(HOST_EXPORTS) \
28491 for flag in $(EXTRA_HOST_FLAGS) ; do \
28492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28493 done; \
28494 echo "Doing install-html in tk" ; \
28495 (cd $(HOST_SUBDIR)/tk && \
28496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28498 "RANLIB=$${RANLIB}" \
28499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28500 install-html) \
28501 || exit 1
28503 @endif tk
28505 .PHONY: maybe-installcheck-tk installcheck-tk
28506 maybe-installcheck-tk:
28507 @if tk
28508 maybe-installcheck-tk: installcheck-tk
28510 installcheck-tk: \
28511 configure-tk
28512 @: $(MAKE); $(unstage)
28513 @[ -f ./tk/Makefile ] || exit 0; \
28514 r=`${PWD_COMMAND}`; export r; \
28515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28516 $(HOST_EXPORTS) \
28517 for flag in $(EXTRA_HOST_FLAGS) ; do \
28518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28519 done; \
28520 echo "Doing installcheck in tk" ; \
28521 (cd $(HOST_SUBDIR)/tk && \
28522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28524 "RANLIB=$${RANLIB}" \
28525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28526 installcheck) \
28527 || exit 1
28529 @endif tk
28531 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28532 maybe-mostlyclean-tk:
28533 @if tk
28534 maybe-mostlyclean-tk: mostlyclean-tk
28536 mostlyclean-tk:
28537 @: $(MAKE); $(unstage)
28538 @[ -f ./tk/Makefile ] || exit 0; \
28539 r=`${PWD_COMMAND}`; export r; \
28540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(HOST_EXPORTS) \
28542 for flag in $(EXTRA_HOST_FLAGS) ; do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 echo "Doing mostlyclean in tk" ; \
28546 (cd $(HOST_SUBDIR)/tk && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28551 mostlyclean) \
28552 || exit 1
28554 @endif tk
28556 .PHONY: maybe-clean-tk clean-tk
28557 maybe-clean-tk:
28558 @if tk
28559 maybe-clean-tk: clean-tk
28561 clean-tk:
28562 @: $(MAKE); $(unstage)
28563 @[ -f ./tk/Makefile ] || exit 0; \
28564 r=`${PWD_COMMAND}`; export r; \
28565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28566 $(HOST_EXPORTS) \
28567 for flag in $(EXTRA_HOST_FLAGS) ; do \
28568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28569 done; \
28570 echo "Doing clean in tk" ; \
28571 (cd $(HOST_SUBDIR)/tk && \
28572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28574 "RANLIB=$${RANLIB}" \
28575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28576 clean) \
28577 || exit 1
28579 @endif tk
28581 .PHONY: maybe-distclean-tk distclean-tk
28582 maybe-distclean-tk:
28583 @if tk
28584 maybe-distclean-tk: distclean-tk
28586 distclean-tk:
28587 @: $(MAKE); $(unstage)
28588 @[ -f ./tk/Makefile ] || exit 0; \
28589 r=`${PWD_COMMAND}`; export r; \
28590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28591 $(HOST_EXPORTS) \
28592 for flag in $(EXTRA_HOST_FLAGS) ; do \
28593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28594 done; \
28595 echo "Doing distclean in tk" ; \
28596 (cd $(HOST_SUBDIR)/tk && \
28597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28599 "RANLIB=$${RANLIB}" \
28600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28601 distclean) \
28602 || exit 1
28604 @endif tk
28606 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28607 maybe-maintainer-clean-tk:
28608 @if tk
28609 maybe-maintainer-clean-tk: maintainer-clean-tk
28611 maintainer-clean-tk:
28612 @: $(MAKE); $(unstage)
28613 @[ -f ./tk/Makefile ] || exit 0; \
28614 r=`${PWD_COMMAND}`; export r; \
28615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28616 $(HOST_EXPORTS) \
28617 for flag in $(EXTRA_HOST_FLAGS) ; do \
28618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28619 done; \
28620 echo "Doing maintainer-clean in tk" ; \
28621 (cd $(HOST_SUBDIR)/tk && \
28622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28624 "RANLIB=$${RANLIB}" \
28625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28626 maintainer-clean) \
28627 || exit 1
28629 @endif tk
28633 .PHONY: configure-libtermcap maybe-configure-libtermcap
28634 maybe-configure-libtermcap:
28635 @if gcc-bootstrap
28636 configure-libtermcap: stage_current
28637 @endif gcc-bootstrap
28638 @if libtermcap
28639 maybe-configure-libtermcap: configure-libtermcap
28640 configure-libtermcap:
28641 @: $(MAKE); $(unstage)
28642 @r=`${PWD_COMMAND}`; export r; \
28643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28644 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28646 $(HOST_EXPORTS) \
28647 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28648 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28649 case $(srcdir) in \
28650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28651 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28653 esac; \
28654 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28655 libsrcdir="$$s/libtermcap"; \
28656 $(SHELL) $${libsrcdir}/configure \
28657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28658 --target=${target_alias} $${srcdiroption} \
28659 || exit 1
28660 @endif libtermcap
28666 .PHONY: all-libtermcap maybe-all-libtermcap
28667 maybe-all-libtermcap:
28668 @if gcc-bootstrap
28669 all-libtermcap: stage_current
28670 @endif gcc-bootstrap
28671 @if libtermcap
28672 TARGET-libtermcap=all
28673 maybe-all-libtermcap: all-libtermcap
28674 all-libtermcap: configure-libtermcap
28675 @: $(MAKE); $(unstage)
28676 @r=`${PWD_COMMAND}`; export r; \
28677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28678 $(HOST_EXPORTS) \
28679 (cd $(HOST_SUBDIR)/libtermcap && \
28680 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28681 $(TARGET-libtermcap))
28682 @endif libtermcap
28687 .PHONY: check-libtermcap maybe-check-libtermcap
28688 maybe-check-libtermcap:
28689 @if libtermcap
28690 maybe-check-libtermcap: check-libtermcap
28692 check-libtermcap:
28694 @endif libtermcap
28696 .PHONY: install-libtermcap maybe-install-libtermcap
28697 maybe-install-libtermcap:
28698 @if libtermcap
28699 maybe-install-libtermcap: install-libtermcap
28701 install-libtermcap: installdirs
28702 @: $(MAKE); $(unstage)
28703 @r=`${PWD_COMMAND}`; export r; \
28704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28705 $(HOST_EXPORTS) \
28706 (cd $(HOST_SUBDIR)/libtermcap && \
28707 $(MAKE) $(FLAGS_TO_PASS) install)
28709 @endif libtermcap
28711 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28712 maybe-install-strip-libtermcap:
28713 @if libtermcap
28714 maybe-install-strip-libtermcap: install-strip-libtermcap
28716 install-strip-libtermcap: installdirs
28717 @: $(MAKE); $(unstage)
28718 @r=`${PWD_COMMAND}`; export r; \
28719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28720 $(HOST_EXPORTS) \
28721 (cd $(HOST_SUBDIR)/libtermcap && \
28722 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28724 @endif libtermcap
28726 # Other targets (info, dvi, pdf, etc.)
28728 .PHONY: maybe-info-libtermcap info-libtermcap
28729 maybe-info-libtermcap:
28730 @if libtermcap
28731 maybe-info-libtermcap: info-libtermcap
28733 info-libtermcap: \
28734 configure-libtermcap
28735 @: $(MAKE); $(unstage)
28736 @[ -f ./libtermcap/Makefile ] || exit 0; \
28737 r=`${PWD_COMMAND}`; export r; \
28738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28739 $(HOST_EXPORTS) \
28740 for flag in $(EXTRA_HOST_FLAGS) ; do \
28741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28742 done; \
28743 echo "Doing info in libtermcap" ; \
28744 (cd $(HOST_SUBDIR)/libtermcap && \
28745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28747 "RANLIB=$${RANLIB}" \
28748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28749 info) \
28750 || exit 1
28752 @endif libtermcap
28754 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28755 maybe-dvi-libtermcap:
28756 @if libtermcap
28757 maybe-dvi-libtermcap: dvi-libtermcap
28759 dvi-libtermcap: \
28760 configure-libtermcap
28761 @: $(MAKE); $(unstage)
28762 @[ -f ./libtermcap/Makefile ] || exit 0; \
28763 r=`${PWD_COMMAND}`; export r; \
28764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28765 $(HOST_EXPORTS) \
28766 for flag in $(EXTRA_HOST_FLAGS) ; do \
28767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28768 done; \
28769 echo "Doing dvi in libtermcap" ; \
28770 (cd $(HOST_SUBDIR)/libtermcap && \
28771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28773 "RANLIB=$${RANLIB}" \
28774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28775 dvi) \
28776 || exit 1
28778 @endif libtermcap
28780 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28781 maybe-pdf-libtermcap:
28782 @if libtermcap
28783 maybe-pdf-libtermcap: pdf-libtermcap
28785 pdf-libtermcap: \
28786 configure-libtermcap
28787 @: $(MAKE); $(unstage)
28788 @[ -f ./libtermcap/Makefile ] || exit 0; \
28789 r=`${PWD_COMMAND}`; export r; \
28790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28791 $(HOST_EXPORTS) \
28792 for flag in $(EXTRA_HOST_FLAGS) ; do \
28793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28794 done; \
28795 echo "Doing pdf in libtermcap" ; \
28796 (cd $(HOST_SUBDIR)/libtermcap && \
28797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28799 "RANLIB=$${RANLIB}" \
28800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28801 pdf) \
28802 || exit 1
28804 @endif libtermcap
28806 .PHONY: maybe-html-libtermcap html-libtermcap
28807 maybe-html-libtermcap:
28808 @if libtermcap
28809 maybe-html-libtermcap: html-libtermcap
28811 html-libtermcap: \
28812 configure-libtermcap
28813 @: $(MAKE); $(unstage)
28814 @[ -f ./libtermcap/Makefile ] || exit 0; \
28815 r=`${PWD_COMMAND}`; export r; \
28816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28817 $(HOST_EXPORTS) \
28818 for flag in $(EXTRA_HOST_FLAGS) ; do \
28819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28820 done; \
28821 echo "Doing html in libtermcap" ; \
28822 (cd $(HOST_SUBDIR)/libtermcap && \
28823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28825 "RANLIB=$${RANLIB}" \
28826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28827 html) \
28828 || exit 1
28830 @endif libtermcap
28832 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28833 maybe-TAGS-libtermcap:
28834 @if libtermcap
28835 maybe-TAGS-libtermcap: TAGS-libtermcap
28837 TAGS-libtermcap: \
28838 configure-libtermcap
28839 @: $(MAKE); $(unstage)
28840 @[ -f ./libtermcap/Makefile ] || exit 0; \
28841 r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 $(HOST_EXPORTS) \
28844 for flag in $(EXTRA_HOST_FLAGS) ; do \
28845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28846 done; \
28847 echo "Doing TAGS in libtermcap" ; \
28848 (cd $(HOST_SUBDIR)/libtermcap && \
28849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28851 "RANLIB=$${RANLIB}" \
28852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28853 TAGS) \
28854 || exit 1
28856 @endif libtermcap
28858 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28859 maybe-install-info-libtermcap:
28860 @if libtermcap
28861 maybe-install-info-libtermcap: install-info-libtermcap
28863 install-info-libtermcap: \
28864 configure-libtermcap \
28865 info-libtermcap
28866 @: $(MAKE); $(unstage)
28867 @[ -f ./libtermcap/Makefile ] || exit 0; \
28868 r=`${PWD_COMMAND}`; export r; \
28869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28870 $(HOST_EXPORTS) \
28871 for flag in $(EXTRA_HOST_FLAGS) ; do \
28872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28873 done; \
28874 echo "Doing install-info in libtermcap" ; \
28875 (cd $(HOST_SUBDIR)/libtermcap && \
28876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28878 "RANLIB=$${RANLIB}" \
28879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28880 install-info) \
28881 || exit 1
28883 @endif libtermcap
28885 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28886 maybe-install-pdf-libtermcap:
28887 @if libtermcap
28888 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28890 install-pdf-libtermcap: \
28891 configure-libtermcap \
28892 pdf-libtermcap
28893 @: $(MAKE); $(unstage)
28894 @[ -f ./libtermcap/Makefile ] || exit 0; \
28895 r=`${PWD_COMMAND}`; export r; \
28896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28897 $(HOST_EXPORTS) \
28898 for flag in $(EXTRA_HOST_FLAGS) ; do \
28899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28900 done; \
28901 echo "Doing install-pdf in libtermcap" ; \
28902 (cd $(HOST_SUBDIR)/libtermcap && \
28903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28905 "RANLIB=$${RANLIB}" \
28906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28907 install-pdf) \
28908 || exit 1
28910 @endif libtermcap
28912 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28913 maybe-install-html-libtermcap:
28914 @if libtermcap
28915 maybe-install-html-libtermcap: install-html-libtermcap
28917 install-html-libtermcap: \
28918 configure-libtermcap \
28919 html-libtermcap
28920 @: $(MAKE); $(unstage)
28921 @[ -f ./libtermcap/Makefile ] || exit 0; \
28922 r=`${PWD_COMMAND}`; export r; \
28923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28924 $(HOST_EXPORTS) \
28925 for flag in $(EXTRA_HOST_FLAGS) ; do \
28926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28927 done; \
28928 echo "Doing install-html in libtermcap" ; \
28929 (cd $(HOST_SUBDIR)/libtermcap && \
28930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28932 "RANLIB=$${RANLIB}" \
28933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28934 install-html) \
28935 || exit 1
28937 @endif libtermcap
28939 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28940 maybe-installcheck-libtermcap:
28941 @if libtermcap
28942 maybe-installcheck-libtermcap: installcheck-libtermcap
28944 installcheck-libtermcap: \
28945 configure-libtermcap
28946 @: $(MAKE); $(unstage)
28947 @[ -f ./libtermcap/Makefile ] || exit 0; \
28948 r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(HOST_EXPORTS) \
28951 for flag in $(EXTRA_HOST_FLAGS) ; do \
28952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28953 done; \
28954 echo "Doing installcheck in libtermcap" ; \
28955 (cd $(HOST_SUBDIR)/libtermcap && \
28956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28958 "RANLIB=$${RANLIB}" \
28959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28960 installcheck) \
28961 || exit 1
28963 @endif libtermcap
28965 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28966 maybe-mostlyclean-libtermcap:
28967 @if libtermcap
28968 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28970 # libtermcap doesn't support mostlyclean.
28971 mostlyclean-libtermcap:
28973 @endif libtermcap
28975 .PHONY: maybe-clean-libtermcap clean-libtermcap
28976 maybe-clean-libtermcap:
28977 @if libtermcap
28978 maybe-clean-libtermcap: clean-libtermcap
28980 # libtermcap doesn't support clean.
28981 clean-libtermcap:
28983 @endif libtermcap
28985 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28986 maybe-distclean-libtermcap:
28987 @if libtermcap
28988 maybe-distclean-libtermcap: distclean-libtermcap
28990 # libtermcap doesn't support distclean.
28991 distclean-libtermcap:
28993 @endif libtermcap
28995 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28996 maybe-maintainer-clean-libtermcap:
28997 @if libtermcap
28998 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29000 # libtermcap doesn't support maintainer-clean.
29001 maintainer-clean-libtermcap:
29003 @endif libtermcap
29007 .PHONY: configure-utils maybe-configure-utils
29008 maybe-configure-utils:
29009 @if gcc-bootstrap
29010 configure-utils: stage_current
29011 @endif gcc-bootstrap
29012 @if utils
29013 maybe-configure-utils: configure-utils
29014 configure-utils:
29015 @: $(MAKE); $(unstage)
29016 @r=`${PWD_COMMAND}`; export r; \
29017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29018 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29020 $(HOST_EXPORTS) \
29021 echo Configuring in $(HOST_SUBDIR)/utils; \
29022 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29023 case $(srcdir) in \
29024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29025 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29027 esac; \
29028 srcdiroption="--srcdir=$${topdir}/utils"; \
29029 libsrcdir="$$s/utils"; \
29030 $(SHELL) $${libsrcdir}/configure \
29031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29032 --target=${target_alias} $${srcdiroption} \
29033 || exit 1
29034 @endif utils
29040 .PHONY: all-utils maybe-all-utils
29041 maybe-all-utils:
29042 @if gcc-bootstrap
29043 all-utils: stage_current
29044 @endif gcc-bootstrap
29045 @if utils
29046 TARGET-utils=all
29047 maybe-all-utils: all-utils
29048 all-utils: configure-utils
29049 @: $(MAKE); $(unstage)
29050 @r=`${PWD_COMMAND}`; export r; \
29051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29052 $(HOST_EXPORTS) \
29053 (cd $(HOST_SUBDIR)/utils && \
29054 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29055 $(TARGET-utils))
29056 @endif utils
29061 .PHONY: check-utils maybe-check-utils
29062 maybe-check-utils:
29063 @if utils
29064 maybe-check-utils: check-utils
29066 check-utils:
29068 @endif utils
29070 .PHONY: install-utils maybe-install-utils
29071 maybe-install-utils:
29072 @if utils
29073 maybe-install-utils: install-utils
29075 install-utils: installdirs
29076 @: $(MAKE); $(unstage)
29077 @r=`${PWD_COMMAND}`; export r; \
29078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29079 $(HOST_EXPORTS) \
29080 (cd $(HOST_SUBDIR)/utils && \
29081 $(MAKE) $(FLAGS_TO_PASS) install)
29083 @endif utils
29085 .PHONY: install-strip-utils maybe-install-strip-utils
29086 maybe-install-strip-utils:
29087 @if utils
29088 maybe-install-strip-utils: install-strip-utils
29090 install-strip-utils: installdirs
29091 @: $(MAKE); $(unstage)
29092 @r=`${PWD_COMMAND}`; export r; \
29093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29094 $(HOST_EXPORTS) \
29095 (cd $(HOST_SUBDIR)/utils && \
29096 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29098 @endif utils
29100 # Other targets (info, dvi, pdf, etc.)
29102 .PHONY: maybe-info-utils info-utils
29103 maybe-info-utils:
29104 @if utils
29105 maybe-info-utils: info-utils
29107 info-utils: \
29108 configure-utils
29109 @: $(MAKE); $(unstage)
29110 @[ -f ./utils/Makefile ] || exit 0; \
29111 r=`${PWD_COMMAND}`; export r; \
29112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29113 $(HOST_EXPORTS) \
29114 for flag in $(EXTRA_HOST_FLAGS) ; do \
29115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29116 done; \
29117 echo "Doing info in utils" ; \
29118 (cd $(HOST_SUBDIR)/utils && \
29119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29121 "RANLIB=$${RANLIB}" \
29122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29123 info) \
29124 || exit 1
29126 @endif utils
29128 .PHONY: maybe-dvi-utils dvi-utils
29129 maybe-dvi-utils:
29130 @if utils
29131 maybe-dvi-utils: dvi-utils
29133 dvi-utils: \
29134 configure-utils
29135 @: $(MAKE); $(unstage)
29136 @[ -f ./utils/Makefile ] || exit 0; \
29137 r=`${PWD_COMMAND}`; export r; \
29138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29139 $(HOST_EXPORTS) \
29140 for flag in $(EXTRA_HOST_FLAGS) ; do \
29141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29142 done; \
29143 echo "Doing dvi in utils" ; \
29144 (cd $(HOST_SUBDIR)/utils && \
29145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29147 "RANLIB=$${RANLIB}" \
29148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29149 dvi) \
29150 || exit 1
29152 @endif utils
29154 .PHONY: maybe-pdf-utils pdf-utils
29155 maybe-pdf-utils:
29156 @if utils
29157 maybe-pdf-utils: pdf-utils
29159 pdf-utils: \
29160 configure-utils
29161 @: $(MAKE); $(unstage)
29162 @[ -f ./utils/Makefile ] || exit 0; \
29163 r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29165 $(HOST_EXPORTS) \
29166 for flag in $(EXTRA_HOST_FLAGS) ; do \
29167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29168 done; \
29169 echo "Doing pdf in utils" ; \
29170 (cd $(HOST_SUBDIR)/utils && \
29171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29173 "RANLIB=$${RANLIB}" \
29174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29175 pdf) \
29176 || exit 1
29178 @endif utils
29180 .PHONY: maybe-html-utils html-utils
29181 maybe-html-utils:
29182 @if utils
29183 maybe-html-utils: html-utils
29185 html-utils: \
29186 configure-utils
29187 @: $(MAKE); $(unstage)
29188 @[ -f ./utils/Makefile ] || exit 0; \
29189 r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 $(HOST_EXPORTS) \
29192 for flag in $(EXTRA_HOST_FLAGS) ; do \
29193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29194 done; \
29195 echo "Doing html in utils" ; \
29196 (cd $(HOST_SUBDIR)/utils && \
29197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29199 "RANLIB=$${RANLIB}" \
29200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29201 html) \
29202 || exit 1
29204 @endif utils
29206 .PHONY: maybe-TAGS-utils TAGS-utils
29207 maybe-TAGS-utils:
29208 @if utils
29209 maybe-TAGS-utils: TAGS-utils
29211 TAGS-utils: \
29212 configure-utils
29213 @: $(MAKE); $(unstage)
29214 @[ -f ./utils/Makefile ] || exit 0; \
29215 r=`${PWD_COMMAND}`; export r; \
29216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29217 $(HOST_EXPORTS) \
29218 for flag in $(EXTRA_HOST_FLAGS) ; do \
29219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29220 done; \
29221 echo "Doing TAGS in utils" ; \
29222 (cd $(HOST_SUBDIR)/utils && \
29223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29225 "RANLIB=$${RANLIB}" \
29226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29227 TAGS) \
29228 || exit 1
29230 @endif utils
29232 .PHONY: maybe-install-info-utils install-info-utils
29233 maybe-install-info-utils:
29234 @if utils
29235 maybe-install-info-utils: install-info-utils
29237 install-info-utils: \
29238 configure-utils \
29239 info-utils
29240 @: $(MAKE); $(unstage)
29241 @[ -f ./utils/Makefile ] || exit 0; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(HOST_EXPORTS) \
29245 for flag in $(EXTRA_HOST_FLAGS) ; do \
29246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29247 done; \
29248 echo "Doing install-info in utils" ; \
29249 (cd $(HOST_SUBDIR)/utils && \
29250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29252 "RANLIB=$${RANLIB}" \
29253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29254 install-info) \
29255 || exit 1
29257 @endif utils
29259 .PHONY: maybe-install-pdf-utils install-pdf-utils
29260 maybe-install-pdf-utils:
29261 @if utils
29262 maybe-install-pdf-utils: install-pdf-utils
29264 install-pdf-utils: \
29265 configure-utils \
29266 pdf-utils
29267 @: $(MAKE); $(unstage)
29268 @[ -f ./utils/Makefile ] || exit 0; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(HOST_EXPORTS) \
29272 for flag in $(EXTRA_HOST_FLAGS) ; do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 echo "Doing install-pdf in utils" ; \
29276 (cd $(HOST_SUBDIR)/utils && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29281 install-pdf) \
29282 || exit 1
29284 @endif utils
29286 .PHONY: maybe-install-html-utils install-html-utils
29287 maybe-install-html-utils:
29288 @if utils
29289 maybe-install-html-utils: install-html-utils
29291 install-html-utils: \
29292 configure-utils \
29293 html-utils
29294 @: $(MAKE); $(unstage)
29295 @[ -f ./utils/Makefile ] || exit 0; \
29296 r=`${PWD_COMMAND}`; export r; \
29297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29298 $(HOST_EXPORTS) \
29299 for flag in $(EXTRA_HOST_FLAGS) ; do \
29300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29301 done; \
29302 echo "Doing install-html in utils" ; \
29303 (cd $(HOST_SUBDIR)/utils && \
29304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29306 "RANLIB=$${RANLIB}" \
29307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29308 install-html) \
29309 || exit 1
29311 @endif utils
29313 .PHONY: maybe-installcheck-utils installcheck-utils
29314 maybe-installcheck-utils:
29315 @if utils
29316 maybe-installcheck-utils: installcheck-utils
29318 installcheck-utils: \
29319 configure-utils
29320 @: $(MAKE); $(unstage)
29321 @[ -f ./utils/Makefile ] || exit 0; \
29322 r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(HOST_EXPORTS) \
29325 for flag in $(EXTRA_HOST_FLAGS) ; do \
29326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29327 done; \
29328 echo "Doing installcheck in utils" ; \
29329 (cd $(HOST_SUBDIR)/utils && \
29330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29332 "RANLIB=$${RANLIB}" \
29333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29334 installcheck) \
29335 || exit 1
29337 @endif utils
29339 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29340 maybe-mostlyclean-utils:
29341 @if utils
29342 maybe-mostlyclean-utils: mostlyclean-utils
29344 mostlyclean-utils:
29345 @: $(MAKE); $(unstage)
29346 @[ -f ./utils/Makefile ] || exit 0; \
29347 r=`${PWD_COMMAND}`; export r; \
29348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29349 $(HOST_EXPORTS) \
29350 for flag in $(EXTRA_HOST_FLAGS) ; do \
29351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29352 done; \
29353 echo "Doing mostlyclean in utils" ; \
29354 (cd $(HOST_SUBDIR)/utils && \
29355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29357 "RANLIB=$${RANLIB}" \
29358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29359 mostlyclean) \
29360 || exit 1
29362 @endif utils
29364 .PHONY: maybe-clean-utils clean-utils
29365 maybe-clean-utils:
29366 @if utils
29367 maybe-clean-utils: clean-utils
29369 clean-utils:
29370 @: $(MAKE); $(unstage)
29371 @[ -f ./utils/Makefile ] || exit 0; \
29372 r=`${PWD_COMMAND}`; export r; \
29373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29374 $(HOST_EXPORTS) \
29375 for flag in $(EXTRA_HOST_FLAGS) ; do \
29376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29377 done; \
29378 echo "Doing clean in utils" ; \
29379 (cd $(HOST_SUBDIR)/utils && \
29380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29382 "RANLIB=$${RANLIB}" \
29383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29384 clean) \
29385 || exit 1
29387 @endif utils
29389 .PHONY: maybe-distclean-utils distclean-utils
29390 maybe-distclean-utils:
29391 @if utils
29392 maybe-distclean-utils: distclean-utils
29394 distclean-utils:
29395 @: $(MAKE); $(unstage)
29396 @[ -f ./utils/Makefile ] || exit 0; \
29397 r=`${PWD_COMMAND}`; export r; \
29398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29399 $(HOST_EXPORTS) \
29400 for flag in $(EXTRA_HOST_FLAGS) ; do \
29401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29402 done; \
29403 echo "Doing distclean in utils" ; \
29404 (cd $(HOST_SUBDIR)/utils && \
29405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29407 "RANLIB=$${RANLIB}" \
29408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29409 distclean) \
29410 || exit 1
29412 @endif utils
29414 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29415 maybe-maintainer-clean-utils:
29416 @if utils
29417 maybe-maintainer-clean-utils: maintainer-clean-utils
29419 maintainer-clean-utils:
29420 @: $(MAKE); $(unstage)
29421 @[ -f ./utils/Makefile ] || exit 0; \
29422 r=`${PWD_COMMAND}`; export r; \
29423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29424 $(HOST_EXPORTS) \
29425 for flag in $(EXTRA_HOST_FLAGS) ; do \
29426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29427 done; \
29428 echo "Doing maintainer-clean in utils" ; \
29429 (cd $(HOST_SUBDIR)/utils && \
29430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29432 "RANLIB=$${RANLIB}" \
29433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29434 maintainer-clean) \
29435 || exit 1
29437 @endif utils
29441 .PHONY: configure-gnattools maybe-configure-gnattools
29442 maybe-configure-gnattools:
29443 @if gcc-bootstrap
29444 configure-gnattools: stage_current
29445 @endif gcc-bootstrap
29446 @if gnattools
29447 maybe-configure-gnattools: configure-gnattools
29448 configure-gnattools:
29449 @: $(MAKE); $(unstage)
29450 @r=`${PWD_COMMAND}`; export r; \
29451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29452 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29454 $(HOST_EXPORTS) \
29455 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29456 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29457 case $(srcdir) in \
29458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29459 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29461 esac; \
29462 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29463 libsrcdir="$$s/gnattools"; \
29464 $(SHELL) $${libsrcdir}/configure \
29465 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29466 --target=${target_alias} $${srcdiroption} \
29467 || exit 1
29468 @endif gnattools
29474 .PHONY: all-gnattools maybe-all-gnattools
29475 maybe-all-gnattools:
29476 @if gcc-bootstrap
29477 all-gnattools: stage_current
29478 @endif gcc-bootstrap
29479 @if gnattools
29480 TARGET-gnattools=all
29481 maybe-all-gnattools: all-gnattools
29482 all-gnattools: configure-gnattools
29483 @: $(MAKE); $(unstage)
29484 @r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(HOST_EXPORTS) \
29487 (cd $(HOST_SUBDIR)/gnattools && \
29488 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29489 $(TARGET-gnattools))
29490 @endif gnattools
29495 .PHONY: check-gnattools maybe-check-gnattools
29496 maybe-check-gnattools:
29497 @if gnattools
29498 maybe-check-gnattools: check-gnattools
29500 check-gnattools:
29501 @: $(MAKE); $(unstage)
29502 @r=`${PWD_COMMAND}`; export r; \
29503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29504 $(HOST_EXPORTS) \
29505 (cd $(HOST_SUBDIR)/gnattools && \
29506 $(MAKE) $(FLAGS_TO_PASS) check)
29508 @endif gnattools
29510 .PHONY: install-gnattools maybe-install-gnattools
29511 maybe-install-gnattools:
29512 @if gnattools
29513 maybe-install-gnattools: install-gnattools
29515 install-gnattools: installdirs
29516 @: $(MAKE); $(unstage)
29517 @r=`${PWD_COMMAND}`; export r; \
29518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29519 $(HOST_EXPORTS) \
29520 (cd $(HOST_SUBDIR)/gnattools && \
29521 $(MAKE) $(FLAGS_TO_PASS) install)
29523 @endif gnattools
29525 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29526 maybe-install-strip-gnattools:
29527 @if gnattools
29528 maybe-install-strip-gnattools: install-strip-gnattools
29530 install-strip-gnattools: installdirs
29531 @: $(MAKE); $(unstage)
29532 @r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29534 $(HOST_EXPORTS) \
29535 (cd $(HOST_SUBDIR)/gnattools && \
29536 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29538 @endif gnattools
29540 # Other targets (info, dvi, pdf, etc.)
29542 .PHONY: maybe-info-gnattools info-gnattools
29543 maybe-info-gnattools:
29544 @if gnattools
29545 maybe-info-gnattools: info-gnattools
29547 info-gnattools: \
29548 configure-gnattools
29549 @: $(MAKE); $(unstage)
29550 @[ -f ./gnattools/Makefile ] || exit 0; \
29551 r=`${PWD_COMMAND}`; export r; \
29552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29553 $(HOST_EXPORTS) \
29554 for flag in $(EXTRA_HOST_FLAGS) ; do \
29555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29556 done; \
29557 echo "Doing info in gnattools" ; \
29558 (cd $(HOST_SUBDIR)/gnattools && \
29559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29561 "RANLIB=$${RANLIB}" \
29562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29563 info) \
29564 || exit 1
29566 @endif gnattools
29568 .PHONY: maybe-dvi-gnattools dvi-gnattools
29569 maybe-dvi-gnattools:
29570 @if gnattools
29571 maybe-dvi-gnattools: dvi-gnattools
29573 dvi-gnattools: \
29574 configure-gnattools
29575 @: $(MAKE); $(unstage)
29576 @[ -f ./gnattools/Makefile ] || exit 0; \
29577 r=`${PWD_COMMAND}`; export r; \
29578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29579 $(HOST_EXPORTS) \
29580 for flag in $(EXTRA_HOST_FLAGS) ; do \
29581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29582 done; \
29583 echo "Doing dvi in gnattools" ; \
29584 (cd $(HOST_SUBDIR)/gnattools && \
29585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29587 "RANLIB=$${RANLIB}" \
29588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29589 dvi) \
29590 || exit 1
29592 @endif gnattools
29594 .PHONY: maybe-pdf-gnattools pdf-gnattools
29595 maybe-pdf-gnattools:
29596 @if gnattools
29597 maybe-pdf-gnattools: pdf-gnattools
29599 pdf-gnattools: \
29600 configure-gnattools
29601 @: $(MAKE); $(unstage)
29602 @[ -f ./gnattools/Makefile ] || exit 0; \
29603 r=`${PWD_COMMAND}`; export r; \
29604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29605 $(HOST_EXPORTS) \
29606 for flag in $(EXTRA_HOST_FLAGS) ; do \
29607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29608 done; \
29609 echo "Doing pdf in gnattools" ; \
29610 (cd $(HOST_SUBDIR)/gnattools && \
29611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29613 "RANLIB=$${RANLIB}" \
29614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29615 pdf) \
29616 || exit 1
29618 @endif gnattools
29620 .PHONY: maybe-html-gnattools html-gnattools
29621 maybe-html-gnattools:
29622 @if gnattools
29623 maybe-html-gnattools: html-gnattools
29625 html-gnattools: \
29626 configure-gnattools
29627 @: $(MAKE); $(unstage)
29628 @[ -f ./gnattools/Makefile ] || exit 0; \
29629 r=`${PWD_COMMAND}`; export r; \
29630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29631 $(HOST_EXPORTS) \
29632 for flag in $(EXTRA_HOST_FLAGS) ; do \
29633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29634 done; \
29635 echo "Doing html in gnattools" ; \
29636 (cd $(HOST_SUBDIR)/gnattools && \
29637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29639 "RANLIB=$${RANLIB}" \
29640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29641 html) \
29642 || exit 1
29644 @endif gnattools
29646 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29647 maybe-TAGS-gnattools:
29648 @if gnattools
29649 maybe-TAGS-gnattools: TAGS-gnattools
29651 TAGS-gnattools: \
29652 configure-gnattools
29653 @: $(MAKE); $(unstage)
29654 @[ -f ./gnattools/Makefile ] || exit 0; \
29655 r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(HOST_EXPORTS) \
29658 for flag in $(EXTRA_HOST_FLAGS) ; do \
29659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29660 done; \
29661 echo "Doing TAGS in gnattools" ; \
29662 (cd $(HOST_SUBDIR)/gnattools && \
29663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29665 "RANLIB=$${RANLIB}" \
29666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29667 TAGS) \
29668 || exit 1
29670 @endif gnattools
29672 .PHONY: maybe-install-info-gnattools install-info-gnattools
29673 maybe-install-info-gnattools:
29674 @if gnattools
29675 maybe-install-info-gnattools: install-info-gnattools
29677 install-info-gnattools: \
29678 configure-gnattools \
29679 info-gnattools
29680 @: $(MAKE); $(unstage)
29681 @[ -f ./gnattools/Makefile ] || exit 0; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(HOST_EXPORTS) \
29685 for flag in $(EXTRA_HOST_FLAGS) ; do \
29686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29687 done; \
29688 echo "Doing install-info in gnattools" ; \
29689 (cd $(HOST_SUBDIR)/gnattools && \
29690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29692 "RANLIB=$${RANLIB}" \
29693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29694 install-info) \
29695 || exit 1
29697 @endif gnattools
29699 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29700 maybe-install-pdf-gnattools:
29701 @if gnattools
29702 maybe-install-pdf-gnattools: install-pdf-gnattools
29704 install-pdf-gnattools: \
29705 configure-gnattools \
29706 pdf-gnattools
29707 @: $(MAKE); $(unstage)
29708 @[ -f ./gnattools/Makefile ] || exit 0; \
29709 r=`${PWD_COMMAND}`; export r; \
29710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29711 $(HOST_EXPORTS) \
29712 for flag in $(EXTRA_HOST_FLAGS) ; do \
29713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29714 done; \
29715 echo "Doing install-pdf in gnattools" ; \
29716 (cd $(HOST_SUBDIR)/gnattools && \
29717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29719 "RANLIB=$${RANLIB}" \
29720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29721 install-pdf) \
29722 || exit 1
29724 @endif gnattools
29726 .PHONY: maybe-install-html-gnattools install-html-gnattools
29727 maybe-install-html-gnattools:
29728 @if gnattools
29729 maybe-install-html-gnattools: install-html-gnattools
29731 install-html-gnattools: \
29732 configure-gnattools \
29733 html-gnattools
29734 @: $(MAKE); $(unstage)
29735 @[ -f ./gnattools/Makefile ] || exit 0; \
29736 r=`${PWD_COMMAND}`; export r; \
29737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29738 $(HOST_EXPORTS) \
29739 for flag in $(EXTRA_HOST_FLAGS) ; do \
29740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29741 done; \
29742 echo "Doing install-html in gnattools" ; \
29743 (cd $(HOST_SUBDIR)/gnattools && \
29744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29746 "RANLIB=$${RANLIB}" \
29747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29748 install-html) \
29749 || exit 1
29751 @endif gnattools
29753 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29754 maybe-installcheck-gnattools:
29755 @if gnattools
29756 maybe-installcheck-gnattools: installcheck-gnattools
29758 installcheck-gnattools: \
29759 configure-gnattools
29760 @: $(MAKE); $(unstage)
29761 @[ -f ./gnattools/Makefile ] || exit 0; \
29762 r=`${PWD_COMMAND}`; export r; \
29763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29764 $(HOST_EXPORTS) \
29765 for flag in $(EXTRA_HOST_FLAGS) ; do \
29766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29767 done; \
29768 echo "Doing installcheck in gnattools" ; \
29769 (cd $(HOST_SUBDIR)/gnattools && \
29770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29772 "RANLIB=$${RANLIB}" \
29773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29774 installcheck) \
29775 || exit 1
29777 @endif gnattools
29779 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29780 maybe-mostlyclean-gnattools:
29781 @if gnattools
29782 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29784 mostlyclean-gnattools:
29785 @: $(MAKE); $(unstage)
29786 @[ -f ./gnattools/Makefile ] || exit 0; \
29787 r=`${PWD_COMMAND}`; export r; \
29788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29789 $(HOST_EXPORTS) \
29790 for flag in $(EXTRA_HOST_FLAGS) ; do \
29791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29792 done; \
29793 echo "Doing mostlyclean in gnattools" ; \
29794 (cd $(HOST_SUBDIR)/gnattools && \
29795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29797 "RANLIB=$${RANLIB}" \
29798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29799 mostlyclean) \
29800 || exit 1
29802 @endif gnattools
29804 .PHONY: maybe-clean-gnattools clean-gnattools
29805 maybe-clean-gnattools:
29806 @if gnattools
29807 maybe-clean-gnattools: clean-gnattools
29809 clean-gnattools:
29810 @: $(MAKE); $(unstage)
29811 @[ -f ./gnattools/Makefile ] || exit 0; \
29812 r=`${PWD_COMMAND}`; export r; \
29813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29814 $(HOST_EXPORTS) \
29815 for flag in $(EXTRA_HOST_FLAGS) ; do \
29816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29817 done; \
29818 echo "Doing clean in gnattools" ; \
29819 (cd $(HOST_SUBDIR)/gnattools && \
29820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29822 "RANLIB=$${RANLIB}" \
29823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29824 clean) \
29825 || exit 1
29827 @endif gnattools
29829 .PHONY: maybe-distclean-gnattools distclean-gnattools
29830 maybe-distclean-gnattools:
29831 @if gnattools
29832 maybe-distclean-gnattools: distclean-gnattools
29834 distclean-gnattools:
29835 @: $(MAKE); $(unstage)
29836 @[ -f ./gnattools/Makefile ] || exit 0; \
29837 r=`${PWD_COMMAND}`; export r; \
29838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29839 $(HOST_EXPORTS) \
29840 for flag in $(EXTRA_HOST_FLAGS) ; do \
29841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29842 done; \
29843 echo "Doing distclean in gnattools" ; \
29844 (cd $(HOST_SUBDIR)/gnattools && \
29845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29847 "RANLIB=$${RANLIB}" \
29848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29849 distclean) \
29850 || exit 1
29852 @endif gnattools
29854 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29855 maybe-maintainer-clean-gnattools:
29856 @if gnattools
29857 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29859 maintainer-clean-gnattools:
29860 @: $(MAKE); $(unstage)
29861 @[ -f ./gnattools/Makefile ] || exit 0; \
29862 r=`${PWD_COMMAND}`; export r; \
29863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29864 $(HOST_EXPORTS) \
29865 for flag in $(EXTRA_HOST_FLAGS) ; do \
29866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29867 done; \
29868 echo "Doing maintainer-clean in gnattools" ; \
29869 (cd $(HOST_SUBDIR)/gnattools && \
29870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29872 "RANLIB=$${RANLIB}" \
29873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29874 maintainer-clean) \
29875 || exit 1
29877 @endif gnattools
29881 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29882 maybe-configure-lto-plugin:
29883 @if gcc-bootstrap
29884 configure-lto-plugin: stage_current
29885 @endif gcc-bootstrap
29886 @if lto-plugin
29887 maybe-configure-lto-plugin: configure-lto-plugin
29888 configure-lto-plugin:
29889 @r=`${PWD_COMMAND}`; export r; \
29890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29891 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29893 $(HOST_EXPORTS) \
29894 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29895 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29896 case $(srcdir) in \
29897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29898 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29900 esac; \
29901 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29902 libsrcdir="$$s/lto-plugin"; \
29903 $(SHELL) $${libsrcdir}/configure \
29904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29905 --target=${target_alias} $${srcdiroption} --enable-shared \
29906 || exit 1
29907 @endif lto-plugin
29911 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29912 maybe-configure-stage1-lto-plugin:
29913 @if lto-plugin-bootstrap
29914 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29915 configure-stage1-lto-plugin:
29916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29918 @r=`${PWD_COMMAND}`; export r; \
29919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29920 TFLAGS="$(STAGE1_TFLAGS)"; \
29921 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29922 $(HOST_EXPORTS) \
29923 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29924 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29925 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29926 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29928 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29929 case $(srcdir) in \
29930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29931 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29933 esac; \
29934 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29935 libsrcdir="$$s/lto-plugin"; \
29936 $(SHELL) $${libsrcdir}/configure \
29937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29938 --target=${target_alias} $${srcdiroption} \
29939 $(STAGE1_CONFIGURE_FLAGS) \
29940 --enable-shared
29941 @endif lto-plugin-bootstrap
29943 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29944 maybe-configure-stage2-lto-plugin:
29945 @if lto-plugin-bootstrap
29946 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29947 configure-stage2-lto-plugin:
29948 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29950 @r=`${PWD_COMMAND}`; export r; \
29951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29952 TFLAGS="$(STAGE2_TFLAGS)"; \
29953 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29954 $(HOST_EXPORTS) \
29955 $(POSTSTAGE1_HOST_EXPORTS) \
29956 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29957 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29958 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29959 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29961 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29962 case $(srcdir) in \
29963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29964 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29966 esac; \
29967 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29968 libsrcdir="$$s/lto-plugin"; \
29969 $(SHELL) $${libsrcdir}/configure \
29970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29971 --target=${target_alias} $${srcdiroption} \
29972 --with-build-libsubdir=$(HOST_SUBDIR) \
29973 $(STAGE2_CONFIGURE_FLAGS) \
29974 --enable-shared
29975 @endif lto-plugin-bootstrap
29977 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29978 maybe-configure-stage3-lto-plugin:
29979 @if lto-plugin-bootstrap
29980 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29981 configure-stage3-lto-plugin:
29982 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29984 @r=`${PWD_COMMAND}`; export r; \
29985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29986 TFLAGS="$(STAGE3_TFLAGS)"; \
29987 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29988 $(HOST_EXPORTS) \
29989 $(POSTSTAGE1_HOST_EXPORTS) \
29990 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29991 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29992 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29993 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29995 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29996 case $(srcdir) in \
29997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29998 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30000 esac; \
30001 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30002 libsrcdir="$$s/lto-plugin"; \
30003 $(SHELL) $${libsrcdir}/configure \
30004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30005 --target=${target_alias} $${srcdiroption} \
30006 --with-build-libsubdir=$(HOST_SUBDIR) \
30007 $(STAGE3_CONFIGURE_FLAGS) \
30008 --enable-shared
30009 @endif lto-plugin-bootstrap
30011 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30012 maybe-configure-stage4-lto-plugin:
30013 @if lto-plugin-bootstrap
30014 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30015 configure-stage4-lto-plugin:
30016 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30018 @r=`${PWD_COMMAND}`; export r; \
30019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30020 TFLAGS="$(STAGE4_TFLAGS)"; \
30021 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30022 $(HOST_EXPORTS) \
30023 $(POSTSTAGE1_HOST_EXPORTS) \
30024 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30025 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30026 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30027 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30029 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30030 case $(srcdir) in \
30031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30032 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30034 esac; \
30035 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30036 libsrcdir="$$s/lto-plugin"; \
30037 $(SHELL) $${libsrcdir}/configure \
30038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30039 --target=${target_alias} $${srcdiroption} \
30040 --with-build-libsubdir=$(HOST_SUBDIR) \
30041 $(STAGE4_CONFIGURE_FLAGS) \
30042 --enable-shared
30043 @endif lto-plugin-bootstrap
30045 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30046 maybe-configure-stageprofile-lto-plugin:
30047 @if lto-plugin-bootstrap
30048 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30049 configure-stageprofile-lto-plugin:
30050 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30052 @r=`${PWD_COMMAND}`; export r; \
30053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30055 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30056 $(HOST_EXPORTS) \
30057 $(POSTSTAGE1_HOST_EXPORTS) \
30058 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30059 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30060 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30061 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30063 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30064 case $(srcdir) in \
30065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30066 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30068 esac; \
30069 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30070 libsrcdir="$$s/lto-plugin"; \
30071 $(SHELL) $${libsrcdir}/configure \
30072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30073 --target=${target_alias} $${srcdiroption} \
30074 --with-build-libsubdir=$(HOST_SUBDIR) \
30075 $(STAGEprofile_CONFIGURE_FLAGS) \
30076 --enable-shared
30077 @endif lto-plugin-bootstrap
30079 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30080 maybe-configure-stagefeedback-lto-plugin:
30081 @if lto-plugin-bootstrap
30082 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30083 configure-stagefeedback-lto-plugin:
30084 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30085 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30086 @r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30088 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30089 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30090 $(HOST_EXPORTS) \
30091 $(POSTSTAGE1_HOST_EXPORTS) \
30092 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30093 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30094 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30095 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30097 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30098 case $(srcdir) in \
30099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30100 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30102 esac; \
30103 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30104 libsrcdir="$$s/lto-plugin"; \
30105 $(SHELL) $${libsrcdir}/configure \
30106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30107 --target=${target_alias} $${srcdiroption} \
30108 --with-build-libsubdir=$(HOST_SUBDIR) \
30109 $(STAGEfeedback_CONFIGURE_FLAGS) \
30110 --enable-shared
30111 @endif lto-plugin-bootstrap
30117 .PHONY: all-lto-plugin maybe-all-lto-plugin
30118 maybe-all-lto-plugin:
30119 @if gcc-bootstrap
30120 all-lto-plugin: stage_current
30121 @endif gcc-bootstrap
30122 @if lto-plugin
30123 TARGET-lto-plugin=all
30124 maybe-all-lto-plugin: all-lto-plugin
30125 all-lto-plugin: configure-lto-plugin
30126 @r=`${PWD_COMMAND}`; export r; \
30127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30128 $(HOST_EXPORTS) \
30129 (cd $(HOST_SUBDIR)/lto-plugin && \
30130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30131 $(TARGET-lto-plugin))
30132 @endif lto-plugin
30136 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30137 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30138 maybe-all-stage1-lto-plugin:
30139 maybe-clean-stage1-lto-plugin:
30140 @if lto-plugin-bootstrap
30141 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30142 all-stage1: all-stage1-lto-plugin
30143 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30144 all-stage1-lto-plugin: configure-stage1-lto-plugin
30145 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30146 @r=`${PWD_COMMAND}`; export r; \
30147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30148 TFLAGS="$(STAGE1_TFLAGS)"; \
30149 $(HOST_EXPORTS) \
30150 cd $(HOST_SUBDIR)/lto-plugin && \
30151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30152 CFLAGS="$(STAGE1_CFLAGS)" \
30153 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30154 LIBCFLAGS="$(LIBCFLAGS)" \
30155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30158 $(EXTRA_HOST_FLAGS) \
30159 $(STAGE1_FLAGS_TO_PASS) \
30160 TFLAGS="$(STAGE1_TFLAGS)" \
30161 $(TARGET-stage1-lto-plugin)
30163 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30164 clean-stage1: clean-stage1-lto-plugin
30165 clean-stage1-lto-plugin:
30166 @if [ $(current_stage) = stage1 ]; then \
30167 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30168 else \
30169 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30170 $(MAKE) stage1-start; \
30171 fi; \
30172 cd $(HOST_SUBDIR)/lto-plugin && \
30173 $(MAKE) $(EXTRA_HOST_FLAGS) \
30174 $(STAGE1_FLAGS_TO_PASS) clean
30175 @endif lto-plugin-bootstrap
30178 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30179 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30180 maybe-all-stage2-lto-plugin:
30181 maybe-clean-stage2-lto-plugin:
30182 @if lto-plugin-bootstrap
30183 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30184 all-stage2: all-stage2-lto-plugin
30185 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30186 all-stage2-lto-plugin: configure-stage2-lto-plugin
30187 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30188 @r=`${PWD_COMMAND}`; export r; \
30189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30190 TFLAGS="$(STAGE2_TFLAGS)"; \
30191 $(HOST_EXPORTS) \
30192 $(POSTSTAGE1_HOST_EXPORTS) \
30193 cd $(HOST_SUBDIR)/lto-plugin && \
30194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30195 CFLAGS="$(STAGE2_CFLAGS)" \
30196 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30197 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30202 TFLAGS="$(STAGE2_TFLAGS)" \
30203 $(TARGET-stage2-lto-plugin)
30205 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30206 clean-stage2: clean-stage2-lto-plugin
30207 clean-stage2-lto-plugin:
30208 @if [ $(current_stage) = stage2 ]; then \
30209 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30210 else \
30211 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30212 $(MAKE) stage2-start; \
30213 fi; \
30214 cd $(HOST_SUBDIR)/lto-plugin && \
30215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30216 @endif lto-plugin-bootstrap
30219 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30220 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30221 maybe-all-stage3-lto-plugin:
30222 maybe-clean-stage3-lto-plugin:
30223 @if lto-plugin-bootstrap
30224 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30225 all-stage3: all-stage3-lto-plugin
30226 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30227 all-stage3-lto-plugin: configure-stage3-lto-plugin
30228 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30229 @r=`${PWD_COMMAND}`; export r; \
30230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30231 TFLAGS="$(STAGE3_TFLAGS)"; \
30232 $(HOST_EXPORTS) \
30233 $(POSTSTAGE1_HOST_EXPORTS) \
30234 cd $(HOST_SUBDIR)/lto-plugin && \
30235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30236 CFLAGS="$(STAGE3_CFLAGS)" \
30237 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30238 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30243 TFLAGS="$(STAGE3_TFLAGS)" \
30244 $(TARGET-stage3-lto-plugin)
30246 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30247 clean-stage3: clean-stage3-lto-plugin
30248 clean-stage3-lto-plugin:
30249 @if [ $(current_stage) = stage3 ]; then \
30250 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30251 else \
30252 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30253 $(MAKE) stage3-start; \
30254 fi; \
30255 cd $(HOST_SUBDIR)/lto-plugin && \
30256 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30257 @endif lto-plugin-bootstrap
30260 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30261 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30262 maybe-all-stage4-lto-plugin:
30263 maybe-clean-stage4-lto-plugin:
30264 @if lto-plugin-bootstrap
30265 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30266 all-stage4: all-stage4-lto-plugin
30267 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30268 all-stage4-lto-plugin: configure-stage4-lto-plugin
30269 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30270 @r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 TFLAGS="$(STAGE4_TFLAGS)"; \
30273 $(HOST_EXPORTS) \
30274 $(POSTSTAGE1_HOST_EXPORTS) \
30275 cd $(HOST_SUBDIR)/lto-plugin && \
30276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30277 CFLAGS="$(STAGE4_CFLAGS)" \
30278 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30279 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30284 TFLAGS="$(STAGE4_TFLAGS)" \
30285 $(TARGET-stage4-lto-plugin)
30287 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30288 clean-stage4: clean-stage4-lto-plugin
30289 clean-stage4-lto-plugin:
30290 @if [ $(current_stage) = stage4 ]; then \
30291 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30292 else \
30293 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30294 $(MAKE) stage4-start; \
30295 fi; \
30296 cd $(HOST_SUBDIR)/lto-plugin && \
30297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30298 @endif lto-plugin-bootstrap
30301 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30302 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30303 maybe-all-stageprofile-lto-plugin:
30304 maybe-clean-stageprofile-lto-plugin:
30305 @if lto-plugin-bootstrap
30306 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30307 all-stageprofile: all-stageprofile-lto-plugin
30308 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30309 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30310 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30311 @r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30314 $(HOST_EXPORTS) \
30315 $(POSTSTAGE1_HOST_EXPORTS) \
30316 cd $(HOST_SUBDIR)/lto-plugin && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30318 CFLAGS="$(STAGEprofile_CFLAGS)" \
30319 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30320 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30325 TFLAGS="$(STAGEprofile_TFLAGS)" \
30326 $(TARGET-stageprofile-lto-plugin)
30328 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30329 clean-stageprofile: clean-stageprofile-lto-plugin
30330 clean-stageprofile-lto-plugin:
30331 @if [ $(current_stage) = stageprofile ]; then \
30332 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30333 else \
30334 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30335 $(MAKE) stageprofile-start; \
30336 fi; \
30337 cd $(HOST_SUBDIR)/lto-plugin && \
30338 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30339 @endif lto-plugin-bootstrap
30342 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30343 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30344 maybe-all-stagefeedback-lto-plugin:
30345 maybe-clean-stagefeedback-lto-plugin:
30346 @if lto-plugin-bootstrap
30347 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30348 all-stagefeedback: all-stagefeedback-lto-plugin
30349 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30350 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30351 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30352 @r=`${PWD_COMMAND}`; export r; \
30353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30355 $(HOST_EXPORTS) \
30356 $(POSTSTAGE1_HOST_EXPORTS) \
30357 cd $(HOST_SUBDIR)/lto-plugin && \
30358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30359 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30360 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30361 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30362 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30363 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30364 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30365 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30366 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30367 $(TARGET-stagefeedback-lto-plugin)
30369 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30370 clean-stagefeedback: clean-stagefeedback-lto-plugin
30371 clean-stagefeedback-lto-plugin:
30372 @if [ $(current_stage) = stagefeedback ]; then \
30373 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30374 else \
30375 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30376 $(MAKE) stagefeedback-start; \
30377 fi; \
30378 cd $(HOST_SUBDIR)/lto-plugin && \
30379 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30380 @endif lto-plugin-bootstrap
30386 .PHONY: check-lto-plugin maybe-check-lto-plugin
30387 maybe-check-lto-plugin:
30388 @if lto-plugin
30389 maybe-check-lto-plugin: check-lto-plugin
30391 check-lto-plugin:
30392 @: $(MAKE); $(unstage)
30393 @r=`${PWD_COMMAND}`; export r; \
30394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 $(HOST_EXPORTS) \
30396 (cd $(HOST_SUBDIR)/lto-plugin && \
30397 $(MAKE) $(FLAGS_TO_PASS) check)
30399 @endif lto-plugin
30401 .PHONY: install-lto-plugin maybe-install-lto-plugin
30402 maybe-install-lto-plugin:
30403 @if lto-plugin
30404 maybe-install-lto-plugin: install-lto-plugin
30406 install-lto-plugin: installdirs
30407 @: $(MAKE); $(unstage)
30408 @r=`${PWD_COMMAND}`; export r; \
30409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30410 $(HOST_EXPORTS) \
30411 (cd $(HOST_SUBDIR)/lto-plugin && \
30412 $(MAKE) $(FLAGS_TO_PASS) install)
30414 @endif lto-plugin
30416 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30417 maybe-install-strip-lto-plugin:
30418 @if lto-plugin
30419 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30421 install-strip-lto-plugin: installdirs
30422 @: $(MAKE); $(unstage)
30423 @r=`${PWD_COMMAND}`; export r; \
30424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30425 $(HOST_EXPORTS) \
30426 (cd $(HOST_SUBDIR)/lto-plugin && \
30427 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30429 @endif lto-plugin
30431 # Other targets (info, dvi, pdf, etc.)
30433 .PHONY: maybe-info-lto-plugin info-lto-plugin
30434 maybe-info-lto-plugin:
30435 @if lto-plugin
30436 maybe-info-lto-plugin: info-lto-plugin
30438 info-lto-plugin: \
30439 configure-lto-plugin
30440 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30441 r=`${PWD_COMMAND}`; export r; \
30442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30443 $(HOST_EXPORTS) \
30444 for flag in $(EXTRA_HOST_FLAGS) ; do \
30445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30446 done; \
30447 echo "Doing info in lto-plugin" ; \
30448 (cd $(HOST_SUBDIR)/lto-plugin && \
30449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30451 "RANLIB=$${RANLIB}" \
30452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30453 info) \
30454 || exit 1
30456 @endif lto-plugin
30458 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30459 maybe-dvi-lto-plugin:
30460 @if lto-plugin
30461 maybe-dvi-lto-plugin: dvi-lto-plugin
30463 dvi-lto-plugin: \
30464 configure-lto-plugin
30465 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(HOST_EXPORTS) \
30469 for flag in $(EXTRA_HOST_FLAGS) ; do \
30470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30471 done; \
30472 echo "Doing dvi in lto-plugin" ; \
30473 (cd $(HOST_SUBDIR)/lto-plugin && \
30474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30476 "RANLIB=$${RANLIB}" \
30477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30478 dvi) \
30479 || exit 1
30481 @endif lto-plugin
30483 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30484 maybe-pdf-lto-plugin:
30485 @if lto-plugin
30486 maybe-pdf-lto-plugin: pdf-lto-plugin
30488 pdf-lto-plugin: \
30489 configure-lto-plugin
30490 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30491 r=`${PWD_COMMAND}`; export r; \
30492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30493 $(HOST_EXPORTS) \
30494 for flag in $(EXTRA_HOST_FLAGS) ; do \
30495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30496 done; \
30497 echo "Doing pdf in lto-plugin" ; \
30498 (cd $(HOST_SUBDIR)/lto-plugin && \
30499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30501 "RANLIB=$${RANLIB}" \
30502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30503 pdf) \
30504 || exit 1
30506 @endif lto-plugin
30508 .PHONY: maybe-html-lto-plugin html-lto-plugin
30509 maybe-html-lto-plugin:
30510 @if lto-plugin
30511 maybe-html-lto-plugin: html-lto-plugin
30513 html-lto-plugin: \
30514 configure-lto-plugin
30515 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30516 r=`${PWD_COMMAND}`; export r; \
30517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30518 $(HOST_EXPORTS) \
30519 for flag in $(EXTRA_HOST_FLAGS) ; do \
30520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30521 done; \
30522 echo "Doing html in lto-plugin" ; \
30523 (cd $(HOST_SUBDIR)/lto-plugin && \
30524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30526 "RANLIB=$${RANLIB}" \
30527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30528 html) \
30529 || exit 1
30531 @endif lto-plugin
30533 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30534 maybe-TAGS-lto-plugin:
30535 @if lto-plugin
30536 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30538 TAGS-lto-plugin: \
30539 configure-lto-plugin
30540 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30541 r=`${PWD_COMMAND}`; export r; \
30542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30543 $(HOST_EXPORTS) \
30544 for flag in $(EXTRA_HOST_FLAGS) ; do \
30545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30546 done; \
30547 echo "Doing TAGS in lto-plugin" ; \
30548 (cd $(HOST_SUBDIR)/lto-plugin && \
30549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30551 "RANLIB=$${RANLIB}" \
30552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30553 TAGS) \
30554 || exit 1
30556 @endif lto-plugin
30558 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30559 maybe-install-info-lto-plugin:
30560 @if lto-plugin
30561 maybe-install-info-lto-plugin: install-info-lto-plugin
30563 install-info-lto-plugin: \
30564 configure-lto-plugin \
30565 info-lto-plugin
30566 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30567 r=`${PWD_COMMAND}`; export r; \
30568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30569 $(HOST_EXPORTS) \
30570 for flag in $(EXTRA_HOST_FLAGS) ; do \
30571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30572 done; \
30573 echo "Doing install-info in lto-plugin" ; \
30574 (cd $(HOST_SUBDIR)/lto-plugin && \
30575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30577 "RANLIB=$${RANLIB}" \
30578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30579 install-info) \
30580 || exit 1
30582 @endif lto-plugin
30584 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30585 maybe-install-pdf-lto-plugin:
30586 @if lto-plugin
30587 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30589 install-pdf-lto-plugin: \
30590 configure-lto-plugin \
30591 pdf-lto-plugin
30592 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30593 r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(HOST_EXPORTS) \
30596 for flag in $(EXTRA_HOST_FLAGS) ; do \
30597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30598 done; \
30599 echo "Doing install-pdf in lto-plugin" ; \
30600 (cd $(HOST_SUBDIR)/lto-plugin && \
30601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30603 "RANLIB=$${RANLIB}" \
30604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30605 install-pdf) \
30606 || exit 1
30608 @endif lto-plugin
30610 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30611 maybe-install-html-lto-plugin:
30612 @if lto-plugin
30613 maybe-install-html-lto-plugin: install-html-lto-plugin
30615 install-html-lto-plugin: \
30616 configure-lto-plugin \
30617 html-lto-plugin
30618 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30619 r=`${PWD_COMMAND}`; export r; \
30620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30621 $(HOST_EXPORTS) \
30622 for flag in $(EXTRA_HOST_FLAGS) ; do \
30623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30624 done; \
30625 echo "Doing install-html in lto-plugin" ; \
30626 (cd $(HOST_SUBDIR)/lto-plugin && \
30627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30629 "RANLIB=$${RANLIB}" \
30630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30631 install-html) \
30632 || exit 1
30634 @endif lto-plugin
30636 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30637 maybe-installcheck-lto-plugin:
30638 @if lto-plugin
30639 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30641 installcheck-lto-plugin: \
30642 configure-lto-plugin
30643 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30644 r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(HOST_EXPORTS) \
30647 for flag in $(EXTRA_HOST_FLAGS) ; do \
30648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30649 done; \
30650 echo "Doing installcheck in lto-plugin" ; \
30651 (cd $(HOST_SUBDIR)/lto-plugin && \
30652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30654 "RANLIB=$${RANLIB}" \
30655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30656 installcheck) \
30657 || exit 1
30659 @endif lto-plugin
30661 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30662 maybe-mostlyclean-lto-plugin:
30663 @if lto-plugin
30664 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30666 mostlyclean-lto-plugin:
30667 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30668 r=`${PWD_COMMAND}`; export r; \
30669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30670 $(HOST_EXPORTS) \
30671 for flag in $(EXTRA_HOST_FLAGS) ; do \
30672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30673 done; \
30674 echo "Doing mostlyclean in lto-plugin" ; \
30675 (cd $(HOST_SUBDIR)/lto-plugin && \
30676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30678 "RANLIB=$${RANLIB}" \
30679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30680 mostlyclean) \
30681 || exit 1
30683 @endif lto-plugin
30685 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30686 maybe-clean-lto-plugin:
30687 @if lto-plugin
30688 maybe-clean-lto-plugin: clean-lto-plugin
30690 clean-lto-plugin:
30691 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30692 r=`${PWD_COMMAND}`; export r; \
30693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30694 $(HOST_EXPORTS) \
30695 for flag in $(EXTRA_HOST_FLAGS) ; do \
30696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30697 done; \
30698 echo "Doing clean in lto-plugin" ; \
30699 (cd $(HOST_SUBDIR)/lto-plugin && \
30700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30702 "RANLIB=$${RANLIB}" \
30703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30704 clean) \
30705 || exit 1
30707 @endif lto-plugin
30709 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30710 maybe-distclean-lto-plugin:
30711 @if lto-plugin
30712 maybe-distclean-lto-plugin: distclean-lto-plugin
30714 distclean-lto-plugin:
30715 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30716 r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(HOST_EXPORTS) \
30719 for flag in $(EXTRA_HOST_FLAGS) ; do \
30720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30721 done; \
30722 echo "Doing distclean in lto-plugin" ; \
30723 (cd $(HOST_SUBDIR)/lto-plugin && \
30724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30726 "RANLIB=$${RANLIB}" \
30727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30728 distclean) \
30729 || exit 1
30731 @endif lto-plugin
30733 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30734 maybe-maintainer-clean-lto-plugin:
30735 @if lto-plugin
30736 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30738 maintainer-clean-lto-plugin:
30739 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30740 r=`${PWD_COMMAND}`; export r; \
30741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30742 $(HOST_EXPORTS) \
30743 for flag in $(EXTRA_HOST_FLAGS) ; do \
30744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30745 done; \
30746 echo "Doing maintainer-clean in lto-plugin" ; \
30747 (cd $(HOST_SUBDIR)/lto-plugin && \
30748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30750 "RANLIB=$${RANLIB}" \
30751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30752 maintainer-clean) \
30753 || exit 1
30755 @endif lto-plugin
30759 # ---------------------------------------
30760 # Modules which run on the target machine
30761 # ---------------------------------------
30766 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30767 maybe-configure-target-libstdc++-v3:
30768 @if gcc-bootstrap
30769 configure-target-libstdc++-v3: stage_current
30770 @endif gcc-bootstrap
30771 @if target-libstdc++-v3
30772 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30773 configure-target-libstdc++-v3:
30774 @r=`${PWD_COMMAND}`; export r; \
30775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30776 echo "Checking multilib configuration for libstdc++-v3..."; \
30777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30778 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30779 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30780 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30781 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30782 else \
30783 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30784 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30785 fi; \
30786 else \
30787 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30788 fi; \
30789 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30790 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30791 $(RAW_CXX_TARGET_EXPORTS) \
30792 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30793 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30794 case $(srcdir) in \
30795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30796 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30798 esac; \
30799 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30800 libsrcdir="$$s/libstdc++-v3"; \
30801 rm -f no-such-file || : ; \
30802 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30803 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30804 --target=${target_alias} $${srcdiroption} \
30805 || exit 1
30806 @endif target-libstdc++-v3
30810 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30811 maybe-configure-stage1-target-libstdc++-v3:
30812 @if target-libstdc++-v3-bootstrap
30813 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30814 configure-stage1-target-libstdc++-v3:
30815 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30816 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30817 @r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 TFLAGS="$(STAGE1_TFLAGS)"; \
30820 echo "Checking multilib configuration for libstdc++-v3..."; \
30821 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30822 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30823 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30824 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30825 else \
30826 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30827 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30828 fi; \
30829 else \
30830 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30831 fi; \
30832 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30833 $(RAW_CXX_TARGET_EXPORTS) \
30834 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30835 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30836 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30837 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30839 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30840 case $(srcdir) in \
30841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30842 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30844 esac; \
30845 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30846 libsrcdir="$$s/libstdc++-v3"; \
30847 $(SHELL) $${libsrcdir}/configure \
30848 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30849 --target=${target_alias} $${srcdiroption} \
30850 $(STAGE1_CONFIGURE_FLAGS)
30851 @endif target-libstdc++-v3-bootstrap
30853 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30854 maybe-configure-stage2-target-libstdc++-v3:
30855 @if target-libstdc++-v3-bootstrap
30856 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30857 configure-stage2-target-libstdc++-v3:
30858 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30859 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30860 @r=`${PWD_COMMAND}`; export r; \
30861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30862 TFLAGS="$(STAGE2_TFLAGS)"; \
30863 echo "Checking multilib configuration for libstdc++-v3..."; \
30864 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30865 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30866 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30867 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30868 else \
30869 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30870 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30871 fi; \
30872 else \
30873 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30874 fi; \
30875 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30876 $(RAW_CXX_TARGET_EXPORTS) \
30878 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30879 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30880 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30881 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30883 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30884 case $(srcdir) in \
30885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30886 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30888 esac; \
30889 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30890 libsrcdir="$$s/libstdc++-v3"; \
30891 $(SHELL) $${libsrcdir}/configure \
30892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30893 --target=${target_alias} $${srcdiroption} \
30894 --with-build-libsubdir=$(HOST_SUBDIR) \
30895 $(STAGE2_CONFIGURE_FLAGS)
30896 @endif target-libstdc++-v3-bootstrap
30898 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30899 maybe-configure-stage3-target-libstdc++-v3:
30900 @if target-libstdc++-v3-bootstrap
30901 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30902 configure-stage3-target-libstdc++-v3:
30903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30904 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30905 @r=`${PWD_COMMAND}`; export r; \
30906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30907 TFLAGS="$(STAGE3_TFLAGS)"; \
30908 echo "Checking multilib configuration for libstdc++-v3..."; \
30909 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30910 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30911 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30912 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30913 else \
30914 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30915 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30916 fi; \
30917 else \
30918 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30919 fi; \
30920 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30921 $(RAW_CXX_TARGET_EXPORTS) \
30923 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30924 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30925 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30926 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30928 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30929 case $(srcdir) in \
30930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30931 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30933 esac; \
30934 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30935 libsrcdir="$$s/libstdc++-v3"; \
30936 $(SHELL) $${libsrcdir}/configure \
30937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30938 --target=${target_alias} $${srcdiroption} \
30939 --with-build-libsubdir=$(HOST_SUBDIR) \
30940 $(STAGE3_CONFIGURE_FLAGS)
30941 @endif target-libstdc++-v3-bootstrap
30943 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30944 maybe-configure-stage4-target-libstdc++-v3:
30945 @if target-libstdc++-v3-bootstrap
30946 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30947 configure-stage4-target-libstdc++-v3:
30948 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30949 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30950 @r=`${PWD_COMMAND}`; export r; \
30951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30952 TFLAGS="$(STAGE4_TFLAGS)"; \
30953 echo "Checking multilib configuration for libstdc++-v3..."; \
30954 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30955 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30956 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30957 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30958 else \
30959 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30960 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30961 fi; \
30962 else \
30963 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30964 fi; \
30965 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30966 $(RAW_CXX_TARGET_EXPORTS) \
30968 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30969 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30970 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30971 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30973 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30974 case $(srcdir) in \
30975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30976 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30978 esac; \
30979 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30980 libsrcdir="$$s/libstdc++-v3"; \
30981 $(SHELL) $${libsrcdir}/configure \
30982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30983 --target=${target_alias} $${srcdiroption} \
30984 --with-build-libsubdir=$(HOST_SUBDIR) \
30985 $(STAGE4_CONFIGURE_FLAGS)
30986 @endif target-libstdc++-v3-bootstrap
30988 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30989 maybe-configure-stageprofile-target-libstdc++-v3:
30990 @if target-libstdc++-v3-bootstrap
30991 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30992 configure-stageprofile-target-libstdc++-v3:
30993 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30994 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30995 @r=`${PWD_COMMAND}`; export r; \
30996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30997 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30998 echo "Checking multilib configuration for libstdc++-v3..."; \
30999 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31000 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31001 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31002 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31003 else \
31004 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31005 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31006 fi; \
31007 else \
31008 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31009 fi; \
31010 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31011 $(RAW_CXX_TARGET_EXPORTS) \
31013 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31014 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31015 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31016 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31018 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31019 case $(srcdir) in \
31020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31021 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31023 esac; \
31024 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31025 libsrcdir="$$s/libstdc++-v3"; \
31026 $(SHELL) $${libsrcdir}/configure \
31027 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31028 --target=${target_alias} $${srcdiroption} \
31029 --with-build-libsubdir=$(HOST_SUBDIR) \
31030 $(STAGEprofile_CONFIGURE_FLAGS)
31031 @endif target-libstdc++-v3-bootstrap
31033 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31034 maybe-configure-stagefeedback-target-libstdc++-v3:
31035 @if target-libstdc++-v3-bootstrap
31036 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31037 configure-stagefeedback-target-libstdc++-v3:
31038 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31039 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31040 @r=`${PWD_COMMAND}`; export r; \
31041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31042 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31043 echo "Checking multilib configuration for libstdc++-v3..."; \
31044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31045 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31046 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31047 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31048 else \
31049 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31050 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31051 fi; \
31052 else \
31053 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31054 fi; \
31055 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31056 $(RAW_CXX_TARGET_EXPORTS) \
31058 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31059 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31060 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31061 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31063 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31064 case $(srcdir) in \
31065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31066 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31068 esac; \
31069 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31070 libsrcdir="$$s/libstdc++-v3"; \
31071 $(SHELL) $${libsrcdir}/configure \
31072 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31073 --target=${target_alias} $${srcdiroption} \
31074 --with-build-libsubdir=$(HOST_SUBDIR) \
31075 $(STAGEfeedback_CONFIGURE_FLAGS)
31076 @endif target-libstdc++-v3-bootstrap
31082 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31083 maybe-all-target-libstdc++-v3:
31084 @if gcc-bootstrap
31085 all-target-libstdc++-v3: stage_current
31086 @endif gcc-bootstrap
31087 @if target-libstdc++-v3
31088 TARGET-target-libstdc++-v3=all
31089 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31090 all-target-libstdc++-v3: configure-target-libstdc++-v3
31091 @r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 $(RAW_CXX_TARGET_EXPORTS) \
31094 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31096 $(TARGET-target-libstdc++-v3))
31097 @endif target-libstdc++-v3
31101 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31102 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31103 maybe-all-stage1-target-libstdc++-v3:
31104 maybe-clean-stage1-target-libstdc++-v3:
31105 @if target-libstdc++-v3-bootstrap
31106 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31107 all-stage1: all-stage1-target-libstdc++-v3
31108 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31109 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31111 @r=`${PWD_COMMAND}`; export r; \
31112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31113 TFLAGS="$(STAGE1_TFLAGS)"; \
31114 $(RAW_CXX_TARGET_EXPORTS) \
31115 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31117 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31118 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31119 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31123 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31125 TFLAGS="$(STAGE1_TFLAGS)" \
31126 $(TARGET-stage1-target-libstdc++-v3)
31128 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31129 clean-stage1: clean-stage1-target-libstdc++-v3
31130 clean-stage1-target-libstdc++-v3:
31131 @if [ $(current_stage) = stage1 ]; then \
31132 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31133 else \
31134 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31135 $(MAKE) stage1-start; \
31136 fi; \
31137 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31138 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31139 clean
31140 @endif target-libstdc++-v3-bootstrap
31143 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31144 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31145 maybe-all-stage2-target-libstdc++-v3:
31146 maybe-clean-stage2-target-libstdc++-v3:
31147 @if target-libstdc++-v3-bootstrap
31148 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31149 all-stage2: all-stage2-target-libstdc++-v3
31150 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31151 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31153 @r=`${PWD_COMMAND}`; export r; \
31154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31155 TFLAGS="$(STAGE2_TFLAGS)"; \
31156 $(RAW_CXX_TARGET_EXPORTS) \
31158 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31160 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31161 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31162 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31166 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31167 TFLAGS="$(STAGE2_TFLAGS)" \
31168 $(TARGET-stage2-target-libstdc++-v3)
31170 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31171 clean-stage2: clean-stage2-target-libstdc++-v3
31172 clean-stage2-target-libstdc++-v3:
31173 @if [ $(current_stage) = stage2 ]; then \
31174 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31175 else \
31176 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31177 $(MAKE) stage2-start; \
31178 fi; \
31179 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31180 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31181 @endif target-libstdc++-v3-bootstrap
31184 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31185 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31186 maybe-all-stage3-target-libstdc++-v3:
31187 maybe-clean-stage3-target-libstdc++-v3:
31188 @if target-libstdc++-v3-bootstrap
31189 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31190 all-stage3: all-stage3-target-libstdc++-v3
31191 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31192 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31194 @r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 TFLAGS="$(STAGE3_TFLAGS)"; \
31197 $(RAW_CXX_TARGET_EXPORTS) \
31199 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31201 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31203 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31207 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31208 TFLAGS="$(STAGE3_TFLAGS)" \
31209 $(TARGET-stage3-target-libstdc++-v3)
31211 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31212 clean-stage3: clean-stage3-target-libstdc++-v3
31213 clean-stage3-target-libstdc++-v3:
31214 @if [ $(current_stage) = stage3 ]; then \
31215 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31216 else \
31217 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31218 $(MAKE) stage3-start; \
31219 fi; \
31220 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31221 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31222 @endif target-libstdc++-v3-bootstrap
31225 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31226 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31227 maybe-all-stage4-target-libstdc++-v3:
31228 maybe-clean-stage4-target-libstdc++-v3:
31229 @if target-libstdc++-v3-bootstrap
31230 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31231 all-stage4: all-stage4-target-libstdc++-v3
31232 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31233 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31235 @r=`${PWD_COMMAND}`; export r; \
31236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31237 TFLAGS="$(STAGE4_TFLAGS)"; \
31238 $(RAW_CXX_TARGET_EXPORTS) \
31240 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31242 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31243 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31244 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31248 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31249 TFLAGS="$(STAGE4_TFLAGS)" \
31250 $(TARGET-stage4-target-libstdc++-v3)
31252 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31253 clean-stage4: clean-stage4-target-libstdc++-v3
31254 clean-stage4-target-libstdc++-v3:
31255 @if [ $(current_stage) = stage4 ]; then \
31256 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31257 else \
31258 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31259 $(MAKE) stage4-start; \
31260 fi; \
31261 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31262 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31263 @endif target-libstdc++-v3-bootstrap
31266 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31267 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31268 maybe-all-stageprofile-target-libstdc++-v3:
31269 maybe-clean-stageprofile-target-libstdc++-v3:
31270 @if target-libstdc++-v3-bootstrap
31271 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31272 all-stageprofile: all-stageprofile-target-libstdc++-v3
31273 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31274 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31276 @r=`${PWD_COMMAND}`; export r; \
31277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31278 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31279 $(RAW_CXX_TARGET_EXPORTS) \
31281 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31283 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31284 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31285 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31289 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31290 TFLAGS="$(STAGEprofile_TFLAGS)" \
31291 $(TARGET-stageprofile-target-libstdc++-v3)
31293 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31294 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31295 clean-stageprofile-target-libstdc++-v3:
31296 @if [ $(current_stage) = stageprofile ]; then \
31297 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31298 else \
31299 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31300 $(MAKE) stageprofile-start; \
31301 fi; \
31302 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31303 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31304 @endif target-libstdc++-v3-bootstrap
31307 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31308 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31309 maybe-all-stagefeedback-target-libstdc++-v3:
31310 maybe-clean-stagefeedback-target-libstdc++-v3:
31311 @if target-libstdc++-v3-bootstrap
31312 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31313 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31314 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31315 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31317 @r=`${PWD_COMMAND}`; export r; \
31318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31319 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31320 $(RAW_CXX_TARGET_EXPORTS) \
31322 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31324 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31325 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31326 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31330 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31331 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31332 $(TARGET-stagefeedback-target-libstdc++-v3)
31334 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31335 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31336 clean-stagefeedback-target-libstdc++-v3:
31337 @if [ $(current_stage) = stagefeedback ]; then \
31338 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31339 else \
31340 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31341 $(MAKE) stagefeedback-start; \
31342 fi; \
31343 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31344 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31345 @endif target-libstdc++-v3-bootstrap
31352 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31353 maybe-check-target-libstdc++-v3:
31354 @if target-libstdc++-v3
31355 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31357 check-target-libstdc++-v3:
31358 @: $(MAKE); $(unstage)
31359 @r=`${PWD_COMMAND}`; export r; \
31360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31361 $(RAW_CXX_TARGET_EXPORTS) \
31362 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31363 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31365 @endif target-libstdc++-v3
31367 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31368 maybe-install-target-libstdc++-v3:
31369 @if target-libstdc++-v3
31370 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31372 install-target-libstdc++-v3: installdirs
31373 @: $(MAKE); $(unstage)
31374 @r=`${PWD_COMMAND}`; export r; \
31375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31376 $(RAW_CXX_TARGET_EXPORTS) \
31377 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31378 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31380 @endif target-libstdc++-v3
31382 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31383 maybe-install-strip-target-libstdc++-v3:
31384 @if target-libstdc++-v3
31385 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31387 install-strip-target-libstdc++-v3: installdirs
31388 @: $(MAKE); $(unstage)
31389 @r=`${PWD_COMMAND}`; export r; \
31390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31391 $(RAW_CXX_TARGET_EXPORTS) \
31392 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31393 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31395 @endif target-libstdc++-v3
31397 # Other targets (info, dvi, pdf, etc.)
31399 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31400 maybe-info-target-libstdc++-v3:
31401 @if target-libstdc++-v3
31402 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31404 info-target-libstdc++-v3: \
31405 configure-target-libstdc++-v3
31406 @: $(MAKE); $(unstage)
31407 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31408 r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 $(RAW_CXX_TARGET_EXPORTS) \
31411 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31412 for flag in $(EXTRA_TARGET_FLAGS); do \
31413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31414 done; \
31415 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31418 "RANLIB=$${RANLIB}" \
31419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31420 info) \
31421 || exit 1
31423 @endif target-libstdc++-v3
31425 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31426 maybe-dvi-target-libstdc++-v3:
31427 @if target-libstdc++-v3
31428 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31430 dvi-target-libstdc++-v3: \
31431 configure-target-libstdc++-v3
31432 @: $(MAKE); $(unstage)
31433 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31434 r=`${PWD_COMMAND}`; export r; \
31435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31436 $(RAW_CXX_TARGET_EXPORTS) \
31437 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31438 for flag in $(EXTRA_TARGET_FLAGS); do \
31439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31440 done; \
31441 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31444 "RANLIB=$${RANLIB}" \
31445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31446 dvi) \
31447 || exit 1
31449 @endif target-libstdc++-v3
31451 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31452 maybe-pdf-target-libstdc++-v3:
31453 @if target-libstdc++-v3
31454 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31456 pdf-target-libstdc++-v3: \
31457 configure-target-libstdc++-v3
31458 @: $(MAKE); $(unstage)
31459 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31460 r=`${PWD_COMMAND}`; export r; \
31461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31462 $(RAW_CXX_TARGET_EXPORTS) \
31463 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31464 for flag in $(EXTRA_TARGET_FLAGS); do \
31465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31466 done; \
31467 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31470 "RANLIB=$${RANLIB}" \
31471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31472 pdf) \
31473 || exit 1
31475 @endif target-libstdc++-v3
31477 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31478 maybe-html-target-libstdc++-v3:
31479 @if target-libstdc++-v3
31480 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31482 html-target-libstdc++-v3: \
31483 configure-target-libstdc++-v3
31484 @: $(MAKE); $(unstage)
31485 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31486 r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(RAW_CXX_TARGET_EXPORTS) \
31489 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31490 for flag in $(EXTRA_TARGET_FLAGS); do \
31491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31492 done; \
31493 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31496 "RANLIB=$${RANLIB}" \
31497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31498 html) \
31499 || exit 1
31501 @endif target-libstdc++-v3
31503 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31504 maybe-TAGS-target-libstdc++-v3:
31505 @if target-libstdc++-v3
31506 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31508 TAGS-target-libstdc++-v3: \
31509 configure-target-libstdc++-v3
31510 @: $(MAKE); $(unstage)
31511 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31512 r=`${PWD_COMMAND}`; export r; \
31513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31514 $(RAW_CXX_TARGET_EXPORTS) \
31515 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31516 for flag in $(EXTRA_TARGET_FLAGS); do \
31517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31518 done; \
31519 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31522 "RANLIB=$${RANLIB}" \
31523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31524 TAGS) \
31525 || exit 1
31527 @endif target-libstdc++-v3
31529 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31530 maybe-install-info-target-libstdc++-v3:
31531 @if target-libstdc++-v3
31532 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31534 install-info-target-libstdc++-v3: \
31535 configure-target-libstdc++-v3 \
31536 info-target-libstdc++-v3
31537 @: $(MAKE); $(unstage)
31538 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31539 r=`${PWD_COMMAND}`; export r; \
31540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31541 $(RAW_CXX_TARGET_EXPORTS) \
31542 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31543 for flag in $(EXTRA_TARGET_FLAGS); do \
31544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31545 done; \
31546 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31549 "RANLIB=$${RANLIB}" \
31550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31551 install-info) \
31552 || exit 1
31554 @endif target-libstdc++-v3
31556 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31557 maybe-install-pdf-target-libstdc++-v3:
31558 @if target-libstdc++-v3
31559 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31561 install-pdf-target-libstdc++-v3: \
31562 configure-target-libstdc++-v3 \
31563 pdf-target-libstdc++-v3
31564 @: $(MAKE); $(unstage)
31565 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31566 r=`${PWD_COMMAND}`; export r; \
31567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31568 $(RAW_CXX_TARGET_EXPORTS) \
31569 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31570 for flag in $(EXTRA_TARGET_FLAGS); do \
31571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31572 done; \
31573 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31576 "RANLIB=$${RANLIB}" \
31577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31578 install-pdf) \
31579 || exit 1
31581 @endif target-libstdc++-v3
31583 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31584 maybe-install-html-target-libstdc++-v3:
31585 @if target-libstdc++-v3
31586 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31588 install-html-target-libstdc++-v3: \
31589 configure-target-libstdc++-v3 \
31590 html-target-libstdc++-v3
31591 @: $(MAKE); $(unstage)
31592 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31593 r=`${PWD_COMMAND}`; export r; \
31594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31595 $(RAW_CXX_TARGET_EXPORTS) \
31596 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31597 for flag in $(EXTRA_TARGET_FLAGS); do \
31598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31599 done; \
31600 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31603 "RANLIB=$${RANLIB}" \
31604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31605 install-html) \
31606 || exit 1
31608 @endif target-libstdc++-v3
31610 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31611 maybe-installcheck-target-libstdc++-v3:
31612 @if target-libstdc++-v3
31613 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31615 installcheck-target-libstdc++-v3: \
31616 configure-target-libstdc++-v3
31617 @: $(MAKE); $(unstage)
31618 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31619 r=`${PWD_COMMAND}`; export r; \
31620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31621 $(RAW_CXX_TARGET_EXPORTS) \
31622 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31623 for flag in $(EXTRA_TARGET_FLAGS); do \
31624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31625 done; \
31626 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31629 "RANLIB=$${RANLIB}" \
31630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31631 installcheck) \
31632 || exit 1
31634 @endif target-libstdc++-v3
31636 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31637 maybe-mostlyclean-target-libstdc++-v3:
31638 @if target-libstdc++-v3
31639 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31641 mostlyclean-target-libstdc++-v3:
31642 @: $(MAKE); $(unstage)
31643 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31644 r=`${PWD_COMMAND}`; export r; \
31645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31646 $(RAW_CXX_TARGET_EXPORTS) \
31647 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31648 for flag in $(EXTRA_TARGET_FLAGS); do \
31649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31650 done; \
31651 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31654 "RANLIB=$${RANLIB}" \
31655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31656 mostlyclean) \
31657 || exit 1
31659 @endif target-libstdc++-v3
31661 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31662 maybe-clean-target-libstdc++-v3:
31663 @if target-libstdc++-v3
31664 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31666 clean-target-libstdc++-v3:
31667 @: $(MAKE); $(unstage)
31668 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31669 r=`${PWD_COMMAND}`; export r; \
31670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31671 $(RAW_CXX_TARGET_EXPORTS) \
31672 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31673 for flag in $(EXTRA_TARGET_FLAGS); do \
31674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31675 done; \
31676 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31679 "RANLIB=$${RANLIB}" \
31680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31681 clean) \
31682 || exit 1
31684 @endif target-libstdc++-v3
31686 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31687 maybe-distclean-target-libstdc++-v3:
31688 @if target-libstdc++-v3
31689 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31691 distclean-target-libstdc++-v3:
31692 @: $(MAKE); $(unstage)
31693 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31694 r=`${PWD_COMMAND}`; export r; \
31695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31696 $(RAW_CXX_TARGET_EXPORTS) \
31697 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31698 for flag in $(EXTRA_TARGET_FLAGS); do \
31699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31700 done; \
31701 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31704 "RANLIB=$${RANLIB}" \
31705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31706 distclean) \
31707 || exit 1
31709 @endif target-libstdc++-v3
31711 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31712 maybe-maintainer-clean-target-libstdc++-v3:
31713 @if target-libstdc++-v3
31714 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31716 maintainer-clean-target-libstdc++-v3:
31717 @: $(MAKE); $(unstage)
31718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31719 r=`${PWD_COMMAND}`; export r; \
31720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31721 $(RAW_CXX_TARGET_EXPORTS) \
31722 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31723 for flag in $(EXTRA_TARGET_FLAGS); do \
31724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31725 done; \
31726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31729 "RANLIB=$${RANLIB}" \
31730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31731 maintainer-clean) \
31732 || exit 1
31734 @endif target-libstdc++-v3
31740 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
31741 maybe-configure-target-libsanitizer:
31742 @if gcc-bootstrap
31743 configure-target-libsanitizer: stage_current
31744 @endif gcc-bootstrap
31745 @if target-libsanitizer
31746 maybe-configure-target-libsanitizer: configure-target-libsanitizer
31747 configure-target-libsanitizer:
31748 @r=`${PWD_COMMAND}`; export r; \
31749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31750 echo "Checking multilib configuration for libsanitizer..."; \
31751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31752 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31753 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31754 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31755 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31756 else \
31757 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31758 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31759 fi; \
31760 else \
31761 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31762 fi; \
31763 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31764 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31765 $(RAW_CXX_TARGET_EXPORTS) \
31766 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
31767 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
31768 case $(srcdir) in \
31769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31770 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31772 esac; \
31773 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31774 libsrcdir="$$s/libsanitizer"; \
31775 rm -f no-such-file || : ; \
31776 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31777 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31778 --target=${target_alias} $${srcdiroption} \
31779 || exit 1
31780 @endif target-libsanitizer
31784 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
31785 maybe-configure-stage1-target-libsanitizer:
31786 @if target-libsanitizer-bootstrap
31787 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
31788 configure-stage1-target-libsanitizer:
31789 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31790 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31791 @r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 TFLAGS="$(STAGE1_TFLAGS)"; \
31794 echo "Checking multilib configuration for libsanitizer..."; \
31795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31796 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31797 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31798 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31799 else \
31800 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31801 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31802 fi; \
31803 else \
31804 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31805 fi; \
31806 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31807 $(RAW_CXX_TARGET_EXPORTS) \
31808 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31809 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31810 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31811 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
31812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31813 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31814 case $(srcdir) in \
31815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31816 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31818 esac; \
31819 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31820 libsrcdir="$$s/libsanitizer"; \
31821 $(SHELL) $${libsrcdir}/configure \
31822 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31823 --target=${target_alias} $${srcdiroption} \
31824 $(STAGE1_CONFIGURE_FLAGS)
31825 @endif target-libsanitizer-bootstrap
31827 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
31828 maybe-configure-stage2-target-libsanitizer:
31829 @if target-libsanitizer-bootstrap
31830 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
31831 configure-stage2-target-libsanitizer:
31832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31833 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31834 @r=`${PWD_COMMAND}`; export r; \
31835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31836 TFLAGS="$(STAGE2_TFLAGS)"; \
31837 echo "Checking multilib configuration for libsanitizer..."; \
31838 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31839 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31840 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31841 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31842 else \
31843 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31844 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31845 fi; \
31846 else \
31847 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31848 fi; \
31849 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31850 $(RAW_CXX_TARGET_EXPORTS) \
31852 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31853 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31854 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31855 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
31856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31857 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31858 case $(srcdir) in \
31859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31860 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31862 esac; \
31863 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31864 libsrcdir="$$s/libsanitizer"; \
31865 $(SHELL) $${libsrcdir}/configure \
31866 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31867 --target=${target_alias} $${srcdiroption} \
31868 --with-build-libsubdir=$(HOST_SUBDIR) \
31869 $(STAGE2_CONFIGURE_FLAGS)
31870 @endif target-libsanitizer-bootstrap
31872 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
31873 maybe-configure-stage3-target-libsanitizer:
31874 @if target-libsanitizer-bootstrap
31875 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
31876 configure-stage3-target-libsanitizer:
31877 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31878 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31879 @r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 TFLAGS="$(STAGE3_TFLAGS)"; \
31882 echo "Checking multilib configuration for libsanitizer..."; \
31883 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31884 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31885 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31886 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31887 else \
31888 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31889 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31890 fi; \
31891 else \
31892 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31893 fi; \
31894 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31895 $(RAW_CXX_TARGET_EXPORTS) \
31897 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31898 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31899 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31900 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
31901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31902 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31903 case $(srcdir) in \
31904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31905 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31907 esac; \
31908 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31909 libsrcdir="$$s/libsanitizer"; \
31910 $(SHELL) $${libsrcdir}/configure \
31911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31912 --target=${target_alias} $${srcdiroption} \
31913 --with-build-libsubdir=$(HOST_SUBDIR) \
31914 $(STAGE3_CONFIGURE_FLAGS)
31915 @endif target-libsanitizer-bootstrap
31917 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
31918 maybe-configure-stage4-target-libsanitizer:
31919 @if target-libsanitizer-bootstrap
31920 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
31921 configure-stage4-target-libsanitizer:
31922 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31923 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31924 @r=`${PWD_COMMAND}`; export r; \
31925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31926 TFLAGS="$(STAGE4_TFLAGS)"; \
31927 echo "Checking multilib configuration for libsanitizer..."; \
31928 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31929 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31930 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31931 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31932 else \
31933 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31934 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31935 fi; \
31936 else \
31937 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31938 fi; \
31939 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31940 $(RAW_CXX_TARGET_EXPORTS) \
31942 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31943 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31944 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31945 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
31946 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31947 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31948 case $(srcdir) in \
31949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31950 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31952 esac; \
31953 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31954 libsrcdir="$$s/libsanitizer"; \
31955 $(SHELL) $${libsrcdir}/configure \
31956 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31957 --target=${target_alias} $${srcdiroption} \
31958 --with-build-libsubdir=$(HOST_SUBDIR) \
31959 $(STAGE4_CONFIGURE_FLAGS)
31960 @endif target-libsanitizer-bootstrap
31962 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
31963 maybe-configure-stageprofile-target-libsanitizer:
31964 @if target-libsanitizer-bootstrap
31965 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
31966 configure-stageprofile-target-libsanitizer:
31967 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31968 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
31969 @r=`${PWD_COMMAND}`; export r; \
31970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31971 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31972 echo "Checking multilib configuration for libsanitizer..."; \
31973 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
31974 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31975 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
31976 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
31977 else \
31978 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
31979 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31980 fi; \
31981 else \
31982 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
31983 fi; \
31984 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
31985 $(RAW_CXX_TARGET_EXPORTS) \
31987 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31988 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31989 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31990 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
31991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
31992 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
31993 case $(srcdir) in \
31994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31995 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
31996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31997 esac; \
31998 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
31999 libsrcdir="$$s/libsanitizer"; \
32000 $(SHELL) $${libsrcdir}/configure \
32001 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32002 --target=${target_alias} $${srcdiroption} \
32003 --with-build-libsubdir=$(HOST_SUBDIR) \
32004 $(STAGEprofile_CONFIGURE_FLAGS)
32005 @endif target-libsanitizer-bootstrap
32007 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
32008 maybe-configure-stagefeedback-target-libsanitizer:
32009 @if target-libsanitizer-bootstrap
32010 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32011 configure-stagefeedback-target-libsanitizer:
32012 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32013 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32014 @r=`${PWD_COMMAND}`; export r; \
32015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32016 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32017 echo "Checking multilib configuration for libsanitizer..."; \
32018 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32019 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32020 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32021 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32022 else \
32023 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32024 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32025 fi; \
32026 else \
32027 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32028 fi; \
32029 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32030 $(RAW_CXX_TARGET_EXPORTS) \
32032 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32033 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32034 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32035 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
32036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32037 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32038 case $(srcdir) in \
32039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32040 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32042 esac; \
32043 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32044 libsrcdir="$$s/libsanitizer"; \
32045 $(SHELL) $${libsrcdir}/configure \
32046 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32047 --target=${target_alias} $${srcdiroption} \
32048 --with-build-libsubdir=$(HOST_SUBDIR) \
32049 $(STAGEfeedback_CONFIGURE_FLAGS)
32050 @endif target-libsanitizer-bootstrap
32056 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32057 maybe-all-target-libsanitizer:
32058 @if gcc-bootstrap
32059 all-target-libsanitizer: stage_current
32060 @endif gcc-bootstrap
32061 @if target-libsanitizer
32062 TARGET-target-libsanitizer=all
32063 maybe-all-target-libsanitizer: all-target-libsanitizer
32064 all-target-libsanitizer: configure-target-libsanitizer
32065 @r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(RAW_CXX_TARGET_EXPORTS) \
32068 (cd $(TARGET_SUBDIR)/libsanitizer && \
32069 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32070 $(TARGET-target-libsanitizer))
32071 @endif target-libsanitizer
32075 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
32076 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
32077 maybe-all-stage1-target-libsanitizer:
32078 maybe-clean-stage1-target-libsanitizer:
32079 @if target-libsanitizer-bootstrap
32080 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
32081 all-stage1: all-stage1-target-libsanitizer
32082 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
32083 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32084 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32085 @r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 TFLAGS="$(STAGE1_TFLAGS)"; \
32088 $(RAW_CXX_TARGET_EXPORTS) \
32089 cd $(TARGET_SUBDIR)/libsanitizer && \
32090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32091 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32092 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32093 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32097 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32099 TFLAGS="$(STAGE1_TFLAGS)" \
32100 $(TARGET-stage1-target-libsanitizer)
32102 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
32103 clean-stage1: clean-stage1-target-libsanitizer
32104 clean-stage1-target-libsanitizer:
32105 @if [ $(current_stage) = stage1 ]; then \
32106 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32107 else \
32108 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
32109 $(MAKE) stage1-start; \
32110 fi; \
32111 cd $(TARGET_SUBDIR)/libsanitizer && \
32112 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32113 clean
32114 @endif target-libsanitizer-bootstrap
32117 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
32118 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
32119 maybe-all-stage2-target-libsanitizer:
32120 maybe-clean-stage2-target-libsanitizer:
32121 @if target-libsanitizer-bootstrap
32122 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
32123 all-stage2: all-stage2-target-libsanitizer
32124 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
32125 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32126 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32127 @r=`${PWD_COMMAND}`; export r; \
32128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32129 TFLAGS="$(STAGE2_TFLAGS)"; \
32130 $(RAW_CXX_TARGET_EXPORTS) \
32132 cd $(TARGET_SUBDIR)/libsanitizer && \
32133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32134 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32135 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32136 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32140 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32141 TFLAGS="$(STAGE2_TFLAGS)" \
32142 $(TARGET-stage2-target-libsanitizer)
32144 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
32145 clean-stage2: clean-stage2-target-libsanitizer
32146 clean-stage2-target-libsanitizer:
32147 @if [ $(current_stage) = stage2 ]; then \
32148 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32149 else \
32150 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
32151 $(MAKE) stage2-start; \
32152 fi; \
32153 cd $(TARGET_SUBDIR)/libsanitizer && \
32154 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32155 @endif target-libsanitizer-bootstrap
32158 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
32159 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
32160 maybe-all-stage3-target-libsanitizer:
32161 maybe-clean-stage3-target-libsanitizer:
32162 @if target-libsanitizer-bootstrap
32163 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
32164 all-stage3: all-stage3-target-libsanitizer
32165 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
32166 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32167 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32168 @r=`${PWD_COMMAND}`; export r; \
32169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32170 TFLAGS="$(STAGE3_TFLAGS)"; \
32171 $(RAW_CXX_TARGET_EXPORTS) \
32173 cd $(TARGET_SUBDIR)/libsanitizer && \
32174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32175 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32176 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32177 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32181 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32182 TFLAGS="$(STAGE3_TFLAGS)" \
32183 $(TARGET-stage3-target-libsanitizer)
32185 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
32186 clean-stage3: clean-stage3-target-libsanitizer
32187 clean-stage3-target-libsanitizer:
32188 @if [ $(current_stage) = stage3 ]; then \
32189 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32190 else \
32191 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
32192 $(MAKE) stage3-start; \
32193 fi; \
32194 cd $(TARGET_SUBDIR)/libsanitizer && \
32195 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32196 @endif target-libsanitizer-bootstrap
32199 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
32200 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
32201 maybe-all-stage4-target-libsanitizer:
32202 maybe-clean-stage4-target-libsanitizer:
32203 @if target-libsanitizer-bootstrap
32204 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
32205 all-stage4: all-stage4-target-libsanitizer
32206 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
32207 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32208 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32209 @r=`${PWD_COMMAND}`; export r; \
32210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32211 TFLAGS="$(STAGE4_TFLAGS)"; \
32212 $(RAW_CXX_TARGET_EXPORTS) \
32214 cd $(TARGET_SUBDIR)/libsanitizer && \
32215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32216 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32222 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32223 TFLAGS="$(STAGE4_TFLAGS)" \
32224 $(TARGET-stage4-target-libsanitizer)
32226 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
32227 clean-stage4: clean-stage4-target-libsanitizer
32228 clean-stage4-target-libsanitizer:
32229 @if [ $(current_stage) = stage4 ]; then \
32230 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32231 else \
32232 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
32233 $(MAKE) stage4-start; \
32234 fi; \
32235 cd $(TARGET_SUBDIR)/libsanitizer && \
32236 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32237 @endif target-libsanitizer-bootstrap
32240 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
32241 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
32242 maybe-all-stageprofile-target-libsanitizer:
32243 maybe-clean-stageprofile-target-libsanitizer:
32244 @if target-libsanitizer-bootstrap
32245 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
32246 all-stageprofile: all-stageprofile-target-libsanitizer
32247 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
32248 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32249 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32250 @r=`${PWD_COMMAND}`; export r; \
32251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32252 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32253 $(RAW_CXX_TARGET_EXPORTS) \
32255 cd $(TARGET_SUBDIR)/libsanitizer && \
32256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32257 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32258 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32259 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32263 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32264 TFLAGS="$(STAGEprofile_TFLAGS)" \
32265 $(TARGET-stageprofile-target-libsanitizer)
32267 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
32268 clean-stageprofile: clean-stageprofile-target-libsanitizer
32269 clean-stageprofile-target-libsanitizer:
32270 @if [ $(current_stage) = stageprofile ]; then \
32271 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32272 else \
32273 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
32274 $(MAKE) stageprofile-start; \
32275 fi; \
32276 cd $(TARGET_SUBDIR)/libsanitizer && \
32277 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32278 @endif target-libsanitizer-bootstrap
32281 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
32282 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
32283 maybe-all-stagefeedback-target-libsanitizer:
32284 maybe-clean-stagefeedback-target-libsanitizer:
32285 @if target-libsanitizer-bootstrap
32286 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
32287 all-stagefeedback: all-stagefeedback-target-libsanitizer
32288 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
32289 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32291 @r=`${PWD_COMMAND}`; export r; \
32292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32294 $(RAW_CXX_TARGET_EXPORTS) \
32296 cd $(TARGET_SUBDIR)/libsanitizer && \
32297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32298 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32299 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32300 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32304 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32305 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32306 $(TARGET-stagefeedback-target-libsanitizer)
32308 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
32309 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
32310 clean-stagefeedback-target-libsanitizer:
32311 @if [ $(current_stage) = stagefeedback ]; then \
32312 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32313 else \
32314 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
32315 $(MAKE) stagefeedback-start; \
32316 fi; \
32317 cd $(TARGET_SUBDIR)/libsanitizer && \
32318 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32319 @endif target-libsanitizer-bootstrap
32326 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32327 maybe-check-target-libsanitizer:
32328 @if target-libsanitizer
32329 maybe-check-target-libsanitizer: check-target-libsanitizer
32331 check-target-libsanitizer:
32332 @: $(MAKE); $(unstage)
32333 @r=`${PWD_COMMAND}`; export r; \
32334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32335 $(RAW_CXX_TARGET_EXPORTS) \
32336 (cd $(TARGET_SUBDIR)/libsanitizer && \
32337 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32339 @endif target-libsanitizer
32341 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32342 maybe-install-target-libsanitizer:
32343 @if target-libsanitizer
32344 maybe-install-target-libsanitizer: install-target-libsanitizer
32346 install-target-libsanitizer: installdirs
32347 @: $(MAKE); $(unstage)
32348 @r=`${PWD_COMMAND}`; export r; \
32349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32350 $(RAW_CXX_TARGET_EXPORTS) \
32351 (cd $(TARGET_SUBDIR)/libsanitizer && \
32352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32354 @endif target-libsanitizer
32356 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32357 maybe-install-strip-target-libsanitizer:
32358 @if target-libsanitizer
32359 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32361 install-strip-target-libsanitizer: installdirs
32362 @: $(MAKE); $(unstage)
32363 @r=`${PWD_COMMAND}`; export r; \
32364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32365 $(RAW_CXX_TARGET_EXPORTS) \
32366 (cd $(TARGET_SUBDIR)/libsanitizer && \
32367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32369 @endif target-libsanitizer
32371 # Other targets (info, dvi, pdf, etc.)
32373 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32374 maybe-info-target-libsanitizer:
32375 @if target-libsanitizer
32376 maybe-info-target-libsanitizer: info-target-libsanitizer
32378 info-target-libsanitizer: \
32379 configure-target-libsanitizer
32380 @: $(MAKE); $(unstage)
32381 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32382 r=`${PWD_COMMAND}`; export r; \
32383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32384 $(RAW_CXX_TARGET_EXPORTS) \
32385 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32386 for flag in $(EXTRA_TARGET_FLAGS); do \
32387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32388 done; \
32389 (cd $(TARGET_SUBDIR)/libsanitizer && \
32390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32392 "RANLIB=$${RANLIB}" \
32393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32394 info) \
32395 || exit 1
32397 @endif target-libsanitizer
32399 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32400 maybe-dvi-target-libsanitizer:
32401 @if target-libsanitizer
32402 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32404 dvi-target-libsanitizer: \
32405 configure-target-libsanitizer
32406 @: $(MAKE); $(unstage)
32407 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32408 r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(RAW_CXX_TARGET_EXPORTS) \
32411 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32412 for flag in $(EXTRA_TARGET_FLAGS); do \
32413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32414 done; \
32415 (cd $(TARGET_SUBDIR)/libsanitizer && \
32416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32418 "RANLIB=$${RANLIB}" \
32419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32420 dvi) \
32421 || exit 1
32423 @endif target-libsanitizer
32425 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32426 maybe-pdf-target-libsanitizer:
32427 @if target-libsanitizer
32428 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32430 pdf-target-libsanitizer: \
32431 configure-target-libsanitizer
32432 @: $(MAKE); $(unstage)
32433 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32434 r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 $(RAW_CXX_TARGET_EXPORTS) \
32437 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32438 for flag in $(EXTRA_TARGET_FLAGS); do \
32439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32440 done; \
32441 (cd $(TARGET_SUBDIR)/libsanitizer && \
32442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32444 "RANLIB=$${RANLIB}" \
32445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32446 pdf) \
32447 || exit 1
32449 @endif target-libsanitizer
32451 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32452 maybe-html-target-libsanitizer:
32453 @if target-libsanitizer
32454 maybe-html-target-libsanitizer: html-target-libsanitizer
32456 html-target-libsanitizer: \
32457 configure-target-libsanitizer
32458 @: $(MAKE); $(unstage)
32459 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32460 r=`${PWD_COMMAND}`; export r; \
32461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32462 $(RAW_CXX_TARGET_EXPORTS) \
32463 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32464 for flag in $(EXTRA_TARGET_FLAGS); do \
32465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32466 done; \
32467 (cd $(TARGET_SUBDIR)/libsanitizer && \
32468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32470 "RANLIB=$${RANLIB}" \
32471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32472 html) \
32473 || exit 1
32475 @endif target-libsanitizer
32477 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32478 maybe-TAGS-target-libsanitizer:
32479 @if target-libsanitizer
32480 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32482 TAGS-target-libsanitizer: \
32483 configure-target-libsanitizer
32484 @: $(MAKE); $(unstage)
32485 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32486 r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 $(RAW_CXX_TARGET_EXPORTS) \
32489 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32490 for flag in $(EXTRA_TARGET_FLAGS); do \
32491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32492 done; \
32493 (cd $(TARGET_SUBDIR)/libsanitizer && \
32494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32496 "RANLIB=$${RANLIB}" \
32497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32498 TAGS) \
32499 || exit 1
32501 @endif target-libsanitizer
32503 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32504 maybe-install-info-target-libsanitizer:
32505 @if target-libsanitizer
32506 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32508 install-info-target-libsanitizer: \
32509 configure-target-libsanitizer \
32510 info-target-libsanitizer
32511 @: $(MAKE); $(unstage)
32512 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32513 r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(RAW_CXX_TARGET_EXPORTS) \
32516 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32517 for flag in $(EXTRA_TARGET_FLAGS); do \
32518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32519 done; \
32520 (cd $(TARGET_SUBDIR)/libsanitizer && \
32521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32523 "RANLIB=$${RANLIB}" \
32524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32525 install-info) \
32526 || exit 1
32528 @endif target-libsanitizer
32530 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32531 maybe-install-pdf-target-libsanitizer:
32532 @if target-libsanitizer
32533 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
32535 install-pdf-target-libsanitizer: \
32536 configure-target-libsanitizer \
32537 pdf-target-libsanitizer
32538 @: $(MAKE); $(unstage)
32539 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32540 r=`${PWD_COMMAND}`; export r; \
32541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32542 $(RAW_CXX_TARGET_EXPORTS) \
32543 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32544 for flag in $(EXTRA_TARGET_FLAGS); do \
32545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32546 done; \
32547 (cd $(TARGET_SUBDIR)/libsanitizer && \
32548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32550 "RANLIB=$${RANLIB}" \
32551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32552 install-pdf) \
32553 || exit 1
32555 @endif target-libsanitizer
32557 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
32558 maybe-install-html-target-libsanitizer:
32559 @if target-libsanitizer
32560 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
32562 install-html-target-libsanitizer: \
32563 configure-target-libsanitizer \
32564 html-target-libsanitizer
32565 @: $(MAKE); $(unstage)
32566 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32567 r=`${PWD_COMMAND}`; export r; \
32568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32569 $(RAW_CXX_TARGET_EXPORTS) \
32570 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
32571 for flag in $(EXTRA_TARGET_FLAGS); do \
32572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32573 done; \
32574 (cd $(TARGET_SUBDIR)/libsanitizer && \
32575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32577 "RANLIB=$${RANLIB}" \
32578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32579 install-html) \
32580 || exit 1
32582 @endif target-libsanitizer
32584 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
32585 maybe-installcheck-target-libsanitizer:
32586 @if target-libsanitizer
32587 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
32589 installcheck-target-libsanitizer: \
32590 configure-target-libsanitizer
32591 @: $(MAKE); $(unstage)
32592 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32593 r=`${PWD_COMMAND}`; export r; \
32594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32595 $(RAW_CXX_TARGET_EXPORTS) \
32596 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
32597 for flag in $(EXTRA_TARGET_FLAGS); do \
32598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32599 done; \
32600 (cd $(TARGET_SUBDIR)/libsanitizer && \
32601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32603 "RANLIB=$${RANLIB}" \
32604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32605 installcheck) \
32606 || exit 1
32608 @endif target-libsanitizer
32610 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
32611 maybe-mostlyclean-target-libsanitizer:
32612 @if target-libsanitizer
32613 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
32615 mostlyclean-target-libsanitizer:
32616 @: $(MAKE); $(unstage)
32617 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32618 r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 $(RAW_CXX_TARGET_EXPORTS) \
32621 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32622 for flag in $(EXTRA_TARGET_FLAGS); do \
32623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32624 done; \
32625 (cd $(TARGET_SUBDIR)/libsanitizer && \
32626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32628 "RANLIB=$${RANLIB}" \
32629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32630 mostlyclean) \
32631 || exit 1
32633 @endif target-libsanitizer
32635 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
32636 maybe-clean-target-libsanitizer:
32637 @if target-libsanitizer
32638 maybe-clean-target-libsanitizer: clean-target-libsanitizer
32640 clean-target-libsanitizer:
32641 @: $(MAKE); $(unstage)
32642 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32643 r=`${PWD_COMMAND}`; export r; \
32644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32645 $(RAW_CXX_TARGET_EXPORTS) \
32646 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32647 for flag in $(EXTRA_TARGET_FLAGS); do \
32648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32649 done; \
32650 (cd $(TARGET_SUBDIR)/libsanitizer && \
32651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32653 "RANLIB=$${RANLIB}" \
32654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32655 clean) \
32656 || exit 1
32658 @endif target-libsanitizer
32660 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
32661 maybe-distclean-target-libsanitizer:
32662 @if target-libsanitizer
32663 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
32665 distclean-target-libsanitizer:
32666 @: $(MAKE); $(unstage)
32667 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32668 r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 $(RAW_CXX_TARGET_EXPORTS) \
32671 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
32672 for flag in $(EXTRA_TARGET_FLAGS); do \
32673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32674 done; \
32675 (cd $(TARGET_SUBDIR)/libsanitizer && \
32676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32678 "RANLIB=$${RANLIB}" \
32679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32680 distclean) \
32681 || exit 1
32683 @endif target-libsanitizer
32685 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
32686 maybe-maintainer-clean-target-libsanitizer:
32687 @if target-libsanitizer
32688 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
32690 maintainer-clean-target-libsanitizer:
32691 @: $(MAKE); $(unstage)
32692 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32693 r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(RAW_CXX_TARGET_EXPORTS) \
32696 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
32697 for flag in $(EXTRA_TARGET_FLAGS); do \
32698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32699 done; \
32700 (cd $(TARGET_SUBDIR)/libsanitizer && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32703 "RANLIB=$${RANLIB}" \
32704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32705 maintainer-clean) \
32706 || exit 1
32708 @endif target-libsanitizer
32714 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
32715 maybe-configure-target-libvtv:
32716 @if gcc-bootstrap
32717 configure-target-libvtv: stage_current
32718 @endif gcc-bootstrap
32719 @if target-libvtv
32720 maybe-configure-target-libvtv: configure-target-libvtv
32721 configure-target-libvtv:
32722 @r=`${PWD_COMMAND}`; export r; \
32723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32724 echo "Checking multilib configuration for libvtv..."; \
32725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32726 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32727 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32728 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32729 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32730 else \
32731 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32732 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32733 fi; \
32734 else \
32735 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32736 fi; \
32737 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32739 $(RAW_CXX_TARGET_EXPORTS) \
32740 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
32741 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
32742 case $(srcdir) in \
32743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32744 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32746 esac; \
32747 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32748 libsrcdir="$$s/libvtv"; \
32749 rm -f no-such-file || : ; \
32750 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32751 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32752 --target=${target_alias} $${srcdiroption} \
32753 || exit 1
32754 @endif target-libvtv
32758 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
32759 maybe-configure-stage1-target-libvtv:
32760 @if target-libvtv-bootstrap
32761 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
32762 configure-stage1-target-libvtv:
32763 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32764 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32765 @r=`${PWD_COMMAND}`; export r; \
32766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32767 TFLAGS="$(STAGE1_TFLAGS)"; \
32768 echo "Checking multilib configuration for libvtv..."; \
32769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32770 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32771 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32772 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32773 else \
32774 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32775 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32776 fi; \
32777 else \
32778 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32779 fi; \
32780 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32781 $(RAW_CXX_TARGET_EXPORTS) \
32782 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32783 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32784 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32785 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
32786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32787 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32788 case $(srcdir) in \
32789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32790 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32792 esac; \
32793 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32794 libsrcdir="$$s/libvtv"; \
32795 $(SHELL) $${libsrcdir}/configure \
32796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32797 --target=${target_alias} $${srcdiroption} \
32798 $(STAGE1_CONFIGURE_FLAGS)
32799 @endif target-libvtv-bootstrap
32801 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
32802 maybe-configure-stage2-target-libvtv:
32803 @if target-libvtv-bootstrap
32804 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
32805 configure-stage2-target-libvtv:
32806 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32807 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32808 @r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 TFLAGS="$(STAGE2_TFLAGS)"; \
32811 echo "Checking multilib configuration for libvtv..."; \
32812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32813 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32814 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32815 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32816 else \
32817 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32818 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32819 fi; \
32820 else \
32821 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32822 fi; \
32823 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32824 $(RAW_CXX_TARGET_EXPORTS) \
32826 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32827 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32828 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32829 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
32830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32831 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32832 case $(srcdir) in \
32833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32834 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32836 esac; \
32837 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32838 libsrcdir="$$s/libvtv"; \
32839 $(SHELL) $${libsrcdir}/configure \
32840 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32841 --target=${target_alias} $${srcdiroption} \
32842 --with-build-libsubdir=$(HOST_SUBDIR) \
32843 $(STAGE2_CONFIGURE_FLAGS)
32844 @endif target-libvtv-bootstrap
32846 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
32847 maybe-configure-stage3-target-libvtv:
32848 @if target-libvtv-bootstrap
32849 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
32850 configure-stage3-target-libvtv:
32851 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32852 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32853 @r=`${PWD_COMMAND}`; export r; \
32854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32855 TFLAGS="$(STAGE3_TFLAGS)"; \
32856 echo "Checking multilib configuration for libvtv..."; \
32857 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32858 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32859 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32860 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32861 else \
32862 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32863 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32864 fi; \
32865 else \
32866 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32867 fi; \
32868 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32869 $(RAW_CXX_TARGET_EXPORTS) \
32871 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32872 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32873 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32874 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
32875 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32876 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32877 case $(srcdir) in \
32878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32879 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32881 esac; \
32882 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32883 libsrcdir="$$s/libvtv"; \
32884 $(SHELL) $${libsrcdir}/configure \
32885 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32886 --target=${target_alias} $${srcdiroption} \
32887 --with-build-libsubdir=$(HOST_SUBDIR) \
32888 $(STAGE3_CONFIGURE_FLAGS)
32889 @endif target-libvtv-bootstrap
32891 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
32892 maybe-configure-stage4-target-libvtv:
32893 @if target-libvtv-bootstrap
32894 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
32895 configure-stage4-target-libvtv:
32896 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32897 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32898 @r=`${PWD_COMMAND}`; export r; \
32899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32900 TFLAGS="$(STAGE4_TFLAGS)"; \
32901 echo "Checking multilib configuration for libvtv..."; \
32902 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32903 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32904 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32905 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32906 else \
32907 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32908 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32909 fi; \
32910 else \
32911 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32912 fi; \
32913 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32914 $(RAW_CXX_TARGET_EXPORTS) \
32916 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32917 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32918 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32919 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
32920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32921 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32922 case $(srcdir) in \
32923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32924 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32926 esac; \
32927 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32928 libsrcdir="$$s/libvtv"; \
32929 $(SHELL) $${libsrcdir}/configure \
32930 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32931 --target=${target_alias} $${srcdiroption} \
32932 --with-build-libsubdir=$(HOST_SUBDIR) \
32933 $(STAGE4_CONFIGURE_FLAGS)
32934 @endif target-libvtv-bootstrap
32936 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
32937 maybe-configure-stageprofile-target-libvtv:
32938 @if target-libvtv-bootstrap
32939 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
32940 configure-stageprofile-target-libvtv:
32941 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32942 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32943 @r=`${PWD_COMMAND}`; export r; \
32944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32945 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32946 echo "Checking multilib configuration for libvtv..."; \
32947 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32948 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32949 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32950 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32951 else \
32952 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32953 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32954 fi; \
32955 else \
32956 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32957 fi; \
32958 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
32959 $(RAW_CXX_TARGET_EXPORTS) \
32961 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32962 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32963 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32964 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
32965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
32966 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
32967 case $(srcdir) in \
32968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32969 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
32970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32971 esac; \
32972 srcdiroption="--srcdir=$${topdir}/libvtv"; \
32973 libsrcdir="$$s/libvtv"; \
32974 $(SHELL) $${libsrcdir}/configure \
32975 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32976 --target=${target_alias} $${srcdiroption} \
32977 --with-build-libsubdir=$(HOST_SUBDIR) \
32978 $(STAGEprofile_CONFIGURE_FLAGS)
32979 @endif target-libvtv-bootstrap
32981 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
32982 maybe-configure-stagefeedback-target-libvtv:
32983 @if target-libvtv-bootstrap
32984 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
32985 configure-stagefeedback-target-libvtv:
32986 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32987 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
32988 @r=`${PWD_COMMAND}`; export r; \
32989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32990 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32991 echo "Checking multilib configuration for libvtv..."; \
32992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
32993 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32994 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
32995 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
32996 else \
32997 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
32998 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
32999 fi; \
33000 else \
33001 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33002 fi; \
33003 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33004 $(RAW_CXX_TARGET_EXPORTS) \
33006 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33007 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33008 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33009 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
33010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33011 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33012 case $(srcdir) in \
33013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33014 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33016 esac; \
33017 srcdiroption="--srcdir=$${topdir}/libvtv"; \
33018 libsrcdir="$$s/libvtv"; \
33019 $(SHELL) $${libsrcdir}/configure \
33020 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33021 --target=${target_alias} $${srcdiroption} \
33022 --with-build-libsubdir=$(HOST_SUBDIR) \
33023 $(STAGEfeedback_CONFIGURE_FLAGS)
33024 @endif target-libvtv-bootstrap
33030 .PHONY: all-target-libvtv maybe-all-target-libvtv
33031 maybe-all-target-libvtv:
33032 @if gcc-bootstrap
33033 all-target-libvtv: stage_current
33034 @endif gcc-bootstrap
33035 @if target-libvtv
33036 TARGET-target-libvtv=all
33037 maybe-all-target-libvtv: all-target-libvtv
33038 all-target-libvtv: configure-target-libvtv
33039 @r=`${PWD_COMMAND}`; export r; \
33040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33041 $(RAW_CXX_TARGET_EXPORTS) \
33042 (cd $(TARGET_SUBDIR)/libvtv && \
33043 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33044 $(TARGET-target-libvtv))
33045 @endif target-libvtv
33049 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
33050 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
33051 maybe-all-stage1-target-libvtv:
33052 maybe-clean-stage1-target-libvtv:
33053 @if target-libvtv-bootstrap
33054 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
33055 all-stage1: all-stage1-target-libvtv
33056 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
33057 all-stage1-target-libvtv: configure-stage1-target-libvtv
33058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33059 @r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 TFLAGS="$(STAGE1_TFLAGS)"; \
33062 $(RAW_CXX_TARGET_EXPORTS) \
33063 cd $(TARGET_SUBDIR)/libvtv && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33065 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33066 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33067 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33068 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33069 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33070 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33071 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33073 TFLAGS="$(STAGE1_TFLAGS)" \
33074 $(TARGET-stage1-target-libvtv)
33076 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
33077 clean-stage1: clean-stage1-target-libvtv
33078 clean-stage1-target-libvtv:
33079 @if [ $(current_stage) = stage1 ]; then \
33080 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33081 else \
33082 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
33083 $(MAKE) stage1-start; \
33084 fi; \
33085 cd $(TARGET_SUBDIR)/libvtv && \
33086 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33087 clean
33088 @endif target-libvtv-bootstrap
33091 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
33092 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
33093 maybe-all-stage2-target-libvtv:
33094 maybe-clean-stage2-target-libvtv:
33095 @if target-libvtv-bootstrap
33096 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
33097 all-stage2: all-stage2-target-libvtv
33098 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
33099 all-stage2-target-libvtv: configure-stage2-target-libvtv
33100 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33101 @r=`${PWD_COMMAND}`; export r; \
33102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33103 TFLAGS="$(STAGE2_TFLAGS)"; \
33104 $(RAW_CXX_TARGET_EXPORTS) \
33106 cd $(TARGET_SUBDIR)/libvtv && \
33107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33108 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33109 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33110 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33114 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33115 TFLAGS="$(STAGE2_TFLAGS)" \
33116 $(TARGET-stage2-target-libvtv)
33118 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
33119 clean-stage2: clean-stage2-target-libvtv
33120 clean-stage2-target-libvtv:
33121 @if [ $(current_stage) = stage2 ]; then \
33122 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33123 else \
33124 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
33125 $(MAKE) stage2-start; \
33126 fi; \
33127 cd $(TARGET_SUBDIR)/libvtv && \
33128 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33129 @endif target-libvtv-bootstrap
33132 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
33133 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
33134 maybe-all-stage3-target-libvtv:
33135 maybe-clean-stage3-target-libvtv:
33136 @if target-libvtv-bootstrap
33137 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
33138 all-stage3: all-stage3-target-libvtv
33139 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
33140 all-stage3-target-libvtv: configure-stage3-target-libvtv
33141 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33142 @r=`${PWD_COMMAND}`; export r; \
33143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33144 TFLAGS="$(STAGE3_TFLAGS)"; \
33145 $(RAW_CXX_TARGET_EXPORTS) \
33147 cd $(TARGET_SUBDIR)/libvtv && \
33148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33149 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33150 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33151 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33155 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33156 TFLAGS="$(STAGE3_TFLAGS)" \
33157 $(TARGET-stage3-target-libvtv)
33159 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
33160 clean-stage3: clean-stage3-target-libvtv
33161 clean-stage3-target-libvtv:
33162 @if [ $(current_stage) = stage3 ]; then \
33163 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33164 else \
33165 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
33166 $(MAKE) stage3-start; \
33167 fi; \
33168 cd $(TARGET_SUBDIR)/libvtv && \
33169 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33170 @endif target-libvtv-bootstrap
33173 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
33174 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
33175 maybe-all-stage4-target-libvtv:
33176 maybe-clean-stage4-target-libvtv:
33177 @if target-libvtv-bootstrap
33178 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
33179 all-stage4: all-stage4-target-libvtv
33180 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
33181 all-stage4-target-libvtv: configure-stage4-target-libvtv
33182 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33183 @r=`${PWD_COMMAND}`; export r; \
33184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33185 TFLAGS="$(STAGE4_TFLAGS)"; \
33186 $(RAW_CXX_TARGET_EXPORTS) \
33188 cd $(TARGET_SUBDIR)/libvtv && \
33189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33190 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33192 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33193 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33194 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33195 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33196 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33197 TFLAGS="$(STAGE4_TFLAGS)" \
33198 $(TARGET-stage4-target-libvtv)
33200 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
33201 clean-stage4: clean-stage4-target-libvtv
33202 clean-stage4-target-libvtv:
33203 @if [ $(current_stage) = stage4 ]; then \
33204 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33205 else \
33206 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
33207 $(MAKE) stage4-start; \
33208 fi; \
33209 cd $(TARGET_SUBDIR)/libvtv && \
33210 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33211 @endif target-libvtv-bootstrap
33214 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
33215 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
33216 maybe-all-stageprofile-target-libvtv:
33217 maybe-clean-stageprofile-target-libvtv:
33218 @if target-libvtv-bootstrap
33219 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
33220 all-stageprofile: all-stageprofile-target-libvtv
33221 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
33222 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
33223 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33224 @r=`${PWD_COMMAND}`; export r; \
33225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33226 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33227 $(RAW_CXX_TARGET_EXPORTS) \
33229 cd $(TARGET_SUBDIR)/libvtv && \
33230 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33231 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33232 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33233 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33234 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33235 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33236 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33237 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33238 TFLAGS="$(STAGEprofile_TFLAGS)" \
33239 $(TARGET-stageprofile-target-libvtv)
33241 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
33242 clean-stageprofile: clean-stageprofile-target-libvtv
33243 clean-stageprofile-target-libvtv:
33244 @if [ $(current_stage) = stageprofile ]; then \
33245 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33246 else \
33247 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
33248 $(MAKE) stageprofile-start; \
33249 fi; \
33250 cd $(TARGET_SUBDIR)/libvtv && \
33251 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33252 @endif target-libvtv-bootstrap
33255 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
33256 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
33257 maybe-all-stagefeedback-target-libvtv:
33258 maybe-clean-stagefeedback-target-libvtv:
33259 @if target-libvtv-bootstrap
33260 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
33261 all-stagefeedback: all-stagefeedback-target-libvtv
33262 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
33263 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
33264 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33265 @r=`${PWD_COMMAND}`; export r; \
33266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33267 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33268 $(RAW_CXX_TARGET_EXPORTS) \
33270 cd $(TARGET_SUBDIR)/libvtv && \
33271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33272 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33273 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33274 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33278 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33279 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33280 $(TARGET-stagefeedback-target-libvtv)
33282 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
33283 clean-stagefeedback: clean-stagefeedback-target-libvtv
33284 clean-stagefeedback-target-libvtv:
33285 @if [ $(current_stage) = stagefeedback ]; then \
33286 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
33287 else \
33288 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
33289 $(MAKE) stagefeedback-start; \
33290 fi; \
33291 cd $(TARGET_SUBDIR)/libvtv && \
33292 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33293 @endif target-libvtv-bootstrap
33300 .PHONY: check-target-libvtv maybe-check-target-libvtv
33301 maybe-check-target-libvtv:
33302 @if target-libvtv
33303 maybe-check-target-libvtv: check-target-libvtv
33305 check-target-libvtv:
33306 @: $(MAKE); $(unstage)
33307 @r=`${PWD_COMMAND}`; export r; \
33308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33309 $(RAW_CXX_TARGET_EXPORTS) \
33310 (cd $(TARGET_SUBDIR)/libvtv && \
33311 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33313 @endif target-libvtv
33315 .PHONY: install-target-libvtv maybe-install-target-libvtv
33316 maybe-install-target-libvtv:
33317 @if target-libvtv
33318 maybe-install-target-libvtv: install-target-libvtv
33320 install-target-libvtv: installdirs
33321 @: $(MAKE); $(unstage)
33322 @r=`${PWD_COMMAND}`; export r; \
33323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33324 $(RAW_CXX_TARGET_EXPORTS) \
33325 (cd $(TARGET_SUBDIR)/libvtv && \
33326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33328 @endif target-libvtv
33330 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
33331 maybe-install-strip-target-libvtv:
33332 @if target-libvtv
33333 maybe-install-strip-target-libvtv: install-strip-target-libvtv
33335 install-strip-target-libvtv: installdirs
33336 @: $(MAKE); $(unstage)
33337 @r=`${PWD_COMMAND}`; export r; \
33338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33339 $(RAW_CXX_TARGET_EXPORTS) \
33340 (cd $(TARGET_SUBDIR)/libvtv && \
33341 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33343 @endif target-libvtv
33345 # Other targets (info, dvi, pdf, etc.)
33347 .PHONY: maybe-info-target-libvtv info-target-libvtv
33348 maybe-info-target-libvtv:
33349 @if target-libvtv
33350 maybe-info-target-libvtv: info-target-libvtv
33352 info-target-libvtv: \
33353 configure-target-libvtv
33354 @: $(MAKE); $(unstage)
33355 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33356 r=`${PWD_COMMAND}`; export r; \
33357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33358 $(RAW_CXX_TARGET_EXPORTS) \
33359 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
33360 for flag in $(EXTRA_TARGET_FLAGS); do \
33361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33362 done; \
33363 (cd $(TARGET_SUBDIR)/libvtv && \
33364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33366 "RANLIB=$${RANLIB}" \
33367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33368 info) \
33369 || exit 1
33371 @endif target-libvtv
33373 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
33374 maybe-dvi-target-libvtv:
33375 @if target-libvtv
33376 maybe-dvi-target-libvtv: dvi-target-libvtv
33378 dvi-target-libvtv: \
33379 configure-target-libvtv
33380 @: $(MAKE); $(unstage)
33381 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33382 r=`${PWD_COMMAND}`; export r; \
33383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33384 $(RAW_CXX_TARGET_EXPORTS) \
33385 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
33386 for flag in $(EXTRA_TARGET_FLAGS); do \
33387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33388 done; \
33389 (cd $(TARGET_SUBDIR)/libvtv && \
33390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33392 "RANLIB=$${RANLIB}" \
33393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33394 dvi) \
33395 || exit 1
33397 @endif target-libvtv
33399 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
33400 maybe-pdf-target-libvtv:
33401 @if target-libvtv
33402 maybe-pdf-target-libvtv: pdf-target-libvtv
33404 pdf-target-libvtv: \
33405 configure-target-libvtv
33406 @: $(MAKE); $(unstage)
33407 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33408 r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(RAW_CXX_TARGET_EXPORTS) \
33411 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
33412 for flag in $(EXTRA_TARGET_FLAGS); do \
33413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33414 done; \
33415 (cd $(TARGET_SUBDIR)/libvtv && \
33416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33418 "RANLIB=$${RANLIB}" \
33419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33420 pdf) \
33421 || exit 1
33423 @endif target-libvtv
33425 .PHONY: maybe-html-target-libvtv html-target-libvtv
33426 maybe-html-target-libvtv:
33427 @if target-libvtv
33428 maybe-html-target-libvtv: html-target-libvtv
33430 html-target-libvtv: \
33431 configure-target-libvtv
33432 @: $(MAKE); $(unstage)
33433 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33434 r=`${PWD_COMMAND}`; export r; \
33435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33436 $(RAW_CXX_TARGET_EXPORTS) \
33437 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
33438 for flag in $(EXTRA_TARGET_FLAGS); do \
33439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33440 done; \
33441 (cd $(TARGET_SUBDIR)/libvtv && \
33442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33444 "RANLIB=$${RANLIB}" \
33445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33446 html) \
33447 || exit 1
33449 @endif target-libvtv
33451 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
33452 maybe-TAGS-target-libvtv:
33453 @if target-libvtv
33454 maybe-TAGS-target-libvtv: TAGS-target-libvtv
33456 TAGS-target-libvtv: \
33457 configure-target-libvtv
33458 @: $(MAKE); $(unstage)
33459 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33460 r=`${PWD_COMMAND}`; export r; \
33461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33462 $(RAW_CXX_TARGET_EXPORTS) \
33463 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
33464 for flag in $(EXTRA_TARGET_FLAGS); do \
33465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33466 done; \
33467 (cd $(TARGET_SUBDIR)/libvtv && \
33468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33470 "RANLIB=$${RANLIB}" \
33471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33472 TAGS) \
33473 || exit 1
33475 @endif target-libvtv
33477 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
33478 maybe-install-info-target-libvtv:
33479 @if target-libvtv
33480 maybe-install-info-target-libvtv: install-info-target-libvtv
33482 install-info-target-libvtv: \
33483 configure-target-libvtv \
33484 info-target-libvtv
33485 @: $(MAKE); $(unstage)
33486 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33487 r=`${PWD_COMMAND}`; export r; \
33488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33489 $(RAW_CXX_TARGET_EXPORTS) \
33490 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
33491 for flag in $(EXTRA_TARGET_FLAGS); do \
33492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33493 done; \
33494 (cd $(TARGET_SUBDIR)/libvtv && \
33495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33497 "RANLIB=$${RANLIB}" \
33498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33499 install-info) \
33500 || exit 1
33502 @endif target-libvtv
33504 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
33505 maybe-install-pdf-target-libvtv:
33506 @if target-libvtv
33507 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
33509 install-pdf-target-libvtv: \
33510 configure-target-libvtv \
33511 pdf-target-libvtv
33512 @: $(MAKE); $(unstage)
33513 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33514 r=`${PWD_COMMAND}`; export r; \
33515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33516 $(RAW_CXX_TARGET_EXPORTS) \
33517 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
33518 for flag in $(EXTRA_TARGET_FLAGS); do \
33519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33520 done; \
33521 (cd $(TARGET_SUBDIR)/libvtv && \
33522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33524 "RANLIB=$${RANLIB}" \
33525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33526 install-pdf) \
33527 || exit 1
33529 @endif target-libvtv
33531 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
33532 maybe-install-html-target-libvtv:
33533 @if target-libvtv
33534 maybe-install-html-target-libvtv: install-html-target-libvtv
33536 install-html-target-libvtv: \
33537 configure-target-libvtv \
33538 html-target-libvtv
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(RAW_CXX_TARGET_EXPORTS) \
33544 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 (cd $(TARGET_SUBDIR)/libvtv && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33553 install-html) \
33554 || exit 1
33556 @endif target-libvtv
33558 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
33559 maybe-installcheck-target-libvtv:
33560 @if target-libvtv
33561 maybe-installcheck-target-libvtv: installcheck-target-libvtv
33563 installcheck-target-libvtv: \
33564 configure-target-libvtv
33565 @: $(MAKE); $(unstage)
33566 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33567 r=`${PWD_COMMAND}`; export r; \
33568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33569 $(RAW_CXX_TARGET_EXPORTS) \
33570 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
33571 for flag in $(EXTRA_TARGET_FLAGS); do \
33572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33573 done; \
33574 (cd $(TARGET_SUBDIR)/libvtv && \
33575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33577 "RANLIB=$${RANLIB}" \
33578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33579 installcheck) \
33580 || exit 1
33582 @endif target-libvtv
33584 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
33585 maybe-mostlyclean-target-libvtv:
33586 @if target-libvtv
33587 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
33589 mostlyclean-target-libvtv:
33590 @: $(MAKE); $(unstage)
33591 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33592 r=`${PWD_COMMAND}`; export r; \
33593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33594 $(RAW_CXX_TARGET_EXPORTS) \
33595 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
33596 for flag in $(EXTRA_TARGET_FLAGS); do \
33597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33598 done; \
33599 (cd $(TARGET_SUBDIR)/libvtv && \
33600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33602 "RANLIB=$${RANLIB}" \
33603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33604 mostlyclean) \
33605 || exit 1
33607 @endif target-libvtv
33609 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
33610 maybe-clean-target-libvtv:
33611 @if target-libvtv
33612 maybe-clean-target-libvtv: clean-target-libvtv
33614 clean-target-libvtv:
33615 @: $(MAKE); $(unstage)
33616 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33617 r=`${PWD_COMMAND}`; export r; \
33618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33619 $(RAW_CXX_TARGET_EXPORTS) \
33620 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
33621 for flag in $(EXTRA_TARGET_FLAGS); do \
33622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33623 done; \
33624 (cd $(TARGET_SUBDIR)/libvtv && \
33625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33627 "RANLIB=$${RANLIB}" \
33628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33629 clean) \
33630 || exit 1
33632 @endif target-libvtv
33634 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
33635 maybe-distclean-target-libvtv:
33636 @if target-libvtv
33637 maybe-distclean-target-libvtv: distclean-target-libvtv
33639 distclean-target-libvtv:
33640 @: $(MAKE); $(unstage)
33641 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33642 r=`${PWD_COMMAND}`; export r; \
33643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33644 $(RAW_CXX_TARGET_EXPORTS) \
33645 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
33646 for flag in $(EXTRA_TARGET_FLAGS); do \
33647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33648 done; \
33649 (cd $(TARGET_SUBDIR)/libvtv && \
33650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33652 "RANLIB=$${RANLIB}" \
33653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33654 distclean) \
33655 || exit 1
33657 @endif target-libvtv
33659 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
33660 maybe-maintainer-clean-target-libvtv:
33661 @if target-libvtv
33662 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
33664 maintainer-clean-target-libvtv:
33665 @: $(MAKE); $(unstage)
33666 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
33667 r=`${PWD_COMMAND}`; export r; \
33668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33669 $(RAW_CXX_TARGET_EXPORTS) \
33670 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
33671 for flag in $(EXTRA_TARGET_FLAGS); do \
33672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33673 done; \
33674 (cd $(TARGET_SUBDIR)/libvtv && \
33675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33677 "RANLIB=$${RANLIB}" \
33678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33679 maintainer-clean) \
33680 || exit 1
33682 @endif target-libvtv
33688 .PHONY: configure-target-libssp maybe-configure-target-libssp
33689 maybe-configure-target-libssp:
33690 @if gcc-bootstrap
33691 configure-target-libssp: stage_current
33692 @endif gcc-bootstrap
33693 @if target-libssp
33694 maybe-configure-target-libssp: configure-target-libssp
33695 configure-target-libssp:
33696 @: $(MAKE); $(unstage)
33697 @r=`${PWD_COMMAND}`; export r; \
33698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33699 echo "Checking multilib configuration for libssp..."; \
33700 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33701 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
33702 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
33703 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
33704 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
33705 else \
33706 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
33707 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33708 fi; \
33709 else \
33710 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33711 fi; \
33712 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
33713 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33714 $(NORMAL_TARGET_EXPORTS) \
33715 echo Configuring in $(TARGET_SUBDIR)/libssp; \
33716 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
33717 case $(srcdir) in \
33718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33719 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
33720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33721 esac; \
33722 srcdiroption="--srcdir=$${topdir}/libssp"; \
33723 libsrcdir="$$s/libssp"; \
33724 rm -f no-such-file || : ; \
33725 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33726 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33727 --target=${target_alias} $${srcdiroption} \
33728 || exit 1
33729 @endif target-libssp
33735 .PHONY: all-target-libssp maybe-all-target-libssp
33736 maybe-all-target-libssp:
33737 @if gcc-bootstrap
33738 all-target-libssp: stage_current
33739 @endif gcc-bootstrap
33740 @if target-libssp
33741 TARGET-target-libssp=all
33742 maybe-all-target-libssp: all-target-libssp
33743 all-target-libssp: configure-target-libssp
33744 @: $(MAKE); $(unstage)
33745 @r=`${PWD_COMMAND}`; export r; \
33746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33747 $(NORMAL_TARGET_EXPORTS) \
33748 (cd $(TARGET_SUBDIR)/libssp && \
33749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33750 $(TARGET-target-libssp))
33751 @endif target-libssp
33757 .PHONY: check-target-libssp maybe-check-target-libssp
33758 maybe-check-target-libssp:
33759 @if target-libssp
33760 maybe-check-target-libssp: check-target-libssp
33762 check-target-libssp:
33763 @: $(MAKE); $(unstage)
33764 @r=`${PWD_COMMAND}`; export r; \
33765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33766 $(NORMAL_TARGET_EXPORTS) \
33767 (cd $(TARGET_SUBDIR)/libssp && \
33768 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33770 @endif target-libssp
33772 .PHONY: install-target-libssp maybe-install-target-libssp
33773 maybe-install-target-libssp:
33774 @if target-libssp
33775 maybe-install-target-libssp: install-target-libssp
33777 install-target-libssp: installdirs
33778 @: $(MAKE); $(unstage)
33779 @r=`${PWD_COMMAND}`; export r; \
33780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33781 $(NORMAL_TARGET_EXPORTS) \
33782 (cd $(TARGET_SUBDIR)/libssp && \
33783 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33785 @endif target-libssp
33787 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
33788 maybe-install-strip-target-libssp:
33789 @if target-libssp
33790 maybe-install-strip-target-libssp: install-strip-target-libssp
33792 install-strip-target-libssp: installdirs
33793 @: $(MAKE); $(unstage)
33794 @r=`${PWD_COMMAND}`; export r; \
33795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33796 $(NORMAL_TARGET_EXPORTS) \
33797 (cd $(TARGET_SUBDIR)/libssp && \
33798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33800 @endif target-libssp
33802 # Other targets (info, dvi, pdf, etc.)
33804 .PHONY: maybe-info-target-libssp info-target-libssp
33805 maybe-info-target-libssp:
33806 @if target-libssp
33807 maybe-info-target-libssp: info-target-libssp
33809 info-target-libssp: \
33810 configure-target-libssp
33811 @: $(MAKE); $(unstage)
33812 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33813 r=`${PWD_COMMAND}`; export r; \
33814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33815 $(NORMAL_TARGET_EXPORTS) \
33816 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
33817 for flag in $(EXTRA_TARGET_FLAGS); do \
33818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33819 done; \
33820 (cd $(TARGET_SUBDIR)/libssp && \
33821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33823 "RANLIB=$${RANLIB}" \
33824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33825 info) \
33826 || exit 1
33828 @endif target-libssp
33830 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
33831 maybe-dvi-target-libssp:
33832 @if target-libssp
33833 maybe-dvi-target-libssp: dvi-target-libssp
33835 dvi-target-libssp: \
33836 configure-target-libssp
33837 @: $(MAKE); $(unstage)
33838 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33839 r=`${PWD_COMMAND}`; export r; \
33840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33841 $(NORMAL_TARGET_EXPORTS) \
33842 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
33843 for flag in $(EXTRA_TARGET_FLAGS); do \
33844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33845 done; \
33846 (cd $(TARGET_SUBDIR)/libssp && \
33847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33849 "RANLIB=$${RANLIB}" \
33850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33851 dvi) \
33852 || exit 1
33854 @endif target-libssp
33856 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
33857 maybe-pdf-target-libssp:
33858 @if target-libssp
33859 maybe-pdf-target-libssp: pdf-target-libssp
33861 pdf-target-libssp: \
33862 configure-target-libssp
33863 @: $(MAKE); $(unstage)
33864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33865 r=`${PWD_COMMAND}`; export r; \
33866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33867 $(NORMAL_TARGET_EXPORTS) \
33868 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
33869 for flag in $(EXTRA_TARGET_FLAGS); do \
33870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33871 done; \
33872 (cd $(TARGET_SUBDIR)/libssp && \
33873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33875 "RANLIB=$${RANLIB}" \
33876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33877 pdf) \
33878 || exit 1
33880 @endif target-libssp
33882 .PHONY: maybe-html-target-libssp html-target-libssp
33883 maybe-html-target-libssp:
33884 @if target-libssp
33885 maybe-html-target-libssp: html-target-libssp
33887 html-target-libssp: \
33888 configure-target-libssp
33889 @: $(MAKE); $(unstage)
33890 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33891 r=`${PWD_COMMAND}`; export r; \
33892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33893 $(NORMAL_TARGET_EXPORTS) \
33894 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
33895 for flag in $(EXTRA_TARGET_FLAGS); do \
33896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33897 done; \
33898 (cd $(TARGET_SUBDIR)/libssp && \
33899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33901 "RANLIB=$${RANLIB}" \
33902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33903 html) \
33904 || exit 1
33906 @endif target-libssp
33908 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
33909 maybe-TAGS-target-libssp:
33910 @if target-libssp
33911 maybe-TAGS-target-libssp: TAGS-target-libssp
33913 TAGS-target-libssp: \
33914 configure-target-libssp
33915 @: $(MAKE); $(unstage)
33916 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33917 r=`${PWD_COMMAND}`; export r; \
33918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33919 $(NORMAL_TARGET_EXPORTS) \
33920 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
33921 for flag in $(EXTRA_TARGET_FLAGS); do \
33922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33923 done; \
33924 (cd $(TARGET_SUBDIR)/libssp && \
33925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33927 "RANLIB=$${RANLIB}" \
33928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33929 TAGS) \
33930 || exit 1
33932 @endif target-libssp
33934 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
33935 maybe-install-info-target-libssp:
33936 @if target-libssp
33937 maybe-install-info-target-libssp: install-info-target-libssp
33939 install-info-target-libssp: \
33940 configure-target-libssp \
33941 info-target-libssp
33942 @: $(MAKE); $(unstage)
33943 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33944 r=`${PWD_COMMAND}`; export r; \
33945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33946 $(NORMAL_TARGET_EXPORTS) \
33947 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
33948 for flag in $(EXTRA_TARGET_FLAGS); do \
33949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33950 done; \
33951 (cd $(TARGET_SUBDIR)/libssp && \
33952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33954 "RANLIB=$${RANLIB}" \
33955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33956 install-info) \
33957 || exit 1
33959 @endif target-libssp
33961 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
33962 maybe-install-pdf-target-libssp:
33963 @if target-libssp
33964 maybe-install-pdf-target-libssp: install-pdf-target-libssp
33966 install-pdf-target-libssp: \
33967 configure-target-libssp \
33968 pdf-target-libssp
33969 @: $(MAKE); $(unstage)
33970 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33971 r=`${PWD_COMMAND}`; export r; \
33972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33973 $(NORMAL_TARGET_EXPORTS) \
33974 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
33975 for flag in $(EXTRA_TARGET_FLAGS); do \
33976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33977 done; \
33978 (cd $(TARGET_SUBDIR)/libssp && \
33979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33981 "RANLIB=$${RANLIB}" \
33982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33983 install-pdf) \
33984 || exit 1
33986 @endif target-libssp
33988 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
33989 maybe-install-html-target-libssp:
33990 @if target-libssp
33991 maybe-install-html-target-libssp: install-html-target-libssp
33993 install-html-target-libssp: \
33994 configure-target-libssp \
33995 html-target-libssp
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
34002 for flag in $(EXTRA_TARGET_FLAGS); do \
34003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34004 done; \
34005 (cd $(TARGET_SUBDIR)/libssp && \
34006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34008 "RANLIB=$${RANLIB}" \
34009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34010 install-html) \
34011 || exit 1
34013 @endif target-libssp
34015 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
34016 maybe-installcheck-target-libssp:
34017 @if target-libssp
34018 maybe-installcheck-target-libssp: installcheck-target-libssp
34020 installcheck-target-libssp: \
34021 configure-target-libssp
34022 @: $(MAKE); $(unstage)
34023 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34024 r=`${PWD_COMMAND}`; export r; \
34025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34026 $(NORMAL_TARGET_EXPORTS) \
34027 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
34028 for flag in $(EXTRA_TARGET_FLAGS); do \
34029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34030 done; \
34031 (cd $(TARGET_SUBDIR)/libssp && \
34032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34034 "RANLIB=$${RANLIB}" \
34035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34036 installcheck) \
34037 || exit 1
34039 @endif target-libssp
34041 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
34042 maybe-mostlyclean-target-libssp:
34043 @if target-libssp
34044 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
34046 mostlyclean-target-libssp:
34047 @: $(MAKE); $(unstage)
34048 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34049 r=`${PWD_COMMAND}`; export r; \
34050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34051 $(NORMAL_TARGET_EXPORTS) \
34052 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
34053 for flag in $(EXTRA_TARGET_FLAGS); do \
34054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34055 done; \
34056 (cd $(TARGET_SUBDIR)/libssp && \
34057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34059 "RANLIB=$${RANLIB}" \
34060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34061 mostlyclean) \
34062 || exit 1
34064 @endif target-libssp
34066 .PHONY: maybe-clean-target-libssp clean-target-libssp
34067 maybe-clean-target-libssp:
34068 @if target-libssp
34069 maybe-clean-target-libssp: clean-target-libssp
34071 clean-target-libssp:
34072 @: $(MAKE); $(unstage)
34073 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34074 r=`${PWD_COMMAND}`; export r; \
34075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34076 $(NORMAL_TARGET_EXPORTS) \
34077 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
34078 for flag in $(EXTRA_TARGET_FLAGS); do \
34079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34080 done; \
34081 (cd $(TARGET_SUBDIR)/libssp && \
34082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34084 "RANLIB=$${RANLIB}" \
34085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34086 clean) \
34087 || exit 1
34089 @endif target-libssp
34091 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
34092 maybe-distclean-target-libssp:
34093 @if target-libssp
34094 maybe-distclean-target-libssp: distclean-target-libssp
34096 distclean-target-libssp:
34097 @: $(MAKE); $(unstage)
34098 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34099 r=`${PWD_COMMAND}`; export r; \
34100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34101 $(NORMAL_TARGET_EXPORTS) \
34102 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
34103 for flag in $(EXTRA_TARGET_FLAGS); do \
34104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34105 done; \
34106 (cd $(TARGET_SUBDIR)/libssp && \
34107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34109 "RANLIB=$${RANLIB}" \
34110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34111 distclean) \
34112 || exit 1
34114 @endif target-libssp
34116 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
34117 maybe-maintainer-clean-target-libssp:
34118 @if target-libssp
34119 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
34121 maintainer-clean-target-libssp:
34122 @: $(MAKE); $(unstage)
34123 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
34124 r=`${PWD_COMMAND}`; export r; \
34125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34126 $(NORMAL_TARGET_EXPORTS) \
34127 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
34128 for flag in $(EXTRA_TARGET_FLAGS); do \
34129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34130 done; \
34131 (cd $(TARGET_SUBDIR)/libssp && \
34132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34134 "RANLIB=$${RANLIB}" \
34135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34136 maintainer-clean) \
34137 || exit 1
34139 @endif target-libssp
34145 .PHONY: configure-target-newlib maybe-configure-target-newlib
34146 maybe-configure-target-newlib:
34147 @if gcc-bootstrap
34148 configure-target-newlib: stage_current
34149 @endif gcc-bootstrap
34150 @if target-newlib
34151 maybe-configure-target-newlib: configure-target-newlib
34152 configure-target-newlib:
34153 @: $(MAKE); $(unstage)
34154 @r=`${PWD_COMMAND}`; export r; \
34155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34156 echo "Checking multilib configuration for newlib..."; \
34157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34158 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
34159 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
34160 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
34161 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
34162 else \
34163 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
34164 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34165 fi; \
34166 else \
34167 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
34168 fi; \
34169 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
34170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
34171 $(NORMAL_TARGET_EXPORTS) \
34172 echo Configuring in $(TARGET_SUBDIR)/newlib; \
34173 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
34174 case $(srcdir) in \
34175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34176 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
34177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34178 esac; \
34179 srcdiroption="--srcdir=$${topdir}/newlib"; \
34180 libsrcdir="$$s/newlib"; \
34181 rm -f no-such-file || : ; \
34182 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34183 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34184 --target=${target_alias} $${srcdiroption} \
34185 || exit 1
34186 @endif target-newlib
34192 .PHONY: all-target-newlib maybe-all-target-newlib
34193 maybe-all-target-newlib:
34194 @if gcc-bootstrap
34195 all-target-newlib: stage_current
34196 @endif gcc-bootstrap
34197 @if target-newlib
34198 TARGET-target-newlib=all
34199 maybe-all-target-newlib: all-target-newlib
34200 all-target-newlib: configure-target-newlib
34201 @: $(MAKE); $(unstage)
34202 @r=`${PWD_COMMAND}`; export r; \
34203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34204 $(NORMAL_TARGET_EXPORTS) \
34205 (cd $(TARGET_SUBDIR)/newlib && \
34206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34207 $(TARGET-target-newlib))
34208 @endif target-newlib
34214 .PHONY: check-target-newlib maybe-check-target-newlib
34215 maybe-check-target-newlib:
34216 @if target-newlib
34217 maybe-check-target-newlib: check-target-newlib
34219 check-target-newlib:
34220 @: $(MAKE); $(unstage)
34221 @r=`${PWD_COMMAND}`; export r; \
34222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34223 $(NORMAL_TARGET_EXPORTS) \
34224 (cd $(TARGET_SUBDIR)/newlib && \
34225 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34227 @endif target-newlib
34229 .PHONY: install-target-newlib maybe-install-target-newlib
34230 maybe-install-target-newlib:
34231 @if target-newlib
34232 maybe-install-target-newlib: install-target-newlib
34234 install-target-newlib: installdirs
34235 @: $(MAKE); $(unstage)
34236 @r=`${PWD_COMMAND}`; export r; \
34237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34238 $(NORMAL_TARGET_EXPORTS) \
34239 (cd $(TARGET_SUBDIR)/newlib && \
34240 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34242 @endif target-newlib
34244 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
34245 maybe-install-strip-target-newlib:
34246 @if target-newlib
34247 maybe-install-strip-target-newlib: install-strip-target-newlib
34249 install-strip-target-newlib: installdirs
34250 @: $(MAKE); $(unstage)
34251 @r=`${PWD_COMMAND}`; export r; \
34252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34253 $(NORMAL_TARGET_EXPORTS) \
34254 (cd $(TARGET_SUBDIR)/newlib && \
34255 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34257 @endif target-newlib
34259 # Other targets (info, dvi, pdf, etc.)
34261 .PHONY: maybe-info-target-newlib info-target-newlib
34262 maybe-info-target-newlib:
34263 @if target-newlib
34264 maybe-info-target-newlib: info-target-newlib
34266 info-target-newlib: \
34267 configure-target-newlib
34268 @: $(MAKE); $(unstage)
34269 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34270 r=`${PWD_COMMAND}`; export r; \
34271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34272 $(NORMAL_TARGET_EXPORTS) \
34273 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
34274 for flag in $(EXTRA_TARGET_FLAGS); do \
34275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34276 done; \
34277 (cd $(TARGET_SUBDIR)/newlib && \
34278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34280 "RANLIB=$${RANLIB}" \
34281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34282 info) \
34283 || exit 1
34285 @endif target-newlib
34287 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
34288 maybe-dvi-target-newlib:
34289 @if target-newlib
34290 maybe-dvi-target-newlib: dvi-target-newlib
34292 dvi-target-newlib: \
34293 configure-target-newlib
34294 @: $(MAKE); $(unstage)
34295 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34296 r=`${PWD_COMMAND}`; export r; \
34297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34298 $(NORMAL_TARGET_EXPORTS) \
34299 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
34300 for flag in $(EXTRA_TARGET_FLAGS); do \
34301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34302 done; \
34303 (cd $(TARGET_SUBDIR)/newlib && \
34304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34306 "RANLIB=$${RANLIB}" \
34307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34308 dvi) \
34309 || exit 1
34311 @endif target-newlib
34313 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
34314 maybe-pdf-target-newlib:
34315 @if target-newlib
34316 maybe-pdf-target-newlib: pdf-target-newlib
34318 pdf-target-newlib: \
34319 configure-target-newlib
34320 @: $(MAKE); $(unstage)
34321 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34322 r=`${PWD_COMMAND}`; export r; \
34323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34324 $(NORMAL_TARGET_EXPORTS) \
34325 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
34326 for flag in $(EXTRA_TARGET_FLAGS); do \
34327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34328 done; \
34329 (cd $(TARGET_SUBDIR)/newlib && \
34330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34332 "RANLIB=$${RANLIB}" \
34333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34334 pdf) \
34335 || exit 1
34337 @endif target-newlib
34339 .PHONY: maybe-html-target-newlib html-target-newlib
34340 maybe-html-target-newlib:
34341 @if target-newlib
34342 maybe-html-target-newlib: html-target-newlib
34344 html-target-newlib: \
34345 configure-target-newlib
34346 @: $(MAKE); $(unstage)
34347 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34348 r=`${PWD_COMMAND}`; export r; \
34349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34350 $(NORMAL_TARGET_EXPORTS) \
34351 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
34352 for flag in $(EXTRA_TARGET_FLAGS); do \
34353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34354 done; \
34355 (cd $(TARGET_SUBDIR)/newlib && \
34356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34358 "RANLIB=$${RANLIB}" \
34359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34360 html) \
34361 || exit 1
34363 @endif target-newlib
34365 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
34366 maybe-TAGS-target-newlib:
34367 @if target-newlib
34368 maybe-TAGS-target-newlib: TAGS-target-newlib
34370 TAGS-target-newlib: \
34371 configure-target-newlib
34372 @: $(MAKE); $(unstage)
34373 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34374 r=`${PWD_COMMAND}`; export r; \
34375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34376 $(NORMAL_TARGET_EXPORTS) \
34377 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
34378 for flag in $(EXTRA_TARGET_FLAGS); do \
34379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34380 done; \
34381 (cd $(TARGET_SUBDIR)/newlib && \
34382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34384 "RANLIB=$${RANLIB}" \
34385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34386 TAGS) \
34387 || exit 1
34389 @endif target-newlib
34391 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
34392 maybe-install-info-target-newlib:
34393 @if target-newlib
34394 maybe-install-info-target-newlib: install-info-target-newlib
34396 install-info-target-newlib: \
34397 configure-target-newlib \
34398 info-target-newlib
34399 @: $(MAKE); $(unstage)
34400 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34401 r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(NORMAL_TARGET_EXPORTS) \
34404 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
34405 for flag in $(EXTRA_TARGET_FLAGS); do \
34406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34407 done; \
34408 (cd $(TARGET_SUBDIR)/newlib && \
34409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34411 "RANLIB=$${RANLIB}" \
34412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34413 install-info) \
34414 || exit 1
34416 @endif target-newlib
34418 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
34419 maybe-install-pdf-target-newlib:
34420 @if target-newlib
34421 maybe-install-pdf-target-newlib: install-pdf-target-newlib
34423 install-pdf-target-newlib: \
34424 configure-target-newlib \
34425 pdf-target-newlib
34426 @: $(MAKE); $(unstage)
34427 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34428 r=`${PWD_COMMAND}`; export r; \
34429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34430 $(NORMAL_TARGET_EXPORTS) \
34431 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
34432 for flag in $(EXTRA_TARGET_FLAGS); do \
34433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34434 done; \
34435 (cd $(TARGET_SUBDIR)/newlib && \
34436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34438 "RANLIB=$${RANLIB}" \
34439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34440 install-pdf) \
34441 || exit 1
34443 @endif target-newlib
34445 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
34446 maybe-install-html-target-newlib:
34447 @if target-newlib
34448 maybe-install-html-target-newlib: install-html-target-newlib
34450 install-html-target-newlib: \
34451 configure-target-newlib \
34452 html-target-newlib
34453 @: $(MAKE); $(unstage)
34454 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34455 r=`${PWD_COMMAND}`; export r; \
34456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34457 $(NORMAL_TARGET_EXPORTS) \
34458 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
34459 for flag in $(EXTRA_TARGET_FLAGS); do \
34460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34461 done; \
34462 (cd $(TARGET_SUBDIR)/newlib && \
34463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34465 "RANLIB=$${RANLIB}" \
34466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34467 install-html) \
34468 || exit 1
34470 @endif target-newlib
34472 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
34473 maybe-installcheck-target-newlib:
34474 @if target-newlib
34475 maybe-installcheck-target-newlib: installcheck-target-newlib
34477 installcheck-target-newlib: \
34478 configure-target-newlib
34479 @: $(MAKE); $(unstage)
34480 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34481 r=`${PWD_COMMAND}`; export r; \
34482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34483 $(NORMAL_TARGET_EXPORTS) \
34484 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
34485 for flag in $(EXTRA_TARGET_FLAGS); do \
34486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34487 done; \
34488 (cd $(TARGET_SUBDIR)/newlib && \
34489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34491 "RANLIB=$${RANLIB}" \
34492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34493 installcheck) \
34494 || exit 1
34496 @endif target-newlib
34498 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
34499 maybe-mostlyclean-target-newlib:
34500 @if target-newlib
34501 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
34503 mostlyclean-target-newlib:
34504 @: $(MAKE); $(unstage)
34505 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34506 r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 $(NORMAL_TARGET_EXPORTS) \
34509 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
34510 for flag in $(EXTRA_TARGET_FLAGS); do \
34511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34512 done; \
34513 (cd $(TARGET_SUBDIR)/newlib && \
34514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34516 "RANLIB=$${RANLIB}" \
34517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34518 mostlyclean) \
34519 || exit 1
34521 @endif target-newlib
34523 .PHONY: maybe-clean-target-newlib clean-target-newlib
34524 maybe-clean-target-newlib:
34525 @if target-newlib
34526 maybe-clean-target-newlib: clean-target-newlib
34528 clean-target-newlib:
34529 @: $(MAKE); $(unstage)
34530 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34531 r=`${PWD_COMMAND}`; export r; \
34532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34533 $(NORMAL_TARGET_EXPORTS) \
34534 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
34535 for flag in $(EXTRA_TARGET_FLAGS); do \
34536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34537 done; \
34538 (cd $(TARGET_SUBDIR)/newlib && \
34539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34541 "RANLIB=$${RANLIB}" \
34542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34543 clean) \
34544 || exit 1
34546 @endif target-newlib
34548 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
34549 maybe-distclean-target-newlib:
34550 @if target-newlib
34551 maybe-distclean-target-newlib: distclean-target-newlib
34553 distclean-target-newlib:
34554 @: $(MAKE); $(unstage)
34555 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34556 r=`${PWD_COMMAND}`; export r; \
34557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34558 $(NORMAL_TARGET_EXPORTS) \
34559 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
34560 for flag in $(EXTRA_TARGET_FLAGS); do \
34561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34562 done; \
34563 (cd $(TARGET_SUBDIR)/newlib && \
34564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34566 "RANLIB=$${RANLIB}" \
34567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34568 distclean) \
34569 || exit 1
34571 @endif target-newlib
34573 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
34574 maybe-maintainer-clean-target-newlib:
34575 @if target-newlib
34576 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
34578 maintainer-clean-target-newlib:
34579 @: $(MAKE); $(unstage)
34580 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34581 r=`${PWD_COMMAND}`; export r; \
34582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34583 $(NORMAL_TARGET_EXPORTS) \
34584 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
34585 for flag in $(EXTRA_TARGET_FLAGS); do \
34586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34587 done; \
34588 (cd $(TARGET_SUBDIR)/newlib && \
34589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34591 "RANLIB=$${RANLIB}" \
34592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34593 maintainer-clean) \
34594 || exit 1
34596 @endif target-newlib
34602 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
34603 maybe-configure-target-libgcc:
34604 @if gcc-bootstrap
34605 configure-target-libgcc: stage_current
34606 @endif gcc-bootstrap
34607 @if target-libgcc
34608 maybe-configure-target-libgcc: configure-target-libgcc
34609 configure-target-libgcc:
34610 @r=`${PWD_COMMAND}`; export r; \
34611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34612 echo "Checking multilib configuration for libgcc..."; \
34613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34614 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34615 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34616 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34617 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34618 else \
34619 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34620 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34621 fi; \
34622 else \
34623 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34624 fi; \
34625 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34627 $(NORMAL_TARGET_EXPORTS) \
34628 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
34629 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
34630 case $(srcdir) in \
34631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34632 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34634 esac; \
34635 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34636 libsrcdir="$$s/libgcc"; \
34637 rm -f no-such-file || : ; \
34638 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34639 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34640 --target=${target_alias} $${srcdiroption} \
34641 || exit 1
34642 @endif target-libgcc
34646 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
34647 maybe-configure-stage1-target-libgcc:
34648 @if target-libgcc-bootstrap
34649 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
34650 configure-stage1-target-libgcc:
34651 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34652 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34653 @r=`${PWD_COMMAND}`; export r; \
34654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34655 TFLAGS="$(STAGE1_TFLAGS)"; \
34656 echo "Checking multilib configuration for libgcc..."; \
34657 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34658 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34659 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34660 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34661 else \
34662 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34663 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34664 fi; \
34665 else \
34666 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34667 fi; \
34668 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34669 $(NORMAL_TARGET_EXPORTS) \
34670 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34671 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34672 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34673 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
34674 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34675 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34676 case $(srcdir) in \
34677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34678 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34680 esac; \
34681 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34682 libsrcdir="$$s/libgcc"; \
34683 $(SHELL) $${libsrcdir}/configure \
34684 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34685 --target=${target_alias} $${srcdiroption} \
34686 $(STAGE1_CONFIGURE_FLAGS)
34687 @endif target-libgcc-bootstrap
34689 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
34690 maybe-configure-stage2-target-libgcc:
34691 @if target-libgcc-bootstrap
34692 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
34693 configure-stage2-target-libgcc:
34694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34695 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34696 @r=`${PWD_COMMAND}`; export r; \
34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34698 TFLAGS="$(STAGE2_TFLAGS)"; \
34699 echo "Checking multilib configuration for libgcc..."; \
34700 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34701 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34702 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34703 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34704 else \
34705 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34706 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34707 fi; \
34708 else \
34709 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34710 fi; \
34711 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34712 $(NORMAL_TARGET_EXPORTS) \
34714 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34715 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34716 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34717 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
34718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34719 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34720 case $(srcdir) in \
34721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34722 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34724 esac; \
34725 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34726 libsrcdir="$$s/libgcc"; \
34727 $(SHELL) $${libsrcdir}/configure \
34728 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34729 --target=${target_alias} $${srcdiroption} \
34730 --with-build-libsubdir=$(HOST_SUBDIR) \
34731 $(STAGE2_CONFIGURE_FLAGS)
34732 @endif target-libgcc-bootstrap
34734 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
34735 maybe-configure-stage3-target-libgcc:
34736 @if target-libgcc-bootstrap
34737 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
34738 configure-stage3-target-libgcc:
34739 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34740 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34741 @r=`${PWD_COMMAND}`; export r; \
34742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34743 TFLAGS="$(STAGE3_TFLAGS)"; \
34744 echo "Checking multilib configuration for libgcc..."; \
34745 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34746 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34747 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34748 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34749 else \
34750 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34751 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34752 fi; \
34753 else \
34754 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34755 fi; \
34756 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34757 $(NORMAL_TARGET_EXPORTS) \
34759 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34760 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34761 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34762 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
34763 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34764 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34765 case $(srcdir) in \
34766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34767 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34769 esac; \
34770 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34771 libsrcdir="$$s/libgcc"; \
34772 $(SHELL) $${libsrcdir}/configure \
34773 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34774 --target=${target_alias} $${srcdiroption} \
34775 --with-build-libsubdir=$(HOST_SUBDIR) \
34776 $(STAGE3_CONFIGURE_FLAGS)
34777 @endif target-libgcc-bootstrap
34779 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
34780 maybe-configure-stage4-target-libgcc:
34781 @if target-libgcc-bootstrap
34782 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
34783 configure-stage4-target-libgcc:
34784 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34785 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34786 @r=`${PWD_COMMAND}`; export r; \
34787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34788 TFLAGS="$(STAGE4_TFLAGS)"; \
34789 echo "Checking multilib configuration for libgcc..."; \
34790 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34791 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34792 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34793 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34794 else \
34795 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34796 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34797 fi; \
34798 else \
34799 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34800 fi; \
34801 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34802 $(NORMAL_TARGET_EXPORTS) \
34804 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34805 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34806 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34807 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
34808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34809 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34810 case $(srcdir) in \
34811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34812 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34814 esac; \
34815 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34816 libsrcdir="$$s/libgcc"; \
34817 $(SHELL) $${libsrcdir}/configure \
34818 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34819 --target=${target_alias} $${srcdiroption} \
34820 --with-build-libsubdir=$(HOST_SUBDIR) \
34821 $(STAGE4_CONFIGURE_FLAGS)
34822 @endif target-libgcc-bootstrap
34824 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
34825 maybe-configure-stageprofile-target-libgcc:
34826 @if target-libgcc-bootstrap
34827 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34828 configure-stageprofile-target-libgcc:
34829 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34830 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34831 @r=`${PWD_COMMAND}`; export r; \
34832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34833 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34834 echo "Checking multilib configuration for libgcc..."; \
34835 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34836 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34837 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34838 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34839 else \
34840 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34841 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34842 fi; \
34843 else \
34844 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34845 fi; \
34846 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34847 $(NORMAL_TARGET_EXPORTS) \
34849 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34850 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34851 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34852 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
34853 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34854 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34855 case $(srcdir) in \
34856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34857 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34859 esac; \
34860 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34861 libsrcdir="$$s/libgcc"; \
34862 $(SHELL) $${libsrcdir}/configure \
34863 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34864 --target=${target_alias} $${srcdiroption} \
34865 --with-build-libsubdir=$(HOST_SUBDIR) \
34866 $(STAGEprofile_CONFIGURE_FLAGS)
34867 @endif target-libgcc-bootstrap
34869 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
34870 maybe-configure-stagefeedback-target-libgcc:
34871 @if target-libgcc-bootstrap
34872 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34873 configure-stagefeedback-target-libgcc:
34874 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34875 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34876 @r=`${PWD_COMMAND}`; export r; \
34877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34879 echo "Checking multilib configuration for libgcc..."; \
34880 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34881 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34882 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34883 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34884 else \
34885 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34886 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34887 fi; \
34888 else \
34889 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34890 fi; \
34891 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34892 $(NORMAL_TARGET_EXPORTS) \
34894 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34895 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34896 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34897 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
34898 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34899 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34900 case $(srcdir) in \
34901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34902 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34904 esac; \
34905 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34906 libsrcdir="$$s/libgcc"; \
34907 $(SHELL) $${libsrcdir}/configure \
34908 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34909 --target=${target_alias} $${srcdiroption} \
34910 --with-build-libsubdir=$(HOST_SUBDIR) \
34911 $(STAGEfeedback_CONFIGURE_FLAGS)
34912 @endif target-libgcc-bootstrap
34918 .PHONY: all-target-libgcc maybe-all-target-libgcc
34919 maybe-all-target-libgcc:
34920 @if gcc-bootstrap
34921 all-target-libgcc: stage_current
34922 @endif gcc-bootstrap
34923 @if target-libgcc
34924 TARGET-target-libgcc=all
34925 maybe-all-target-libgcc: all-target-libgcc
34926 all-target-libgcc: configure-target-libgcc
34927 @r=`${PWD_COMMAND}`; export r; \
34928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34929 $(NORMAL_TARGET_EXPORTS) \
34930 (cd $(TARGET_SUBDIR)/libgcc && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34932 $(TARGET-target-libgcc))
34933 @endif target-libgcc
34937 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
34938 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
34939 maybe-all-stage1-target-libgcc:
34940 maybe-clean-stage1-target-libgcc:
34941 @if target-libgcc-bootstrap
34942 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
34943 all-stage1: all-stage1-target-libgcc
34944 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
34945 all-stage1-target-libgcc: configure-stage1-target-libgcc
34946 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34947 @r=`${PWD_COMMAND}`; export r; \
34948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34949 TFLAGS="$(STAGE1_TFLAGS)"; \
34950 $(NORMAL_TARGET_EXPORTS) \
34951 cd $(TARGET_SUBDIR)/libgcc && \
34952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34953 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34954 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34955 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34959 $(EXTRA_TARGET_FLAGS) \
34961 TFLAGS="$(STAGE1_TFLAGS)" \
34962 $(TARGET-stage1-target-libgcc)
34964 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
34965 clean-stage1: clean-stage1-target-libgcc
34966 clean-stage1-target-libgcc:
34967 @if [ $(current_stage) = stage1 ]; then \
34968 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34969 else \
34970 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
34971 $(MAKE) stage1-start; \
34972 fi; \
34973 cd $(TARGET_SUBDIR)/libgcc && \
34974 $(MAKE) $(EXTRA_TARGET_FLAGS) \
34975 clean
34976 @endif target-libgcc-bootstrap
34979 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
34980 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
34981 maybe-all-stage2-target-libgcc:
34982 maybe-clean-stage2-target-libgcc:
34983 @if target-libgcc-bootstrap
34984 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
34985 all-stage2: all-stage2-target-libgcc
34986 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
34987 all-stage2-target-libgcc: configure-stage2-target-libgcc
34988 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34989 @r=`${PWD_COMMAND}`; export r; \
34990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34991 TFLAGS="$(STAGE2_TFLAGS)"; \
34992 $(NORMAL_TARGET_EXPORTS) \
34994 cd $(TARGET_SUBDIR)/libgcc && \
34995 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34996 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34997 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34998 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34999 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35001 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35002 $(EXTRA_TARGET_FLAGS) \
35003 TFLAGS="$(STAGE2_TFLAGS)" \
35004 $(TARGET-stage2-target-libgcc)
35006 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
35007 clean-stage2: clean-stage2-target-libgcc
35008 clean-stage2-target-libgcc:
35009 @if [ $(current_stage) = stage2 ]; then \
35010 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35011 else \
35012 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
35013 $(MAKE) stage2-start; \
35014 fi; \
35015 cd $(TARGET_SUBDIR)/libgcc && \
35016 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35017 @endif target-libgcc-bootstrap
35020 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
35021 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
35022 maybe-all-stage3-target-libgcc:
35023 maybe-clean-stage3-target-libgcc:
35024 @if target-libgcc-bootstrap
35025 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
35026 all-stage3: all-stage3-target-libgcc
35027 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
35028 all-stage3-target-libgcc: configure-stage3-target-libgcc
35029 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
35030 @r=`${PWD_COMMAND}`; export r; \
35031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35032 TFLAGS="$(STAGE3_TFLAGS)"; \
35033 $(NORMAL_TARGET_EXPORTS) \
35035 cd $(TARGET_SUBDIR)/libgcc && \
35036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35037 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35043 $(EXTRA_TARGET_FLAGS) \
35044 TFLAGS="$(STAGE3_TFLAGS)" \
35045 $(TARGET-stage3-target-libgcc)
35047 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
35048 clean-stage3: clean-stage3-target-libgcc
35049 clean-stage3-target-libgcc:
35050 @if [ $(current_stage) = stage3 ]; then \
35051 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35052 else \
35053 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
35054 $(MAKE) stage3-start; \
35055 fi; \
35056 cd $(TARGET_SUBDIR)/libgcc && \
35057 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35058 @endif target-libgcc-bootstrap
35061 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
35062 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
35063 maybe-all-stage4-target-libgcc:
35064 maybe-clean-stage4-target-libgcc:
35065 @if target-libgcc-bootstrap
35066 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
35067 all-stage4: all-stage4-target-libgcc
35068 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
35069 all-stage4-target-libgcc: configure-stage4-target-libgcc
35070 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
35071 @r=`${PWD_COMMAND}`; export r; \
35072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35073 TFLAGS="$(STAGE4_TFLAGS)"; \
35074 $(NORMAL_TARGET_EXPORTS) \
35076 cd $(TARGET_SUBDIR)/libgcc && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35078 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35079 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35080 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35084 $(EXTRA_TARGET_FLAGS) \
35085 TFLAGS="$(STAGE4_TFLAGS)" \
35086 $(TARGET-stage4-target-libgcc)
35088 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
35089 clean-stage4: clean-stage4-target-libgcc
35090 clean-stage4-target-libgcc:
35091 @if [ $(current_stage) = stage4 ]; then \
35092 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35093 else \
35094 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
35095 $(MAKE) stage4-start; \
35096 fi; \
35097 cd $(TARGET_SUBDIR)/libgcc && \
35098 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35099 @endif target-libgcc-bootstrap
35102 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
35103 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
35104 maybe-all-stageprofile-target-libgcc:
35105 maybe-clean-stageprofile-target-libgcc:
35106 @if target-libgcc-bootstrap
35107 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
35108 all-stageprofile: all-stageprofile-target-libgcc
35109 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
35110 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
35111 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
35112 @r=`${PWD_COMMAND}`; export r; \
35113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35114 TFLAGS="$(STAGEprofile_TFLAGS)"; \
35115 $(NORMAL_TARGET_EXPORTS) \
35117 cd $(TARGET_SUBDIR)/libgcc && \
35118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35119 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35120 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35121 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35125 $(EXTRA_TARGET_FLAGS) \
35126 TFLAGS="$(STAGEprofile_TFLAGS)" \
35127 $(TARGET-stageprofile-target-libgcc)
35129 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
35130 clean-stageprofile: clean-stageprofile-target-libgcc
35131 clean-stageprofile-target-libgcc:
35132 @if [ $(current_stage) = stageprofile ]; then \
35133 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35134 else \
35135 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
35136 $(MAKE) stageprofile-start; \
35137 fi; \
35138 cd $(TARGET_SUBDIR)/libgcc && \
35139 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35140 @endif target-libgcc-bootstrap
35143 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
35144 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
35145 maybe-all-stagefeedback-target-libgcc:
35146 maybe-clean-stagefeedback-target-libgcc:
35147 @if target-libgcc-bootstrap
35148 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
35149 all-stagefeedback: all-stagefeedback-target-libgcc
35150 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
35151 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
35152 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
35153 @r=`${PWD_COMMAND}`; export r; \
35154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35155 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
35156 $(NORMAL_TARGET_EXPORTS) \
35158 cd $(TARGET_SUBDIR)/libgcc && \
35159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
35160 CFLAGS="$(CFLAGS_FOR_TARGET)" \
35161 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
35162 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
35163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
35164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
35165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
35166 $(EXTRA_TARGET_FLAGS) \
35167 TFLAGS="$(STAGEfeedback_TFLAGS)" \
35168 $(TARGET-stagefeedback-target-libgcc)
35170 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
35171 clean-stagefeedback: clean-stagefeedback-target-libgcc
35172 clean-stagefeedback-target-libgcc:
35173 @if [ $(current_stage) = stagefeedback ]; then \
35174 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
35175 else \
35176 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
35177 $(MAKE) stagefeedback-start; \
35178 fi; \
35179 cd $(TARGET_SUBDIR)/libgcc && \
35180 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
35181 @endif target-libgcc-bootstrap
35188 .PHONY: check-target-libgcc maybe-check-target-libgcc
35189 maybe-check-target-libgcc:
35190 @if target-libgcc
35191 maybe-check-target-libgcc: check-target-libgcc
35193 # Dummy target for uncheckable module.
35194 check-target-libgcc:
35196 @endif target-libgcc
35198 .PHONY: install-target-libgcc maybe-install-target-libgcc
35199 maybe-install-target-libgcc:
35200 @if target-libgcc
35201 maybe-install-target-libgcc: install-target-libgcc
35203 install-target-libgcc: installdirs
35204 @: $(MAKE); $(unstage)
35205 @r=`${PWD_COMMAND}`; export r; \
35206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35207 $(NORMAL_TARGET_EXPORTS) \
35208 (cd $(TARGET_SUBDIR)/libgcc && \
35209 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35211 @endif target-libgcc
35213 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
35214 maybe-install-strip-target-libgcc:
35215 @if target-libgcc
35216 maybe-install-strip-target-libgcc: install-strip-target-libgcc
35218 install-strip-target-libgcc: installdirs
35219 @: $(MAKE); $(unstage)
35220 @r=`${PWD_COMMAND}`; export r; \
35221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35222 $(NORMAL_TARGET_EXPORTS) \
35223 (cd $(TARGET_SUBDIR)/libgcc && \
35224 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35226 @endif target-libgcc
35228 # Other targets (info, dvi, pdf, etc.)
35230 .PHONY: maybe-info-target-libgcc info-target-libgcc
35231 maybe-info-target-libgcc:
35232 @if target-libgcc
35233 maybe-info-target-libgcc: info-target-libgcc
35235 info-target-libgcc: \
35236 configure-target-libgcc
35237 @: $(MAKE); $(unstage)
35238 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35239 r=`${PWD_COMMAND}`; export r; \
35240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35241 $(NORMAL_TARGET_EXPORTS) \
35242 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
35243 for flag in $(EXTRA_TARGET_FLAGS); do \
35244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35245 done; \
35246 (cd $(TARGET_SUBDIR)/libgcc && \
35247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35249 "RANLIB=$${RANLIB}" \
35250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35251 info) \
35252 || exit 1
35254 @endif target-libgcc
35256 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
35257 maybe-dvi-target-libgcc:
35258 @if target-libgcc
35259 maybe-dvi-target-libgcc: dvi-target-libgcc
35261 dvi-target-libgcc: \
35262 configure-target-libgcc
35263 @: $(MAKE); $(unstage)
35264 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35265 r=`${PWD_COMMAND}`; export r; \
35266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35267 $(NORMAL_TARGET_EXPORTS) \
35268 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
35269 for flag in $(EXTRA_TARGET_FLAGS); do \
35270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35271 done; \
35272 (cd $(TARGET_SUBDIR)/libgcc && \
35273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35275 "RANLIB=$${RANLIB}" \
35276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35277 dvi) \
35278 || exit 1
35280 @endif target-libgcc
35282 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
35283 maybe-pdf-target-libgcc:
35284 @if target-libgcc
35285 maybe-pdf-target-libgcc: pdf-target-libgcc
35287 pdf-target-libgcc: \
35288 configure-target-libgcc
35289 @: $(MAKE); $(unstage)
35290 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35291 r=`${PWD_COMMAND}`; export r; \
35292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35293 $(NORMAL_TARGET_EXPORTS) \
35294 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
35295 for flag in $(EXTRA_TARGET_FLAGS); do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 (cd $(TARGET_SUBDIR)/libgcc && \
35299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35301 "RANLIB=$${RANLIB}" \
35302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35303 pdf) \
35304 || exit 1
35306 @endif target-libgcc
35308 .PHONY: maybe-html-target-libgcc html-target-libgcc
35309 maybe-html-target-libgcc:
35310 @if target-libgcc
35311 maybe-html-target-libgcc: html-target-libgcc
35313 html-target-libgcc: \
35314 configure-target-libgcc
35315 @: $(MAKE); $(unstage)
35316 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35317 r=`${PWD_COMMAND}`; export r; \
35318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35319 $(NORMAL_TARGET_EXPORTS) \
35320 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
35321 for flag in $(EXTRA_TARGET_FLAGS); do \
35322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35323 done; \
35324 (cd $(TARGET_SUBDIR)/libgcc && \
35325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35327 "RANLIB=$${RANLIB}" \
35328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35329 html) \
35330 || exit 1
35332 @endif target-libgcc
35334 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
35335 maybe-TAGS-target-libgcc:
35336 @if target-libgcc
35337 maybe-TAGS-target-libgcc: TAGS-target-libgcc
35339 TAGS-target-libgcc: \
35340 configure-target-libgcc
35341 @: $(MAKE); $(unstage)
35342 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35343 r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(NORMAL_TARGET_EXPORTS) \
35346 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
35347 for flag in $(EXTRA_TARGET_FLAGS); do \
35348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35349 done; \
35350 (cd $(TARGET_SUBDIR)/libgcc && \
35351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35353 "RANLIB=$${RANLIB}" \
35354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35355 TAGS) \
35356 || exit 1
35358 @endif target-libgcc
35360 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
35361 maybe-install-info-target-libgcc:
35362 @if target-libgcc
35363 maybe-install-info-target-libgcc: install-info-target-libgcc
35365 install-info-target-libgcc: \
35366 configure-target-libgcc \
35367 info-target-libgcc
35368 @: $(MAKE); $(unstage)
35369 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35370 r=`${PWD_COMMAND}`; export r; \
35371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35372 $(NORMAL_TARGET_EXPORTS) \
35373 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
35374 for flag in $(EXTRA_TARGET_FLAGS); do \
35375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35376 done; \
35377 (cd $(TARGET_SUBDIR)/libgcc && \
35378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35380 "RANLIB=$${RANLIB}" \
35381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35382 install-info) \
35383 || exit 1
35385 @endif target-libgcc
35387 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
35388 maybe-install-pdf-target-libgcc:
35389 @if target-libgcc
35390 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
35392 install-pdf-target-libgcc: \
35393 configure-target-libgcc \
35394 pdf-target-libgcc
35395 @: $(MAKE); $(unstage)
35396 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35397 r=`${PWD_COMMAND}`; export r; \
35398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35399 $(NORMAL_TARGET_EXPORTS) \
35400 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
35401 for flag in $(EXTRA_TARGET_FLAGS); do \
35402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35403 done; \
35404 (cd $(TARGET_SUBDIR)/libgcc && \
35405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35407 "RANLIB=$${RANLIB}" \
35408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35409 install-pdf) \
35410 || exit 1
35412 @endif target-libgcc
35414 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
35415 maybe-install-html-target-libgcc:
35416 @if target-libgcc
35417 maybe-install-html-target-libgcc: install-html-target-libgcc
35419 install-html-target-libgcc: \
35420 configure-target-libgcc \
35421 html-target-libgcc
35422 @: $(MAKE); $(unstage)
35423 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(NORMAL_TARGET_EXPORTS) \
35427 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
35428 for flag in $(EXTRA_TARGET_FLAGS); do \
35429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35430 done; \
35431 (cd $(TARGET_SUBDIR)/libgcc && \
35432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35434 "RANLIB=$${RANLIB}" \
35435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35436 install-html) \
35437 || exit 1
35439 @endif target-libgcc
35441 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
35442 maybe-installcheck-target-libgcc:
35443 @if target-libgcc
35444 maybe-installcheck-target-libgcc: installcheck-target-libgcc
35446 installcheck-target-libgcc: \
35447 configure-target-libgcc
35448 @: $(MAKE); $(unstage)
35449 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(NORMAL_TARGET_EXPORTS) \
35453 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
35454 for flag in $(EXTRA_TARGET_FLAGS); do \
35455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 done; \
35457 (cd $(TARGET_SUBDIR)/libgcc && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 installcheck) \
35463 || exit 1
35465 @endif target-libgcc
35467 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
35468 maybe-mostlyclean-target-libgcc:
35469 @if target-libgcc
35470 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
35472 mostlyclean-target-libgcc:
35473 @: $(MAKE); $(unstage)
35474 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35475 r=`${PWD_COMMAND}`; export r; \
35476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35477 $(NORMAL_TARGET_EXPORTS) \
35478 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
35479 for flag in $(EXTRA_TARGET_FLAGS); do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 (cd $(TARGET_SUBDIR)/libgcc && \
35483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35485 "RANLIB=$${RANLIB}" \
35486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35487 mostlyclean) \
35488 || exit 1
35490 @endif target-libgcc
35492 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
35493 maybe-clean-target-libgcc:
35494 @if target-libgcc
35495 maybe-clean-target-libgcc: clean-target-libgcc
35497 clean-target-libgcc:
35498 @: $(MAKE); $(unstage)
35499 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35500 r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(NORMAL_TARGET_EXPORTS) \
35503 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
35504 for flag in $(EXTRA_TARGET_FLAGS); do \
35505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35506 done; \
35507 (cd $(TARGET_SUBDIR)/libgcc && \
35508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35510 "RANLIB=$${RANLIB}" \
35511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35512 clean) \
35513 || exit 1
35515 @endif target-libgcc
35517 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
35518 maybe-distclean-target-libgcc:
35519 @if target-libgcc
35520 maybe-distclean-target-libgcc: distclean-target-libgcc
35522 distclean-target-libgcc:
35523 @: $(MAKE); $(unstage)
35524 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35525 r=`${PWD_COMMAND}`; export r; \
35526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35527 $(NORMAL_TARGET_EXPORTS) \
35528 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
35529 for flag in $(EXTRA_TARGET_FLAGS); do \
35530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35531 done; \
35532 (cd $(TARGET_SUBDIR)/libgcc && \
35533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35535 "RANLIB=$${RANLIB}" \
35536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35537 distclean) \
35538 || exit 1
35540 @endif target-libgcc
35542 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
35543 maybe-maintainer-clean-target-libgcc:
35544 @if target-libgcc
35545 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
35547 maintainer-clean-target-libgcc:
35548 @: $(MAKE); $(unstage)
35549 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35550 r=`${PWD_COMMAND}`; export r; \
35551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35552 $(NORMAL_TARGET_EXPORTS) \
35553 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
35554 for flag in $(EXTRA_TARGET_FLAGS); do \
35555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35556 done; \
35557 (cd $(TARGET_SUBDIR)/libgcc && \
35558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35560 "RANLIB=$${RANLIB}" \
35561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35562 maintainer-clean) \
35563 || exit 1
35565 @endif target-libgcc
35571 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
35572 maybe-configure-target-libbacktrace:
35573 @if gcc-bootstrap
35574 configure-target-libbacktrace: stage_current
35575 @endif gcc-bootstrap
35576 @if target-libbacktrace
35577 maybe-configure-target-libbacktrace: configure-target-libbacktrace
35578 configure-target-libbacktrace:
35579 @: $(MAKE); $(unstage)
35580 @r=`${PWD_COMMAND}`; export r; \
35581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35582 echo "Checking multilib configuration for libbacktrace..."; \
35583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35584 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
35585 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35586 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35587 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
35588 else \
35589 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
35590 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35591 fi; \
35592 else \
35593 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35594 fi; \
35595 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
35596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35597 $(NORMAL_TARGET_EXPORTS) \
35598 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
35599 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
35600 case $(srcdir) in \
35601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35602 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
35603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35604 esac; \
35605 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
35606 libsrcdir="$$s/libbacktrace"; \
35607 rm -f no-such-file || : ; \
35608 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35609 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35610 --target=${target_alias} $${srcdiroption} \
35611 || exit 1
35612 @endif target-libbacktrace
35618 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
35619 maybe-all-target-libbacktrace:
35620 @if gcc-bootstrap
35621 all-target-libbacktrace: stage_current
35622 @endif gcc-bootstrap
35623 @if target-libbacktrace
35624 TARGET-target-libbacktrace=all
35625 maybe-all-target-libbacktrace: all-target-libbacktrace
35626 all-target-libbacktrace: configure-target-libbacktrace
35627 @: $(MAKE); $(unstage)
35628 @r=`${PWD_COMMAND}`; export r; \
35629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35630 $(NORMAL_TARGET_EXPORTS) \
35631 (cd $(TARGET_SUBDIR)/libbacktrace && \
35632 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35633 $(TARGET-target-libbacktrace))
35634 @endif target-libbacktrace
35640 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
35641 maybe-check-target-libbacktrace:
35642 @if target-libbacktrace
35643 maybe-check-target-libbacktrace: check-target-libbacktrace
35645 check-target-libbacktrace:
35646 @: $(MAKE); $(unstage)
35647 @r=`${PWD_COMMAND}`; export r; \
35648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35649 $(NORMAL_TARGET_EXPORTS) \
35650 (cd $(TARGET_SUBDIR)/libbacktrace && \
35651 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35653 @endif target-libbacktrace
35655 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
35656 maybe-install-target-libbacktrace:
35657 @if target-libbacktrace
35658 maybe-install-target-libbacktrace: install-target-libbacktrace
35660 install-target-libbacktrace: installdirs
35661 @: $(MAKE); $(unstage)
35662 @r=`${PWD_COMMAND}`; export r; \
35663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35664 $(NORMAL_TARGET_EXPORTS) \
35665 (cd $(TARGET_SUBDIR)/libbacktrace && \
35666 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35668 @endif target-libbacktrace
35670 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
35671 maybe-install-strip-target-libbacktrace:
35672 @if target-libbacktrace
35673 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
35675 install-strip-target-libbacktrace: installdirs
35676 @: $(MAKE); $(unstage)
35677 @r=`${PWD_COMMAND}`; export r; \
35678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35679 $(NORMAL_TARGET_EXPORTS) \
35680 (cd $(TARGET_SUBDIR)/libbacktrace && \
35681 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35683 @endif target-libbacktrace
35685 # Other targets (info, dvi, pdf, etc.)
35687 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
35688 maybe-info-target-libbacktrace:
35689 @if target-libbacktrace
35690 maybe-info-target-libbacktrace: info-target-libbacktrace
35692 info-target-libbacktrace: \
35693 configure-target-libbacktrace
35694 @: $(MAKE); $(unstage)
35695 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35696 r=`${PWD_COMMAND}`; export r; \
35697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35698 $(NORMAL_TARGET_EXPORTS) \
35699 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
35700 for flag in $(EXTRA_TARGET_FLAGS); do \
35701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35702 done; \
35703 (cd $(TARGET_SUBDIR)/libbacktrace && \
35704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35706 "RANLIB=$${RANLIB}" \
35707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35708 info) \
35709 || exit 1
35711 @endif target-libbacktrace
35713 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
35714 maybe-dvi-target-libbacktrace:
35715 @if target-libbacktrace
35716 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
35718 dvi-target-libbacktrace: \
35719 configure-target-libbacktrace
35720 @: $(MAKE); $(unstage)
35721 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35722 r=`${PWD_COMMAND}`; export r; \
35723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35724 $(NORMAL_TARGET_EXPORTS) \
35725 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
35726 for flag in $(EXTRA_TARGET_FLAGS); do \
35727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35728 done; \
35729 (cd $(TARGET_SUBDIR)/libbacktrace && \
35730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35732 "RANLIB=$${RANLIB}" \
35733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35734 dvi) \
35735 || exit 1
35737 @endif target-libbacktrace
35739 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
35740 maybe-pdf-target-libbacktrace:
35741 @if target-libbacktrace
35742 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
35744 pdf-target-libbacktrace: \
35745 configure-target-libbacktrace
35746 @: $(MAKE); $(unstage)
35747 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35748 r=`${PWD_COMMAND}`; export r; \
35749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35750 $(NORMAL_TARGET_EXPORTS) \
35751 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35752 for flag in $(EXTRA_TARGET_FLAGS); do \
35753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35754 done; \
35755 (cd $(TARGET_SUBDIR)/libbacktrace && \
35756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35758 "RANLIB=$${RANLIB}" \
35759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35760 pdf) \
35761 || exit 1
35763 @endif target-libbacktrace
35765 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
35766 maybe-html-target-libbacktrace:
35767 @if target-libbacktrace
35768 maybe-html-target-libbacktrace: html-target-libbacktrace
35770 html-target-libbacktrace: \
35771 configure-target-libbacktrace
35772 @: $(MAKE); $(unstage)
35773 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35774 r=`${PWD_COMMAND}`; export r; \
35775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35776 $(NORMAL_TARGET_EXPORTS) \
35777 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
35778 for flag in $(EXTRA_TARGET_FLAGS); do \
35779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35780 done; \
35781 (cd $(TARGET_SUBDIR)/libbacktrace && \
35782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35784 "RANLIB=$${RANLIB}" \
35785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35786 html) \
35787 || exit 1
35789 @endif target-libbacktrace
35791 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
35792 maybe-TAGS-target-libbacktrace:
35793 @if target-libbacktrace
35794 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
35796 TAGS-target-libbacktrace: \
35797 configure-target-libbacktrace
35798 @: $(MAKE); $(unstage)
35799 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35800 r=`${PWD_COMMAND}`; export r; \
35801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35802 $(NORMAL_TARGET_EXPORTS) \
35803 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
35804 for flag in $(EXTRA_TARGET_FLAGS); do \
35805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35806 done; \
35807 (cd $(TARGET_SUBDIR)/libbacktrace && \
35808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35810 "RANLIB=$${RANLIB}" \
35811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35812 TAGS) \
35813 || exit 1
35815 @endif target-libbacktrace
35817 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
35818 maybe-install-info-target-libbacktrace:
35819 @if target-libbacktrace
35820 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
35822 install-info-target-libbacktrace: \
35823 configure-target-libbacktrace \
35824 info-target-libbacktrace
35825 @: $(MAKE); $(unstage)
35826 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35827 r=`${PWD_COMMAND}`; export r; \
35828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35829 $(NORMAL_TARGET_EXPORTS) \
35830 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
35831 for flag in $(EXTRA_TARGET_FLAGS); do \
35832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35833 done; \
35834 (cd $(TARGET_SUBDIR)/libbacktrace && \
35835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35837 "RANLIB=$${RANLIB}" \
35838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35839 install-info) \
35840 || exit 1
35842 @endif target-libbacktrace
35844 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
35845 maybe-install-pdf-target-libbacktrace:
35846 @if target-libbacktrace
35847 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
35849 install-pdf-target-libbacktrace: \
35850 configure-target-libbacktrace \
35851 pdf-target-libbacktrace
35852 @: $(MAKE); $(unstage)
35853 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35854 r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(NORMAL_TARGET_EXPORTS) \
35857 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35858 for flag in $(EXTRA_TARGET_FLAGS); do \
35859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35860 done; \
35861 (cd $(TARGET_SUBDIR)/libbacktrace && \
35862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35864 "RANLIB=$${RANLIB}" \
35865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35866 install-pdf) \
35867 || exit 1
35869 @endif target-libbacktrace
35871 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
35872 maybe-install-html-target-libbacktrace:
35873 @if target-libbacktrace
35874 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
35876 install-html-target-libbacktrace: \
35877 configure-target-libbacktrace \
35878 html-target-libbacktrace
35879 @: $(MAKE); $(unstage)
35880 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35881 r=`${PWD_COMMAND}`; export r; \
35882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35883 $(NORMAL_TARGET_EXPORTS) \
35884 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
35885 for flag in $(EXTRA_TARGET_FLAGS); do \
35886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35887 done; \
35888 (cd $(TARGET_SUBDIR)/libbacktrace && \
35889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35891 "RANLIB=$${RANLIB}" \
35892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35893 install-html) \
35894 || exit 1
35896 @endif target-libbacktrace
35898 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
35899 maybe-installcheck-target-libbacktrace:
35900 @if target-libbacktrace
35901 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
35903 installcheck-target-libbacktrace: \
35904 configure-target-libbacktrace
35905 @: $(MAKE); $(unstage)
35906 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35907 r=`${PWD_COMMAND}`; export r; \
35908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35909 $(NORMAL_TARGET_EXPORTS) \
35910 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
35911 for flag in $(EXTRA_TARGET_FLAGS); do \
35912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35913 done; \
35914 (cd $(TARGET_SUBDIR)/libbacktrace && \
35915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35917 "RANLIB=$${RANLIB}" \
35918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35919 installcheck) \
35920 || exit 1
35922 @endif target-libbacktrace
35924 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
35925 maybe-mostlyclean-target-libbacktrace:
35926 @if target-libbacktrace
35927 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
35929 mostlyclean-target-libbacktrace:
35930 @: $(MAKE); $(unstage)
35931 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35932 r=`${PWD_COMMAND}`; export r; \
35933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35934 $(NORMAL_TARGET_EXPORTS) \
35935 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35936 for flag in $(EXTRA_TARGET_FLAGS); do \
35937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35938 done; \
35939 (cd $(TARGET_SUBDIR)/libbacktrace && \
35940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35942 "RANLIB=$${RANLIB}" \
35943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35944 mostlyclean) \
35945 || exit 1
35947 @endif target-libbacktrace
35949 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
35950 maybe-clean-target-libbacktrace:
35951 @if target-libbacktrace
35952 maybe-clean-target-libbacktrace: clean-target-libbacktrace
35954 clean-target-libbacktrace:
35955 @: $(MAKE); $(unstage)
35956 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35957 r=`${PWD_COMMAND}`; export r; \
35958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35959 $(NORMAL_TARGET_EXPORTS) \
35960 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
35961 for flag in $(EXTRA_TARGET_FLAGS); do \
35962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35963 done; \
35964 (cd $(TARGET_SUBDIR)/libbacktrace && \
35965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35967 "RANLIB=$${RANLIB}" \
35968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35969 clean) \
35970 || exit 1
35972 @endif target-libbacktrace
35974 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
35975 maybe-distclean-target-libbacktrace:
35976 @if target-libbacktrace
35977 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
35979 distclean-target-libbacktrace:
35980 @: $(MAKE); $(unstage)
35981 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35982 r=`${PWD_COMMAND}`; export r; \
35983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35984 $(NORMAL_TARGET_EXPORTS) \
35985 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35986 for flag in $(EXTRA_TARGET_FLAGS); do \
35987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35988 done; \
35989 (cd $(TARGET_SUBDIR)/libbacktrace && \
35990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35992 "RANLIB=$${RANLIB}" \
35993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35994 distclean) \
35995 || exit 1
35997 @endif target-libbacktrace
35999 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
36000 maybe-maintainer-clean-target-libbacktrace:
36001 @if target-libbacktrace
36002 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
36004 maintainer-clean-target-libbacktrace:
36005 @: $(MAKE); $(unstage)
36006 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
36007 r=`${PWD_COMMAND}`; export r; \
36008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36009 $(NORMAL_TARGET_EXPORTS) \
36010 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
36011 for flag in $(EXTRA_TARGET_FLAGS); do \
36012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36013 done; \
36014 (cd $(TARGET_SUBDIR)/libbacktrace && \
36015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36017 "RANLIB=$${RANLIB}" \
36018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36019 maintainer-clean) \
36020 || exit 1
36022 @endif target-libbacktrace
36028 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
36029 maybe-configure-target-libquadmath:
36030 @if gcc-bootstrap
36031 configure-target-libquadmath: stage_current
36032 @endif gcc-bootstrap
36033 @if target-libquadmath
36034 maybe-configure-target-libquadmath: configure-target-libquadmath
36035 configure-target-libquadmath:
36036 @: $(MAKE); $(unstage)
36037 @r=`${PWD_COMMAND}`; export r; \
36038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36039 echo "Checking multilib configuration for libquadmath..."; \
36040 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36041 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
36042 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36043 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
36044 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
36045 else \
36046 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
36047 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36048 fi; \
36049 else \
36050 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
36051 fi; \
36052 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
36053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
36054 $(NORMAL_TARGET_EXPORTS) \
36055 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
36056 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
36057 case $(srcdir) in \
36058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36059 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
36060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36061 esac; \
36062 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
36063 libsrcdir="$$s/libquadmath"; \
36064 rm -f no-such-file || : ; \
36065 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36067 --target=${target_alias} $${srcdiroption} \
36068 || exit 1
36069 @endif target-libquadmath
36075 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
36076 maybe-all-target-libquadmath:
36077 @if gcc-bootstrap
36078 all-target-libquadmath: stage_current
36079 @endif gcc-bootstrap
36080 @if target-libquadmath
36081 TARGET-target-libquadmath=all
36082 maybe-all-target-libquadmath: all-target-libquadmath
36083 all-target-libquadmath: configure-target-libquadmath
36084 @: $(MAKE); $(unstage)
36085 @r=`${PWD_COMMAND}`; export r; \
36086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36087 $(NORMAL_TARGET_EXPORTS) \
36088 (cd $(TARGET_SUBDIR)/libquadmath && \
36089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36090 $(TARGET-target-libquadmath))
36091 @endif target-libquadmath
36097 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
36098 maybe-check-target-libquadmath:
36099 @if target-libquadmath
36100 maybe-check-target-libquadmath: check-target-libquadmath
36102 check-target-libquadmath:
36103 @: $(MAKE); $(unstage)
36104 @r=`${PWD_COMMAND}`; export r; \
36105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36106 $(NORMAL_TARGET_EXPORTS) \
36107 (cd $(TARGET_SUBDIR)/libquadmath && \
36108 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36110 @endif target-libquadmath
36112 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
36113 maybe-install-target-libquadmath:
36114 @if target-libquadmath
36115 maybe-install-target-libquadmath: install-target-libquadmath
36117 install-target-libquadmath: installdirs
36118 @: $(MAKE); $(unstage)
36119 @r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 (cd $(TARGET_SUBDIR)/libquadmath && \
36123 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36125 @endif target-libquadmath
36127 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
36128 maybe-install-strip-target-libquadmath:
36129 @if target-libquadmath
36130 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
36132 install-strip-target-libquadmath: installdirs
36133 @: $(MAKE); $(unstage)
36134 @r=`${PWD_COMMAND}`; export r; \
36135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36136 $(NORMAL_TARGET_EXPORTS) \
36137 (cd $(TARGET_SUBDIR)/libquadmath && \
36138 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36140 @endif target-libquadmath
36142 # Other targets (info, dvi, pdf, etc.)
36144 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
36145 maybe-info-target-libquadmath:
36146 @if target-libquadmath
36147 maybe-info-target-libquadmath: info-target-libquadmath
36149 info-target-libquadmath: \
36150 configure-target-libquadmath
36151 @: $(MAKE); $(unstage)
36152 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36153 r=`${PWD_COMMAND}`; export r; \
36154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36155 $(NORMAL_TARGET_EXPORTS) \
36156 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
36157 for flag in $(EXTRA_TARGET_FLAGS); do \
36158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36159 done; \
36160 (cd $(TARGET_SUBDIR)/libquadmath && \
36161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36163 "RANLIB=$${RANLIB}" \
36164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36165 info) \
36166 || exit 1
36168 @endif target-libquadmath
36170 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
36171 maybe-dvi-target-libquadmath:
36172 @if target-libquadmath
36173 maybe-dvi-target-libquadmath: dvi-target-libquadmath
36175 dvi-target-libquadmath: \
36176 configure-target-libquadmath
36177 @: $(MAKE); $(unstage)
36178 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36179 r=`${PWD_COMMAND}`; export r; \
36180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36181 $(NORMAL_TARGET_EXPORTS) \
36182 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
36183 for flag in $(EXTRA_TARGET_FLAGS); do \
36184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36185 done; \
36186 (cd $(TARGET_SUBDIR)/libquadmath && \
36187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36189 "RANLIB=$${RANLIB}" \
36190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36191 dvi) \
36192 || exit 1
36194 @endif target-libquadmath
36196 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
36197 maybe-pdf-target-libquadmath:
36198 @if target-libquadmath
36199 maybe-pdf-target-libquadmath: pdf-target-libquadmath
36201 pdf-target-libquadmath: \
36202 configure-target-libquadmath
36203 @: $(MAKE); $(unstage)
36204 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36205 r=`${PWD_COMMAND}`; export r; \
36206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36207 $(NORMAL_TARGET_EXPORTS) \
36208 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36209 for flag in $(EXTRA_TARGET_FLAGS); do \
36210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36211 done; \
36212 (cd $(TARGET_SUBDIR)/libquadmath && \
36213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36215 "RANLIB=$${RANLIB}" \
36216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36217 pdf) \
36218 || exit 1
36220 @endif target-libquadmath
36222 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
36223 maybe-html-target-libquadmath:
36224 @if target-libquadmath
36225 maybe-html-target-libquadmath: html-target-libquadmath
36227 html-target-libquadmath: \
36228 configure-target-libquadmath
36229 @: $(MAKE); $(unstage)
36230 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36231 r=`${PWD_COMMAND}`; export r; \
36232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36233 $(NORMAL_TARGET_EXPORTS) \
36234 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
36235 for flag in $(EXTRA_TARGET_FLAGS); do \
36236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36237 done; \
36238 (cd $(TARGET_SUBDIR)/libquadmath && \
36239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36241 "RANLIB=$${RANLIB}" \
36242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36243 html) \
36244 || exit 1
36246 @endif target-libquadmath
36248 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
36249 maybe-TAGS-target-libquadmath:
36250 @if target-libquadmath
36251 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
36253 TAGS-target-libquadmath: \
36254 configure-target-libquadmath
36255 @: $(MAKE); $(unstage)
36256 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36257 r=`${PWD_COMMAND}`; export r; \
36258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36259 $(NORMAL_TARGET_EXPORTS) \
36260 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
36261 for flag in $(EXTRA_TARGET_FLAGS); do \
36262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36263 done; \
36264 (cd $(TARGET_SUBDIR)/libquadmath && \
36265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36267 "RANLIB=$${RANLIB}" \
36268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36269 TAGS) \
36270 || exit 1
36272 @endif target-libquadmath
36274 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
36275 maybe-install-info-target-libquadmath:
36276 @if target-libquadmath
36277 maybe-install-info-target-libquadmath: install-info-target-libquadmath
36279 install-info-target-libquadmath: \
36280 configure-target-libquadmath \
36281 info-target-libquadmath
36282 @: $(MAKE); $(unstage)
36283 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36284 r=`${PWD_COMMAND}`; export r; \
36285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36286 $(NORMAL_TARGET_EXPORTS) \
36287 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
36288 for flag in $(EXTRA_TARGET_FLAGS); do \
36289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36290 done; \
36291 (cd $(TARGET_SUBDIR)/libquadmath && \
36292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36294 "RANLIB=$${RANLIB}" \
36295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36296 install-info) \
36297 || exit 1
36299 @endif target-libquadmath
36301 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
36302 maybe-install-pdf-target-libquadmath:
36303 @if target-libquadmath
36304 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
36306 install-pdf-target-libquadmath: \
36307 configure-target-libquadmath \
36308 pdf-target-libquadmath
36309 @: $(MAKE); $(unstage)
36310 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36311 r=`${PWD_COMMAND}`; export r; \
36312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36313 $(NORMAL_TARGET_EXPORTS) \
36314 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
36315 for flag in $(EXTRA_TARGET_FLAGS); do \
36316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36317 done; \
36318 (cd $(TARGET_SUBDIR)/libquadmath && \
36319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36321 "RANLIB=$${RANLIB}" \
36322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36323 install-pdf) \
36324 || exit 1
36326 @endif target-libquadmath
36328 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
36329 maybe-install-html-target-libquadmath:
36330 @if target-libquadmath
36331 maybe-install-html-target-libquadmath: install-html-target-libquadmath
36333 install-html-target-libquadmath: \
36334 configure-target-libquadmath \
36335 html-target-libquadmath
36336 @: $(MAKE); $(unstage)
36337 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36338 r=`${PWD_COMMAND}`; export r; \
36339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36340 $(NORMAL_TARGET_EXPORTS) \
36341 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
36342 for flag in $(EXTRA_TARGET_FLAGS); do \
36343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36344 done; \
36345 (cd $(TARGET_SUBDIR)/libquadmath && \
36346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36348 "RANLIB=$${RANLIB}" \
36349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36350 install-html) \
36351 || exit 1
36353 @endif target-libquadmath
36355 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
36356 maybe-installcheck-target-libquadmath:
36357 @if target-libquadmath
36358 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
36360 installcheck-target-libquadmath: \
36361 configure-target-libquadmath
36362 @: $(MAKE); $(unstage)
36363 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36364 r=`${PWD_COMMAND}`; export r; \
36365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36366 $(NORMAL_TARGET_EXPORTS) \
36367 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
36368 for flag in $(EXTRA_TARGET_FLAGS); do \
36369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36370 done; \
36371 (cd $(TARGET_SUBDIR)/libquadmath && \
36372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36374 "RANLIB=$${RANLIB}" \
36375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36376 installcheck) \
36377 || exit 1
36379 @endif target-libquadmath
36381 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
36382 maybe-mostlyclean-target-libquadmath:
36383 @if target-libquadmath
36384 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
36386 mostlyclean-target-libquadmath:
36387 @: $(MAKE); $(unstage)
36388 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36389 r=`${PWD_COMMAND}`; export r; \
36390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36391 $(NORMAL_TARGET_EXPORTS) \
36392 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
36393 for flag in $(EXTRA_TARGET_FLAGS); do \
36394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36395 done; \
36396 (cd $(TARGET_SUBDIR)/libquadmath && \
36397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36399 "RANLIB=$${RANLIB}" \
36400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36401 mostlyclean) \
36402 || exit 1
36404 @endif target-libquadmath
36406 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
36407 maybe-clean-target-libquadmath:
36408 @if target-libquadmath
36409 maybe-clean-target-libquadmath: clean-target-libquadmath
36411 clean-target-libquadmath:
36412 @: $(MAKE); $(unstage)
36413 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36414 r=`${PWD_COMMAND}`; export r; \
36415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36416 $(NORMAL_TARGET_EXPORTS) \
36417 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
36418 for flag in $(EXTRA_TARGET_FLAGS); do \
36419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36420 done; \
36421 (cd $(TARGET_SUBDIR)/libquadmath && \
36422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36424 "RANLIB=$${RANLIB}" \
36425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36426 clean) \
36427 || exit 1
36429 @endif target-libquadmath
36431 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
36432 maybe-distclean-target-libquadmath:
36433 @if target-libquadmath
36434 maybe-distclean-target-libquadmath: distclean-target-libquadmath
36436 distclean-target-libquadmath:
36437 @: $(MAKE); $(unstage)
36438 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36439 r=`${PWD_COMMAND}`; export r; \
36440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36441 $(NORMAL_TARGET_EXPORTS) \
36442 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
36443 for flag in $(EXTRA_TARGET_FLAGS); do \
36444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36445 done; \
36446 (cd $(TARGET_SUBDIR)/libquadmath && \
36447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36449 "RANLIB=$${RANLIB}" \
36450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36451 distclean) \
36452 || exit 1
36454 @endif target-libquadmath
36456 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
36457 maybe-maintainer-clean-target-libquadmath:
36458 @if target-libquadmath
36459 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
36461 maintainer-clean-target-libquadmath:
36462 @: $(MAKE); $(unstage)
36463 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
36464 r=`${PWD_COMMAND}`; export r; \
36465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36466 $(NORMAL_TARGET_EXPORTS) \
36467 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
36468 for flag in $(EXTRA_TARGET_FLAGS); do \
36469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36470 done; \
36471 (cd $(TARGET_SUBDIR)/libquadmath && \
36472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36474 "RANLIB=$${RANLIB}" \
36475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36476 maintainer-clean) \
36477 || exit 1
36479 @endif target-libquadmath
36485 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
36486 maybe-configure-target-libgfortran:
36487 @if gcc-bootstrap
36488 configure-target-libgfortran: stage_current
36489 @endif gcc-bootstrap
36490 @if target-libgfortran
36491 maybe-configure-target-libgfortran: configure-target-libgfortran
36492 configure-target-libgfortran:
36493 @: $(MAKE); $(unstage)
36494 @r=`${PWD_COMMAND}`; export r; \
36495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36496 echo "Checking multilib configuration for libgfortran..."; \
36497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36498 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
36499 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36500 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
36501 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
36502 else \
36503 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
36504 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36505 fi; \
36506 else \
36507 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
36508 fi; \
36509 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
36510 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
36511 $(NORMAL_TARGET_EXPORTS) \
36512 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
36513 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
36514 case $(srcdir) in \
36515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36516 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
36517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36518 esac; \
36519 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
36520 libsrcdir="$$s/libgfortran"; \
36521 rm -f no-such-file || : ; \
36522 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36524 --target=${target_alias} $${srcdiroption} \
36525 || exit 1
36526 @endif target-libgfortran
36532 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36533 maybe-all-target-libgfortran:
36534 @if gcc-bootstrap
36535 all-target-libgfortran: stage_current
36536 @endif gcc-bootstrap
36537 @if target-libgfortran
36538 TARGET-target-libgfortran=all
36539 maybe-all-target-libgfortran: all-target-libgfortran
36540 all-target-libgfortran: configure-target-libgfortran
36541 @: $(MAKE); $(unstage)
36542 @r=`${PWD_COMMAND}`; export r; \
36543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36544 $(NORMAL_TARGET_EXPORTS) \
36545 (cd $(TARGET_SUBDIR)/libgfortran && \
36546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36547 $(TARGET-target-libgfortran))
36548 @endif target-libgfortran
36554 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
36555 maybe-check-target-libgfortran:
36556 @if target-libgfortran
36557 maybe-check-target-libgfortran: check-target-libgfortran
36559 check-target-libgfortran:
36560 @: $(MAKE); $(unstage)
36561 @r=`${PWD_COMMAND}`; export r; \
36562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36563 $(NORMAL_TARGET_EXPORTS) \
36564 (cd $(TARGET_SUBDIR)/libgfortran && \
36565 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36567 @endif target-libgfortran
36569 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
36570 maybe-install-target-libgfortran:
36571 @if target-libgfortran
36572 maybe-install-target-libgfortran: install-target-libgfortran
36574 install-target-libgfortran: installdirs
36575 @: $(MAKE); $(unstage)
36576 @r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(NORMAL_TARGET_EXPORTS) \
36579 (cd $(TARGET_SUBDIR)/libgfortran && \
36580 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36582 @endif target-libgfortran
36584 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
36585 maybe-install-strip-target-libgfortran:
36586 @if target-libgfortran
36587 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
36589 install-strip-target-libgfortran: installdirs
36590 @: $(MAKE); $(unstage)
36591 @r=`${PWD_COMMAND}`; export r; \
36592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36593 $(NORMAL_TARGET_EXPORTS) \
36594 (cd $(TARGET_SUBDIR)/libgfortran && \
36595 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36597 @endif target-libgfortran
36599 # Other targets (info, dvi, pdf, etc.)
36601 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
36602 maybe-info-target-libgfortran:
36603 @if target-libgfortran
36604 maybe-info-target-libgfortran: info-target-libgfortran
36606 info-target-libgfortran: \
36607 configure-target-libgfortran
36608 @: $(MAKE); $(unstage)
36609 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36610 r=`${PWD_COMMAND}`; export r; \
36611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36612 $(NORMAL_TARGET_EXPORTS) \
36613 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
36614 for flag in $(EXTRA_TARGET_FLAGS); do \
36615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36616 done; \
36617 (cd $(TARGET_SUBDIR)/libgfortran && \
36618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36620 "RANLIB=$${RANLIB}" \
36621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36622 info) \
36623 || exit 1
36625 @endif target-libgfortran
36627 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
36628 maybe-dvi-target-libgfortran:
36629 @if target-libgfortran
36630 maybe-dvi-target-libgfortran: dvi-target-libgfortran
36632 dvi-target-libgfortran: \
36633 configure-target-libgfortran
36634 @: $(MAKE); $(unstage)
36635 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36636 r=`${PWD_COMMAND}`; export r; \
36637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36638 $(NORMAL_TARGET_EXPORTS) \
36639 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
36640 for flag in $(EXTRA_TARGET_FLAGS); do \
36641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36642 done; \
36643 (cd $(TARGET_SUBDIR)/libgfortran && \
36644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36646 "RANLIB=$${RANLIB}" \
36647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36648 dvi) \
36649 || exit 1
36651 @endif target-libgfortran
36653 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
36654 maybe-pdf-target-libgfortran:
36655 @if target-libgfortran
36656 maybe-pdf-target-libgfortran: pdf-target-libgfortran
36658 pdf-target-libgfortran: \
36659 configure-target-libgfortran
36660 @: $(MAKE); $(unstage)
36661 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36662 r=`${PWD_COMMAND}`; export r; \
36663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36664 $(NORMAL_TARGET_EXPORTS) \
36665 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36666 for flag in $(EXTRA_TARGET_FLAGS); do \
36667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36668 done; \
36669 (cd $(TARGET_SUBDIR)/libgfortran && \
36670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36672 "RANLIB=$${RANLIB}" \
36673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36674 pdf) \
36675 || exit 1
36677 @endif target-libgfortran
36679 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
36680 maybe-html-target-libgfortran:
36681 @if target-libgfortran
36682 maybe-html-target-libgfortran: html-target-libgfortran
36684 html-target-libgfortran: \
36685 configure-target-libgfortran
36686 @: $(MAKE); $(unstage)
36687 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36688 r=`${PWD_COMMAND}`; export r; \
36689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36690 $(NORMAL_TARGET_EXPORTS) \
36691 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
36692 for flag in $(EXTRA_TARGET_FLAGS); do \
36693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36694 done; \
36695 (cd $(TARGET_SUBDIR)/libgfortran && \
36696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36698 "RANLIB=$${RANLIB}" \
36699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36700 html) \
36701 || exit 1
36703 @endif target-libgfortran
36705 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
36706 maybe-TAGS-target-libgfortran:
36707 @if target-libgfortran
36708 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
36710 TAGS-target-libgfortran: \
36711 configure-target-libgfortran
36712 @: $(MAKE); $(unstage)
36713 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36714 r=`${PWD_COMMAND}`; export r; \
36715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36716 $(NORMAL_TARGET_EXPORTS) \
36717 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
36718 for flag in $(EXTRA_TARGET_FLAGS); do \
36719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36720 done; \
36721 (cd $(TARGET_SUBDIR)/libgfortran && \
36722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36724 "RANLIB=$${RANLIB}" \
36725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36726 TAGS) \
36727 || exit 1
36729 @endif target-libgfortran
36731 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
36732 maybe-install-info-target-libgfortran:
36733 @if target-libgfortran
36734 maybe-install-info-target-libgfortran: install-info-target-libgfortran
36736 install-info-target-libgfortran: \
36737 configure-target-libgfortran \
36738 info-target-libgfortran
36739 @: $(MAKE); $(unstage)
36740 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36741 r=`${PWD_COMMAND}`; export r; \
36742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36743 $(NORMAL_TARGET_EXPORTS) \
36744 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
36745 for flag in $(EXTRA_TARGET_FLAGS); do \
36746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36747 done; \
36748 (cd $(TARGET_SUBDIR)/libgfortran && \
36749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36751 "RANLIB=$${RANLIB}" \
36752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36753 install-info) \
36754 || exit 1
36756 @endif target-libgfortran
36758 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
36759 maybe-install-pdf-target-libgfortran:
36760 @if target-libgfortran
36761 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
36763 install-pdf-target-libgfortran: \
36764 configure-target-libgfortran \
36765 pdf-target-libgfortran
36766 @: $(MAKE); $(unstage)
36767 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36768 r=`${PWD_COMMAND}`; export r; \
36769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36770 $(NORMAL_TARGET_EXPORTS) \
36771 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36772 for flag in $(EXTRA_TARGET_FLAGS); do \
36773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36774 done; \
36775 (cd $(TARGET_SUBDIR)/libgfortran && \
36776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36778 "RANLIB=$${RANLIB}" \
36779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36780 install-pdf) \
36781 || exit 1
36783 @endif target-libgfortran
36785 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
36786 maybe-install-html-target-libgfortran:
36787 @if target-libgfortran
36788 maybe-install-html-target-libgfortran: install-html-target-libgfortran
36790 install-html-target-libgfortran: \
36791 configure-target-libgfortran \
36792 html-target-libgfortran
36793 @: $(MAKE); $(unstage)
36794 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36795 r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 $(NORMAL_TARGET_EXPORTS) \
36798 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
36799 for flag in $(EXTRA_TARGET_FLAGS); do \
36800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36801 done; \
36802 (cd $(TARGET_SUBDIR)/libgfortran && \
36803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36805 "RANLIB=$${RANLIB}" \
36806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36807 install-html) \
36808 || exit 1
36810 @endif target-libgfortran
36812 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
36813 maybe-installcheck-target-libgfortran:
36814 @if target-libgfortran
36815 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
36817 installcheck-target-libgfortran: \
36818 configure-target-libgfortran
36819 @: $(MAKE); $(unstage)
36820 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36821 r=`${PWD_COMMAND}`; export r; \
36822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36823 $(NORMAL_TARGET_EXPORTS) \
36824 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
36825 for flag in $(EXTRA_TARGET_FLAGS); do \
36826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36827 done; \
36828 (cd $(TARGET_SUBDIR)/libgfortran && \
36829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36831 "RANLIB=$${RANLIB}" \
36832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36833 installcheck) \
36834 || exit 1
36836 @endif target-libgfortran
36838 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
36839 maybe-mostlyclean-target-libgfortran:
36840 @if target-libgfortran
36841 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
36843 mostlyclean-target-libgfortran:
36844 @: $(MAKE); $(unstage)
36845 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36846 r=`${PWD_COMMAND}`; export r; \
36847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36848 $(NORMAL_TARGET_EXPORTS) \
36849 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
36850 for flag in $(EXTRA_TARGET_FLAGS); do \
36851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36852 done; \
36853 (cd $(TARGET_SUBDIR)/libgfortran && \
36854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36856 "RANLIB=$${RANLIB}" \
36857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36858 mostlyclean) \
36859 || exit 1
36861 @endif target-libgfortran
36863 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
36864 maybe-clean-target-libgfortran:
36865 @if target-libgfortran
36866 maybe-clean-target-libgfortran: clean-target-libgfortran
36868 clean-target-libgfortran:
36869 @: $(MAKE); $(unstage)
36870 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36871 r=`${PWD_COMMAND}`; export r; \
36872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36873 $(NORMAL_TARGET_EXPORTS) \
36874 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
36875 for flag in $(EXTRA_TARGET_FLAGS); do \
36876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36877 done; \
36878 (cd $(TARGET_SUBDIR)/libgfortran && \
36879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36881 "RANLIB=$${RANLIB}" \
36882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36883 clean) \
36884 || exit 1
36886 @endif target-libgfortran
36888 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
36889 maybe-distclean-target-libgfortran:
36890 @if target-libgfortran
36891 maybe-distclean-target-libgfortran: distclean-target-libgfortran
36893 distclean-target-libgfortran:
36894 @: $(MAKE); $(unstage)
36895 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36896 r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 $(NORMAL_TARGET_EXPORTS) \
36899 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
36900 for flag in $(EXTRA_TARGET_FLAGS); do \
36901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36902 done; \
36903 (cd $(TARGET_SUBDIR)/libgfortran && \
36904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36906 "RANLIB=$${RANLIB}" \
36907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36908 distclean) \
36909 || exit 1
36911 @endif target-libgfortran
36913 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
36914 maybe-maintainer-clean-target-libgfortran:
36915 @if target-libgfortran
36916 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
36918 maintainer-clean-target-libgfortran:
36919 @: $(MAKE); $(unstage)
36920 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36921 r=`${PWD_COMMAND}`; export r; \
36922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36923 $(NORMAL_TARGET_EXPORTS) \
36924 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
36925 for flag in $(EXTRA_TARGET_FLAGS); do \
36926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36927 done; \
36928 (cd $(TARGET_SUBDIR)/libgfortran && \
36929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36931 "RANLIB=$${RANLIB}" \
36932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36933 maintainer-clean) \
36934 || exit 1
36936 @endif target-libgfortran
36942 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
36943 maybe-configure-target-libobjc:
36944 @if gcc-bootstrap
36945 configure-target-libobjc: stage_current
36946 @endif gcc-bootstrap
36947 @if target-libobjc
36948 maybe-configure-target-libobjc: configure-target-libobjc
36949 configure-target-libobjc:
36950 @: $(MAKE); $(unstage)
36951 @r=`${PWD_COMMAND}`; export r; \
36952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36953 echo "Checking multilib configuration for libobjc..."; \
36954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36955 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
36956 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36957 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36958 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
36959 else \
36960 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
36961 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36962 fi; \
36963 else \
36964 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36965 fi; \
36966 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
36967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36968 $(NORMAL_TARGET_EXPORTS) \
36969 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
36970 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
36971 case $(srcdir) in \
36972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36973 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
36974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36975 esac; \
36976 srcdiroption="--srcdir=$${topdir}/libobjc"; \
36977 libsrcdir="$$s/libobjc"; \
36978 rm -f no-such-file || : ; \
36979 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36980 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36981 --target=${target_alias} $${srcdiroption} \
36982 || exit 1
36983 @endif target-libobjc
36989 .PHONY: all-target-libobjc maybe-all-target-libobjc
36990 maybe-all-target-libobjc:
36991 @if gcc-bootstrap
36992 all-target-libobjc: stage_current
36993 @endif gcc-bootstrap
36994 @if target-libobjc
36995 TARGET-target-libobjc=all
36996 maybe-all-target-libobjc: all-target-libobjc
36997 all-target-libobjc: configure-target-libobjc
36998 @: $(MAKE); $(unstage)
36999 @r=`${PWD_COMMAND}`; export r; \
37000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37001 $(NORMAL_TARGET_EXPORTS) \
37002 (cd $(TARGET_SUBDIR)/libobjc && \
37003 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37004 $(TARGET-target-libobjc))
37005 @endif target-libobjc
37011 .PHONY: check-target-libobjc maybe-check-target-libobjc
37012 maybe-check-target-libobjc:
37013 @if target-libobjc
37014 maybe-check-target-libobjc: check-target-libobjc
37016 check-target-libobjc:
37017 @: $(MAKE); $(unstage)
37018 @r=`${PWD_COMMAND}`; export r; \
37019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37020 $(NORMAL_TARGET_EXPORTS) \
37021 (cd $(TARGET_SUBDIR)/libobjc && \
37022 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37024 @endif target-libobjc
37026 .PHONY: install-target-libobjc maybe-install-target-libobjc
37027 maybe-install-target-libobjc:
37028 @if target-libobjc
37029 maybe-install-target-libobjc: install-target-libobjc
37031 install-target-libobjc: installdirs
37032 @: $(MAKE); $(unstage)
37033 @r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(NORMAL_TARGET_EXPORTS) \
37036 (cd $(TARGET_SUBDIR)/libobjc && \
37037 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37039 @endif target-libobjc
37041 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
37042 maybe-install-strip-target-libobjc:
37043 @if target-libobjc
37044 maybe-install-strip-target-libobjc: install-strip-target-libobjc
37046 install-strip-target-libobjc: installdirs
37047 @: $(MAKE); $(unstage)
37048 @r=`${PWD_COMMAND}`; export r; \
37049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37050 $(NORMAL_TARGET_EXPORTS) \
37051 (cd $(TARGET_SUBDIR)/libobjc && \
37052 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37054 @endif target-libobjc
37056 # Other targets (info, dvi, pdf, etc.)
37058 .PHONY: maybe-info-target-libobjc info-target-libobjc
37059 maybe-info-target-libobjc:
37060 @if target-libobjc
37061 maybe-info-target-libobjc: info-target-libobjc
37063 info-target-libobjc: \
37064 configure-target-libobjc
37065 @: $(MAKE); $(unstage)
37066 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37067 r=`${PWD_COMMAND}`; export r; \
37068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37069 $(NORMAL_TARGET_EXPORTS) \
37070 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
37071 for flag in $(EXTRA_TARGET_FLAGS); do \
37072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37073 done; \
37074 (cd $(TARGET_SUBDIR)/libobjc && \
37075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37077 "RANLIB=$${RANLIB}" \
37078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37079 info) \
37080 || exit 1
37082 @endif target-libobjc
37084 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
37085 maybe-dvi-target-libobjc:
37086 @if target-libobjc
37087 maybe-dvi-target-libobjc: dvi-target-libobjc
37089 dvi-target-libobjc: \
37090 configure-target-libobjc
37091 @: $(MAKE); $(unstage)
37092 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37093 r=`${PWD_COMMAND}`; export r; \
37094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37095 $(NORMAL_TARGET_EXPORTS) \
37096 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
37097 for flag in $(EXTRA_TARGET_FLAGS); do \
37098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37099 done; \
37100 (cd $(TARGET_SUBDIR)/libobjc && \
37101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37103 "RANLIB=$${RANLIB}" \
37104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37105 dvi) \
37106 || exit 1
37108 @endif target-libobjc
37110 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
37111 maybe-pdf-target-libobjc:
37112 @if target-libobjc
37113 maybe-pdf-target-libobjc: pdf-target-libobjc
37115 pdf-target-libobjc: \
37116 configure-target-libobjc
37117 @: $(MAKE); $(unstage)
37118 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37119 r=`${PWD_COMMAND}`; export r; \
37120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37121 $(NORMAL_TARGET_EXPORTS) \
37122 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
37123 for flag in $(EXTRA_TARGET_FLAGS); do \
37124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37125 done; \
37126 (cd $(TARGET_SUBDIR)/libobjc && \
37127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37129 "RANLIB=$${RANLIB}" \
37130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37131 pdf) \
37132 || exit 1
37134 @endif target-libobjc
37136 .PHONY: maybe-html-target-libobjc html-target-libobjc
37137 maybe-html-target-libobjc:
37138 @if target-libobjc
37139 maybe-html-target-libobjc: html-target-libobjc
37141 html-target-libobjc: \
37142 configure-target-libobjc
37143 @: $(MAKE); $(unstage)
37144 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37145 r=`${PWD_COMMAND}`; export r; \
37146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37147 $(NORMAL_TARGET_EXPORTS) \
37148 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
37149 for flag in $(EXTRA_TARGET_FLAGS); do \
37150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37151 done; \
37152 (cd $(TARGET_SUBDIR)/libobjc && \
37153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37155 "RANLIB=$${RANLIB}" \
37156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37157 html) \
37158 || exit 1
37160 @endif target-libobjc
37162 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
37163 maybe-TAGS-target-libobjc:
37164 @if target-libobjc
37165 maybe-TAGS-target-libobjc: TAGS-target-libobjc
37167 TAGS-target-libobjc: \
37168 configure-target-libobjc
37169 @: $(MAKE); $(unstage)
37170 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37171 r=`${PWD_COMMAND}`; export r; \
37172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37173 $(NORMAL_TARGET_EXPORTS) \
37174 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
37175 for flag in $(EXTRA_TARGET_FLAGS); do \
37176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37177 done; \
37178 (cd $(TARGET_SUBDIR)/libobjc && \
37179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37181 "RANLIB=$${RANLIB}" \
37182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37183 TAGS) \
37184 || exit 1
37186 @endif target-libobjc
37188 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
37189 maybe-install-info-target-libobjc:
37190 @if target-libobjc
37191 maybe-install-info-target-libobjc: install-info-target-libobjc
37193 install-info-target-libobjc: \
37194 configure-target-libobjc \
37195 info-target-libobjc
37196 @: $(MAKE); $(unstage)
37197 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37198 r=`${PWD_COMMAND}`; export r; \
37199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37200 $(NORMAL_TARGET_EXPORTS) \
37201 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
37202 for flag in $(EXTRA_TARGET_FLAGS); do \
37203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37204 done; \
37205 (cd $(TARGET_SUBDIR)/libobjc && \
37206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37208 "RANLIB=$${RANLIB}" \
37209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37210 install-info) \
37211 || exit 1
37213 @endif target-libobjc
37215 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
37216 maybe-install-pdf-target-libobjc:
37217 @if target-libobjc
37218 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
37220 install-pdf-target-libobjc: \
37221 configure-target-libobjc \
37222 pdf-target-libobjc
37223 @: $(MAKE); $(unstage)
37224 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37225 r=`${PWD_COMMAND}`; export r; \
37226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37227 $(NORMAL_TARGET_EXPORTS) \
37228 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
37229 for flag in $(EXTRA_TARGET_FLAGS); do \
37230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37231 done; \
37232 (cd $(TARGET_SUBDIR)/libobjc && \
37233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37235 "RANLIB=$${RANLIB}" \
37236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37237 install-pdf) \
37238 || exit 1
37240 @endif target-libobjc
37242 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
37243 maybe-install-html-target-libobjc:
37244 @if target-libobjc
37245 maybe-install-html-target-libobjc: install-html-target-libobjc
37247 install-html-target-libobjc: \
37248 configure-target-libobjc \
37249 html-target-libobjc
37250 @: $(MAKE); $(unstage)
37251 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37252 r=`${PWD_COMMAND}`; export r; \
37253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37254 $(NORMAL_TARGET_EXPORTS) \
37255 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
37256 for flag in $(EXTRA_TARGET_FLAGS); do \
37257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37258 done; \
37259 (cd $(TARGET_SUBDIR)/libobjc && \
37260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37262 "RANLIB=$${RANLIB}" \
37263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37264 install-html) \
37265 || exit 1
37267 @endif target-libobjc
37269 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
37270 maybe-installcheck-target-libobjc:
37271 @if target-libobjc
37272 maybe-installcheck-target-libobjc: installcheck-target-libobjc
37274 installcheck-target-libobjc: \
37275 configure-target-libobjc
37276 @: $(MAKE); $(unstage)
37277 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37278 r=`${PWD_COMMAND}`; export r; \
37279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37280 $(NORMAL_TARGET_EXPORTS) \
37281 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
37282 for flag in $(EXTRA_TARGET_FLAGS); do \
37283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37284 done; \
37285 (cd $(TARGET_SUBDIR)/libobjc && \
37286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37288 "RANLIB=$${RANLIB}" \
37289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37290 installcheck) \
37291 || exit 1
37293 @endif target-libobjc
37295 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
37296 maybe-mostlyclean-target-libobjc:
37297 @if target-libobjc
37298 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
37300 mostlyclean-target-libobjc:
37301 @: $(MAKE); $(unstage)
37302 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37303 r=`${PWD_COMMAND}`; export r; \
37304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37305 $(NORMAL_TARGET_EXPORTS) \
37306 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
37307 for flag in $(EXTRA_TARGET_FLAGS); do \
37308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37309 done; \
37310 (cd $(TARGET_SUBDIR)/libobjc && \
37311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37313 "RANLIB=$${RANLIB}" \
37314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37315 mostlyclean) \
37316 || exit 1
37318 @endif target-libobjc
37320 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
37321 maybe-clean-target-libobjc:
37322 @if target-libobjc
37323 maybe-clean-target-libobjc: clean-target-libobjc
37325 clean-target-libobjc:
37326 @: $(MAKE); $(unstage)
37327 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37328 r=`${PWD_COMMAND}`; export r; \
37329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37330 $(NORMAL_TARGET_EXPORTS) \
37331 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
37332 for flag in $(EXTRA_TARGET_FLAGS); do \
37333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37334 done; \
37335 (cd $(TARGET_SUBDIR)/libobjc && \
37336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37338 "RANLIB=$${RANLIB}" \
37339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37340 clean) \
37341 || exit 1
37343 @endif target-libobjc
37345 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
37346 maybe-distclean-target-libobjc:
37347 @if target-libobjc
37348 maybe-distclean-target-libobjc: distclean-target-libobjc
37350 distclean-target-libobjc:
37351 @: $(MAKE); $(unstage)
37352 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37353 r=`${PWD_COMMAND}`; export r; \
37354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37355 $(NORMAL_TARGET_EXPORTS) \
37356 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
37357 for flag in $(EXTRA_TARGET_FLAGS); do \
37358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37359 done; \
37360 (cd $(TARGET_SUBDIR)/libobjc && \
37361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37363 "RANLIB=$${RANLIB}" \
37364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37365 distclean) \
37366 || exit 1
37368 @endif target-libobjc
37370 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
37371 maybe-maintainer-clean-target-libobjc:
37372 @if target-libobjc
37373 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
37375 maintainer-clean-target-libobjc:
37376 @: $(MAKE); $(unstage)
37377 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
37378 r=`${PWD_COMMAND}`; export r; \
37379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37380 $(NORMAL_TARGET_EXPORTS) \
37381 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
37382 for flag in $(EXTRA_TARGET_FLAGS); do \
37383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37384 done; \
37385 (cd $(TARGET_SUBDIR)/libobjc && \
37386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37388 "RANLIB=$${RANLIB}" \
37389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37390 maintainer-clean) \
37391 || exit 1
37393 @endif target-libobjc
37399 .PHONY: configure-target-libgo maybe-configure-target-libgo
37400 maybe-configure-target-libgo:
37401 @if gcc-bootstrap
37402 configure-target-libgo: stage_current
37403 @endif gcc-bootstrap
37404 @if target-libgo
37405 maybe-configure-target-libgo: configure-target-libgo
37406 configure-target-libgo:
37407 @: $(MAKE); $(unstage)
37408 @r=`${PWD_COMMAND}`; export r; \
37409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37410 echo "Checking multilib configuration for libgo..."; \
37411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37412 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
37413 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
37414 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
37415 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
37416 else \
37417 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
37418 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37419 fi; \
37420 else \
37421 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
37422 fi; \
37423 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
37424 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
37425 $(NORMAL_TARGET_EXPORTS) \
37426 echo Configuring in $(TARGET_SUBDIR)/libgo; \
37427 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
37428 case $(srcdir) in \
37429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37430 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
37431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37432 esac; \
37433 srcdiroption="--srcdir=$${topdir}/libgo"; \
37434 libsrcdir="$$s/libgo"; \
37435 rm -f no-such-file || : ; \
37436 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37437 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37438 --target=${target_alias} $${srcdiroption} \
37439 || exit 1
37440 @endif target-libgo
37446 .PHONY: all-target-libgo maybe-all-target-libgo
37447 maybe-all-target-libgo:
37448 @if gcc-bootstrap
37449 all-target-libgo: stage_current
37450 @endif gcc-bootstrap
37451 @if target-libgo
37452 TARGET-target-libgo=all
37453 maybe-all-target-libgo: all-target-libgo
37454 all-target-libgo: configure-target-libgo
37455 @: $(MAKE); $(unstage)
37456 @r=`${PWD_COMMAND}`; export r; \
37457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37458 $(NORMAL_TARGET_EXPORTS) \
37459 (cd $(TARGET_SUBDIR)/libgo && \
37460 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37461 $(TARGET-target-libgo))
37462 @endif target-libgo
37468 .PHONY: check-target-libgo maybe-check-target-libgo
37469 maybe-check-target-libgo:
37470 @if target-libgo
37471 maybe-check-target-libgo: check-target-libgo
37473 check-target-libgo:
37474 @: $(MAKE); $(unstage)
37475 @r=`${PWD_COMMAND}`; export r; \
37476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37477 $(NORMAL_TARGET_EXPORTS) \
37478 (cd $(TARGET_SUBDIR)/libgo && \
37479 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37481 @endif target-libgo
37483 .PHONY: install-target-libgo maybe-install-target-libgo
37484 maybe-install-target-libgo:
37485 @if target-libgo
37486 maybe-install-target-libgo: install-target-libgo
37488 install-target-libgo: installdirs
37489 @: $(MAKE); $(unstage)
37490 @r=`${PWD_COMMAND}`; export r; \
37491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37492 $(NORMAL_TARGET_EXPORTS) \
37493 (cd $(TARGET_SUBDIR)/libgo && \
37494 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37496 @endif target-libgo
37498 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
37499 maybe-install-strip-target-libgo:
37500 @if target-libgo
37501 maybe-install-strip-target-libgo: install-strip-target-libgo
37503 install-strip-target-libgo: installdirs
37504 @: $(MAKE); $(unstage)
37505 @r=`${PWD_COMMAND}`; export r; \
37506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37507 $(NORMAL_TARGET_EXPORTS) \
37508 (cd $(TARGET_SUBDIR)/libgo && \
37509 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37511 @endif target-libgo
37513 # Other targets (info, dvi, pdf, etc.)
37515 .PHONY: maybe-info-target-libgo info-target-libgo
37516 maybe-info-target-libgo:
37517 @if target-libgo
37518 maybe-info-target-libgo: info-target-libgo
37520 info-target-libgo: \
37521 configure-target-libgo
37522 @: $(MAKE); $(unstage)
37523 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37524 r=`${PWD_COMMAND}`; export r; \
37525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37526 $(NORMAL_TARGET_EXPORTS) \
37527 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
37528 for flag in $(EXTRA_TARGET_FLAGS); do \
37529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37530 done; \
37531 (cd $(TARGET_SUBDIR)/libgo && \
37532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37534 "RANLIB=$${RANLIB}" \
37535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37536 info) \
37537 || exit 1
37539 @endif target-libgo
37541 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
37542 maybe-dvi-target-libgo:
37543 @if target-libgo
37544 maybe-dvi-target-libgo: dvi-target-libgo
37546 dvi-target-libgo: \
37547 configure-target-libgo
37548 @: $(MAKE); $(unstage)
37549 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37550 r=`${PWD_COMMAND}`; export r; \
37551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37552 $(NORMAL_TARGET_EXPORTS) \
37553 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
37554 for flag in $(EXTRA_TARGET_FLAGS); do \
37555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37556 done; \
37557 (cd $(TARGET_SUBDIR)/libgo && \
37558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37560 "RANLIB=$${RANLIB}" \
37561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37562 dvi) \
37563 || exit 1
37565 @endif target-libgo
37567 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
37568 maybe-pdf-target-libgo:
37569 @if target-libgo
37570 maybe-pdf-target-libgo: pdf-target-libgo
37572 pdf-target-libgo: \
37573 configure-target-libgo
37574 @: $(MAKE); $(unstage)
37575 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37576 r=`${PWD_COMMAND}`; export r; \
37577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37578 $(NORMAL_TARGET_EXPORTS) \
37579 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
37580 for flag in $(EXTRA_TARGET_FLAGS); do \
37581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37582 done; \
37583 (cd $(TARGET_SUBDIR)/libgo && \
37584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37586 "RANLIB=$${RANLIB}" \
37587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37588 pdf) \
37589 || exit 1
37591 @endif target-libgo
37593 .PHONY: maybe-html-target-libgo html-target-libgo
37594 maybe-html-target-libgo:
37595 @if target-libgo
37596 maybe-html-target-libgo: html-target-libgo
37598 html-target-libgo: \
37599 configure-target-libgo
37600 @: $(MAKE); $(unstage)
37601 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37602 r=`${PWD_COMMAND}`; export r; \
37603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37604 $(NORMAL_TARGET_EXPORTS) \
37605 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
37606 for flag in $(EXTRA_TARGET_FLAGS); do \
37607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37608 done; \
37609 (cd $(TARGET_SUBDIR)/libgo && \
37610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37612 "RANLIB=$${RANLIB}" \
37613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37614 html) \
37615 || exit 1
37617 @endif target-libgo
37619 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
37620 maybe-TAGS-target-libgo:
37621 @if target-libgo
37622 maybe-TAGS-target-libgo: TAGS-target-libgo
37624 TAGS-target-libgo: \
37625 configure-target-libgo
37626 @: $(MAKE); $(unstage)
37627 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37628 r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
37632 for flag in $(EXTRA_TARGET_FLAGS); do \
37633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37634 done; \
37635 (cd $(TARGET_SUBDIR)/libgo && \
37636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37638 "RANLIB=$${RANLIB}" \
37639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37640 TAGS) \
37641 || exit 1
37643 @endif target-libgo
37645 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
37646 maybe-install-info-target-libgo:
37647 @if target-libgo
37648 maybe-install-info-target-libgo: install-info-target-libgo
37650 install-info-target-libgo: \
37651 configure-target-libgo \
37652 info-target-libgo
37653 @: $(MAKE); $(unstage)
37654 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37655 r=`${PWD_COMMAND}`; export r; \
37656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37657 $(NORMAL_TARGET_EXPORTS) \
37658 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
37659 for flag in $(EXTRA_TARGET_FLAGS); do \
37660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37661 done; \
37662 (cd $(TARGET_SUBDIR)/libgo && \
37663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37665 "RANLIB=$${RANLIB}" \
37666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37667 install-info) \
37668 || exit 1
37670 @endif target-libgo
37672 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
37673 maybe-install-pdf-target-libgo:
37674 @if target-libgo
37675 maybe-install-pdf-target-libgo: install-pdf-target-libgo
37677 install-pdf-target-libgo: \
37678 configure-target-libgo \
37679 pdf-target-libgo
37680 @: $(MAKE); $(unstage)
37681 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37682 r=`${PWD_COMMAND}`; export r; \
37683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37684 $(NORMAL_TARGET_EXPORTS) \
37685 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
37686 for flag in $(EXTRA_TARGET_FLAGS); do \
37687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37688 done; \
37689 (cd $(TARGET_SUBDIR)/libgo && \
37690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37692 "RANLIB=$${RANLIB}" \
37693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37694 install-pdf) \
37695 || exit 1
37697 @endif target-libgo
37699 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
37700 maybe-install-html-target-libgo:
37701 @if target-libgo
37702 maybe-install-html-target-libgo: install-html-target-libgo
37704 install-html-target-libgo: \
37705 configure-target-libgo \
37706 html-target-libgo
37707 @: $(MAKE); $(unstage)
37708 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37709 r=`${PWD_COMMAND}`; export r; \
37710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37711 $(NORMAL_TARGET_EXPORTS) \
37712 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
37713 for flag in $(EXTRA_TARGET_FLAGS); do \
37714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37715 done; \
37716 (cd $(TARGET_SUBDIR)/libgo && \
37717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37719 "RANLIB=$${RANLIB}" \
37720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37721 install-html) \
37722 || exit 1
37724 @endif target-libgo
37726 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
37727 maybe-installcheck-target-libgo:
37728 @if target-libgo
37729 maybe-installcheck-target-libgo: installcheck-target-libgo
37731 installcheck-target-libgo: \
37732 configure-target-libgo
37733 @: $(MAKE); $(unstage)
37734 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37735 r=`${PWD_COMMAND}`; export r; \
37736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37737 $(NORMAL_TARGET_EXPORTS) \
37738 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
37739 for flag in $(EXTRA_TARGET_FLAGS); do \
37740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37741 done; \
37742 (cd $(TARGET_SUBDIR)/libgo && \
37743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37745 "RANLIB=$${RANLIB}" \
37746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37747 installcheck) \
37748 || exit 1
37750 @endif target-libgo
37752 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
37753 maybe-mostlyclean-target-libgo:
37754 @if target-libgo
37755 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
37757 mostlyclean-target-libgo:
37758 @: $(MAKE); $(unstage)
37759 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37760 r=`${PWD_COMMAND}`; export r; \
37761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37762 $(NORMAL_TARGET_EXPORTS) \
37763 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
37764 for flag in $(EXTRA_TARGET_FLAGS); do \
37765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37766 done; \
37767 (cd $(TARGET_SUBDIR)/libgo && \
37768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37770 "RANLIB=$${RANLIB}" \
37771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37772 mostlyclean) \
37773 || exit 1
37775 @endif target-libgo
37777 .PHONY: maybe-clean-target-libgo clean-target-libgo
37778 maybe-clean-target-libgo:
37779 @if target-libgo
37780 maybe-clean-target-libgo: clean-target-libgo
37782 clean-target-libgo:
37783 @: $(MAKE); $(unstage)
37784 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37785 r=`${PWD_COMMAND}`; export r; \
37786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37787 $(NORMAL_TARGET_EXPORTS) \
37788 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
37789 for flag in $(EXTRA_TARGET_FLAGS); do \
37790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37791 done; \
37792 (cd $(TARGET_SUBDIR)/libgo && \
37793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37795 "RANLIB=$${RANLIB}" \
37796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37797 clean) \
37798 || exit 1
37800 @endif target-libgo
37802 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
37803 maybe-distclean-target-libgo:
37804 @if target-libgo
37805 maybe-distclean-target-libgo: distclean-target-libgo
37807 distclean-target-libgo:
37808 @: $(MAKE); $(unstage)
37809 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37810 r=`${PWD_COMMAND}`; export r; \
37811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37812 $(NORMAL_TARGET_EXPORTS) \
37813 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
37814 for flag in $(EXTRA_TARGET_FLAGS); do \
37815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37816 done; \
37817 (cd $(TARGET_SUBDIR)/libgo && \
37818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37820 "RANLIB=$${RANLIB}" \
37821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37822 distclean) \
37823 || exit 1
37825 @endif target-libgo
37827 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
37828 maybe-maintainer-clean-target-libgo:
37829 @if target-libgo
37830 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
37832 maintainer-clean-target-libgo:
37833 @: $(MAKE); $(unstage)
37834 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37835 r=`${PWD_COMMAND}`; export r; \
37836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37837 $(NORMAL_TARGET_EXPORTS) \
37838 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
37839 for flag in $(EXTRA_TARGET_FLAGS); do \
37840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37841 done; \
37842 (cd $(TARGET_SUBDIR)/libgo && \
37843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37845 "RANLIB=$${RANLIB}" \
37846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37847 maintainer-clean) \
37848 || exit 1
37850 @endif target-libgo
37856 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
37857 maybe-configure-target-libtermcap:
37858 @if gcc-bootstrap
37859 configure-target-libtermcap: stage_current
37860 @endif gcc-bootstrap
37861 @if target-libtermcap
37862 maybe-configure-target-libtermcap: configure-target-libtermcap
37863 configure-target-libtermcap:
37864 @: $(MAKE); $(unstage)
37865 @r=`${PWD_COMMAND}`; export r; \
37866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37867 echo "Checking multilib configuration for libtermcap..."; \
37868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37869 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
37870 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37871 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37872 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
37873 else \
37874 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
37875 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37876 fi; \
37877 else \
37878 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37879 fi; \
37880 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
37881 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37882 $(NORMAL_TARGET_EXPORTS) \
37883 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
37884 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
37885 case $(srcdir) in \
37886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37887 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
37888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37889 esac; \
37890 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
37891 libsrcdir="$$s/libtermcap"; \
37892 rm -f no-such-file || : ; \
37893 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37895 --target=${target_alias} $${srcdiroption} \
37896 || exit 1
37897 @endif target-libtermcap
37903 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
37904 maybe-all-target-libtermcap:
37905 @if gcc-bootstrap
37906 all-target-libtermcap: stage_current
37907 @endif gcc-bootstrap
37908 @if target-libtermcap
37909 TARGET-target-libtermcap=all
37910 maybe-all-target-libtermcap: all-target-libtermcap
37911 all-target-libtermcap: configure-target-libtermcap
37912 @: $(MAKE); $(unstage)
37913 @r=`${PWD_COMMAND}`; export r; \
37914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37915 $(NORMAL_TARGET_EXPORTS) \
37916 (cd $(TARGET_SUBDIR)/libtermcap && \
37917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37918 $(TARGET-target-libtermcap))
37919 @endif target-libtermcap
37925 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
37926 maybe-check-target-libtermcap:
37927 @if target-libtermcap
37928 maybe-check-target-libtermcap: check-target-libtermcap
37930 # Dummy target for uncheckable module.
37931 check-target-libtermcap:
37933 @endif target-libtermcap
37935 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
37936 maybe-install-target-libtermcap:
37937 @if target-libtermcap
37938 maybe-install-target-libtermcap: install-target-libtermcap
37940 install-target-libtermcap: installdirs
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)/libtermcap && \
37946 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37948 @endif target-libtermcap
37950 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
37951 maybe-install-strip-target-libtermcap:
37952 @if target-libtermcap
37953 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
37955 install-strip-target-libtermcap: 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)/libtermcap && \
37961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37963 @endif target-libtermcap
37965 # Other targets (info, dvi, pdf, etc.)
37967 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
37968 maybe-info-target-libtermcap:
37969 @if target-libtermcap
37970 maybe-info-target-libtermcap: info-target-libtermcap
37972 info-target-libtermcap: \
37973 configure-target-libtermcap
37974 @: $(MAKE); $(unstage)
37975 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37976 r=`${PWD_COMMAND}`; export r; \
37977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37978 $(NORMAL_TARGET_EXPORTS) \
37979 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
37980 for flag in $(EXTRA_TARGET_FLAGS); do \
37981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37982 done; \
37983 (cd $(TARGET_SUBDIR)/libtermcap && \
37984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37986 "RANLIB=$${RANLIB}" \
37987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37988 info) \
37989 || exit 1
37991 @endif target-libtermcap
37993 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
37994 maybe-dvi-target-libtermcap:
37995 @if target-libtermcap
37996 maybe-dvi-target-libtermcap: dvi-target-libtermcap
37998 dvi-target-libtermcap: \
37999 configure-target-libtermcap
38000 @: $(MAKE); $(unstage)
38001 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38002 r=`${PWD_COMMAND}`; export r; \
38003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38004 $(NORMAL_TARGET_EXPORTS) \
38005 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38006 for flag in $(EXTRA_TARGET_FLAGS); do \
38007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38008 done; \
38009 (cd $(TARGET_SUBDIR)/libtermcap && \
38010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38012 "RANLIB=$${RANLIB}" \
38013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38014 dvi) \
38015 || exit 1
38017 @endif target-libtermcap
38019 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38020 maybe-pdf-target-libtermcap:
38021 @if target-libtermcap
38022 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38024 pdf-target-libtermcap: \
38025 configure-target-libtermcap
38026 @: $(MAKE); $(unstage)
38027 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38028 r=`${PWD_COMMAND}`; export r; \
38029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38030 $(NORMAL_TARGET_EXPORTS) \
38031 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38032 for flag in $(EXTRA_TARGET_FLAGS); do \
38033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38034 done; \
38035 (cd $(TARGET_SUBDIR)/libtermcap && \
38036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38038 "RANLIB=$${RANLIB}" \
38039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38040 pdf) \
38041 || exit 1
38043 @endif target-libtermcap
38045 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38046 maybe-html-target-libtermcap:
38047 @if target-libtermcap
38048 maybe-html-target-libtermcap: html-target-libtermcap
38050 html-target-libtermcap: \
38051 configure-target-libtermcap
38052 @: $(MAKE); $(unstage)
38053 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38054 r=`${PWD_COMMAND}`; export r; \
38055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38056 $(NORMAL_TARGET_EXPORTS) \
38057 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38058 for flag in $(EXTRA_TARGET_FLAGS); do \
38059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38060 done; \
38061 (cd $(TARGET_SUBDIR)/libtermcap && \
38062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38064 "RANLIB=$${RANLIB}" \
38065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38066 html) \
38067 || exit 1
38069 @endif target-libtermcap
38071 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38072 maybe-TAGS-target-libtermcap:
38073 @if target-libtermcap
38074 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38076 TAGS-target-libtermcap: \
38077 configure-target-libtermcap
38078 @: $(MAKE); $(unstage)
38079 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38080 r=`${PWD_COMMAND}`; export r; \
38081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38082 $(NORMAL_TARGET_EXPORTS) \
38083 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38084 for flag in $(EXTRA_TARGET_FLAGS); do \
38085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38086 done; \
38087 (cd $(TARGET_SUBDIR)/libtermcap && \
38088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38090 "RANLIB=$${RANLIB}" \
38091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38092 TAGS) \
38093 || exit 1
38095 @endif target-libtermcap
38097 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38098 maybe-install-info-target-libtermcap:
38099 @if target-libtermcap
38100 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38102 install-info-target-libtermcap: \
38103 configure-target-libtermcap \
38104 info-target-libtermcap
38105 @: $(MAKE); $(unstage)
38106 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38107 r=`${PWD_COMMAND}`; export r; \
38108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38109 $(NORMAL_TARGET_EXPORTS) \
38110 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38111 for flag in $(EXTRA_TARGET_FLAGS); do \
38112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38113 done; \
38114 (cd $(TARGET_SUBDIR)/libtermcap && \
38115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38117 "RANLIB=$${RANLIB}" \
38118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38119 install-info) \
38120 || exit 1
38122 @endif target-libtermcap
38124 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
38125 maybe-install-pdf-target-libtermcap:
38126 @if target-libtermcap
38127 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
38129 install-pdf-target-libtermcap: \
38130 configure-target-libtermcap \
38131 pdf-target-libtermcap
38132 @: $(MAKE); $(unstage)
38133 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38134 r=`${PWD_COMMAND}`; export r; \
38135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38136 $(NORMAL_TARGET_EXPORTS) \
38137 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38138 for flag in $(EXTRA_TARGET_FLAGS); do \
38139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38140 done; \
38141 (cd $(TARGET_SUBDIR)/libtermcap && \
38142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38144 "RANLIB=$${RANLIB}" \
38145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38146 install-pdf) \
38147 || exit 1
38149 @endif target-libtermcap
38151 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38152 maybe-install-html-target-libtermcap:
38153 @if target-libtermcap
38154 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38156 install-html-target-libtermcap: \
38157 configure-target-libtermcap \
38158 html-target-libtermcap
38159 @: $(MAKE); $(unstage)
38160 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38161 r=`${PWD_COMMAND}`; export r; \
38162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38163 $(NORMAL_TARGET_EXPORTS) \
38164 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38165 for flag in $(EXTRA_TARGET_FLAGS); do \
38166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38167 done; \
38168 (cd $(TARGET_SUBDIR)/libtermcap && \
38169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38171 "RANLIB=$${RANLIB}" \
38172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38173 install-html) \
38174 || exit 1
38176 @endif target-libtermcap
38178 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38179 maybe-installcheck-target-libtermcap:
38180 @if target-libtermcap
38181 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38183 installcheck-target-libtermcap: \
38184 configure-target-libtermcap
38185 @: $(MAKE); $(unstage)
38186 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38187 r=`${PWD_COMMAND}`; export r; \
38188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38189 $(NORMAL_TARGET_EXPORTS) \
38190 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38191 for flag in $(EXTRA_TARGET_FLAGS); do \
38192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38193 done; \
38194 (cd $(TARGET_SUBDIR)/libtermcap && \
38195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38197 "RANLIB=$${RANLIB}" \
38198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38199 installcheck) \
38200 || exit 1
38202 @endif target-libtermcap
38204 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38205 maybe-mostlyclean-target-libtermcap:
38206 @if target-libtermcap
38207 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38209 # libtermcap doesn't support mostlyclean.
38210 mostlyclean-target-libtermcap:
38212 @endif target-libtermcap
38214 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38215 maybe-clean-target-libtermcap:
38216 @if target-libtermcap
38217 maybe-clean-target-libtermcap: clean-target-libtermcap
38219 # libtermcap doesn't support clean.
38220 clean-target-libtermcap:
38222 @endif target-libtermcap
38224 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38225 maybe-distclean-target-libtermcap:
38226 @if target-libtermcap
38227 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38229 # libtermcap doesn't support distclean.
38230 distclean-target-libtermcap:
38232 @endif target-libtermcap
38234 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38235 maybe-maintainer-clean-target-libtermcap:
38236 @if target-libtermcap
38237 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38239 # libtermcap doesn't support maintainer-clean.
38240 maintainer-clean-target-libtermcap:
38242 @endif target-libtermcap
38248 .PHONY: configure-target-winsup maybe-configure-target-winsup
38249 maybe-configure-target-winsup:
38250 @if gcc-bootstrap
38251 configure-target-winsup: stage_current
38252 @endif gcc-bootstrap
38253 @if target-winsup
38254 maybe-configure-target-winsup: configure-target-winsup
38255 configure-target-winsup:
38256 @: $(MAKE); $(unstage)
38257 @r=`${PWD_COMMAND}`; export r; \
38258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38259 echo "Checking multilib configuration for winsup..."; \
38260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38261 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38262 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38263 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38264 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38265 else \
38266 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38267 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38268 fi; \
38269 else \
38270 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38271 fi; \
38272 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38274 $(NORMAL_TARGET_EXPORTS) \
38275 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38276 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38277 case $(srcdir) in \
38278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38279 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38281 esac; \
38282 srcdiroption="--srcdir=$${topdir}/winsup"; \
38283 libsrcdir="$$s/winsup"; \
38284 rm -f no-such-file || : ; \
38285 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38287 --target=${target_alias} $${srcdiroption} \
38288 || exit 1
38289 @endif target-winsup
38295 .PHONY: all-target-winsup maybe-all-target-winsup
38296 maybe-all-target-winsup:
38297 @if gcc-bootstrap
38298 all-target-winsup: stage_current
38299 @endif gcc-bootstrap
38300 @if target-winsup
38301 TARGET-target-winsup=all
38302 maybe-all-target-winsup: all-target-winsup
38303 all-target-winsup: configure-target-winsup
38304 @: $(MAKE); $(unstage)
38305 @r=`${PWD_COMMAND}`; export r; \
38306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38307 $(NORMAL_TARGET_EXPORTS) \
38308 (cd $(TARGET_SUBDIR)/winsup && \
38309 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38310 $(TARGET-target-winsup))
38311 @endif target-winsup
38317 .PHONY: check-target-winsup maybe-check-target-winsup
38318 maybe-check-target-winsup:
38319 @if target-winsup
38320 maybe-check-target-winsup: check-target-winsup
38322 check-target-winsup:
38323 @: $(MAKE); $(unstage)
38324 @r=`${PWD_COMMAND}`; export r; \
38325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38326 $(NORMAL_TARGET_EXPORTS) \
38327 (cd $(TARGET_SUBDIR)/winsup && \
38328 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38330 @endif target-winsup
38332 .PHONY: install-target-winsup maybe-install-target-winsup
38333 maybe-install-target-winsup:
38334 @if target-winsup
38335 maybe-install-target-winsup: install-target-winsup
38337 install-target-winsup: installdirs
38338 @: $(MAKE); $(unstage)
38339 @r=`${PWD_COMMAND}`; export r; \
38340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38341 $(NORMAL_TARGET_EXPORTS) \
38342 (cd $(TARGET_SUBDIR)/winsup && \
38343 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38345 @endif target-winsup
38347 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
38348 maybe-install-strip-target-winsup:
38349 @if target-winsup
38350 maybe-install-strip-target-winsup: install-strip-target-winsup
38352 install-strip-target-winsup: installdirs
38353 @: $(MAKE); $(unstage)
38354 @r=`${PWD_COMMAND}`; export r; \
38355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38356 $(NORMAL_TARGET_EXPORTS) \
38357 (cd $(TARGET_SUBDIR)/winsup && \
38358 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38360 @endif target-winsup
38362 # Other targets (info, dvi, pdf, etc.)
38364 .PHONY: maybe-info-target-winsup info-target-winsup
38365 maybe-info-target-winsup:
38366 @if target-winsup
38367 maybe-info-target-winsup: info-target-winsup
38369 info-target-winsup: \
38370 configure-target-winsup
38371 @: $(MAKE); $(unstage)
38372 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38373 r=`${PWD_COMMAND}`; export r; \
38374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38375 $(NORMAL_TARGET_EXPORTS) \
38376 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
38377 for flag in $(EXTRA_TARGET_FLAGS); do \
38378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38379 done; \
38380 (cd $(TARGET_SUBDIR)/winsup && \
38381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38383 "RANLIB=$${RANLIB}" \
38384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38385 info) \
38386 || exit 1
38388 @endif target-winsup
38390 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
38391 maybe-dvi-target-winsup:
38392 @if target-winsup
38393 maybe-dvi-target-winsup: dvi-target-winsup
38395 dvi-target-winsup: \
38396 configure-target-winsup
38397 @: $(MAKE); $(unstage)
38398 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38399 r=`${PWD_COMMAND}`; export r; \
38400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38401 $(NORMAL_TARGET_EXPORTS) \
38402 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
38403 for flag in $(EXTRA_TARGET_FLAGS); do \
38404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38405 done; \
38406 (cd $(TARGET_SUBDIR)/winsup && \
38407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38409 "RANLIB=$${RANLIB}" \
38410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38411 dvi) \
38412 || exit 1
38414 @endif target-winsup
38416 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
38417 maybe-pdf-target-winsup:
38418 @if target-winsup
38419 maybe-pdf-target-winsup: pdf-target-winsup
38421 pdf-target-winsup: \
38422 configure-target-winsup
38423 @: $(MAKE); $(unstage)
38424 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38425 r=`${PWD_COMMAND}`; export r; \
38426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38427 $(NORMAL_TARGET_EXPORTS) \
38428 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
38429 for flag in $(EXTRA_TARGET_FLAGS); do \
38430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38431 done; \
38432 (cd $(TARGET_SUBDIR)/winsup && \
38433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38435 "RANLIB=$${RANLIB}" \
38436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38437 pdf) \
38438 || exit 1
38440 @endif target-winsup
38442 .PHONY: maybe-html-target-winsup html-target-winsup
38443 maybe-html-target-winsup:
38444 @if target-winsup
38445 maybe-html-target-winsup: html-target-winsup
38447 html-target-winsup: \
38448 configure-target-winsup
38449 @: $(MAKE); $(unstage)
38450 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38451 r=`${PWD_COMMAND}`; export r; \
38452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38453 $(NORMAL_TARGET_EXPORTS) \
38454 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
38455 for flag in $(EXTRA_TARGET_FLAGS); do \
38456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38457 done; \
38458 (cd $(TARGET_SUBDIR)/winsup && \
38459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38461 "RANLIB=$${RANLIB}" \
38462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38463 html) \
38464 || exit 1
38466 @endif target-winsup
38468 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
38469 maybe-TAGS-target-winsup:
38470 @if target-winsup
38471 maybe-TAGS-target-winsup: TAGS-target-winsup
38473 TAGS-target-winsup: \
38474 configure-target-winsup
38475 @: $(MAKE); $(unstage)
38476 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38477 r=`${PWD_COMMAND}`; export r; \
38478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38479 $(NORMAL_TARGET_EXPORTS) \
38480 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
38481 for flag in $(EXTRA_TARGET_FLAGS); do \
38482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38483 done; \
38484 (cd $(TARGET_SUBDIR)/winsup && \
38485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38487 "RANLIB=$${RANLIB}" \
38488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38489 TAGS) \
38490 || exit 1
38492 @endif target-winsup
38494 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
38495 maybe-install-info-target-winsup:
38496 @if target-winsup
38497 maybe-install-info-target-winsup: install-info-target-winsup
38499 install-info-target-winsup: \
38500 configure-target-winsup \
38501 info-target-winsup
38502 @: $(MAKE); $(unstage)
38503 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38504 r=`${PWD_COMMAND}`; export r; \
38505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38506 $(NORMAL_TARGET_EXPORTS) \
38507 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
38508 for flag in $(EXTRA_TARGET_FLAGS); do \
38509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38510 done; \
38511 (cd $(TARGET_SUBDIR)/winsup && \
38512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38514 "RANLIB=$${RANLIB}" \
38515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38516 install-info) \
38517 || exit 1
38519 @endif target-winsup
38521 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
38522 maybe-install-pdf-target-winsup:
38523 @if target-winsup
38524 maybe-install-pdf-target-winsup: install-pdf-target-winsup
38526 install-pdf-target-winsup: \
38527 configure-target-winsup \
38528 pdf-target-winsup
38529 @: $(MAKE); $(unstage)
38530 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38531 r=`${PWD_COMMAND}`; export r; \
38532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38533 $(NORMAL_TARGET_EXPORTS) \
38534 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
38535 for flag in $(EXTRA_TARGET_FLAGS); do \
38536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38537 done; \
38538 (cd $(TARGET_SUBDIR)/winsup && \
38539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38541 "RANLIB=$${RANLIB}" \
38542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38543 install-pdf) \
38544 || exit 1
38546 @endif target-winsup
38548 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
38549 maybe-install-html-target-winsup:
38550 @if target-winsup
38551 maybe-install-html-target-winsup: install-html-target-winsup
38553 install-html-target-winsup: \
38554 configure-target-winsup \
38555 html-target-winsup
38556 @: $(MAKE); $(unstage)
38557 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38558 r=`${PWD_COMMAND}`; export r; \
38559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38560 $(NORMAL_TARGET_EXPORTS) \
38561 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
38562 for flag in $(EXTRA_TARGET_FLAGS); do \
38563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38564 done; \
38565 (cd $(TARGET_SUBDIR)/winsup && \
38566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38568 "RANLIB=$${RANLIB}" \
38569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38570 install-html) \
38571 || exit 1
38573 @endif target-winsup
38575 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
38576 maybe-installcheck-target-winsup:
38577 @if target-winsup
38578 maybe-installcheck-target-winsup: installcheck-target-winsup
38580 installcheck-target-winsup: \
38581 configure-target-winsup
38582 @: $(MAKE); $(unstage)
38583 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38584 r=`${PWD_COMMAND}`; export r; \
38585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38586 $(NORMAL_TARGET_EXPORTS) \
38587 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
38588 for flag in $(EXTRA_TARGET_FLAGS); do \
38589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38590 done; \
38591 (cd $(TARGET_SUBDIR)/winsup && \
38592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38594 "RANLIB=$${RANLIB}" \
38595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38596 installcheck) \
38597 || exit 1
38599 @endif target-winsup
38601 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
38602 maybe-mostlyclean-target-winsup:
38603 @if target-winsup
38604 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
38606 mostlyclean-target-winsup:
38607 @: $(MAKE); $(unstage)
38608 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38609 r=`${PWD_COMMAND}`; export r; \
38610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38611 $(NORMAL_TARGET_EXPORTS) \
38612 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
38613 for flag in $(EXTRA_TARGET_FLAGS); do \
38614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38615 done; \
38616 (cd $(TARGET_SUBDIR)/winsup && \
38617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38619 "RANLIB=$${RANLIB}" \
38620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38621 mostlyclean) \
38622 || exit 1
38624 @endif target-winsup
38626 .PHONY: maybe-clean-target-winsup clean-target-winsup
38627 maybe-clean-target-winsup:
38628 @if target-winsup
38629 maybe-clean-target-winsup: clean-target-winsup
38631 clean-target-winsup:
38632 @: $(MAKE); $(unstage)
38633 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38634 r=`${PWD_COMMAND}`; export r; \
38635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38636 $(NORMAL_TARGET_EXPORTS) \
38637 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
38638 for flag in $(EXTRA_TARGET_FLAGS); do \
38639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38640 done; \
38641 (cd $(TARGET_SUBDIR)/winsup && \
38642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38644 "RANLIB=$${RANLIB}" \
38645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38646 clean) \
38647 || exit 1
38649 @endif target-winsup
38651 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
38652 maybe-distclean-target-winsup:
38653 @if target-winsup
38654 maybe-distclean-target-winsup: distclean-target-winsup
38656 distclean-target-winsup:
38657 @: $(MAKE); $(unstage)
38658 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38659 r=`${PWD_COMMAND}`; export r; \
38660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38661 $(NORMAL_TARGET_EXPORTS) \
38662 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
38663 for flag in $(EXTRA_TARGET_FLAGS); do \
38664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38665 done; \
38666 (cd $(TARGET_SUBDIR)/winsup && \
38667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38669 "RANLIB=$${RANLIB}" \
38670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38671 distclean) \
38672 || exit 1
38674 @endif target-winsup
38676 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
38677 maybe-maintainer-clean-target-winsup:
38678 @if target-winsup
38679 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
38681 maintainer-clean-target-winsup:
38682 @: $(MAKE); $(unstage)
38683 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38684 r=`${PWD_COMMAND}`; export r; \
38685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38686 $(NORMAL_TARGET_EXPORTS) \
38687 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
38688 for flag in $(EXTRA_TARGET_FLAGS); do \
38689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38690 done; \
38691 (cd $(TARGET_SUBDIR)/winsup && \
38692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38694 "RANLIB=$${RANLIB}" \
38695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38696 maintainer-clean) \
38697 || exit 1
38699 @endif target-winsup
38705 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
38706 maybe-configure-target-libgloss:
38707 @if gcc-bootstrap
38708 configure-target-libgloss: stage_current
38709 @endif gcc-bootstrap
38710 @if target-libgloss
38711 maybe-configure-target-libgloss: configure-target-libgloss
38712 configure-target-libgloss:
38713 @: $(MAKE); $(unstage)
38714 @r=`${PWD_COMMAND}`; export r; \
38715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38716 echo "Checking multilib configuration for libgloss..."; \
38717 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38718 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
38719 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38720 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38721 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
38722 else \
38723 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
38724 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38725 fi; \
38726 else \
38727 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38728 fi; \
38729 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
38730 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38731 $(NORMAL_TARGET_EXPORTS) \
38732 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
38733 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
38734 case $(srcdir) in \
38735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38736 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
38737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38738 esac; \
38739 srcdiroption="--srcdir=$${topdir}/libgloss"; \
38740 libsrcdir="$$s/libgloss"; \
38741 rm -f no-such-file || : ; \
38742 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38743 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38744 --target=${target_alias} $${srcdiroption} \
38745 || exit 1
38746 @endif target-libgloss
38752 .PHONY: all-target-libgloss maybe-all-target-libgloss
38753 maybe-all-target-libgloss:
38754 @if gcc-bootstrap
38755 all-target-libgloss: stage_current
38756 @endif gcc-bootstrap
38757 @if target-libgloss
38758 TARGET-target-libgloss=all
38759 maybe-all-target-libgloss: all-target-libgloss
38760 all-target-libgloss: configure-target-libgloss
38761 @: $(MAKE); $(unstage)
38762 @r=`${PWD_COMMAND}`; export r; \
38763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38764 $(NORMAL_TARGET_EXPORTS) \
38765 (cd $(TARGET_SUBDIR)/libgloss && \
38766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38767 $(TARGET-target-libgloss))
38768 @endif target-libgloss
38774 .PHONY: check-target-libgloss maybe-check-target-libgloss
38775 maybe-check-target-libgloss:
38776 @if target-libgloss
38777 maybe-check-target-libgloss: check-target-libgloss
38779 # Dummy target for uncheckable module.
38780 check-target-libgloss:
38782 @endif target-libgloss
38784 .PHONY: install-target-libgloss maybe-install-target-libgloss
38785 maybe-install-target-libgloss:
38786 @if target-libgloss
38787 maybe-install-target-libgloss: install-target-libgloss
38789 install-target-libgloss: installdirs
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)/libgloss && \
38795 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38797 @endif target-libgloss
38799 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
38800 maybe-install-strip-target-libgloss:
38801 @if target-libgloss
38802 maybe-install-strip-target-libgloss: install-strip-target-libgloss
38804 install-strip-target-libgloss: 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)/libgloss && \
38810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38812 @endif target-libgloss
38814 # Other targets (info, dvi, pdf, etc.)
38816 .PHONY: maybe-info-target-libgloss info-target-libgloss
38817 maybe-info-target-libgloss:
38818 @if target-libgloss
38819 maybe-info-target-libgloss: info-target-libgloss
38821 info-target-libgloss: \
38822 configure-target-libgloss
38823 @: $(MAKE); $(unstage)
38824 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38825 r=`${PWD_COMMAND}`; export r; \
38826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38827 $(NORMAL_TARGET_EXPORTS) \
38828 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
38829 for flag in $(EXTRA_TARGET_FLAGS); do \
38830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38831 done; \
38832 (cd $(TARGET_SUBDIR)/libgloss && \
38833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38835 "RANLIB=$${RANLIB}" \
38836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38837 info) \
38838 || exit 1
38840 @endif target-libgloss
38842 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
38843 maybe-dvi-target-libgloss:
38844 @if target-libgloss
38845 maybe-dvi-target-libgloss: dvi-target-libgloss
38847 dvi-target-libgloss: \
38848 configure-target-libgloss
38849 @: $(MAKE); $(unstage)
38850 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38851 r=`${PWD_COMMAND}`; export r; \
38852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38853 $(NORMAL_TARGET_EXPORTS) \
38854 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
38855 for flag in $(EXTRA_TARGET_FLAGS); do \
38856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 done; \
38858 (cd $(TARGET_SUBDIR)/libgloss && \
38859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38861 "RANLIB=$${RANLIB}" \
38862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38863 dvi) \
38864 || exit 1
38866 @endif target-libgloss
38868 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
38869 maybe-pdf-target-libgloss:
38870 @if target-libgloss
38871 maybe-pdf-target-libgloss: pdf-target-libgloss
38873 pdf-target-libgloss: \
38874 configure-target-libgloss
38875 @: $(MAKE); $(unstage)
38876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38877 r=`${PWD_COMMAND}`; export r; \
38878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38879 $(NORMAL_TARGET_EXPORTS) \
38880 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
38881 for flag in $(EXTRA_TARGET_FLAGS); do \
38882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 done; \
38884 (cd $(TARGET_SUBDIR)/libgloss && \
38885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38887 "RANLIB=$${RANLIB}" \
38888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38889 pdf) \
38890 || exit 1
38892 @endif target-libgloss
38894 .PHONY: maybe-html-target-libgloss html-target-libgloss
38895 maybe-html-target-libgloss:
38896 @if target-libgloss
38897 maybe-html-target-libgloss: html-target-libgloss
38899 html-target-libgloss: \
38900 configure-target-libgloss
38901 @: $(MAKE); $(unstage)
38902 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38903 r=`${PWD_COMMAND}`; export r; \
38904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38905 $(NORMAL_TARGET_EXPORTS) \
38906 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
38907 for flag in $(EXTRA_TARGET_FLAGS); do \
38908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38909 done; \
38910 (cd $(TARGET_SUBDIR)/libgloss && \
38911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38913 "RANLIB=$${RANLIB}" \
38914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38915 html) \
38916 || exit 1
38918 @endif target-libgloss
38920 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
38921 maybe-TAGS-target-libgloss:
38922 @if target-libgloss
38923 maybe-TAGS-target-libgloss: TAGS-target-libgloss
38925 TAGS-target-libgloss: \
38926 configure-target-libgloss
38927 @: $(MAKE); $(unstage)
38928 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38929 r=`${PWD_COMMAND}`; export r; \
38930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38931 $(NORMAL_TARGET_EXPORTS) \
38932 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
38933 for flag in $(EXTRA_TARGET_FLAGS); do \
38934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38935 done; \
38936 (cd $(TARGET_SUBDIR)/libgloss && \
38937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38939 "RANLIB=$${RANLIB}" \
38940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38941 TAGS) \
38942 || exit 1
38944 @endif target-libgloss
38946 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
38947 maybe-install-info-target-libgloss:
38948 @if target-libgloss
38949 maybe-install-info-target-libgloss: install-info-target-libgloss
38951 install-info-target-libgloss: \
38952 configure-target-libgloss \
38953 info-target-libgloss
38954 @: $(MAKE); $(unstage)
38955 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38956 r=`${PWD_COMMAND}`; export r; \
38957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38958 $(NORMAL_TARGET_EXPORTS) \
38959 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
38960 for flag in $(EXTRA_TARGET_FLAGS); do \
38961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38962 done; \
38963 (cd $(TARGET_SUBDIR)/libgloss && \
38964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38966 "RANLIB=$${RANLIB}" \
38967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38968 install-info) \
38969 || exit 1
38971 @endif target-libgloss
38973 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
38974 maybe-install-pdf-target-libgloss:
38975 @if target-libgloss
38976 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
38978 install-pdf-target-libgloss: \
38979 configure-target-libgloss \
38980 pdf-target-libgloss
38981 @: $(MAKE); $(unstage)
38982 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38983 r=`${PWD_COMMAND}`; export r; \
38984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38985 $(NORMAL_TARGET_EXPORTS) \
38986 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
38987 for flag in $(EXTRA_TARGET_FLAGS); do \
38988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38989 done; \
38990 (cd $(TARGET_SUBDIR)/libgloss && \
38991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38993 "RANLIB=$${RANLIB}" \
38994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38995 install-pdf) \
38996 || exit 1
38998 @endif target-libgloss
39000 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39001 maybe-install-html-target-libgloss:
39002 @if target-libgloss
39003 maybe-install-html-target-libgloss: install-html-target-libgloss
39005 install-html-target-libgloss: \
39006 configure-target-libgloss \
39007 html-target-libgloss
39008 @: $(MAKE); $(unstage)
39009 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39010 r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 $(NORMAL_TARGET_EXPORTS) \
39013 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39014 for flag in $(EXTRA_TARGET_FLAGS); do \
39015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39016 done; \
39017 (cd $(TARGET_SUBDIR)/libgloss && \
39018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39020 "RANLIB=$${RANLIB}" \
39021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39022 install-html) \
39023 || exit 1
39025 @endif target-libgloss
39027 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39028 maybe-installcheck-target-libgloss:
39029 @if target-libgloss
39030 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39032 installcheck-target-libgloss: \
39033 configure-target-libgloss
39034 @: $(MAKE); $(unstage)
39035 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39036 r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(NORMAL_TARGET_EXPORTS) \
39039 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39040 for flag in $(EXTRA_TARGET_FLAGS); do \
39041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39042 done; \
39043 (cd $(TARGET_SUBDIR)/libgloss && \
39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39046 "RANLIB=$${RANLIB}" \
39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39048 installcheck) \
39049 || exit 1
39051 @endif target-libgloss
39053 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39054 maybe-mostlyclean-target-libgloss:
39055 @if target-libgloss
39056 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39058 mostlyclean-target-libgloss:
39059 @: $(MAKE); $(unstage)
39060 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39061 r=`${PWD_COMMAND}`; export r; \
39062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39063 $(NORMAL_TARGET_EXPORTS) \
39064 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39065 for flag in $(EXTRA_TARGET_FLAGS); do \
39066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39067 done; \
39068 (cd $(TARGET_SUBDIR)/libgloss && \
39069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39071 "RANLIB=$${RANLIB}" \
39072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39073 mostlyclean) \
39074 || exit 1
39076 @endif target-libgloss
39078 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39079 maybe-clean-target-libgloss:
39080 @if target-libgloss
39081 maybe-clean-target-libgloss: clean-target-libgloss
39083 clean-target-libgloss:
39084 @: $(MAKE); $(unstage)
39085 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39086 r=`${PWD_COMMAND}`; export r; \
39087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39088 $(NORMAL_TARGET_EXPORTS) \
39089 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39090 for flag in $(EXTRA_TARGET_FLAGS); do \
39091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39092 done; \
39093 (cd $(TARGET_SUBDIR)/libgloss && \
39094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39096 "RANLIB=$${RANLIB}" \
39097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39098 clean) \
39099 || exit 1
39101 @endif target-libgloss
39103 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39104 maybe-distclean-target-libgloss:
39105 @if target-libgloss
39106 maybe-distclean-target-libgloss: distclean-target-libgloss
39108 distclean-target-libgloss:
39109 @: $(MAKE); $(unstage)
39110 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39111 r=`${PWD_COMMAND}`; export r; \
39112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39113 $(NORMAL_TARGET_EXPORTS) \
39114 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39115 for flag in $(EXTRA_TARGET_FLAGS); do \
39116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39117 done; \
39118 (cd $(TARGET_SUBDIR)/libgloss && \
39119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39121 "RANLIB=$${RANLIB}" \
39122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39123 distclean) \
39124 || exit 1
39126 @endif target-libgloss
39128 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39129 maybe-maintainer-clean-target-libgloss:
39130 @if target-libgloss
39131 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39133 maintainer-clean-target-libgloss:
39134 @: $(MAKE); $(unstage)
39135 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39136 r=`${PWD_COMMAND}`; export r; \
39137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39138 $(NORMAL_TARGET_EXPORTS) \
39139 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39140 for flag in $(EXTRA_TARGET_FLAGS); do \
39141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39142 done; \
39143 (cd $(TARGET_SUBDIR)/libgloss && \
39144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39146 "RANLIB=$${RANLIB}" \
39147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39148 maintainer-clean) \
39149 || exit 1
39151 @endif target-libgloss
39157 .PHONY: configure-target-libffi maybe-configure-target-libffi
39158 maybe-configure-target-libffi:
39159 @if gcc-bootstrap
39160 configure-target-libffi: stage_current
39161 @endif gcc-bootstrap
39162 @if target-libffi
39163 maybe-configure-target-libffi: configure-target-libffi
39164 configure-target-libffi:
39165 @: $(MAKE); $(unstage)
39166 @r=`${PWD_COMMAND}`; export r; \
39167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39168 echo "Checking multilib configuration for libffi..."; \
39169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
39171 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
39172 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
39173 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
39174 else \
39175 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
39176 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39177 fi; \
39178 else \
39179 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
39180 fi; \
39181 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
39182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
39183 $(NORMAL_TARGET_EXPORTS) \
39184 echo Configuring in $(TARGET_SUBDIR)/libffi; \
39185 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
39186 case $(srcdir) in \
39187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39188 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
39189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39190 esac; \
39191 srcdiroption="--srcdir=$${topdir}/libffi"; \
39192 libsrcdir="$$s/libffi"; \
39193 rm -f no-such-file || : ; \
39194 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39195 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39196 --target=${target_alias} $${srcdiroption} \
39197 || exit 1
39198 @endif target-libffi
39204 .PHONY: all-target-libffi maybe-all-target-libffi
39205 maybe-all-target-libffi:
39206 @if gcc-bootstrap
39207 all-target-libffi: stage_current
39208 @endif gcc-bootstrap
39209 @if target-libffi
39210 TARGET-target-libffi=all
39211 maybe-all-target-libffi: all-target-libffi
39212 all-target-libffi: configure-target-libffi
39213 @: $(MAKE); $(unstage)
39214 @r=`${PWD_COMMAND}`; export r; \
39215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39216 $(NORMAL_TARGET_EXPORTS) \
39217 (cd $(TARGET_SUBDIR)/libffi && \
39218 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39219 $(TARGET-target-libffi))
39220 @endif target-libffi
39226 .PHONY: check-target-libffi maybe-check-target-libffi
39227 maybe-check-target-libffi:
39228 @if target-libffi
39229 maybe-check-target-libffi: check-target-libffi
39231 check-target-libffi:
39232 @: $(MAKE); $(unstage)
39233 @r=`${PWD_COMMAND}`; export r; \
39234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39235 $(NORMAL_TARGET_EXPORTS) \
39236 (cd $(TARGET_SUBDIR)/libffi && \
39237 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39239 @endif target-libffi
39241 .PHONY: install-target-libffi maybe-install-target-libffi
39242 maybe-install-target-libffi:
39243 @if target-libffi
39244 maybe-install-target-libffi: install-target-libffi
39246 # Dummy target for uninstallable.
39247 install-target-libffi:
39249 @endif target-libffi
39251 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
39252 maybe-install-strip-target-libffi:
39253 @if target-libffi
39254 maybe-install-strip-target-libffi: install-strip-target-libffi
39256 # Dummy target for uninstallable.
39257 install-strip-target-libffi:
39259 @endif target-libffi
39261 # Other targets (info, dvi, pdf, etc.)
39263 .PHONY: maybe-info-target-libffi info-target-libffi
39264 maybe-info-target-libffi:
39265 @if target-libffi
39266 maybe-info-target-libffi: info-target-libffi
39268 info-target-libffi: \
39269 configure-target-libffi
39270 @: $(MAKE); $(unstage)
39271 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39272 r=`${PWD_COMMAND}`; export r; \
39273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39274 $(NORMAL_TARGET_EXPORTS) \
39275 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
39276 for flag in $(EXTRA_TARGET_FLAGS); do \
39277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39278 done; \
39279 (cd $(TARGET_SUBDIR)/libffi && \
39280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39282 "RANLIB=$${RANLIB}" \
39283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39284 info) \
39285 || exit 1
39287 @endif target-libffi
39289 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
39290 maybe-dvi-target-libffi:
39291 @if target-libffi
39292 maybe-dvi-target-libffi: dvi-target-libffi
39294 dvi-target-libffi: \
39295 configure-target-libffi
39296 @: $(MAKE); $(unstage)
39297 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39298 r=`${PWD_COMMAND}`; export r; \
39299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39300 $(NORMAL_TARGET_EXPORTS) \
39301 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
39302 for flag in $(EXTRA_TARGET_FLAGS); do \
39303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39304 done; \
39305 (cd $(TARGET_SUBDIR)/libffi && \
39306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39308 "RANLIB=$${RANLIB}" \
39309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39310 dvi) \
39311 || exit 1
39313 @endif target-libffi
39315 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
39316 maybe-pdf-target-libffi:
39317 @if target-libffi
39318 maybe-pdf-target-libffi: pdf-target-libffi
39320 pdf-target-libffi: \
39321 configure-target-libffi
39322 @: $(MAKE); $(unstage)
39323 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39324 r=`${PWD_COMMAND}`; export r; \
39325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39326 $(NORMAL_TARGET_EXPORTS) \
39327 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
39328 for flag in $(EXTRA_TARGET_FLAGS); do \
39329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39330 done; \
39331 (cd $(TARGET_SUBDIR)/libffi && \
39332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39334 "RANLIB=$${RANLIB}" \
39335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39336 pdf) \
39337 || exit 1
39339 @endif target-libffi
39341 .PHONY: maybe-html-target-libffi html-target-libffi
39342 maybe-html-target-libffi:
39343 @if target-libffi
39344 maybe-html-target-libffi: html-target-libffi
39346 html-target-libffi: \
39347 configure-target-libffi
39348 @: $(MAKE); $(unstage)
39349 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39350 r=`${PWD_COMMAND}`; export r; \
39351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39352 $(NORMAL_TARGET_EXPORTS) \
39353 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
39354 for flag in $(EXTRA_TARGET_FLAGS); do \
39355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39356 done; \
39357 (cd $(TARGET_SUBDIR)/libffi && \
39358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39360 "RANLIB=$${RANLIB}" \
39361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39362 html) \
39363 || exit 1
39365 @endif target-libffi
39367 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
39368 maybe-TAGS-target-libffi:
39369 @if target-libffi
39370 maybe-TAGS-target-libffi: TAGS-target-libffi
39372 TAGS-target-libffi: \
39373 configure-target-libffi
39374 @: $(MAKE); $(unstage)
39375 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39376 r=`${PWD_COMMAND}`; export r; \
39377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39378 $(NORMAL_TARGET_EXPORTS) \
39379 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
39380 for flag in $(EXTRA_TARGET_FLAGS); do \
39381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39382 done; \
39383 (cd $(TARGET_SUBDIR)/libffi && \
39384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39386 "RANLIB=$${RANLIB}" \
39387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39388 TAGS) \
39389 || exit 1
39391 @endif target-libffi
39393 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
39394 maybe-install-info-target-libffi:
39395 @if target-libffi
39396 maybe-install-info-target-libffi: install-info-target-libffi
39398 install-info-target-libffi: \
39399 configure-target-libffi \
39400 info-target-libffi
39401 @: $(MAKE); $(unstage)
39402 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39403 r=`${PWD_COMMAND}`; export r; \
39404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39405 $(NORMAL_TARGET_EXPORTS) \
39406 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
39407 for flag in $(EXTRA_TARGET_FLAGS); do \
39408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39409 done; \
39410 (cd $(TARGET_SUBDIR)/libffi && \
39411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39413 "RANLIB=$${RANLIB}" \
39414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39415 install-info) \
39416 || exit 1
39418 @endif target-libffi
39420 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
39421 maybe-install-pdf-target-libffi:
39422 @if target-libffi
39423 maybe-install-pdf-target-libffi: install-pdf-target-libffi
39425 install-pdf-target-libffi: \
39426 configure-target-libffi \
39427 pdf-target-libffi
39428 @: $(MAKE); $(unstage)
39429 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39430 r=`${PWD_COMMAND}`; export r; \
39431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39432 $(NORMAL_TARGET_EXPORTS) \
39433 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
39434 for flag in $(EXTRA_TARGET_FLAGS); do \
39435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39436 done; \
39437 (cd $(TARGET_SUBDIR)/libffi && \
39438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39440 "RANLIB=$${RANLIB}" \
39441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39442 install-pdf) \
39443 || exit 1
39445 @endif target-libffi
39447 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
39448 maybe-install-html-target-libffi:
39449 @if target-libffi
39450 maybe-install-html-target-libffi: install-html-target-libffi
39452 install-html-target-libffi: \
39453 configure-target-libffi \
39454 html-target-libffi
39455 @: $(MAKE); $(unstage)
39456 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39457 r=`${PWD_COMMAND}`; export r; \
39458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39459 $(NORMAL_TARGET_EXPORTS) \
39460 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
39461 for flag in $(EXTRA_TARGET_FLAGS); do \
39462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39463 done; \
39464 (cd $(TARGET_SUBDIR)/libffi && \
39465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39467 "RANLIB=$${RANLIB}" \
39468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39469 install-html) \
39470 || exit 1
39472 @endif target-libffi
39474 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
39475 maybe-installcheck-target-libffi:
39476 @if target-libffi
39477 maybe-installcheck-target-libffi: installcheck-target-libffi
39479 installcheck-target-libffi: \
39480 configure-target-libffi
39481 @: $(MAKE); $(unstage)
39482 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39483 r=`${PWD_COMMAND}`; export r; \
39484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39485 $(NORMAL_TARGET_EXPORTS) \
39486 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
39487 for flag in $(EXTRA_TARGET_FLAGS); do \
39488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39489 done; \
39490 (cd $(TARGET_SUBDIR)/libffi && \
39491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39493 "RANLIB=$${RANLIB}" \
39494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39495 installcheck) \
39496 || exit 1
39498 @endif target-libffi
39500 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
39501 maybe-mostlyclean-target-libffi:
39502 @if target-libffi
39503 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
39505 mostlyclean-target-libffi:
39506 @: $(MAKE); $(unstage)
39507 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39508 r=`${PWD_COMMAND}`; export r; \
39509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39510 $(NORMAL_TARGET_EXPORTS) \
39511 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
39512 for flag in $(EXTRA_TARGET_FLAGS); do \
39513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39514 done; \
39515 (cd $(TARGET_SUBDIR)/libffi && \
39516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39518 "RANLIB=$${RANLIB}" \
39519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39520 mostlyclean) \
39521 || exit 1
39523 @endif target-libffi
39525 .PHONY: maybe-clean-target-libffi clean-target-libffi
39526 maybe-clean-target-libffi:
39527 @if target-libffi
39528 maybe-clean-target-libffi: clean-target-libffi
39530 clean-target-libffi:
39531 @: $(MAKE); $(unstage)
39532 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39533 r=`${PWD_COMMAND}`; export r; \
39534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39535 $(NORMAL_TARGET_EXPORTS) \
39536 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
39537 for flag in $(EXTRA_TARGET_FLAGS); do \
39538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39539 done; \
39540 (cd $(TARGET_SUBDIR)/libffi && \
39541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39543 "RANLIB=$${RANLIB}" \
39544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39545 clean) \
39546 || exit 1
39548 @endif target-libffi
39550 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
39551 maybe-distclean-target-libffi:
39552 @if target-libffi
39553 maybe-distclean-target-libffi: distclean-target-libffi
39555 distclean-target-libffi:
39556 @: $(MAKE); $(unstage)
39557 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39558 r=`${PWD_COMMAND}`; export r; \
39559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39560 $(NORMAL_TARGET_EXPORTS) \
39561 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
39562 for flag in $(EXTRA_TARGET_FLAGS); do \
39563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39564 done; \
39565 (cd $(TARGET_SUBDIR)/libffi && \
39566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39568 "RANLIB=$${RANLIB}" \
39569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39570 distclean) \
39571 || exit 1
39573 @endif target-libffi
39575 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
39576 maybe-maintainer-clean-target-libffi:
39577 @if target-libffi
39578 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
39580 maintainer-clean-target-libffi:
39581 @: $(MAKE); $(unstage)
39582 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39583 r=`${PWD_COMMAND}`; export r; \
39584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39585 $(NORMAL_TARGET_EXPORTS) \
39586 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
39587 for flag in $(EXTRA_TARGET_FLAGS); do \
39588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39589 done; \
39590 (cd $(TARGET_SUBDIR)/libffi && \
39591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39593 "RANLIB=$${RANLIB}" \
39594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39595 maintainer-clean) \
39596 || exit 1
39598 @endif target-libffi
39604 .PHONY: configure-target-libjava maybe-configure-target-libjava
39605 maybe-configure-target-libjava:
39606 @if gcc-bootstrap
39607 configure-target-libjava: stage_current
39608 @endif gcc-bootstrap
39609 @if target-libjava
39610 maybe-configure-target-libjava: configure-target-libjava
39611 configure-target-libjava:
39612 @: $(MAKE); $(unstage)
39613 @r=`${PWD_COMMAND}`; export r; \
39614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39615 echo "Checking multilib configuration for libjava..."; \
39616 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39617 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
39618 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
39619 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
39620 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
39621 else \
39622 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
39623 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39624 fi; \
39625 else \
39626 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39627 fi; \
39628 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
39629 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39630 $(RAW_CXX_TARGET_EXPORTS) \
39631 echo Configuring in $(TARGET_SUBDIR)/libjava; \
39632 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
39633 case $(srcdir) in \
39634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39635 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
39636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39637 esac; \
39638 srcdiroption="--srcdir=$${topdir}/libjava"; \
39639 libsrcdir="$$s/libjava"; \
39640 rm -f no-such-file || : ; \
39641 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39642 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39643 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
39644 || exit 1
39645 @endif target-libjava
39651 .PHONY: all-target-libjava maybe-all-target-libjava
39652 maybe-all-target-libjava:
39653 @if gcc-bootstrap
39654 all-target-libjava: stage_current
39655 @endif gcc-bootstrap
39656 @if target-libjava
39657 TARGET-target-libjava=all
39658 maybe-all-target-libjava: all-target-libjava
39659 all-target-libjava: configure-target-libjava
39660 @: $(MAKE); $(unstage)
39661 @r=`${PWD_COMMAND}`; export r; \
39662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39663 $(RAW_CXX_TARGET_EXPORTS) \
39664 (cd $(TARGET_SUBDIR)/libjava && \
39665 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39666 $(TARGET-target-libjava))
39667 @endif target-libjava
39673 .PHONY: check-target-libjava maybe-check-target-libjava
39674 maybe-check-target-libjava:
39675 @if target-libjava
39676 maybe-check-target-libjava: check-target-libjava
39678 check-target-libjava:
39679 @: $(MAKE); $(unstage)
39680 @r=`${PWD_COMMAND}`; export r; \
39681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39682 $(RAW_CXX_TARGET_EXPORTS) \
39683 (cd $(TARGET_SUBDIR)/libjava && \
39684 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39686 @endif target-libjava
39688 .PHONY: install-target-libjava maybe-install-target-libjava
39689 maybe-install-target-libjava:
39690 @if target-libjava
39691 maybe-install-target-libjava: install-target-libjava
39693 install-target-libjava: installdirs
39694 @: $(MAKE); $(unstage)
39695 @r=`${PWD_COMMAND}`; export r; \
39696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39697 $(RAW_CXX_TARGET_EXPORTS) \
39698 (cd $(TARGET_SUBDIR)/libjava && \
39699 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39701 @endif target-libjava
39703 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
39704 maybe-install-strip-target-libjava:
39705 @if target-libjava
39706 maybe-install-strip-target-libjava: install-strip-target-libjava
39708 install-strip-target-libjava: installdirs
39709 @: $(MAKE); $(unstage)
39710 @r=`${PWD_COMMAND}`; export r; \
39711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39712 $(RAW_CXX_TARGET_EXPORTS) \
39713 (cd $(TARGET_SUBDIR)/libjava && \
39714 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39716 @endif target-libjava
39718 # Other targets (info, dvi, pdf, etc.)
39720 .PHONY: maybe-info-target-libjava info-target-libjava
39721 maybe-info-target-libjava:
39722 @if target-libjava
39723 maybe-info-target-libjava: info-target-libjava
39725 info-target-libjava: \
39726 configure-target-libjava
39727 @: $(MAKE); $(unstage)
39728 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39729 r=`${PWD_COMMAND}`; export r; \
39730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39731 $(RAW_CXX_TARGET_EXPORTS) \
39732 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
39733 for flag in $(EXTRA_TARGET_FLAGS); do \
39734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39735 done; \
39736 (cd $(TARGET_SUBDIR)/libjava && \
39737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39739 "RANLIB=$${RANLIB}" \
39740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39741 info) \
39742 || exit 1
39744 @endif target-libjava
39746 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
39747 maybe-dvi-target-libjava:
39748 @if target-libjava
39749 maybe-dvi-target-libjava: dvi-target-libjava
39751 dvi-target-libjava: \
39752 configure-target-libjava
39753 @: $(MAKE); $(unstage)
39754 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39755 r=`${PWD_COMMAND}`; export r; \
39756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39757 $(RAW_CXX_TARGET_EXPORTS) \
39758 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
39759 for flag in $(EXTRA_TARGET_FLAGS); do \
39760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39761 done; \
39762 (cd $(TARGET_SUBDIR)/libjava && \
39763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39765 "RANLIB=$${RANLIB}" \
39766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39767 dvi) \
39768 || exit 1
39770 @endif target-libjava
39772 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
39773 maybe-pdf-target-libjava:
39774 @if target-libjava
39775 maybe-pdf-target-libjava: pdf-target-libjava
39777 pdf-target-libjava: \
39778 configure-target-libjava
39779 @: $(MAKE); $(unstage)
39780 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39781 r=`${PWD_COMMAND}`; export r; \
39782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39783 $(RAW_CXX_TARGET_EXPORTS) \
39784 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
39785 for flag in $(EXTRA_TARGET_FLAGS); do \
39786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39787 done; \
39788 (cd $(TARGET_SUBDIR)/libjava && \
39789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39791 "RANLIB=$${RANLIB}" \
39792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39793 pdf) \
39794 || exit 1
39796 @endif target-libjava
39798 .PHONY: maybe-html-target-libjava html-target-libjava
39799 maybe-html-target-libjava:
39800 @if target-libjava
39801 maybe-html-target-libjava: html-target-libjava
39803 html-target-libjava: \
39804 configure-target-libjava
39805 @: $(MAKE); $(unstage)
39806 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39807 r=`${PWD_COMMAND}`; export r; \
39808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39809 $(RAW_CXX_TARGET_EXPORTS) \
39810 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39811 for flag in $(EXTRA_TARGET_FLAGS); do \
39812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39813 done; \
39814 (cd $(TARGET_SUBDIR)/libjava && \
39815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39817 "RANLIB=$${RANLIB}" \
39818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39819 html) \
39820 || exit 1
39822 @endif target-libjava
39824 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39825 maybe-TAGS-target-libjava:
39826 @if target-libjava
39827 maybe-TAGS-target-libjava: TAGS-target-libjava
39829 TAGS-target-libjava: \
39830 configure-target-libjava
39831 @: $(MAKE); $(unstage)
39832 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39833 r=`${PWD_COMMAND}`; export r; \
39834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39835 $(RAW_CXX_TARGET_EXPORTS) \
39836 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39837 for flag in $(EXTRA_TARGET_FLAGS); do \
39838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39839 done; \
39840 (cd $(TARGET_SUBDIR)/libjava && \
39841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39843 "RANLIB=$${RANLIB}" \
39844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39845 TAGS) \
39846 || exit 1
39848 @endif target-libjava
39850 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39851 maybe-install-info-target-libjava:
39852 @if target-libjava
39853 maybe-install-info-target-libjava: install-info-target-libjava
39855 install-info-target-libjava: \
39856 configure-target-libjava \
39857 info-target-libjava
39858 @: $(MAKE); $(unstage)
39859 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39860 r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 $(RAW_CXX_TARGET_EXPORTS) \
39863 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39864 for flag in $(EXTRA_TARGET_FLAGS); do \
39865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39866 done; \
39867 (cd $(TARGET_SUBDIR)/libjava && \
39868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39870 "RANLIB=$${RANLIB}" \
39871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39872 install-info) \
39873 || exit 1
39875 @endif target-libjava
39877 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
39878 maybe-install-pdf-target-libjava:
39879 @if target-libjava
39880 maybe-install-pdf-target-libjava: install-pdf-target-libjava
39882 install-pdf-target-libjava: \
39883 configure-target-libjava \
39884 pdf-target-libjava
39885 @: $(MAKE); $(unstage)
39886 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39887 r=`${PWD_COMMAND}`; export r; \
39888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39889 $(RAW_CXX_TARGET_EXPORTS) \
39890 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
39891 for flag in $(EXTRA_TARGET_FLAGS); do \
39892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39893 done; \
39894 (cd $(TARGET_SUBDIR)/libjava && \
39895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39897 "RANLIB=$${RANLIB}" \
39898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39899 install-pdf) \
39900 || exit 1
39902 @endif target-libjava
39904 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39905 maybe-install-html-target-libjava:
39906 @if target-libjava
39907 maybe-install-html-target-libjava: install-html-target-libjava
39909 install-html-target-libjava: \
39910 configure-target-libjava \
39911 html-target-libjava
39912 @: $(MAKE); $(unstage)
39913 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39914 r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 $(RAW_CXX_TARGET_EXPORTS) \
39917 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39918 for flag in $(EXTRA_TARGET_FLAGS); do \
39919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39920 done; \
39921 (cd $(TARGET_SUBDIR)/libjava && \
39922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39924 "RANLIB=$${RANLIB}" \
39925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39926 install-html) \
39927 || exit 1
39929 @endif target-libjava
39931 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39932 maybe-installcheck-target-libjava:
39933 @if target-libjava
39934 maybe-installcheck-target-libjava: installcheck-target-libjava
39936 installcheck-target-libjava: \
39937 configure-target-libjava
39938 @: $(MAKE); $(unstage)
39939 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39940 r=`${PWD_COMMAND}`; export r; \
39941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39942 $(RAW_CXX_TARGET_EXPORTS) \
39943 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39944 for flag in $(EXTRA_TARGET_FLAGS); do \
39945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39946 done; \
39947 (cd $(TARGET_SUBDIR)/libjava && \
39948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39950 "RANLIB=$${RANLIB}" \
39951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39952 installcheck) \
39953 || exit 1
39955 @endif target-libjava
39957 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39958 maybe-mostlyclean-target-libjava:
39959 @if target-libjava
39960 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39962 mostlyclean-target-libjava:
39963 @: $(MAKE); $(unstage)
39964 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39965 r=`${PWD_COMMAND}`; export r; \
39966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39967 $(RAW_CXX_TARGET_EXPORTS) \
39968 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39969 for flag in $(EXTRA_TARGET_FLAGS); do \
39970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39971 done; \
39972 (cd $(TARGET_SUBDIR)/libjava && \
39973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39975 "RANLIB=$${RANLIB}" \
39976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39977 mostlyclean) \
39978 || exit 1
39980 @endif target-libjava
39982 .PHONY: maybe-clean-target-libjava clean-target-libjava
39983 maybe-clean-target-libjava:
39984 @if target-libjava
39985 maybe-clean-target-libjava: clean-target-libjava
39987 clean-target-libjava:
39988 @: $(MAKE); $(unstage)
39989 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39990 r=`${PWD_COMMAND}`; export r; \
39991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39992 $(RAW_CXX_TARGET_EXPORTS) \
39993 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39994 for flag in $(EXTRA_TARGET_FLAGS); do \
39995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39996 done; \
39997 (cd $(TARGET_SUBDIR)/libjava && \
39998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40000 "RANLIB=$${RANLIB}" \
40001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40002 clean) \
40003 || exit 1
40005 @endif target-libjava
40007 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
40008 maybe-distclean-target-libjava:
40009 @if target-libjava
40010 maybe-distclean-target-libjava: distclean-target-libjava
40012 distclean-target-libjava:
40013 @: $(MAKE); $(unstage)
40014 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40015 r=`${PWD_COMMAND}`; export r; \
40016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40017 $(RAW_CXX_TARGET_EXPORTS) \
40018 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
40019 for flag in $(EXTRA_TARGET_FLAGS); do \
40020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40021 done; \
40022 (cd $(TARGET_SUBDIR)/libjava && \
40023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40025 "RANLIB=$${RANLIB}" \
40026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40027 distclean) \
40028 || exit 1
40030 @endif target-libjava
40032 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
40033 maybe-maintainer-clean-target-libjava:
40034 @if target-libjava
40035 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
40037 maintainer-clean-target-libjava:
40038 @: $(MAKE); $(unstage)
40039 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
40040 r=`${PWD_COMMAND}`; export r; \
40041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40042 $(RAW_CXX_TARGET_EXPORTS) \
40043 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
40044 for flag in $(EXTRA_TARGET_FLAGS); do \
40045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40046 done; \
40047 (cd $(TARGET_SUBDIR)/libjava && \
40048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40050 "RANLIB=$${RANLIB}" \
40051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40052 maintainer-clean) \
40053 || exit 1
40055 @endif target-libjava
40061 .PHONY: configure-target-zlib maybe-configure-target-zlib
40062 maybe-configure-target-zlib:
40063 @if gcc-bootstrap
40064 configure-target-zlib: stage_current
40065 @endif gcc-bootstrap
40066 @if target-zlib
40067 maybe-configure-target-zlib: configure-target-zlib
40068 configure-target-zlib:
40069 @: $(MAKE); $(unstage)
40070 @r=`${PWD_COMMAND}`; export r; \
40071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40072 echo "Checking multilib configuration for zlib..."; \
40073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40074 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
40075 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
40076 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
40077 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
40078 else \
40079 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
40080 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40081 fi; \
40082 else \
40083 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
40084 fi; \
40085 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
40086 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
40087 $(NORMAL_TARGET_EXPORTS) \
40088 echo Configuring in $(TARGET_SUBDIR)/zlib; \
40089 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
40090 case $(srcdir) in \
40091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40092 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
40093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40094 esac; \
40095 srcdiroption="--srcdir=$${topdir}/zlib"; \
40096 libsrcdir="$$s/zlib"; \
40097 rm -f no-such-file || : ; \
40098 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40099 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40100 --target=${target_alias} $${srcdiroption} \
40101 || exit 1
40102 @endif target-zlib
40108 .PHONY: all-target-zlib maybe-all-target-zlib
40109 maybe-all-target-zlib:
40110 @if gcc-bootstrap
40111 all-target-zlib: stage_current
40112 @endif gcc-bootstrap
40113 @if target-zlib
40114 TARGET-target-zlib=all
40115 maybe-all-target-zlib: all-target-zlib
40116 all-target-zlib: configure-target-zlib
40117 @: $(MAKE); $(unstage)
40118 @r=`${PWD_COMMAND}`; export r; \
40119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40120 $(NORMAL_TARGET_EXPORTS) \
40121 (cd $(TARGET_SUBDIR)/zlib && \
40122 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40123 $(TARGET-target-zlib))
40124 @endif target-zlib
40130 .PHONY: check-target-zlib maybe-check-target-zlib
40131 maybe-check-target-zlib:
40132 @if target-zlib
40133 maybe-check-target-zlib: check-target-zlib
40135 check-target-zlib:
40136 @: $(MAKE); $(unstage)
40137 @r=`${PWD_COMMAND}`; export r; \
40138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40139 $(NORMAL_TARGET_EXPORTS) \
40140 (cd $(TARGET_SUBDIR)/zlib && \
40141 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40143 @endif target-zlib
40145 .PHONY: install-target-zlib maybe-install-target-zlib
40146 maybe-install-target-zlib:
40147 @if target-zlib
40148 maybe-install-target-zlib: install-target-zlib
40150 install-target-zlib: installdirs
40151 @: $(MAKE); $(unstage)
40152 @r=`${PWD_COMMAND}`; export r; \
40153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40154 $(NORMAL_TARGET_EXPORTS) \
40155 (cd $(TARGET_SUBDIR)/zlib && \
40156 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40158 @endif target-zlib
40160 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
40161 maybe-install-strip-target-zlib:
40162 @if target-zlib
40163 maybe-install-strip-target-zlib: install-strip-target-zlib
40165 install-strip-target-zlib: installdirs
40166 @: $(MAKE); $(unstage)
40167 @r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(NORMAL_TARGET_EXPORTS) \
40170 (cd $(TARGET_SUBDIR)/zlib && \
40171 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40173 @endif target-zlib
40175 # Other targets (info, dvi, pdf, etc.)
40177 .PHONY: maybe-info-target-zlib info-target-zlib
40178 maybe-info-target-zlib:
40179 @if target-zlib
40180 maybe-info-target-zlib: info-target-zlib
40182 info-target-zlib: \
40183 configure-target-zlib
40184 @: $(MAKE); $(unstage)
40185 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40186 r=`${PWD_COMMAND}`; export r; \
40187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40188 $(NORMAL_TARGET_EXPORTS) \
40189 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
40190 for flag in $(EXTRA_TARGET_FLAGS); do \
40191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40192 done; \
40193 (cd $(TARGET_SUBDIR)/zlib && \
40194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40196 "RANLIB=$${RANLIB}" \
40197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40198 info) \
40199 || exit 1
40201 @endif target-zlib
40203 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
40204 maybe-dvi-target-zlib:
40205 @if target-zlib
40206 maybe-dvi-target-zlib: dvi-target-zlib
40208 dvi-target-zlib: \
40209 configure-target-zlib
40210 @: $(MAKE); $(unstage)
40211 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40212 r=`${PWD_COMMAND}`; export r; \
40213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40214 $(NORMAL_TARGET_EXPORTS) \
40215 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
40216 for flag in $(EXTRA_TARGET_FLAGS); do \
40217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40218 done; \
40219 (cd $(TARGET_SUBDIR)/zlib && \
40220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40222 "RANLIB=$${RANLIB}" \
40223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40224 dvi) \
40225 || exit 1
40227 @endif target-zlib
40229 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
40230 maybe-pdf-target-zlib:
40231 @if target-zlib
40232 maybe-pdf-target-zlib: pdf-target-zlib
40234 pdf-target-zlib: \
40235 configure-target-zlib
40236 @: $(MAKE); $(unstage)
40237 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40238 r=`${PWD_COMMAND}`; export r; \
40239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40240 $(NORMAL_TARGET_EXPORTS) \
40241 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
40242 for flag in $(EXTRA_TARGET_FLAGS); do \
40243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40244 done; \
40245 (cd $(TARGET_SUBDIR)/zlib && \
40246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40248 "RANLIB=$${RANLIB}" \
40249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40250 pdf) \
40251 || exit 1
40253 @endif target-zlib
40255 .PHONY: maybe-html-target-zlib html-target-zlib
40256 maybe-html-target-zlib:
40257 @if target-zlib
40258 maybe-html-target-zlib: html-target-zlib
40260 html-target-zlib: \
40261 configure-target-zlib
40262 @: $(MAKE); $(unstage)
40263 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40264 r=`${PWD_COMMAND}`; export r; \
40265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40266 $(NORMAL_TARGET_EXPORTS) \
40267 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
40268 for flag in $(EXTRA_TARGET_FLAGS); do \
40269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40270 done; \
40271 (cd $(TARGET_SUBDIR)/zlib && \
40272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40274 "RANLIB=$${RANLIB}" \
40275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40276 html) \
40277 || exit 1
40279 @endif target-zlib
40281 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
40282 maybe-TAGS-target-zlib:
40283 @if target-zlib
40284 maybe-TAGS-target-zlib: TAGS-target-zlib
40286 TAGS-target-zlib: \
40287 configure-target-zlib
40288 @: $(MAKE); $(unstage)
40289 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40290 r=`${PWD_COMMAND}`; export r; \
40291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40292 $(NORMAL_TARGET_EXPORTS) \
40293 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
40294 for flag in $(EXTRA_TARGET_FLAGS); do \
40295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40296 done; \
40297 (cd $(TARGET_SUBDIR)/zlib && \
40298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40300 "RANLIB=$${RANLIB}" \
40301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40302 TAGS) \
40303 || exit 1
40305 @endif target-zlib
40307 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
40308 maybe-install-info-target-zlib:
40309 @if target-zlib
40310 maybe-install-info-target-zlib: install-info-target-zlib
40312 install-info-target-zlib: \
40313 configure-target-zlib \
40314 info-target-zlib
40315 @: $(MAKE); $(unstage)
40316 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40317 r=`${PWD_COMMAND}`; export r; \
40318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40319 $(NORMAL_TARGET_EXPORTS) \
40320 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
40321 for flag in $(EXTRA_TARGET_FLAGS); do \
40322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40323 done; \
40324 (cd $(TARGET_SUBDIR)/zlib && \
40325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40327 "RANLIB=$${RANLIB}" \
40328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40329 install-info) \
40330 || exit 1
40332 @endif target-zlib
40334 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
40335 maybe-install-pdf-target-zlib:
40336 @if target-zlib
40337 maybe-install-pdf-target-zlib: install-pdf-target-zlib
40339 install-pdf-target-zlib: \
40340 configure-target-zlib \
40341 pdf-target-zlib
40342 @: $(MAKE); $(unstage)
40343 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40344 r=`${PWD_COMMAND}`; export r; \
40345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40346 $(NORMAL_TARGET_EXPORTS) \
40347 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
40348 for flag in $(EXTRA_TARGET_FLAGS); do \
40349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40350 done; \
40351 (cd $(TARGET_SUBDIR)/zlib && \
40352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40354 "RANLIB=$${RANLIB}" \
40355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40356 install-pdf) \
40357 || exit 1
40359 @endif target-zlib
40361 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
40362 maybe-install-html-target-zlib:
40363 @if target-zlib
40364 maybe-install-html-target-zlib: install-html-target-zlib
40366 install-html-target-zlib: \
40367 configure-target-zlib \
40368 html-target-zlib
40369 @: $(MAKE); $(unstage)
40370 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40371 r=`${PWD_COMMAND}`; export r; \
40372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40373 $(NORMAL_TARGET_EXPORTS) \
40374 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
40375 for flag in $(EXTRA_TARGET_FLAGS); do \
40376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40377 done; \
40378 (cd $(TARGET_SUBDIR)/zlib && \
40379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40381 "RANLIB=$${RANLIB}" \
40382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40383 install-html) \
40384 || exit 1
40386 @endif target-zlib
40388 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
40389 maybe-installcheck-target-zlib:
40390 @if target-zlib
40391 maybe-installcheck-target-zlib: installcheck-target-zlib
40393 installcheck-target-zlib: \
40394 configure-target-zlib
40395 @: $(MAKE); $(unstage)
40396 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40397 r=`${PWD_COMMAND}`; export r; \
40398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40399 $(NORMAL_TARGET_EXPORTS) \
40400 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
40401 for flag in $(EXTRA_TARGET_FLAGS); do \
40402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40403 done; \
40404 (cd $(TARGET_SUBDIR)/zlib && \
40405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40407 "RANLIB=$${RANLIB}" \
40408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40409 installcheck) \
40410 || exit 1
40412 @endif target-zlib
40414 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
40415 maybe-mostlyclean-target-zlib:
40416 @if target-zlib
40417 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
40419 mostlyclean-target-zlib:
40420 @: $(MAKE); $(unstage)
40421 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40422 r=`${PWD_COMMAND}`; export r; \
40423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40424 $(NORMAL_TARGET_EXPORTS) \
40425 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
40426 for flag in $(EXTRA_TARGET_FLAGS); do \
40427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40428 done; \
40429 (cd $(TARGET_SUBDIR)/zlib && \
40430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40432 "RANLIB=$${RANLIB}" \
40433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40434 mostlyclean) \
40435 || exit 1
40437 @endif target-zlib
40439 .PHONY: maybe-clean-target-zlib clean-target-zlib
40440 maybe-clean-target-zlib:
40441 @if target-zlib
40442 maybe-clean-target-zlib: clean-target-zlib
40444 clean-target-zlib:
40445 @: $(MAKE); $(unstage)
40446 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40447 r=`${PWD_COMMAND}`; export r; \
40448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40449 $(NORMAL_TARGET_EXPORTS) \
40450 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
40451 for flag in $(EXTRA_TARGET_FLAGS); do \
40452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40453 done; \
40454 (cd $(TARGET_SUBDIR)/zlib && \
40455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40457 "RANLIB=$${RANLIB}" \
40458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40459 clean) \
40460 || exit 1
40462 @endif target-zlib
40464 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
40465 maybe-distclean-target-zlib:
40466 @if target-zlib
40467 maybe-distclean-target-zlib: distclean-target-zlib
40469 distclean-target-zlib:
40470 @: $(MAKE); $(unstage)
40471 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40472 r=`${PWD_COMMAND}`; export r; \
40473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40474 $(NORMAL_TARGET_EXPORTS) \
40475 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
40476 for flag in $(EXTRA_TARGET_FLAGS); do \
40477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40478 done; \
40479 (cd $(TARGET_SUBDIR)/zlib && \
40480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40482 "RANLIB=$${RANLIB}" \
40483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40484 distclean) \
40485 || exit 1
40487 @endif target-zlib
40489 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
40490 maybe-maintainer-clean-target-zlib:
40491 @if target-zlib
40492 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
40494 maintainer-clean-target-zlib:
40495 @: $(MAKE); $(unstage)
40496 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
40497 r=`${PWD_COMMAND}`; export r; \
40498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40499 $(NORMAL_TARGET_EXPORTS) \
40500 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
40501 for flag in $(EXTRA_TARGET_FLAGS); do \
40502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40503 done; \
40504 (cd $(TARGET_SUBDIR)/zlib && \
40505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40507 "RANLIB=$${RANLIB}" \
40508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40509 maintainer-clean) \
40510 || exit 1
40512 @endif target-zlib
40518 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
40519 maybe-configure-target-boehm-gc:
40520 @if gcc-bootstrap
40521 configure-target-boehm-gc: stage_current
40522 @endif gcc-bootstrap
40523 @if target-boehm-gc
40524 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40525 configure-target-boehm-gc:
40526 @: $(MAKE); $(unstage)
40527 @r=`${PWD_COMMAND}`; export r; \
40528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40529 echo "Checking multilib configuration for boehm-gc..."; \
40530 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40531 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40532 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40533 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40534 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
40535 else \
40536 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
40537 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40538 fi; \
40539 else \
40540 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40541 fi; \
40542 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
40543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40544 $(NORMAL_TARGET_EXPORTS) \
40545 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
40546 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
40547 case $(srcdir) in \
40548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40549 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
40550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40551 esac; \
40552 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
40553 libsrcdir="$$s/boehm-gc"; \
40554 rm -f no-such-file || : ; \
40555 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40556 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40557 --target=${target_alias} $${srcdiroption} \
40558 || exit 1
40559 @endif target-boehm-gc
40565 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
40566 maybe-all-target-boehm-gc:
40567 @if gcc-bootstrap
40568 all-target-boehm-gc: stage_current
40569 @endif gcc-bootstrap
40570 @if target-boehm-gc
40571 TARGET-target-boehm-gc=all
40572 maybe-all-target-boehm-gc: all-target-boehm-gc
40573 all-target-boehm-gc: configure-target-boehm-gc
40574 @: $(MAKE); $(unstage)
40575 @r=`${PWD_COMMAND}`; export r; \
40576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40577 $(NORMAL_TARGET_EXPORTS) \
40578 (cd $(TARGET_SUBDIR)/boehm-gc && \
40579 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40580 $(TARGET-target-boehm-gc))
40581 @endif target-boehm-gc
40587 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
40588 maybe-check-target-boehm-gc:
40589 @if target-boehm-gc
40590 maybe-check-target-boehm-gc: check-target-boehm-gc
40592 check-target-boehm-gc:
40593 @: $(MAKE); $(unstage)
40594 @r=`${PWD_COMMAND}`; export r; \
40595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40596 $(NORMAL_TARGET_EXPORTS) \
40597 (cd $(TARGET_SUBDIR)/boehm-gc && \
40598 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40600 @endif target-boehm-gc
40602 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
40603 maybe-install-target-boehm-gc:
40604 @if target-boehm-gc
40605 maybe-install-target-boehm-gc: install-target-boehm-gc
40607 install-target-boehm-gc: installdirs
40608 @: $(MAKE); $(unstage)
40609 @r=`${PWD_COMMAND}`; export r; \
40610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40611 $(NORMAL_TARGET_EXPORTS) \
40612 (cd $(TARGET_SUBDIR)/boehm-gc && \
40613 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40615 @endif target-boehm-gc
40617 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
40618 maybe-install-strip-target-boehm-gc:
40619 @if target-boehm-gc
40620 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
40622 install-strip-target-boehm-gc: installdirs
40623 @: $(MAKE); $(unstage)
40624 @r=`${PWD_COMMAND}`; export r; \
40625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40626 $(NORMAL_TARGET_EXPORTS) \
40627 (cd $(TARGET_SUBDIR)/boehm-gc && \
40628 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40630 @endif target-boehm-gc
40632 # Other targets (info, dvi, pdf, etc.)
40634 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
40635 maybe-info-target-boehm-gc:
40636 @if target-boehm-gc
40637 maybe-info-target-boehm-gc: info-target-boehm-gc
40639 info-target-boehm-gc: \
40640 configure-target-boehm-gc
40641 @: $(MAKE); $(unstage)
40642 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40643 r=`${PWD_COMMAND}`; export r; \
40644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40645 $(NORMAL_TARGET_EXPORTS) \
40646 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
40647 for flag in $(EXTRA_TARGET_FLAGS); do \
40648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40649 done; \
40650 (cd $(TARGET_SUBDIR)/boehm-gc && \
40651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40653 "RANLIB=$${RANLIB}" \
40654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40655 info) \
40656 || exit 1
40658 @endif target-boehm-gc
40660 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
40661 maybe-dvi-target-boehm-gc:
40662 @if target-boehm-gc
40663 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
40665 dvi-target-boehm-gc: \
40666 configure-target-boehm-gc
40667 @: $(MAKE); $(unstage)
40668 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40669 r=`${PWD_COMMAND}`; export r; \
40670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40671 $(NORMAL_TARGET_EXPORTS) \
40672 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
40673 for flag in $(EXTRA_TARGET_FLAGS); do \
40674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40675 done; \
40676 (cd $(TARGET_SUBDIR)/boehm-gc && \
40677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40679 "RANLIB=$${RANLIB}" \
40680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40681 dvi) \
40682 || exit 1
40684 @endif target-boehm-gc
40686 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
40687 maybe-pdf-target-boehm-gc:
40688 @if target-boehm-gc
40689 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
40691 pdf-target-boehm-gc: \
40692 configure-target-boehm-gc
40693 @: $(MAKE); $(unstage)
40694 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40695 r=`${PWD_COMMAND}`; export r; \
40696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40697 $(NORMAL_TARGET_EXPORTS) \
40698 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40699 for flag in $(EXTRA_TARGET_FLAGS); do \
40700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40701 done; \
40702 (cd $(TARGET_SUBDIR)/boehm-gc && \
40703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40705 "RANLIB=$${RANLIB}" \
40706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40707 pdf) \
40708 || exit 1
40710 @endif target-boehm-gc
40712 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
40713 maybe-html-target-boehm-gc:
40714 @if target-boehm-gc
40715 maybe-html-target-boehm-gc: html-target-boehm-gc
40717 html-target-boehm-gc: \
40718 configure-target-boehm-gc
40719 @: $(MAKE); $(unstage)
40720 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40721 r=`${PWD_COMMAND}`; export r; \
40722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40723 $(NORMAL_TARGET_EXPORTS) \
40724 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
40725 for flag in $(EXTRA_TARGET_FLAGS); do \
40726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40727 done; \
40728 (cd $(TARGET_SUBDIR)/boehm-gc && \
40729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40731 "RANLIB=$${RANLIB}" \
40732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40733 html) \
40734 || exit 1
40736 @endif target-boehm-gc
40738 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
40739 maybe-TAGS-target-boehm-gc:
40740 @if target-boehm-gc
40741 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
40743 TAGS-target-boehm-gc: \
40744 configure-target-boehm-gc
40745 @: $(MAKE); $(unstage)
40746 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40747 r=`${PWD_COMMAND}`; export r; \
40748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40749 $(NORMAL_TARGET_EXPORTS) \
40750 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
40751 for flag in $(EXTRA_TARGET_FLAGS); do \
40752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40753 done; \
40754 (cd $(TARGET_SUBDIR)/boehm-gc && \
40755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40757 "RANLIB=$${RANLIB}" \
40758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40759 TAGS) \
40760 || exit 1
40762 @endif target-boehm-gc
40764 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
40765 maybe-install-info-target-boehm-gc:
40766 @if target-boehm-gc
40767 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
40769 install-info-target-boehm-gc: \
40770 configure-target-boehm-gc \
40771 info-target-boehm-gc
40772 @: $(MAKE); $(unstage)
40773 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40774 r=`${PWD_COMMAND}`; export r; \
40775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40776 $(NORMAL_TARGET_EXPORTS) \
40777 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
40778 for flag in $(EXTRA_TARGET_FLAGS); do \
40779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40780 done; \
40781 (cd $(TARGET_SUBDIR)/boehm-gc && \
40782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40784 "RANLIB=$${RANLIB}" \
40785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40786 install-info) \
40787 || exit 1
40789 @endif target-boehm-gc
40791 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
40792 maybe-install-pdf-target-boehm-gc:
40793 @if target-boehm-gc
40794 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
40796 install-pdf-target-boehm-gc: \
40797 configure-target-boehm-gc \
40798 pdf-target-boehm-gc
40799 @: $(MAKE); $(unstage)
40800 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40801 r=`${PWD_COMMAND}`; export r; \
40802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40803 $(NORMAL_TARGET_EXPORTS) \
40804 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40805 for flag in $(EXTRA_TARGET_FLAGS); do \
40806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40807 done; \
40808 (cd $(TARGET_SUBDIR)/boehm-gc && \
40809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40811 "RANLIB=$${RANLIB}" \
40812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40813 install-pdf) \
40814 || exit 1
40816 @endif target-boehm-gc
40818 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
40819 maybe-install-html-target-boehm-gc:
40820 @if target-boehm-gc
40821 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
40823 install-html-target-boehm-gc: \
40824 configure-target-boehm-gc \
40825 html-target-boehm-gc
40826 @: $(MAKE); $(unstage)
40827 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40828 r=`${PWD_COMMAND}`; export r; \
40829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40830 $(NORMAL_TARGET_EXPORTS) \
40831 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
40832 for flag in $(EXTRA_TARGET_FLAGS); do \
40833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40834 done; \
40835 (cd $(TARGET_SUBDIR)/boehm-gc && \
40836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40838 "RANLIB=$${RANLIB}" \
40839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40840 install-html) \
40841 || exit 1
40843 @endif target-boehm-gc
40845 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
40846 maybe-installcheck-target-boehm-gc:
40847 @if target-boehm-gc
40848 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
40850 installcheck-target-boehm-gc: \
40851 configure-target-boehm-gc
40852 @: $(MAKE); $(unstage)
40853 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40854 r=`${PWD_COMMAND}`; export r; \
40855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40856 $(NORMAL_TARGET_EXPORTS) \
40857 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
40858 for flag in $(EXTRA_TARGET_FLAGS); do \
40859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40860 done; \
40861 (cd $(TARGET_SUBDIR)/boehm-gc && \
40862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40864 "RANLIB=$${RANLIB}" \
40865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40866 installcheck) \
40867 || exit 1
40869 @endif target-boehm-gc
40871 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
40872 maybe-mostlyclean-target-boehm-gc:
40873 @if target-boehm-gc
40874 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
40876 mostlyclean-target-boehm-gc:
40877 @: $(MAKE); $(unstage)
40878 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40879 r=`${PWD_COMMAND}`; export r; \
40880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40881 $(NORMAL_TARGET_EXPORTS) \
40882 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40883 for flag in $(EXTRA_TARGET_FLAGS); do \
40884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40885 done; \
40886 (cd $(TARGET_SUBDIR)/boehm-gc && \
40887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40889 "RANLIB=$${RANLIB}" \
40890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40891 mostlyclean) \
40892 || exit 1
40894 @endif target-boehm-gc
40896 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
40897 maybe-clean-target-boehm-gc:
40898 @if target-boehm-gc
40899 maybe-clean-target-boehm-gc: clean-target-boehm-gc
40901 clean-target-boehm-gc:
40902 @: $(MAKE); $(unstage)
40903 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40904 r=`${PWD_COMMAND}`; export r; \
40905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40906 $(NORMAL_TARGET_EXPORTS) \
40907 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40908 for flag in $(EXTRA_TARGET_FLAGS); do \
40909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40910 done; \
40911 (cd $(TARGET_SUBDIR)/boehm-gc && \
40912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40914 "RANLIB=$${RANLIB}" \
40915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40916 clean) \
40917 || exit 1
40919 @endif target-boehm-gc
40921 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40922 maybe-distclean-target-boehm-gc:
40923 @if target-boehm-gc
40924 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40926 distclean-target-boehm-gc:
40927 @: $(MAKE); $(unstage)
40928 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40929 r=`${PWD_COMMAND}`; export r; \
40930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40931 $(NORMAL_TARGET_EXPORTS) \
40932 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40933 for flag in $(EXTRA_TARGET_FLAGS); do \
40934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40935 done; \
40936 (cd $(TARGET_SUBDIR)/boehm-gc && \
40937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40939 "RANLIB=$${RANLIB}" \
40940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40941 distclean) \
40942 || exit 1
40944 @endif target-boehm-gc
40946 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40947 maybe-maintainer-clean-target-boehm-gc:
40948 @if target-boehm-gc
40949 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40951 maintainer-clean-target-boehm-gc:
40952 @: $(MAKE); $(unstage)
40953 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40954 r=`${PWD_COMMAND}`; export r; \
40955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40956 $(NORMAL_TARGET_EXPORTS) \
40957 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40958 for flag in $(EXTRA_TARGET_FLAGS); do \
40959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40960 done; \
40961 (cd $(TARGET_SUBDIR)/boehm-gc && \
40962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40964 "RANLIB=$${RANLIB}" \
40965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40966 maintainer-clean) \
40967 || exit 1
40969 @endif target-boehm-gc
40975 .PHONY: configure-target-rda maybe-configure-target-rda
40976 maybe-configure-target-rda:
40977 @if gcc-bootstrap
40978 configure-target-rda: stage_current
40979 @endif gcc-bootstrap
40980 @if target-rda
40981 maybe-configure-target-rda: configure-target-rda
40982 configure-target-rda:
40983 @: $(MAKE); $(unstage)
40984 @r=`${PWD_COMMAND}`; export r; \
40985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40986 echo "Checking multilib configuration for rda..."; \
40987 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40988 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40989 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40990 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40991 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40992 else \
40993 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40994 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40995 fi; \
40996 else \
40997 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40998 fi; \
40999 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
41000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
41001 $(NORMAL_TARGET_EXPORTS) \
41002 echo Configuring in $(TARGET_SUBDIR)/rda; \
41003 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
41004 case $(srcdir) in \
41005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41006 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
41007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41008 esac; \
41009 srcdiroption="--srcdir=$${topdir}/rda"; \
41010 libsrcdir="$$s/rda"; \
41011 rm -f no-such-file || : ; \
41012 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41013 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41014 --target=${target_alias} $${srcdiroption} \
41015 || exit 1
41016 @endif target-rda
41022 .PHONY: all-target-rda maybe-all-target-rda
41023 maybe-all-target-rda:
41024 @if gcc-bootstrap
41025 all-target-rda: stage_current
41026 @endif gcc-bootstrap
41027 @if target-rda
41028 TARGET-target-rda=all
41029 maybe-all-target-rda: all-target-rda
41030 all-target-rda: configure-target-rda
41031 @: $(MAKE); $(unstage)
41032 @r=`${PWD_COMMAND}`; export r; \
41033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41034 $(NORMAL_TARGET_EXPORTS) \
41035 (cd $(TARGET_SUBDIR)/rda && \
41036 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41037 $(TARGET-target-rda))
41038 @endif target-rda
41044 .PHONY: check-target-rda maybe-check-target-rda
41045 maybe-check-target-rda:
41046 @if target-rda
41047 maybe-check-target-rda: check-target-rda
41049 check-target-rda:
41050 @: $(MAKE); $(unstage)
41051 @r=`${PWD_COMMAND}`; export r; \
41052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41053 $(NORMAL_TARGET_EXPORTS) \
41054 (cd $(TARGET_SUBDIR)/rda && \
41055 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41057 @endif target-rda
41059 .PHONY: install-target-rda maybe-install-target-rda
41060 maybe-install-target-rda:
41061 @if target-rda
41062 maybe-install-target-rda: install-target-rda
41064 install-target-rda: installdirs
41065 @: $(MAKE); $(unstage)
41066 @r=`${PWD_COMMAND}`; export r; \
41067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41068 $(NORMAL_TARGET_EXPORTS) \
41069 (cd $(TARGET_SUBDIR)/rda && \
41070 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41072 @endif target-rda
41074 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
41075 maybe-install-strip-target-rda:
41076 @if target-rda
41077 maybe-install-strip-target-rda: install-strip-target-rda
41079 install-strip-target-rda: installdirs
41080 @: $(MAKE); $(unstage)
41081 @r=`${PWD_COMMAND}`; export r; \
41082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41083 $(NORMAL_TARGET_EXPORTS) \
41084 (cd $(TARGET_SUBDIR)/rda && \
41085 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41087 @endif target-rda
41089 # Other targets (info, dvi, pdf, etc.)
41091 .PHONY: maybe-info-target-rda info-target-rda
41092 maybe-info-target-rda:
41093 @if target-rda
41094 maybe-info-target-rda: info-target-rda
41096 info-target-rda: \
41097 configure-target-rda
41098 @: $(MAKE); $(unstage)
41099 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41100 r=`${PWD_COMMAND}`; export r; \
41101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41102 $(NORMAL_TARGET_EXPORTS) \
41103 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
41104 for flag in $(EXTRA_TARGET_FLAGS); do \
41105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41106 done; \
41107 (cd $(TARGET_SUBDIR)/rda && \
41108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41110 "RANLIB=$${RANLIB}" \
41111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41112 info) \
41113 || exit 1
41115 @endif target-rda
41117 .PHONY: maybe-dvi-target-rda dvi-target-rda
41118 maybe-dvi-target-rda:
41119 @if target-rda
41120 maybe-dvi-target-rda: dvi-target-rda
41122 dvi-target-rda: \
41123 configure-target-rda
41124 @: $(MAKE); $(unstage)
41125 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41126 r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 $(NORMAL_TARGET_EXPORTS) \
41129 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
41130 for flag in $(EXTRA_TARGET_FLAGS); do \
41131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41132 done; \
41133 (cd $(TARGET_SUBDIR)/rda && \
41134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41136 "RANLIB=$${RANLIB}" \
41137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41138 dvi) \
41139 || exit 1
41141 @endif target-rda
41143 .PHONY: maybe-pdf-target-rda pdf-target-rda
41144 maybe-pdf-target-rda:
41145 @if target-rda
41146 maybe-pdf-target-rda: pdf-target-rda
41148 pdf-target-rda: \
41149 configure-target-rda
41150 @: $(MAKE); $(unstage)
41151 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41152 r=`${PWD_COMMAND}`; export r; \
41153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41154 $(NORMAL_TARGET_EXPORTS) \
41155 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
41156 for flag in $(EXTRA_TARGET_FLAGS); do \
41157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41158 done; \
41159 (cd $(TARGET_SUBDIR)/rda && \
41160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41162 "RANLIB=$${RANLIB}" \
41163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41164 pdf) \
41165 || exit 1
41167 @endif target-rda
41169 .PHONY: maybe-html-target-rda html-target-rda
41170 maybe-html-target-rda:
41171 @if target-rda
41172 maybe-html-target-rda: html-target-rda
41174 html-target-rda: \
41175 configure-target-rda
41176 @: $(MAKE); $(unstage)
41177 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41178 r=`${PWD_COMMAND}`; export r; \
41179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41180 $(NORMAL_TARGET_EXPORTS) \
41181 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
41182 for flag in $(EXTRA_TARGET_FLAGS); do \
41183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41184 done; \
41185 (cd $(TARGET_SUBDIR)/rda && \
41186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41188 "RANLIB=$${RANLIB}" \
41189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41190 html) \
41191 || exit 1
41193 @endif target-rda
41195 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
41196 maybe-TAGS-target-rda:
41197 @if target-rda
41198 maybe-TAGS-target-rda: TAGS-target-rda
41200 TAGS-target-rda: \
41201 configure-target-rda
41202 @: $(MAKE); $(unstage)
41203 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41204 r=`${PWD_COMMAND}`; export r; \
41205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41206 $(NORMAL_TARGET_EXPORTS) \
41207 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
41208 for flag in $(EXTRA_TARGET_FLAGS); do \
41209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41210 done; \
41211 (cd $(TARGET_SUBDIR)/rda && \
41212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41214 "RANLIB=$${RANLIB}" \
41215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41216 TAGS) \
41217 || exit 1
41219 @endif target-rda
41221 .PHONY: maybe-install-info-target-rda install-info-target-rda
41222 maybe-install-info-target-rda:
41223 @if target-rda
41224 maybe-install-info-target-rda: install-info-target-rda
41226 install-info-target-rda: \
41227 configure-target-rda \
41228 info-target-rda
41229 @: $(MAKE); $(unstage)
41230 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41231 r=`${PWD_COMMAND}`; export r; \
41232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41233 $(NORMAL_TARGET_EXPORTS) \
41234 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
41235 for flag in $(EXTRA_TARGET_FLAGS); do \
41236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41237 done; \
41238 (cd $(TARGET_SUBDIR)/rda && \
41239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41241 "RANLIB=$${RANLIB}" \
41242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41243 install-info) \
41244 || exit 1
41246 @endif target-rda
41248 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
41249 maybe-install-pdf-target-rda:
41250 @if target-rda
41251 maybe-install-pdf-target-rda: install-pdf-target-rda
41253 install-pdf-target-rda: \
41254 configure-target-rda \
41255 pdf-target-rda
41256 @: $(MAKE); $(unstage)
41257 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41258 r=`${PWD_COMMAND}`; export r; \
41259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41260 $(NORMAL_TARGET_EXPORTS) \
41261 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
41262 for flag in $(EXTRA_TARGET_FLAGS); do \
41263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41264 done; \
41265 (cd $(TARGET_SUBDIR)/rda && \
41266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41268 "RANLIB=$${RANLIB}" \
41269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41270 install-pdf) \
41271 || exit 1
41273 @endif target-rda
41275 .PHONY: maybe-install-html-target-rda install-html-target-rda
41276 maybe-install-html-target-rda:
41277 @if target-rda
41278 maybe-install-html-target-rda: install-html-target-rda
41280 install-html-target-rda: \
41281 configure-target-rda \
41282 html-target-rda
41283 @: $(MAKE); $(unstage)
41284 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41285 r=`${PWD_COMMAND}`; export r; \
41286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41287 $(NORMAL_TARGET_EXPORTS) \
41288 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
41289 for flag in $(EXTRA_TARGET_FLAGS); do \
41290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41291 done; \
41292 (cd $(TARGET_SUBDIR)/rda && \
41293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41295 "RANLIB=$${RANLIB}" \
41296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41297 install-html) \
41298 || exit 1
41300 @endif target-rda
41302 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
41303 maybe-installcheck-target-rda:
41304 @if target-rda
41305 maybe-installcheck-target-rda: installcheck-target-rda
41307 installcheck-target-rda: \
41308 configure-target-rda
41309 @: $(MAKE); $(unstage)
41310 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41311 r=`${PWD_COMMAND}`; export r; \
41312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41313 $(NORMAL_TARGET_EXPORTS) \
41314 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
41315 for flag in $(EXTRA_TARGET_FLAGS); do \
41316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41317 done; \
41318 (cd $(TARGET_SUBDIR)/rda && \
41319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41321 "RANLIB=$${RANLIB}" \
41322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41323 installcheck) \
41324 || exit 1
41326 @endif target-rda
41328 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
41329 maybe-mostlyclean-target-rda:
41330 @if target-rda
41331 maybe-mostlyclean-target-rda: mostlyclean-target-rda
41333 mostlyclean-target-rda:
41334 @: $(MAKE); $(unstage)
41335 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41336 r=`${PWD_COMMAND}`; export r; \
41337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41338 $(NORMAL_TARGET_EXPORTS) \
41339 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
41340 for flag in $(EXTRA_TARGET_FLAGS); do \
41341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41342 done; \
41343 (cd $(TARGET_SUBDIR)/rda && \
41344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41346 "RANLIB=$${RANLIB}" \
41347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41348 mostlyclean) \
41349 || exit 1
41351 @endif target-rda
41353 .PHONY: maybe-clean-target-rda clean-target-rda
41354 maybe-clean-target-rda:
41355 @if target-rda
41356 maybe-clean-target-rda: clean-target-rda
41358 clean-target-rda:
41359 @: $(MAKE); $(unstage)
41360 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41361 r=`${PWD_COMMAND}`; export r; \
41362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41363 $(NORMAL_TARGET_EXPORTS) \
41364 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
41365 for flag in $(EXTRA_TARGET_FLAGS); do \
41366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41367 done; \
41368 (cd $(TARGET_SUBDIR)/rda && \
41369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41371 "RANLIB=$${RANLIB}" \
41372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41373 clean) \
41374 || exit 1
41376 @endif target-rda
41378 .PHONY: maybe-distclean-target-rda distclean-target-rda
41379 maybe-distclean-target-rda:
41380 @if target-rda
41381 maybe-distclean-target-rda: distclean-target-rda
41383 distclean-target-rda:
41384 @: $(MAKE); $(unstage)
41385 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41386 r=`${PWD_COMMAND}`; export r; \
41387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41388 $(NORMAL_TARGET_EXPORTS) \
41389 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
41390 for flag in $(EXTRA_TARGET_FLAGS); do \
41391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41392 done; \
41393 (cd $(TARGET_SUBDIR)/rda && \
41394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41396 "RANLIB=$${RANLIB}" \
41397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41398 distclean) \
41399 || exit 1
41401 @endif target-rda
41403 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
41404 maybe-maintainer-clean-target-rda:
41405 @if target-rda
41406 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
41408 maintainer-clean-target-rda:
41409 @: $(MAKE); $(unstage)
41410 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
41411 r=`${PWD_COMMAND}`; export r; \
41412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41413 $(NORMAL_TARGET_EXPORTS) \
41414 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
41415 for flag in $(EXTRA_TARGET_FLAGS); do \
41416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41417 done; \
41418 (cd $(TARGET_SUBDIR)/rda && \
41419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41421 "RANLIB=$${RANLIB}" \
41422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41423 maintainer-clean) \
41424 || exit 1
41426 @endif target-rda
41432 .PHONY: configure-target-libada maybe-configure-target-libada
41433 maybe-configure-target-libada:
41434 @if gcc-bootstrap
41435 configure-target-libada: stage_current
41436 @endif gcc-bootstrap
41437 @if target-libada
41438 maybe-configure-target-libada: configure-target-libada
41439 configure-target-libada:
41440 @: $(MAKE); $(unstage)
41441 @r=`${PWD_COMMAND}`; export r; \
41442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41443 echo "Checking multilib configuration for libada..."; \
41444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41445 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
41446 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
41447 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
41448 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
41449 else \
41450 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
41451 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41452 fi; \
41453 else \
41454 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
41455 fi; \
41456 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
41457 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
41458 $(NORMAL_TARGET_EXPORTS) \
41459 echo Configuring in $(TARGET_SUBDIR)/libada; \
41460 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
41461 case $(srcdir) in \
41462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41463 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
41464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41465 esac; \
41466 srcdiroption="--srcdir=$${topdir}/libada"; \
41467 libsrcdir="$$s/libada"; \
41468 rm -f no-such-file || : ; \
41469 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41470 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41471 --target=${target_alias} $${srcdiroption} \
41472 || exit 1
41473 @endif target-libada
41479 .PHONY: all-target-libada maybe-all-target-libada
41480 maybe-all-target-libada:
41481 @if gcc-bootstrap
41482 all-target-libada: stage_current
41483 @endif gcc-bootstrap
41484 @if target-libada
41485 TARGET-target-libada=all
41486 maybe-all-target-libada: all-target-libada
41487 all-target-libada: configure-target-libada
41488 @: $(MAKE); $(unstage)
41489 @r=`${PWD_COMMAND}`; export r; \
41490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41491 $(NORMAL_TARGET_EXPORTS) \
41492 (cd $(TARGET_SUBDIR)/libada && \
41493 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41494 $(TARGET-target-libada))
41495 @endif target-libada
41501 .PHONY: check-target-libada maybe-check-target-libada
41502 maybe-check-target-libada:
41503 @if target-libada
41504 maybe-check-target-libada: check-target-libada
41506 check-target-libada:
41507 @: $(MAKE); $(unstage)
41508 @r=`${PWD_COMMAND}`; export r; \
41509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41510 $(NORMAL_TARGET_EXPORTS) \
41511 (cd $(TARGET_SUBDIR)/libada && \
41512 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41514 @endif target-libada
41516 .PHONY: install-target-libada maybe-install-target-libada
41517 maybe-install-target-libada:
41518 @if target-libada
41519 maybe-install-target-libada: install-target-libada
41521 install-target-libada: installdirs
41522 @: $(MAKE); $(unstage)
41523 @r=`${PWD_COMMAND}`; export r; \
41524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41525 $(NORMAL_TARGET_EXPORTS) \
41526 (cd $(TARGET_SUBDIR)/libada && \
41527 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41529 @endif target-libada
41531 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
41532 maybe-install-strip-target-libada:
41533 @if target-libada
41534 maybe-install-strip-target-libada: install-strip-target-libada
41536 install-strip-target-libada: installdirs
41537 @: $(MAKE); $(unstage)
41538 @r=`${PWD_COMMAND}`; export r; \
41539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41540 $(NORMAL_TARGET_EXPORTS) \
41541 (cd $(TARGET_SUBDIR)/libada && \
41542 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41544 @endif target-libada
41546 # Other targets (info, dvi, pdf, etc.)
41548 .PHONY: maybe-info-target-libada info-target-libada
41549 maybe-info-target-libada:
41550 @if target-libada
41551 maybe-info-target-libada: info-target-libada
41553 info-target-libada: \
41554 configure-target-libada
41555 @: $(MAKE); $(unstage)
41556 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41557 r=`${PWD_COMMAND}`; export r; \
41558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41559 $(NORMAL_TARGET_EXPORTS) \
41560 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
41561 for flag in $(EXTRA_TARGET_FLAGS); do \
41562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41563 done; \
41564 (cd $(TARGET_SUBDIR)/libada && \
41565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41567 "RANLIB=$${RANLIB}" \
41568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41569 info) \
41570 || exit 1
41572 @endif target-libada
41574 .PHONY: maybe-dvi-target-libada dvi-target-libada
41575 maybe-dvi-target-libada:
41576 @if target-libada
41577 maybe-dvi-target-libada: dvi-target-libada
41579 dvi-target-libada: \
41580 configure-target-libada
41581 @: $(MAKE); $(unstage)
41582 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41583 r=`${PWD_COMMAND}`; export r; \
41584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41585 $(NORMAL_TARGET_EXPORTS) \
41586 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41587 for flag in $(EXTRA_TARGET_FLAGS); do \
41588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41589 done; \
41590 (cd $(TARGET_SUBDIR)/libada && \
41591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41593 "RANLIB=$${RANLIB}" \
41594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41595 dvi) \
41596 || exit 1
41598 @endif target-libada
41600 .PHONY: maybe-pdf-target-libada pdf-target-libada
41601 maybe-pdf-target-libada:
41602 @if target-libada
41603 maybe-pdf-target-libada: pdf-target-libada
41605 pdf-target-libada: \
41606 configure-target-libada
41607 @: $(MAKE); $(unstage)
41608 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41609 r=`${PWD_COMMAND}`; export r; \
41610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41611 $(NORMAL_TARGET_EXPORTS) \
41612 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41613 for flag in $(EXTRA_TARGET_FLAGS); do \
41614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41615 done; \
41616 (cd $(TARGET_SUBDIR)/libada && \
41617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41619 "RANLIB=$${RANLIB}" \
41620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41621 pdf) \
41622 || exit 1
41624 @endif target-libada
41626 .PHONY: maybe-html-target-libada html-target-libada
41627 maybe-html-target-libada:
41628 @if target-libada
41629 maybe-html-target-libada: html-target-libada
41631 html-target-libada: \
41632 configure-target-libada
41633 @: $(MAKE); $(unstage)
41634 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41635 r=`${PWD_COMMAND}`; export r; \
41636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41637 $(NORMAL_TARGET_EXPORTS) \
41638 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41639 for flag in $(EXTRA_TARGET_FLAGS); do \
41640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41641 done; \
41642 (cd $(TARGET_SUBDIR)/libada && \
41643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41645 "RANLIB=$${RANLIB}" \
41646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41647 html) \
41648 || exit 1
41650 @endif target-libada
41652 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41653 maybe-TAGS-target-libada:
41654 @if target-libada
41655 maybe-TAGS-target-libada: TAGS-target-libada
41657 TAGS-target-libada: \
41658 configure-target-libada
41659 @: $(MAKE); $(unstage)
41660 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41661 r=`${PWD_COMMAND}`; export r; \
41662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41663 $(NORMAL_TARGET_EXPORTS) \
41664 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41665 for flag in $(EXTRA_TARGET_FLAGS); do \
41666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41667 done; \
41668 (cd $(TARGET_SUBDIR)/libada && \
41669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41671 "RANLIB=$${RANLIB}" \
41672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41673 TAGS) \
41674 || exit 1
41676 @endif target-libada
41678 .PHONY: maybe-install-info-target-libada install-info-target-libada
41679 maybe-install-info-target-libada:
41680 @if target-libada
41681 maybe-install-info-target-libada: install-info-target-libada
41683 install-info-target-libada: \
41684 configure-target-libada \
41685 info-target-libada
41686 @: $(MAKE); $(unstage)
41687 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41688 r=`${PWD_COMMAND}`; export r; \
41689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41690 $(NORMAL_TARGET_EXPORTS) \
41691 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41692 for flag in $(EXTRA_TARGET_FLAGS); do \
41693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41694 done; \
41695 (cd $(TARGET_SUBDIR)/libada && \
41696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41698 "RANLIB=$${RANLIB}" \
41699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41700 install-info) \
41701 || exit 1
41703 @endif target-libada
41705 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
41706 maybe-install-pdf-target-libada:
41707 @if target-libada
41708 maybe-install-pdf-target-libada: install-pdf-target-libada
41710 install-pdf-target-libada: \
41711 configure-target-libada \
41712 pdf-target-libada
41713 @: $(MAKE); $(unstage)
41714 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41715 r=`${PWD_COMMAND}`; export r; \
41716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41717 $(NORMAL_TARGET_EXPORTS) \
41718 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
41719 for flag in $(EXTRA_TARGET_FLAGS); do \
41720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41721 done; \
41722 (cd $(TARGET_SUBDIR)/libada && \
41723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41725 "RANLIB=$${RANLIB}" \
41726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41727 install-pdf) \
41728 || exit 1
41730 @endif target-libada
41732 .PHONY: maybe-install-html-target-libada install-html-target-libada
41733 maybe-install-html-target-libada:
41734 @if target-libada
41735 maybe-install-html-target-libada: install-html-target-libada
41737 install-html-target-libada: \
41738 configure-target-libada \
41739 html-target-libada
41740 @: $(MAKE); $(unstage)
41741 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41742 r=`${PWD_COMMAND}`; export r; \
41743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41744 $(NORMAL_TARGET_EXPORTS) \
41745 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41746 for flag in $(EXTRA_TARGET_FLAGS); do \
41747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41748 done; \
41749 (cd $(TARGET_SUBDIR)/libada && \
41750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41752 "RANLIB=$${RANLIB}" \
41753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41754 install-html) \
41755 || exit 1
41757 @endif target-libada
41759 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41760 maybe-installcheck-target-libada:
41761 @if target-libada
41762 maybe-installcheck-target-libada: installcheck-target-libada
41764 installcheck-target-libada: \
41765 configure-target-libada
41766 @: $(MAKE); $(unstage)
41767 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41768 r=`${PWD_COMMAND}`; export r; \
41769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41770 $(NORMAL_TARGET_EXPORTS) \
41771 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41772 for flag in $(EXTRA_TARGET_FLAGS); do \
41773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41774 done; \
41775 (cd $(TARGET_SUBDIR)/libada && \
41776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41778 "RANLIB=$${RANLIB}" \
41779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41780 installcheck) \
41781 || exit 1
41783 @endif target-libada
41785 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41786 maybe-mostlyclean-target-libada:
41787 @if target-libada
41788 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41790 mostlyclean-target-libada:
41791 @: $(MAKE); $(unstage)
41792 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41793 r=`${PWD_COMMAND}`; export r; \
41794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41795 $(NORMAL_TARGET_EXPORTS) \
41796 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41797 for flag in $(EXTRA_TARGET_FLAGS); do \
41798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41799 done; \
41800 (cd $(TARGET_SUBDIR)/libada && \
41801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41803 "RANLIB=$${RANLIB}" \
41804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41805 mostlyclean) \
41806 || exit 1
41808 @endif target-libada
41810 .PHONY: maybe-clean-target-libada clean-target-libada
41811 maybe-clean-target-libada:
41812 @if target-libada
41813 maybe-clean-target-libada: clean-target-libada
41815 clean-target-libada:
41816 @: $(MAKE); $(unstage)
41817 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41818 r=`${PWD_COMMAND}`; export r; \
41819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41820 $(NORMAL_TARGET_EXPORTS) \
41821 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41822 for flag in $(EXTRA_TARGET_FLAGS); do \
41823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41824 done; \
41825 (cd $(TARGET_SUBDIR)/libada && \
41826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41828 "RANLIB=$${RANLIB}" \
41829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41830 clean) \
41831 || exit 1
41833 @endif target-libada
41835 .PHONY: maybe-distclean-target-libada distclean-target-libada
41836 maybe-distclean-target-libada:
41837 @if target-libada
41838 maybe-distclean-target-libada: distclean-target-libada
41840 distclean-target-libada:
41841 @: $(MAKE); $(unstage)
41842 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41843 r=`${PWD_COMMAND}`; export r; \
41844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41845 $(NORMAL_TARGET_EXPORTS) \
41846 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41847 for flag in $(EXTRA_TARGET_FLAGS); do \
41848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41849 done; \
41850 (cd $(TARGET_SUBDIR)/libada && \
41851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41853 "RANLIB=$${RANLIB}" \
41854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41855 distclean) \
41856 || exit 1
41858 @endif target-libada
41860 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41861 maybe-maintainer-clean-target-libada:
41862 @if target-libada
41863 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41865 maintainer-clean-target-libada:
41866 @: $(MAKE); $(unstage)
41867 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41868 r=`${PWD_COMMAND}`; export r; \
41869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41870 $(NORMAL_TARGET_EXPORTS) \
41871 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41872 for flag in $(EXTRA_TARGET_FLAGS); do \
41873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41874 done; \
41875 (cd $(TARGET_SUBDIR)/libada && \
41876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41878 "RANLIB=$${RANLIB}" \
41879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41880 maintainer-clean) \
41881 || exit 1
41883 @endif target-libada
41886 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
41887 maybe-configure-target-libcilkrts:
41888 @if gcc-bootstrap
41889 configure-target-libcilkrts: stage_current
41890 @endif gcc-bootstrap
41891 @if target-libcilkrts
41892 maybe-configure-target-libcilkrts: configure-target-libcilkrts
41893 configure-target-libcilkrts:
41894 @r=`${PWD_COMMAND}`; export r; \
41895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41896 echo "Checking multilib configuration for libcilkrts...(1)"; \
41897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
41898 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
41899 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41900 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41901 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
41902 else \
41903 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
41904 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41905 fi; \
41906 else \
41907 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41908 fi; \
41909 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
41910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
41911 $(NORMAL_TARGET_EXPORTS) \
41912 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
41913 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
41914 case $(srcdir) in \
41915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41916 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
41917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41918 esac; \
41919 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
41920 libsrcdir="$$s/libcilkrts"; \
41921 rm -f no-such-file || : ; \
41922 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41923 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41924 --target=${target_alias} $${srcdiroption} \
41925 || exit 1
41926 @endif target-libcilkrts
41929 .PHONY: configure-stage1-target-libcilkrts maybe-configure-stage1-target-libcilkrts
41930 maybe-configure-stage1-target-libcilkrts:
41931 @if target-libcilkrts-bootstrap
41932 maybe-configure-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
41933 configure-stage1-target-libcilkrts:
41934 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41935 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
41936 @r=`${PWD_COMMAND}`; export r; \
41937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41938 TFLAGS="$(STAGE1_TFLAGS)"; \
41939 echo "Checking multilib configuration for libcilkrts...(2)"; \
41940 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
41941 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41942 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41943 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
41944 else \
41945 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
41946 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41947 fi; \
41948 else \
41949 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41950 fi; \
41951 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
41952 $(NORMAL_TARGET_EXPORTS) \
41953 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41954 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41955 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41956 echo Configuring stage 1 in $(TARGET_SUBDIR)/libcilkrts ; \
41957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
41958 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
41959 case $(srcdir) in \
41960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41961 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
41962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41963 esac; \
41964 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
41965 libsrcdir="$$s/libcilkrts"; \
41966 $(SHELL) $${libsrcdir}/configure \
41967 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41968 --target=${target_alias} $${srcdiroption} \
41969 $(STAGE1_CONFIGURE_FLAGS)
41970 @endif target-libcilkrts-bootstrap
41972 .PHONY: configure-stage2-target-libcilkrts maybe-configure-stage2-target-libcilkrts
41973 maybe-configure-stage2-target-libcilkrts:
41974 @if target-libcilkrts-bootstrap
41975 maybe-configure-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
41976 configure-stage2-target-libcilkrts:
41977 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41978 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
41979 @r=`${PWD_COMMAND}`; export r; \
41980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41981 TFLAGS="$(STAGE2_TFLAGS)"; \
41982 echo "Checking multilib configuration for libcilkrts...(3)"; \
41983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
41984 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41985 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
41986 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
41987 else \
41988 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
41989 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41990 fi; \
41991 else \
41992 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
41993 fi; \
41994 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
41995 $(NORMAL_TARGET_EXPORTS) \
41997 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42000 echo Configuring stage 2 in $(TARGET_SUBDIR)/libcilkrts ; \
42001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
42002 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
42003 case $(srcdir) in \
42004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42005 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42007 esac; \
42008 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
42009 libsrcdir="$$s/libcilkrts"; \
42010 $(SHELL) $${libsrcdir}/configure \
42011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42012 --target=${target_alias} $${srcdiroption} \
42013 --with-build-libsubdir=$(HOST_SUBDIR) \
42014 $(STAGE2_CONFIGURE_FLAGS)
42015 @endif target-libcilkrts-bootstrap
42017 .PHONY: configure-stage3-target-libcilkrts maybe-configure-stage3-target-libcilkrts
42018 maybe-configure-stage3-target-libcilkrts:
42019 @if target-libcilkrts-bootstrap
42020 maybe-configure-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
42021 configure-stage3-target-libcilkrts:
42022 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42023 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
42024 @r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 TFLAGS="$(STAGE3_TFLAGS)"; \
42027 echo "Checking multilib configuration for libcilkrts...(4)"; \
42028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
42029 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42030 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42031 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
42032 else \
42033 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
42034 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42035 fi; \
42036 else \
42037 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42038 fi; \
42039 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
42040 $(NORMAL_TARGET_EXPORTS) \
42042 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42045 echo Configuring stage 3 in $(TARGET_SUBDIR)/libcilkrts ; \
42046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
42047 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
42048 case $(srcdir) in \
42049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42050 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42052 esac; \
42053 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
42054 libsrcdir="$$s/libcilkrts"; \
42055 $(SHELL) $${libsrcdir}/configure \
42056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42057 --target=${target_alias} $${srcdiroption} \
42058 --with-build-libsubdir=$(HOST_SUBDIR) \
42059 $(STAGE3_CONFIGURE_FLAGS)
42060 @endif target-libcilkrts-bootstrap
42062 .PHONY: configure-stage4-target-libcilkrts maybe-configure-stage4-target-libcilkrts
42063 maybe-configure-stage4-target-libcilkrts:
42064 @if target-libcilkrts-bootstrap
42065 maybe-configure-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
42066 configure-stage4-target-libcilkrts:
42067 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42068 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
42069 @r=`${PWD_COMMAND}`; export r; \
42070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42071 TFLAGS="$(STAGE4_TFLAGS)"; \
42072 echo "Checking multilib configuration for libcilkrts...(4)"; \
42073 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
42074 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42075 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42076 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
42077 else \
42078 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
42079 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42080 fi; \
42081 else \
42082 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42083 fi; \
42084 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
42085 $(NORMAL_TARGET_EXPORTS) \
42087 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42088 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42089 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42090 echo Configuring stage 4 in $(TARGET_SUBDIR)/libcilkrts ; \
42091 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
42092 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
42093 case $(srcdir) in \
42094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42095 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42097 esac; \
42098 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
42099 libsrcdir="$$s/libcilkrts"; \
42100 $(SHELL) $${libsrcdir}/configure \
42101 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42102 --target=${target_alias} $${srcdiroption} \
42103 --with-build-libsubdir=$(HOST_SUBDIR) \
42104 $(STAGE4_CONFIGURE_FLAGS)
42105 @endif target-libcilkrts-bootstrap
42107 .PHONY: configure-stageprofile-target-libcilkrts maybe-configure-stageprofile-target-libcilkrts
42108 maybe-configure-stageprofile-target-libcilkrts:
42109 @if target-libcilkrts-bootstrap
42110 maybe-configure-stageprofile-target-libcilkrts: configure-stageprofile-target-libcilkrts
42111 configure-stageprofile-target-libcilkrts:
42112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42113 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
42114 @r=`${PWD_COMMAND}`; export r; \
42115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42116 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42117 echo "Checking multilib configuration for libcilkrts...(5)"; \
42118 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
42119 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42120 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42121 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
42122 else \
42123 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
42124 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42125 fi; \
42126 else \
42127 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42128 fi; \
42129 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
42130 $(NORMAL_TARGET_EXPORTS) \
42132 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42133 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42134 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42135 echo Configuring stage profile in $(TARGET_SUBDIR)/libcilkrts ; \
42136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
42137 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
42138 case $(srcdir) in \
42139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42140 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42142 esac; \
42143 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
42144 libsrcdir="$$s/libcilkrts"; \
42145 $(SHELL) $${libsrcdir}/configure \
42146 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42147 --target=${target_alias} $${srcdiroption} \
42148 --with-build-libsubdir=$(HOST_SUBDIR) \
42149 $(STAGEprofile_CONFIGURE_FLAGS)
42150 @endif target-libcilkrts-bootstrap
42152 .PHONY: configure-stagefeedback-target-libcilkrts maybe-configure-stagefeedback-target-libcilkrts
42153 maybe-configure-stagefeedback-target-libcilkrts:
42154 @if target-libcilkrts-bootstrap
42155 maybe-configure-stagefeedback-target-libcilkrts: configure-stagefeedback-target-libcilkrts
42156 configure-stagefeedback-target-libcilkrts:
42157 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42158 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts
42159 @r=`${PWD_COMMAND}`; export r; \
42160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42161 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42162 echo "Checking multilib configuration for libcilkrts...(6)"; \
42163 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
42164 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42165 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
42166 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
42167 else \
42168 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
42169 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42170 fi; \
42171 else \
42172 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
42173 fi; \
42174 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
42175 $(NORMAL_TARGET_EXPORTS) \
42177 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42178 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42179 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42180 echo Configuring stage feedback in $(TARGET_SUBDIR)/libcilkrts ; \
42181 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
42182 cd $(TARGET_SUBDIR)/libcilkrts || exit 1; \
42183 case $(srcdir) in \
42184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42185 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
42186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42187 esac; \
42188 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
42189 libsrcdir="$$s/libcilkrts"; \
42190 $(SHELL) $${libsrcdir}/configure \
42191 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42192 --target=${target_alias} $${srcdiroption} \
42193 --with-build-libsubdir=$(HOST_SUBDIR) \
42194 $(STAGEfeedback_CONFIGURE_FLAGS)
42195 @endif target-libcilkrts-bootstrap
42201 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
42202 maybe-all-target-libcilkrts:
42203 @if gcc-bootstrap
42204 all-target-libcilkrts: stage_current
42205 @endif gcc-bootstrap
42206 @if target-libcilkrts
42207 TARGET-target-libcilkrts=all
42208 maybe-all-target-libcilkrts: all-target-libcilkrts
42209 all-target-libcilkrts: configure-target-libcilkrts
42210 @r=`${PWD_COMMAND}`; export r; \
42211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42212 $(NORMAL_TARGET_EXPORTS) \
42213 (cd $(TARGET_SUBDIR)/libcilkrts && \
42214 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42215 $(TARGET-target-libcilkrts))
42216 @endif target-libcilkrts
42220 .PHONY: all-stage1-target-libcilkrts maybe-all-stage1-target-libcilkrts
42221 .PHONY: clean-stage1-target-libcilkrts maybe-clean-stage1-target-libcilkrts
42222 maybe-all-stage1-target-libcilkrts:
42223 maybe-clean-stage1-target-libcilkrts:
42224 @if target-libcilkrts-bootstrap
42225 maybe-all-stage1-target-libcilkrts: all-stage1-target-libcilkrts
42226 all-stage1: all-stage1-target-libcilkrts
42227 TARGET-stage1-target-libcilkrts = $(TARGET-target-libcilkrts)
42228 all-stage1-target-libcilkrts: configure-stage1-target-libcilkrts
42229 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42230 @r=`${PWD_COMMAND}`; export r; \
42231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42232 TFLAGS="$(STAGE1_TFLAGS)"; \
42233 $(NORMAL_TARGET_EXPORTS) \
42234 cd $(TARGET_SUBDIR)/libcilkrts && \
42235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42236 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42237 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42238 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42242 $(EXTRA_TARGET_FLAGS) \
42243 TFLAGS="$(STAGE1_TFLAGS)" \
42244 $(TARGET-stage1-target-libcilkrts)
42246 maybe-clean-stage1-target-libcilkrts: clean-stage1-target-libcilkrts
42247 clean-stage1: clean-stage1-target-libcilkrts
42248 clean-stage1-target-libcilkrts:
42249 @if [ $(current_stage) = stage1 ]; then \
42250 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42251 else \
42252 [ -f $(TARGET_SUBDIR)/stage1-libcilkrts/Makefile ] || exit 0; \
42253 $(MAKE) stage1-start; \
42254 fi; \
42255 cd $(TARGET_SUBDIR)/libcilkrts && \
42256 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42257 clean
42258 @endif target-libcilkrts-bootstrap
42261 .PHONY: all-stage2-target-libcilkrts maybe-all-stage2-target-libcilkrts
42262 .PHONY: clean-stage2-target-libcilkrts maybe-clean-stage2-target-libcilkrts
42263 maybe-all-stage2-target-libcilkrts:
42264 maybe-clean-stage2-target-libcilkrts:
42265 @if target-libcilkrts-bootstrap
42266 maybe-all-stage2-target-libcilkrts: all-stage2-target-libcilkrts
42267 all-stage2: all-stage2-target-libcilkrts
42268 TARGET-stage2-target-libcilkrts = $(TARGET-target-libcilkrts)
42269 all-stage2-target-libcilkrts: configure-stage2-target-libcilkrts
42270 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42271 @r=`${PWD_COMMAND}`; export r; \
42272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42273 TFLAGS="$(STAGE2_TFLAGS)"; \
42274 $(NORMAL_TARGET_EXPORTS) \
42276 cd $(TARGET_SUBDIR)/libcilkrts && \
42277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42278 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42284 $(EXTRA_TARGET_FLAGS) \
42285 TFLAGS="$(STAGE2_TFLAGS)" \
42286 $(TARGET-stage2-target-libcilkrts)
42288 maybe-clean-stage2-target-libcilkrts: clean-stage2-target-libcilkrts
42289 clean-stage2: clean-stage2-target-libcilkrts
42290 clean-stage2-target-libcilkrts:
42291 @if [ $(current_stage) = stage2 ]; then \
42292 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42293 else \
42294 [ -f $(TARGET_SUBDIR)/stage2-libcilkrts/Makefile ] || exit 0; \
42295 $(MAKE) stage2-start; \
42296 fi; \
42297 cd $(TARGET_SUBDIR)/libcilkrts && \
42298 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42300 clean
42301 @endif target-libcilkrts-bootstrap
42304 .PHONY: all-stage3-target-libcilkrts maybe-all-stage3-target-libcilkrts
42305 .PHONY: clean-stage3-target-libcilkrts maybe-clean-stage3-target-libcilkrts
42306 maybe-all-stage3-target-libcilkrts:
42307 maybe-clean-stage3-target-libcilkrts:
42308 @if target-libcilkrts-bootstrap
42309 maybe-all-stage3-target-libcilkrts: all-stage3-target-libcilkrts
42310 all-stage3: all-stage3-target-libcilkrts
42311 TARGET-stage3-target-libcilkrts = $(TARGET-target-libcilkrts)
42312 all-stage3-target-libcilkrts: configure-stage3-target-libcilkrts
42313 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42314 @r=`${PWD_COMMAND}`; export r; \
42315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42316 TFLAGS="$(STAGE3_TFLAGS)"; \
42317 $(NORMAL_TARGET_EXPORTS) \
42319 cd $(TARGET_SUBDIR)/libcilkrts && \
42320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42321 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42322 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42323 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42327 $(EXTRA_TARGET_FLAGS) \
42328 TFLAGS="$(STAGE3_TFLAGS)" \
42329 $(TARGET-stage3-target-libcilkrts)
42331 maybe-clean-stage3-target-libcilkrts: clean-stage3-target-libcilkrts
42332 clean-stage3: clean-stage3-target-libcilkrts
42333 clean-stage3-target-libcilkrts:
42334 @if [ $(current_stage) = stage3 ]; then \
42335 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42336 else \
42337 [ -f $(TARGET_SUBDIR)/stage3-libcilkrts/Makefile ] || exit 0; \
42338 $(MAKE) stage3-start; \
42339 fi; \
42340 cd $(TARGET_SUBDIR)/libcilkrts && \
42341 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42343 clean
42344 @endif target-libcilkrts-bootstrap
42347 .PHONY: all-stage4-target-libcilkrts maybe-all-stage4-target-libcilkrts
42348 .PHONY: clean-stage4-target-libcilkrts maybe-clean-stage4-target-libcilkrts
42349 maybe-all-stage4-target-libcilkrts:
42350 maybe-clean-stage4-target-libcilkrts:
42351 @if target-libcilkrts-bootstrap
42352 maybe-all-stage4-target-libcilkrts: all-stage4-target-libcilkrts
42353 all-stage4: all-stage4-target-libcilkrts
42354 TARGET-stage4-target-libcilkrts = $(TARGET-target-libcilkrts)
42355 all-stage4-target-libcilkrts: configure-stage4-target-libcilkrts
42356 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42357 @r=`${PWD_COMMAND}`; export r; \
42358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42359 TFLAGS="$(STAGE4_TFLAGS)"; \
42360 $(NORMAL_TARGET_EXPORTS) \
42362 cd $(TARGET_SUBDIR)/libcilkrts && \
42363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42364 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42365 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42366 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42370 $(EXTRA_TARGET_FLAGS) \
42371 TFLAGS="$(STAGE4_TFLAGS)" \
42372 $(TARGET-stage4-target-libcilkrts)
42374 maybe-clean-stage4-target-libcilkrts: clean-stage4-target-libcilkrts
42375 clean-stage4: clean-stage4-target-libcilkrts
42376 clean-stage4-target-libcilkrts:
42377 @if [ $(current_stage) = stage4 ]; then \
42378 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42379 else \
42380 [ -f $(TARGET_SUBDIR)/stage4-libcilkrts/Makefile ] || exit 0; \
42381 $(MAKE) stage4-start; \
42382 fi; \
42383 cd $(TARGET_SUBDIR)/libcilkrts && \
42384 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42386 clean
42387 @endif target-libcilkrts-bootstrap
42390 .PHONY: all-stageprofile-target-libcilkrts maybe-all-stageprofile-target-libcilkrts
42391 .PHONY: clean-stageprofile-target-libcilkrts maybe-clean-stageprofile-target-libcilkrts
42392 maybe-all-stageprofile-target-libcilkrts:
42393 maybe-clean-stageprofile-target-libcilkrts:
42394 @if target-libcilkrts-bootstrap
42395 maybe-all-stageprofile-target-libcilkrts: all-stageprofile-target-libcilkrts
42396 all-stageprofile: all-stageprofile-target-libcilkrts
42397 TARGET-stageprofile-target-libcilkrts = $(TARGET-target-libcilkrts)
42398 all-stageprofile-target-libcilkrts: configure-stageprofile-target-libcilkrts
42399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42400 @r=`${PWD_COMMAND}`; export r; \
42401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42402 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42403 $(NORMAL_TARGET_EXPORTS) \
42405 cd $(TARGET_SUBDIR)/libcilkrts && \
42406 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42407 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42413 $(EXTRA_TARGET_FLAGS) \
42414 TFLAGS="$(STAGEprofile_TFLAGS)" \
42415 $(TARGET-stageprofile-target-libcilkrts)
42417 maybe-clean-stageprofile-target-libcilkrts: clean-stageprofile-target-libcilkrts
42418 clean-stageprofile: clean-stageprofile-target-libcilkrts
42419 clean-stageprofile-target-libcilkrts:
42420 @if [ $(current_stage) = stageprofile ]; then \
42421 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42422 else \
42423 [ -f $(TARGET_SUBDIR)/stageprofile-libcilkrts/Makefile ] || exit 0; \
42424 $(MAKE) stageprofile-start; \
42425 fi; \
42426 cd $(TARGET_SUBDIR)/libcilkrts && \
42427 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42429 clean
42430 @endif target-libcilkrts-bootstrap
42433 .PHONY: all-stagefeedback-target-libcilkrts maybe-all-stagefeedback-target-libcilkrts
42434 .PHONY: clean-stagefeedback-target-libcilkrts maybe-clean-stagefeedback-target-libcilkrts
42435 maybe-all-stagefeedback-target-libcilkrts:
42436 maybe-clean-stagefeedback-target-libcilkrts:
42437 @if target-libcilkrts-bootstrap
42438 maybe-all-stagefeedback-target-libcilkrts: all-stagefeedback-target-libcilkrts
42439 all-stagefeedback: all-stagefeedback-target-libcilkrts
42440 TARGET-stagefeedback-target-libcilkrts = $(TARGET-target-libcilkrts)
42441 all-stagefeedback-target-libcilkrts: configure-stagefeedback-target-libcilkrts
42442 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42443 @r=`${PWD_COMMAND}`; export r; \
42444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42445 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42446 $(NORMAL_TARGET_EXPORTS) \
42448 cd $(TARGET_SUBDIR)/libcilkrts && \
42449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42456 $(EXTRA_TARGET_FLAGS) \
42457 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42458 $(TARGET-stagefeedback-target-libcilkrts)
42460 maybe-clean-stagefeedback-target-libcilkrts: clean-stagefeedback-target-libcilkrts
42461 clean-stagefeedback: clean-stagefeedback-target-libcilkrts
42462 clean-stagefeedback-target-libcilkrts:
42463 @if [ $(current_stage) = stagefeedback ]; then \
42464 [ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
42465 else \
42466 [ -f $(TARGET_SUBDIR)/stagefeedback-libcilkrts/Makefile ] || exit 0; \
42467 $(MAKE) stagefeedback-start; \
42468 fi; \
42469 cd $(TARGET_SUBDIR)/libcilkrts && \
42470 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42472 clean
42473 @endif target-libcilkrts-bootstrap
42480 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
42481 maybe-check-target-libcilkrts:
42482 @if target-libcilkrts
42483 maybe-check-target-libcilkrts: check-target-libcilkrts
42485 check-target-libcilkrts:
42486 @: $(MAKE); $(unstage)
42487 @r=`${PWD_COMMAND}`; export r; \
42488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42489 $(NORMAL_TARGET_EXPORTS) \
42490 (cd $(TARGET_SUBDIR)/libcilkrts && \
42491 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42493 @endif target-libcilkrts
42495 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
42496 maybe-install-target-libcilkrts:
42497 @if target-libcilkrts
42498 maybe-install-target-libcilkrts: install-target-libcilkrts
42500 install-target-libcilkrts: installdirs
42501 @: $(MAKE); $(unstage)
42502 @r=`${PWD_COMMAND}`; export r; \
42503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42504 $(NORMAL_TARGET_EXPORTS) \
42505 (cd $(TARGET_SUBDIR)/libcilkrts && \
42506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42508 @endif target-libcilkrts
42510 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
42511 maybe-install-strip-target-libcilkrts:
42512 @if target-libcilkrts
42513 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
42515 install-strip-target-libcilkrts: installdirs
42516 @: $(MAKE); $(unstage)
42517 @r=`${PWD_COMMAND}`; export r; \
42518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42519 $(NORMAL_TARGET_EXPORTS) \
42520 (cd $(TARGET_SUBDIR)/libcilkrts && \
42521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42523 @endif target-libcilkrts
42525 # Other targets (info, dvi, pdf, etc.)
42527 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
42528 maybe-info-target-libcilkrts:
42529 @if target-libcilkrts
42530 maybe-info-target-libcilkrts: info-target-libcilkrts
42532 info-target-libcilkrts: \
42533 configure-target-libcilkrts
42534 @: $(MAKE); $(unstage)
42535 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42536 r=`${PWD_COMMAND}`; export r; \
42537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42538 $(NORMAL_TARGET_EXPORTS) \
42539 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
42540 for flag in $(EXTRA_TARGET_FLAGS); do \
42541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42542 done; \
42543 (cd $(TARGET_SUBDIR)/libcilkrts && \
42544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42546 "RANLIB=$${RANLIB}" \
42547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42548 info) \
42549 || exit 1
42551 @endif target-libcilkrts
42553 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
42554 maybe-dvi-target-libcilkrts:
42555 @if target-libcilkrts
42556 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
42558 dvi-target-libcilkrts: \
42559 configure-target-libcilkrts
42560 @: $(MAKE); $(unstage)
42561 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42562 r=`${PWD_COMMAND}`; export r; \
42563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42564 $(NORMAL_TARGET_EXPORTS) \
42565 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
42566 for flag in $(EXTRA_TARGET_FLAGS); do \
42567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42568 done; \
42569 (cd $(TARGET_SUBDIR)/libcilkrts && \
42570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42572 "RANLIB=$${RANLIB}" \
42573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42574 dvi) \
42575 || exit 1
42577 @endif target-libcilkrts
42579 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
42580 maybe-pdf-target-libcilkrts:
42581 @if target-libcilkrts
42582 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
42584 pdf-target-libcilkrts: \
42585 configure-target-libcilkrts
42586 @: $(MAKE); $(unstage)
42587 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42588 r=`${PWD_COMMAND}`; export r; \
42589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42590 $(NORMAL_TARGET_EXPORTS) \
42591 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
42592 for flag in $(EXTRA_TARGET_FLAGS); do \
42593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42594 done; \
42595 (cd $(TARGET_SUBDIR)/libcilkrts && \
42596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42598 "RANLIB=$${RANLIB}" \
42599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42600 pdf) \
42601 || exit 1
42603 @endif target-libcilkrts
42605 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
42606 maybe-html-target-libcilkrts:
42607 @if target-libcilkrts
42608 maybe-html-target-libcilkrts: html-target-libcilkrts
42610 html-target-libcilkrts: \
42611 configure-target-libcilkrts
42612 @: $(MAKE); $(unstage)
42613 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42614 r=`${PWD_COMMAND}`; export r; \
42615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42616 $(NORMAL_TARGET_EXPORTS) \
42617 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
42618 for flag in $(EXTRA_TARGET_FLAGS); do \
42619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42620 done; \
42621 (cd $(TARGET_SUBDIR)/libcilkrts && \
42622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42624 "RANLIB=$${RANLIB}" \
42625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42626 html) \
42627 || exit 1
42629 @endif target-libcilkrts
42631 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
42632 maybe-TAGS-target-libcilkrts:
42633 @if target-libcilkrts
42634 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
42636 TAGS-target-libcilkrts: \
42637 configure-target-libcilkrts
42638 @: $(MAKE); $(unstage)
42639 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42640 r=`${PWD_COMMAND}`; export r; \
42641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42642 $(NORMAL_TARGET_EXPORTS) \
42643 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
42644 for flag in $(EXTRA_TARGET_FLAGS); do \
42645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42646 done; \
42647 (cd $(TARGET_SUBDIR)/libcilkrts && \
42648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42650 "RANLIB=$${RANLIB}" \
42651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42652 TAGS) \
42653 || exit 1
42655 @endif target-libcilkrts
42657 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
42658 maybe-install-info-target-libcilkrts:
42659 @if target-libcilkrts
42660 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
42662 install-info-target-libcilkrts: \
42663 configure-target-libcilkrts \
42664 info-target-libcilkrts
42665 @: $(MAKE); $(unstage)
42666 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42667 r=`${PWD_COMMAND}`; export r; \
42668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42669 $(NORMAL_TARGET_EXPORTS) \
42670 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
42671 for flag in $(EXTRA_TARGET_FLAGS); do \
42672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42673 done; \
42674 (cd $(TARGET_SUBDIR)/libcilkrts && \
42675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42677 "RANLIB=$${RANLIB}" \
42678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42679 install-info) \
42680 || exit 1
42682 @endif target-libcilkrts
42684 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
42685 maybe-install-pdf-target-libcilkrts:
42686 @if target-libcilkrts
42687 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
42689 install-pdf-target-libcilkrts: \
42690 configure-target-libcilkrts \
42691 pdf-target-libcilkrts
42692 @: $(MAKE); $(unstage)
42693 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42694 r=`${PWD_COMMAND}`; export r; \
42695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42696 $(NORMAL_TARGET_EXPORTS) \
42697 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
42698 for flag in $(EXTRA_TARGET_FLAGS); do \
42699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42700 done; \
42701 (cd $(TARGET_SUBDIR)/libcilkrts && \
42702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42704 "RANLIB=$${RANLIB}" \
42705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42706 install-pdf) \
42707 || exit 1
42709 @endif target-libcilkrts
42711 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
42712 maybe-install-html-target-libcilkrts:
42713 @if target-libcilkrts
42714 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
42716 install-html-target-libcilkrts: \
42717 configure-target-libcilkrts \
42718 html-target-libcilkrts
42719 @: $(MAKE); $(unstage)
42720 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42721 r=`${PWD_COMMAND}`; export r; \
42722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42723 $(NORMAL_TARGET_EXPORTS) \
42724 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
42725 for flag in $(EXTRA_TARGET_FLAGS); do \
42726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42727 done; \
42728 (cd $(TARGET_SUBDIR)/libcilkrts && \
42729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42731 "RANLIB=$${RANLIB}" \
42732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42733 install-html) \
42734 || exit 1
42736 @endif target-libcilkrts
42738 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
42739 maybe-installcheck-target-libcilkrts:
42740 @if target-libcilkrts
42741 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
42743 installcheck-target-libcilkrts: \
42744 configure-target-libcilkrts
42745 @: $(MAKE); $(unstage)
42746 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42747 r=`${PWD_COMMAND}`; export r; \
42748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42749 $(NORMAL_TARGET_EXPORTS) \
42750 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
42751 for flag in $(EXTRA_TARGET_FLAGS); do \
42752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42753 done; \
42754 (cd $(TARGET_SUBDIR)/libcilkrts && \
42755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42757 "RANLIB=$${RANLIB}" \
42758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42759 installcheck) \
42760 || exit 1
42762 @endif target-libcilkrts
42764 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
42765 maybe-mostlyclean-target-libcilkrts:
42766 @if target-libcilkrts
42767 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
42769 mostlyclean-target-libcilkrts:
42770 @: $(MAKE); $(unstage)
42771 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42772 r=`${PWD_COMMAND}`; export r; \
42773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42774 $(NORMAL_TARGET_EXPORTS) \
42775 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
42776 for flag in $(EXTRA_TARGET_FLAGS); do \
42777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42778 done; \
42779 (cd $(TARGET_SUBDIR)/libcilkrts && \
42780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42782 "RANLIB=$${RANLIB}" \
42783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42784 mostlyclean) \
42785 || exit 1
42787 @endif target-libcilkrts
42789 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
42790 maybe-clean-target-libcilkrts:
42791 @if target-libcilkrts
42792 maybe-clean-target-libcilkrts: clean-target-libcilkrts
42794 clean-target-libcilkrts:
42795 @: $(MAKE); $(unstage)
42796 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42797 r=`${PWD_COMMAND}`; export r; \
42798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42799 $(NORMAL_TARGET_EXPORTS) \
42800 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
42801 for flag in $(EXTRA_TARGET_FLAGS); do \
42802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42803 done; \
42804 (cd $(TARGET_SUBDIR)/libcilkrts && \
42805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42807 "RANLIB=$${RANLIB}" \
42808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42809 clean) \
42810 || exit 1
42812 @endif target-libcilkrts
42814 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
42815 maybe-distclean-target-libcilkrts:
42816 @if target-libcilkrts
42817 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
42819 distclean-target-libcilkrts:
42820 @: $(MAKE); $(unstage)
42821 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42822 r=`${PWD_COMMAND}`; export r; \
42823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42824 $(NORMAL_TARGET_EXPORTS) \
42825 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
42826 for flag in $(EXTRA_TARGET_FLAGS); do \
42827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42828 done; \
42829 (cd $(TARGET_SUBDIR)/libcilkrts && \
42830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42832 "RANLIB=$${RANLIB}" \
42833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42834 distclean) \
42835 || exit 1
42837 @endif target-libcilkrts
42839 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
42840 maybe-maintainer-clean-target-libcilkrts:
42841 @if target-libcilkrts
42842 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
42844 maintainer-clean-target-libcilkrts:
42845 @: $(MAKE); $(unstage)
42846 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
42847 r=`${PWD_COMMAND}`; export r; \
42848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42849 $(NORMAL_TARGET_EXPORTS) \
42850 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
42851 for flag in $(EXTRA_TARGET_FLAGS); do \
42852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42853 done; \
42854 (cd $(TARGET_SUBDIR)/libcilkrts && \
42855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42857 "RANLIB=$${RANLIB}" \
42858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42859 maintainer-clean) \
42860 || exit 1
42862 @endif target-libcilkrts
42866 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
42867 maybe-configure-target-libgomp:
42868 @if gcc-bootstrap
42869 configure-target-libgomp: stage_current
42870 @endif gcc-bootstrap
42871 @if target-libgomp
42872 maybe-configure-target-libgomp: configure-target-libgomp
42873 configure-target-libgomp:
42874 @r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 echo "Checking multilib configuration for libgomp..."; \
42877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42878 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42879 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42880 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42881 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42882 else \
42883 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42884 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42885 fi; \
42886 else \
42887 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42888 fi; \
42889 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42891 $(NORMAL_TARGET_EXPORTS) \
42892 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
42893 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
42894 case $(srcdir) in \
42895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42896 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42898 esac; \
42899 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42900 libsrcdir="$$s/libgomp"; \
42901 rm -f no-such-file || : ; \
42902 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42903 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42904 --target=${target_alias} $${srcdiroption} \
42905 || exit 1
42906 @endif target-libgomp
42910 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
42911 maybe-configure-stage1-target-libgomp:
42912 @if target-libgomp-bootstrap
42913 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
42914 configure-stage1-target-libgomp:
42915 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42916 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42917 @r=`${PWD_COMMAND}`; export r; \
42918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42919 TFLAGS="$(STAGE1_TFLAGS)"; \
42920 echo "Checking multilib configuration for libgomp..."; \
42921 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42922 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42923 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42924 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42925 else \
42926 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42927 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42928 fi; \
42929 else \
42930 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42931 fi; \
42932 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42933 $(NORMAL_TARGET_EXPORTS) \
42934 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42935 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42936 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42937 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
42938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42939 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42940 case $(srcdir) in \
42941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42942 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42944 esac; \
42945 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42946 libsrcdir="$$s/libgomp"; \
42947 $(SHELL) $${libsrcdir}/configure \
42948 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42949 --target=${target_alias} $${srcdiroption} \
42950 $(STAGE1_CONFIGURE_FLAGS)
42951 @endif target-libgomp-bootstrap
42953 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
42954 maybe-configure-stage2-target-libgomp:
42955 @if target-libgomp-bootstrap
42956 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
42957 configure-stage2-target-libgomp:
42958 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
42960 @r=`${PWD_COMMAND}`; export r; \
42961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42962 TFLAGS="$(STAGE2_TFLAGS)"; \
42963 echo "Checking multilib configuration for libgomp..."; \
42964 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
42965 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42966 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
42967 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
42968 else \
42969 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
42970 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42971 fi; \
42972 else \
42973 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
42974 fi; \
42975 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
42976 $(NORMAL_TARGET_EXPORTS) \
42978 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42981 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
42982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
42983 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
42984 case $(srcdir) in \
42985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42986 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
42987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42988 esac; \
42989 srcdiroption="--srcdir=$${topdir}/libgomp"; \
42990 libsrcdir="$$s/libgomp"; \
42991 $(SHELL) $${libsrcdir}/configure \
42992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42993 --target=${target_alias} $${srcdiroption} \
42994 --with-build-libsubdir=$(HOST_SUBDIR) \
42995 $(STAGE2_CONFIGURE_FLAGS)
42996 @endif target-libgomp-bootstrap
42998 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
42999 maybe-configure-stage3-target-libgomp:
43000 @if target-libgomp-bootstrap
43001 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
43002 configure-stage3-target-libgomp:
43003 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43004 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43005 @r=`${PWD_COMMAND}`; export r; \
43006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43007 TFLAGS="$(STAGE3_TFLAGS)"; \
43008 echo "Checking multilib configuration for libgomp..."; \
43009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43010 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43011 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43012 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43013 else \
43014 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43015 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43016 fi; \
43017 else \
43018 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43019 fi; \
43020 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43021 $(NORMAL_TARGET_EXPORTS) \
43023 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43024 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43025 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43026 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
43027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43028 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43029 case $(srcdir) in \
43030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43031 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43033 esac; \
43034 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43035 libsrcdir="$$s/libgomp"; \
43036 $(SHELL) $${libsrcdir}/configure \
43037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43038 --target=${target_alias} $${srcdiroption} \
43039 --with-build-libsubdir=$(HOST_SUBDIR) \
43040 $(STAGE3_CONFIGURE_FLAGS)
43041 @endif target-libgomp-bootstrap
43043 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
43044 maybe-configure-stage4-target-libgomp:
43045 @if target-libgomp-bootstrap
43046 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
43047 configure-stage4-target-libgomp:
43048 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43049 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43050 @r=`${PWD_COMMAND}`; export r; \
43051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43052 TFLAGS="$(STAGE4_TFLAGS)"; \
43053 echo "Checking multilib configuration for libgomp..."; \
43054 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43055 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43056 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43057 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43058 else \
43059 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43060 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43061 fi; \
43062 else \
43063 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43064 fi; \
43065 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43066 $(NORMAL_TARGET_EXPORTS) \
43068 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43071 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
43072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43073 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43074 case $(srcdir) in \
43075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43076 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43078 esac; \
43079 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43080 libsrcdir="$$s/libgomp"; \
43081 $(SHELL) $${libsrcdir}/configure \
43082 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43083 --target=${target_alias} $${srcdiroption} \
43084 --with-build-libsubdir=$(HOST_SUBDIR) \
43085 $(STAGE4_CONFIGURE_FLAGS)
43086 @endif target-libgomp-bootstrap
43088 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
43089 maybe-configure-stageprofile-target-libgomp:
43090 @if target-libgomp-bootstrap
43091 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
43092 configure-stageprofile-target-libgomp:
43093 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43094 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43095 @r=`${PWD_COMMAND}`; export r; \
43096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43097 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43098 echo "Checking multilib configuration for libgomp..."; \
43099 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43100 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43101 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43102 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43103 else \
43104 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43105 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43106 fi; \
43107 else \
43108 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43109 fi; \
43110 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43111 $(NORMAL_TARGET_EXPORTS) \
43113 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43114 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43115 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43116 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
43117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43118 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43119 case $(srcdir) in \
43120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43121 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43123 esac; \
43124 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43125 libsrcdir="$$s/libgomp"; \
43126 $(SHELL) $${libsrcdir}/configure \
43127 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43128 --target=${target_alias} $${srcdiroption} \
43129 --with-build-libsubdir=$(HOST_SUBDIR) \
43130 $(STAGEprofile_CONFIGURE_FLAGS)
43131 @endif target-libgomp-bootstrap
43133 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
43134 maybe-configure-stagefeedback-target-libgomp:
43135 @if target-libgomp-bootstrap
43136 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
43137 configure-stagefeedback-target-libgomp:
43138 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43139 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43140 @r=`${PWD_COMMAND}`; export r; \
43141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43142 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43143 echo "Checking multilib configuration for libgomp..."; \
43144 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43145 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43146 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43147 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43148 else \
43149 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43150 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43151 fi; \
43152 else \
43153 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43154 fi; \
43155 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43156 $(NORMAL_TARGET_EXPORTS) \
43158 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43159 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43160 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43161 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
43162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43163 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43164 case $(srcdir) in \
43165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43166 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43168 esac; \
43169 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43170 libsrcdir="$$s/libgomp"; \
43171 $(SHELL) $${libsrcdir}/configure \
43172 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43173 --target=${target_alias} $${srcdiroption} \
43174 --with-build-libsubdir=$(HOST_SUBDIR) \
43175 $(STAGEfeedback_CONFIGURE_FLAGS)
43176 @endif target-libgomp-bootstrap
43182 .PHONY: all-target-libgomp maybe-all-target-libgomp
43183 maybe-all-target-libgomp:
43184 @if gcc-bootstrap
43185 all-target-libgomp: stage_current
43186 @endif gcc-bootstrap
43187 @if target-libgomp
43188 TARGET-target-libgomp=all
43189 maybe-all-target-libgomp: all-target-libgomp
43190 all-target-libgomp: configure-target-libgomp
43191 @r=`${PWD_COMMAND}`; export r; \
43192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43193 $(NORMAL_TARGET_EXPORTS) \
43194 (cd $(TARGET_SUBDIR)/libgomp && \
43195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43196 $(TARGET-target-libgomp))
43197 @endif target-libgomp
43201 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
43202 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
43203 maybe-all-stage1-target-libgomp:
43204 maybe-clean-stage1-target-libgomp:
43205 @if target-libgomp-bootstrap
43206 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
43207 all-stage1: all-stage1-target-libgomp
43208 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
43209 all-stage1-target-libgomp: configure-stage1-target-libgomp
43210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43211 @r=`${PWD_COMMAND}`; export r; \
43212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43213 TFLAGS="$(STAGE1_TFLAGS)"; \
43214 $(NORMAL_TARGET_EXPORTS) \
43215 cd $(TARGET_SUBDIR)/libgomp && \
43216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43217 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43218 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43219 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43220 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43221 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43222 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43223 $(EXTRA_TARGET_FLAGS) \
43225 TFLAGS="$(STAGE1_TFLAGS)" \
43226 $(TARGET-stage1-target-libgomp)
43228 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
43229 clean-stage1: clean-stage1-target-libgomp
43230 clean-stage1-target-libgomp:
43231 @if [ $(current_stage) = stage1 ]; then \
43232 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43233 else \
43234 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
43235 $(MAKE) stage1-start; \
43236 fi; \
43237 cd $(TARGET_SUBDIR)/libgomp && \
43238 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43239 clean
43240 @endif target-libgomp-bootstrap
43243 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
43244 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
43245 maybe-all-stage2-target-libgomp:
43246 maybe-clean-stage2-target-libgomp:
43247 @if target-libgomp-bootstrap
43248 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
43249 all-stage2: all-stage2-target-libgomp
43250 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
43251 all-stage2-target-libgomp: configure-stage2-target-libgomp
43252 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43253 @r=`${PWD_COMMAND}`; export r; \
43254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43255 TFLAGS="$(STAGE2_TFLAGS)"; \
43256 $(NORMAL_TARGET_EXPORTS) \
43258 cd $(TARGET_SUBDIR)/libgomp && \
43259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43260 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43261 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43262 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43266 $(EXTRA_TARGET_FLAGS) \
43267 TFLAGS="$(STAGE2_TFLAGS)" \
43268 $(TARGET-stage2-target-libgomp)
43270 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
43271 clean-stage2: clean-stage2-target-libgomp
43272 clean-stage2-target-libgomp:
43273 @if [ $(current_stage) = stage2 ]; then \
43274 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43275 else \
43276 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
43277 $(MAKE) stage2-start; \
43278 fi; \
43279 cd $(TARGET_SUBDIR)/libgomp && \
43280 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43281 @endif target-libgomp-bootstrap
43284 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
43285 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
43286 maybe-all-stage3-target-libgomp:
43287 maybe-clean-stage3-target-libgomp:
43288 @if target-libgomp-bootstrap
43289 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
43290 all-stage3: all-stage3-target-libgomp
43291 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
43292 all-stage3-target-libgomp: configure-stage3-target-libgomp
43293 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43294 @r=`${PWD_COMMAND}`; export r; \
43295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43296 TFLAGS="$(STAGE3_TFLAGS)"; \
43297 $(NORMAL_TARGET_EXPORTS) \
43299 cd $(TARGET_SUBDIR)/libgomp && \
43300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43301 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43302 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43303 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43307 $(EXTRA_TARGET_FLAGS) \
43308 TFLAGS="$(STAGE3_TFLAGS)" \
43309 $(TARGET-stage3-target-libgomp)
43311 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
43312 clean-stage3: clean-stage3-target-libgomp
43313 clean-stage3-target-libgomp:
43314 @if [ $(current_stage) = stage3 ]; then \
43315 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43316 else \
43317 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
43318 $(MAKE) stage3-start; \
43319 fi; \
43320 cd $(TARGET_SUBDIR)/libgomp && \
43321 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43322 @endif target-libgomp-bootstrap
43325 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
43326 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
43327 maybe-all-stage4-target-libgomp:
43328 maybe-clean-stage4-target-libgomp:
43329 @if target-libgomp-bootstrap
43330 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
43331 all-stage4: all-stage4-target-libgomp
43332 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
43333 all-stage4-target-libgomp: configure-stage4-target-libgomp
43334 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43335 @r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43337 TFLAGS="$(STAGE4_TFLAGS)"; \
43338 $(NORMAL_TARGET_EXPORTS) \
43340 cd $(TARGET_SUBDIR)/libgomp && \
43341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43342 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43348 $(EXTRA_TARGET_FLAGS) \
43349 TFLAGS="$(STAGE4_TFLAGS)" \
43350 $(TARGET-stage4-target-libgomp)
43352 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
43353 clean-stage4: clean-stage4-target-libgomp
43354 clean-stage4-target-libgomp:
43355 @if [ $(current_stage) = stage4 ]; then \
43356 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43357 else \
43358 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
43359 $(MAKE) stage4-start; \
43360 fi; \
43361 cd $(TARGET_SUBDIR)/libgomp && \
43362 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43363 @endif target-libgomp-bootstrap
43366 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
43367 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
43368 maybe-all-stageprofile-target-libgomp:
43369 maybe-clean-stageprofile-target-libgomp:
43370 @if target-libgomp-bootstrap
43371 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
43372 all-stageprofile: all-stageprofile-target-libgomp
43373 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
43374 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
43375 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43376 @r=`${PWD_COMMAND}`; export r; \
43377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43378 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43379 $(NORMAL_TARGET_EXPORTS) \
43381 cd $(TARGET_SUBDIR)/libgomp && \
43382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43383 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43384 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43385 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43389 $(EXTRA_TARGET_FLAGS) \
43390 TFLAGS="$(STAGEprofile_TFLAGS)" \
43391 $(TARGET-stageprofile-target-libgomp)
43393 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
43394 clean-stageprofile: clean-stageprofile-target-libgomp
43395 clean-stageprofile-target-libgomp:
43396 @if [ $(current_stage) = stageprofile ]; then \
43397 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43398 else \
43399 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
43400 $(MAKE) stageprofile-start; \
43401 fi; \
43402 cd $(TARGET_SUBDIR)/libgomp && \
43403 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43404 @endif target-libgomp-bootstrap
43407 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
43408 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
43409 maybe-all-stagefeedback-target-libgomp:
43410 maybe-clean-stagefeedback-target-libgomp:
43411 @if target-libgomp-bootstrap
43412 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
43413 all-stagefeedback: all-stagefeedback-target-libgomp
43414 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
43415 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
43416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43417 @r=`${PWD_COMMAND}`; export r; \
43418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43419 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43420 $(NORMAL_TARGET_EXPORTS) \
43422 cd $(TARGET_SUBDIR)/libgomp && \
43423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43424 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43425 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43426 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43430 $(EXTRA_TARGET_FLAGS) \
43431 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43432 $(TARGET-stagefeedback-target-libgomp)
43434 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
43435 clean-stagefeedback: clean-stagefeedback-target-libgomp
43436 clean-stagefeedback-target-libgomp:
43437 @if [ $(current_stage) = stagefeedback ]; then \
43438 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
43439 else \
43440 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
43441 $(MAKE) stagefeedback-start; \
43442 fi; \
43443 cd $(TARGET_SUBDIR)/libgomp && \
43444 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43445 @endif target-libgomp-bootstrap
43452 .PHONY: check-target-libgomp maybe-check-target-libgomp
43453 maybe-check-target-libgomp:
43454 @if target-libgomp
43455 maybe-check-target-libgomp: check-target-libgomp
43457 check-target-libgomp:
43458 @: $(MAKE); $(unstage)
43459 @r=`${PWD_COMMAND}`; export r; \
43460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43461 $(NORMAL_TARGET_EXPORTS) \
43462 (cd $(TARGET_SUBDIR)/libgomp && \
43463 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43465 @endif target-libgomp
43467 .PHONY: install-target-libgomp maybe-install-target-libgomp
43468 maybe-install-target-libgomp:
43469 @if target-libgomp
43470 maybe-install-target-libgomp: install-target-libgomp
43472 install-target-libgomp: installdirs
43473 @: $(MAKE); $(unstage)
43474 @r=`${PWD_COMMAND}`; export r; \
43475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43476 $(NORMAL_TARGET_EXPORTS) \
43477 (cd $(TARGET_SUBDIR)/libgomp && \
43478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43480 @endif target-libgomp
43482 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
43483 maybe-install-strip-target-libgomp:
43484 @if target-libgomp
43485 maybe-install-strip-target-libgomp: install-strip-target-libgomp
43487 install-strip-target-libgomp: installdirs
43488 @: $(MAKE); $(unstage)
43489 @r=`${PWD_COMMAND}`; export r; \
43490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43491 $(NORMAL_TARGET_EXPORTS) \
43492 (cd $(TARGET_SUBDIR)/libgomp && \
43493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43495 @endif target-libgomp
43497 # Other targets (info, dvi, pdf, etc.)
43499 .PHONY: maybe-info-target-libgomp info-target-libgomp
43500 maybe-info-target-libgomp:
43501 @if target-libgomp
43502 maybe-info-target-libgomp: info-target-libgomp
43504 info-target-libgomp: \
43505 configure-target-libgomp
43506 @: $(MAKE); $(unstage)
43507 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43508 r=`${PWD_COMMAND}`; export r; \
43509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43510 $(NORMAL_TARGET_EXPORTS) \
43511 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
43512 for flag in $(EXTRA_TARGET_FLAGS); do \
43513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43514 done; \
43515 (cd $(TARGET_SUBDIR)/libgomp && \
43516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43518 "RANLIB=$${RANLIB}" \
43519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43520 info) \
43521 || exit 1
43523 @endif target-libgomp
43525 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
43526 maybe-dvi-target-libgomp:
43527 @if target-libgomp
43528 maybe-dvi-target-libgomp: dvi-target-libgomp
43530 dvi-target-libgomp: \
43531 configure-target-libgomp
43532 @: $(MAKE); $(unstage)
43533 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43534 r=`${PWD_COMMAND}`; export r; \
43535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43536 $(NORMAL_TARGET_EXPORTS) \
43537 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
43538 for flag in $(EXTRA_TARGET_FLAGS); do \
43539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43540 done; \
43541 (cd $(TARGET_SUBDIR)/libgomp && \
43542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43544 "RANLIB=$${RANLIB}" \
43545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43546 dvi) \
43547 || exit 1
43549 @endif target-libgomp
43551 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
43552 maybe-pdf-target-libgomp:
43553 @if target-libgomp
43554 maybe-pdf-target-libgomp: pdf-target-libgomp
43556 pdf-target-libgomp: \
43557 configure-target-libgomp
43558 @: $(MAKE); $(unstage)
43559 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43560 r=`${PWD_COMMAND}`; export r; \
43561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43562 $(NORMAL_TARGET_EXPORTS) \
43563 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
43564 for flag in $(EXTRA_TARGET_FLAGS); do \
43565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43566 done; \
43567 (cd $(TARGET_SUBDIR)/libgomp && \
43568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43570 "RANLIB=$${RANLIB}" \
43571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43572 pdf) \
43573 || exit 1
43575 @endif target-libgomp
43577 .PHONY: maybe-html-target-libgomp html-target-libgomp
43578 maybe-html-target-libgomp:
43579 @if target-libgomp
43580 maybe-html-target-libgomp: html-target-libgomp
43582 html-target-libgomp: \
43583 configure-target-libgomp
43584 @: $(MAKE); $(unstage)
43585 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43586 r=`${PWD_COMMAND}`; export r; \
43587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43588 $(NORMAL_TARGET_EXPORTS) \
43589 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 html) \
43599 || exit 1
43601 @endif target-libgomp
43603 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
43604 maybe-TAGS-target-libgomp:
43605 @if target-libgomp
43606 maybe-TAGS-target-libgomp: TAGS-target-libgomp
43608 TAGS-target-libgomp: \
43609 configure-target-libgomp
43610 @: $(MAKE); $(unstage)
43611 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43612 r=`${PWD_COMMAND}`; export r; \
43613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43614 $(NORMAL_TARGET_EXPORTS) \
43615 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
43616 for flag in $(EXTRA_TARGET_FLAGS); do \
43617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43618 done; \
43619 (cd $(TARGET_SUBDIR)/libgomp && \
43620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43622 "RANLIB=$${RANLIB}" \
43623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43624 TAGS) \
43625 || exit 1
43627 @endif target-libgomp
43629 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
43630 maybe-install-info-target-libgomp:
43631 @if target-libgomp
43632 maybe-install-info-target-libgomp: install-info-target-libgomp
43634 install-info-target-libgomp: \
43635 configure-target-libgomp \
43636 info-target-libgomp
43637 @: $(MAKE); $(unstage)
43638 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43639 r=`${PWD_COMMAND}`; export r; \
43640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43641 $(NORMAL_TARGET_EXPORTS) \
43642 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
43643 for flag in $(EXTRA_TARGET_FLAGS); do \
43644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43645 done; \
43646 (cd $(TARGET_SUBDIR)/libgomp && \
43647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43649 "RANLIB=$${RANLIB}" \
43650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43651 install-info) \
43652 || exit 1
43654 @endif target-libgomp
43656 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
43657 maybe-install-pdf-target-libgomp:
43658 @if target-libgomp
43659 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
43661 install-pdf-target-libgomp: \
43662 configure-target-libgomp \
43663 pdf-target-libgomp
43664 @: $(MAKE); $(unstage)
43665 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43666 r=`${PWD_COMMAND}`; export r; \
43667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43668 $(NORMAL_TARGET_EXPORTS) \
43669 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 install-pdf) \
43679 || exit 1
43681 @endif target-libgomp
43683 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
43684 maybe-install-html-target-libgomp:
43685 @if target-libgomp
43686 maybe-install-html-target-libgomp: install-html-target-libgomp
43688 install-html-target-libgomp: \
43689 configure-target-libgomp \
43690 html-target-libgomp
43691 @: $(MAKE); $(unstage)
43692 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43693 r=`${PWD_COMMAND}`; export r; \
43694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43695 $(NORMAL_TARGET_EXPORTS) \
43696 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
43697 for flag in $(EXTRA_TARGET_FLAGS); do \
43698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43699 done; \
43700 (cd $(TARGET_SUBDIR)/libgomp && \
43701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43703 "RANLIB=$${RANLIB}" \
43704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43705 install-html) \
43706 || exit 1
43708 @endif target-libgomp
43710 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
43711 maybe-installcheck-target-libgomp:
43712 @if target-libgomp
43713 maybe-installcheck-target-libgomp: installcheck-target-libgomp
43715 installcheck-target-libgomp: \
43716 configure-target-libgomp
43717 @: $(MAKE); $(unstage)
43718 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43719 r=`${PWD_COMMAND}`; export r; \
43720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43721 $(NORMAL_TARGET_EXPORTS) \
43722 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
43723 for flag in $(EXTRA_TARGET_FLAGS); do \
43724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43725 done; \
43726 (cd $(TARGET_SUBDIR)/libgomp && \
43727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43729 "RANLIB=$${RANLIB}" \
43730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43731 installcheck) \
43732 || exit 1
43734 @endif target-libgomp
43736 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
43737 maybe-mostlyclean-target-libgomp:
43738 @if target-libgomp
43739 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
43741 mostlyclean-target-libgomp:
43742 @: $(MAKE); $(unstage)
43743 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43744 r=`${PWD_COMMAND}`; export r; \
43745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43746 $(NORMAL_TARGET_EXPORTS) \
43747 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
43748 for flag in $(EXTRA_TARGET_FLAGS); do \
43749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43750 done; \
43751 (cd $(TARGET_SUBDIR)/libgomp && \
43752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43754 "RANLIB=$${RANLIB}" \
43755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43756 mostlyclean) \
43757 || exit 1
43759 @endif target-libgomp
43761 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
43762 maybe-clean-target-libgomp:
43763 @if target-libgomp
43764 maybe-clean-target-libgomp: clean-target-libgomp
43766 clean-target-libgomp:
43767 @: $(MAKE); $(unstage)
43768 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43769 r=`${PWD_COMMAND}`; export r; \
43770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43771 $(NORMAL_TARGET_EXPORTS) \
43772 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
43773 for flag in $(EXTRA_TARGET_FLAGS); do \
43774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43775 done; \
43776 (cd $(TARGET_SUBDIR)/libgomp && \
43777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43779 "RANLIB=$${RANLIB}" \
43780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43781 clean) \
43782 || exit 1
43784 @endif target-libgomp
43786 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
43787 maybe-distclean-target-libgomp:
43788 @if target-libgomp
43789 maybe-distclean-target-libgomp: distclean-target-libgomp
43791 distclean-target-libgomp:
43792 @: $(MAKE); $(unstage)
43793 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43794 r=`${PWD_COMMAND}`; export r; \
43795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43796 $(NORMAL_TARGET_EXPORTS) \
43797 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
43798 for flag in $(EXTRA_TARGET_FLAGS); do \
43799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43800 done; \
43801 (cd $(TARGET_SUBDIR)/libgomp && \
43802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43804 "RANLIB=$${RANLIB}" \
43805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43806 distclean) \
43807 || exit 1
43809 @endif target-libgomp
43811 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
43812 maybe-maintainer-clean-target-libgomp:
43813 @if target-libgomp
43814 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
43816 maintainer-clean-target-libgomp:
43817 @: $(MAKE); $(unstage)
43818 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
43819 r=`${PWD_COMMAND}`; export r; \
43820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43821 $(NORMAL_TARGET_EXPORTS) \
43822 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
43823 for flag in $(EXTRA_TARGET_FLAGS); do \
43824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43825 done; \
43826 (cd $(TARGET_SUBDIR)/libgomp && \
43827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43829 "RANLIB=$${RANLIB}" \
43830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43831 maintainer-clean) \
43832 || exit 1
43834 @endif target-libgomp
43840 .PHONY: configure-target-libitm maybe-configure-target-libitm
43841 maybe-configure-target-libitm:
43842 @if gcc-bootstrap
43843 configure-target-libitm: stage_current
43844 @endif gcc-bootstrap
43845 @if target-libitm
43846 maybe-configure-target-libitm: configure-target-libitm
43847 configure-target-libitm:
43848 @: $(MAKE); $(unstage)
43849 @r=`${PWD_COMMAND}`; export r; \
43850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43851 echo "Checking multilib configuration for libitm..."; \
43852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43853 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
43854 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
43855 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
43856 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
43857 else \
43858 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
43859 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43860 fi; \
43861 else \
43862 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
43863 fi; \
43864 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
43865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
43866 $(NORMAL_TARGET_EXPORTS) \
43867 echo Configuring in $(TARGET_SUBDIR)/libitm; \
43868 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
43869 case $(srcdir) in \
43870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43871 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
43872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43873 esac; \
43874 srcdiroption="--srcdir=$${topdir}/libitm"; \
43875 libsrcdir="$$s/libitm"; \
43876 rm -f no-such-file || : ; \
43877 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43878 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43879 --target=${target_alias} $${srcdiroption} \
43880 || exit 1
43881 @endif target-libitm
43887 .PHONY: all-target-libitm maybe-all-target-libitm
43888 maybe-all-target-libitm:
43889 @if gcc-bootstrap
43890 all-target-libitm: stage_current
43891 @endif gcc-bootstrap
43892 @if target-libitm
43893 TARGET-target-libitm=all
43894 maybe-all-target-libitm: all-target-libitm
43895 all-target-libitm: configure-target-libitm
43896 @: $(MAKE); $(unstage)
43897 @r=`${PWD_COMMAND}`; export r; \
43898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43899 $(NORMAL_TARGET_EXPORTS) \
43900 (cd $(TARGET_SUBDIR)/libitm && \
43901 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43902 $(TARGET-target-libitm))
43903 @endif target-libitm
43909 .PHONY: check-target-libitm maybe-check-target-libitm
43910 maybe-check-target-libitm:
43911 @if target-libitm
43912 maybe-check-target-libitm: check-target-libitm
43914 check-target-libitm:
43915 @: $(MAKE); $(unstage)
43916 @r=`${PWD_COMMAND}`; export r; \
43917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43918 $(NORMAL_TARGET_EXPORTS) \
43919 (cd $(TARGET_SUBDIR)/libitm && \
43920 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43922 @endif target-libitm
43924 .PHONY: install-target-libitm maybe-install-target-libitm
43925 maybe-install-target-libitm:
43926 @if target-libitm
43927 maybe-install-target-libitm: install-target-libitm
43929 install-target-libitm: installdirs
43930 @: $(MAKE); $(unstage)
43931 @r=`${PWD_COMMAND}`; export r; \
43932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43933 $(NORMAL_TARGET_EXPORTS) \
43934 (cd $(TARGET_SUBDIR)/libitm && \
43935 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43937 @endif target-libitm
43939 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
43940 maybe-install-strip-target-libitm:
43941 @if target-libitm
43942 maybe-install-strip-target-libitm: install-strip-target-libitm
43944 install-strip-target-libitm: installdirs
43945 @: $(MAKE); $(unstage)
43946 @r=`${PWD_COMMAND}`; export r; \
43947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43948 $(NORMAL_TARGET_EXPORTS) \
43949 (cd $(TARGET_SUBDIR)/libitm && \
43950 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43952 @endif target-libitm
43954 # Other targets (info, dvi, pdf, etc.)
43956 .PHONY: maybe-info-target-libitm info-target-libitm
43957 maybe-info-target-libitm:
43958 @if target-libitm
43959 maybe-info-target-libitm: info-target-libitm
43961 info-target-libitm: \
43962 configure-target-libitm
43963 @: $(MAKE); $(unstage)
43964 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43965 r=`${PWD_COMMAND}`; export r; \
43966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43967 $(NORMAL_TARGET_EXPORTS) \
43968 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
43969 for flag in $(EXTRA_TARGET_FLAGS); do \
43970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43971 done; \
43972 (cd $(TARGET_SUBDIR)/libitm && \
43973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43975 "RANLIB=$${RANLIB}" \
43976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43977 info) \
43978 || exit 1
43980 @endif target-libitm
43982 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
43983 maybe-dvi-target-libitm:
43984 @if target-libitm
43985 maybe-dvi-target-libitm: dvi-target-libitm
43987 dvi-target-libitm: \
43988 configure-target-libitm
43989 @: $(MAKE); $(unstage)
43990 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
43991 r=`${PWD_COMMAND}`; export r; \
43992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43993 $(NORMAL_TARGET_EXPORTS) \
43994 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
43995 for flag in $(EXTRA_TARGET_FLAGS); do \
43996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43997 done; \
43998 (cd $(TARGET_SUBDIR)/libitm && \
43999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44001 "RANLIB=$${RANLIB}" \
44002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44003 dvi) \
44004 || exit 1
44006 @endif target-libitm
44008 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
44009 maybe-pdf-target-libitm:
44010 @if target-libitm
44011 maybe-pdf-target-libitm: pdf-target-libitm
44013 pdf-target-libitm: \
44014 configure-target-libitm
44015 @: $(MAKE); $(unstage)
44016 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44017 r=`${PWD_COMMAND}`; export r; \
44018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44019 $(NORMAL_TARGET_EXPORTS) \
44020 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
44021 for flag in $(EXTRA_TARGET_FLAGS); do \
44022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44023 done; \
44024 (cd $(TARGET_SUBDIR)/libitm && \
44025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44027 "RANLIB=$${RANLIB}" \
44028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44029 pdf) \
44030 || exit 1
44032 @endif target-libitm
44034 .PHONY: maybe-html-target-libitm html-target-libitm
44035 maybe-html-target-libitm:
44036 @if target-libitm
44037 maybe-html-target-libitm: html-target-libitm
44039 html-target-libitm: \
44040 configure-target-libitm
44041 @: $(MAKE); $(unstage)
44042 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44043 r=`${PWD_COMMAND}`; export r; \
44044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44045 $(NORMAL_TARGET_EXPORTS) \
44046 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
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)/libitm && \
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 html) \
44056 || exit 1
44058 @endif target-libitm
44060 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
44061 maybe-TAGS-target-libitm:
44062 @if target-libitm
44063 maybe-TAGS-target-libitm: TAGS-target-libitm
44065 TAGS-target-libitm: \
44066 configure-target-libitm
44067 @: $(MAKE); $(unstage)
44068 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44069 r=`${PWD_COMMAND}`; export r; \
44070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44071 $(NORMAL_TARGET_EXPORTS) \
44072 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
44073 for flag in $(EXTRA_TARGET_FLAGS); do \
44074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44075 done; \
44076 (cd $(TARGET_SUBDIR)/libitm && \
44077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44079 "RANLIB=$${RANLIB}" \
44080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44081 TAGS) \
44082 || exit 1
44084 @endif target-libitm
44086 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
44087 maybe-install-info-target-libitm:
44088 @if target-libitm
44089 maybe-install-info-target-libitm: install-info-target-libitm
44091 install-info-target-libitm: \
44092 configure-target-libitm \
44093 info-target-libitm
44094 @: $(MAKE); $(unstage)
44095 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44096 r=`${PWD_COMMAND}`; export r; \
44097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44098 $(NORMAL_TARGET_EXPORTS) \
44099 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
44100 for flag in $(EXTRA_TARGET_FLAGS); do \
44101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44102 done; \
44103 (cd $(TARGET_SUBDIR)/libitm && \
44104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44106 "RANLIB=$${RANLIB}" \
44107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44108 install-info) \
44109 || exit 1
44111 @endif target-libitm
44113 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
44114 maybe-install-pdf-target-libitm:
44115 @if target-libitm
44116 maybe-install-pdf-target-libitm: install-pdf-target-libitm
44118 install-pdf-target-libitm: \
44119 configure-target-libitm \
44120 pdf-target-libitm
44121 @: $(MAKE); $(unstage)
44122 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44123 r=`${PWD_COMMAND}`; export r; \
44124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44125 $(NORMAL_TARGET_EXPORTS) \
44126 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
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)/libitm && \
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 install-pdf) \
44136 || exit 1
44138 @endif target-libitm
44140 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
44141 maybe-install-html-target-libitm:
44142 @if target-libitm
44143 maybe-install-html-target-libitm: install-html-target-libitm
44145 install-html-target-libitm: \
44146 configure-target-libitm \
44147 html-target-libitm
44148 @: $(MAKE); $(unstage)
44149 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44150 r=`${PWD_COMMAND}`; export r; \
44151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44152 $(NORMAL_TARGET_EXPORTS) \
44153 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
44154 for flag in $(EXTRA_TARGET_FLAGS); do \
44155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44156 done; \
44157 (cd $(TARGET_SUBDIR)/libitm && \
44158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44160 "RANLIB=$${RANLIB}" \
44161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44162 install-html) \
44163 || exit 1
44165 @endif target-libitm
44167 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
44168 maybe-installcheck-target-libitm:
44169 @if target-libitm
44170 maybe-installcheck-target-libitm: installcheck-target-libitm
44172 installcheck-target-libitm: \
44173 configure-target-libitm
44174 @: $(MAKE); $(unstage)
44175 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44176 r=`${PWD_COMMAND}`; export r; \
44177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44178 $(NORMAL_TARGET_EXPORTS) \
44179 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
44180 for flag in $(EXTRA_TARGET_FLAGS); do \
44181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44182 done; \
44183 (cd $(TARGET_SUBDIR)/libitm && \
44184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44186 "RANLIB=$${RANLIB}" \
44187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44188 installcheck) \
44189 || exit 1
44191 @endif target-libitm
44193 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
44194 maybe-mostlyclean-target-libitm:
44195 @if target-libitm
44196 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
44198 mostlyclean-target-libitm:
44199 @: $(MAKE); $(unstage)
44200 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44201 r=`${PWD_COMMAND}`; export r; \
44202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44203 $(NORMAL_TARGET_EXPORTS) \
44204 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
44205 for flag in $(EXTRA_TARGET_FLAGS); do \
44206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44207 done; \
44208 (cd $(TARGET_SUBDIR)/libitm && \
44209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44211 "RANLIB=$${RANLIB}" \
44212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44213 mostlyclean) \
44214 || exit 1
44216 @endif target-libitm
44218 .PHONY: maybe-clean-target-libitm clean-target-libitm
44219 maybe-clean-target-libitm:
44220 @if target-libitm
44221 maybe-clean-target-libitm: clean-target-libitm
44223 clean-target-libitm:
44224 @: $(MAKE); $(unstage)
44225 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44226 r=`${PWD_COMMAND}`; export r; \
44227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44228 $(NORMAL_TARGET_EXPORTS) \
44229 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
44230 for flag in $(EXTRA_TARGET_FLAGS); do \
44231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44232 done; \
44233 (cd $(TARGET_SUBDIR)/libitm && \
44234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44236 "RANLIB=$${RANLIB}" \
44237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44238 clean) \
44239 || exit 1
44241 @endif target-libitm
44243 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
44244 maybe-distclean-target-libitm:
44245 @if target-libitm
44246 maybe-distclean-target-libitm: distclean-target-libitm
44248 distclean-target-libitm:
44249 @: $(MAKE); $(unstage)
44250 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44251 r=`${PWD_COMMAND}`; export r; \
44252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44253 $(NORMAL_TARGET_EXPORTS) \
44254 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
44255 for flag in $(EXTRA_TARGET_FLAGS); do \
44256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44257 done; \
44258 (cd $(TARGET_SUBDIR)/libitm && \
44259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44261 "RANLIB=$${RANLIB}" \
44262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44263 distclean) \
44264 || exit 1
44266 @endif target-libitm
44268 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
44269 maybe-maintainer-clean-target-libitm:
44270 @if target-libitm
44271 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
44273 maintainer-clean-target-libitm:
44274 @: $(MAKE); $(unstage)
44275 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44276 r=`${PWD_COMMAND}`; export r; \
44277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44278 $(NORMAL_TARGET_EXPORTS) \
44279 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
44280 for flag in $(EXTRA_TARGET_FLAGS); do \
44281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44282 done; \
44283 (cd $(TARGET_SUBDIR)/libitm && \
44284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44286 "RANLIB=$${RANLIB}" \
44287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44288 maintainer-clean) \
44289 || exit 1
44291 @endif target-libitm
44297 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
44298 maybe-configure-target-libatomic:
44299 @if gcc-bootstrap
44300 configure-target-libatomic: stage_current
44301 @endif gcc-bootstrap
44302 @if target-libatomic
44303 maybe-configure-target-libatomic: configure-target-libatomic
44304 configure-target-libatomic:
44305 @: $(MAKE); $(unstage)
44306 @r=`${PWD_COMMAND}`; export r; \
44307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44308 echo "Checking multilib configuration for libatomic..."; \
44309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
44310 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
44311 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
44312 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
44313 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
44314 else \
44315 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
44316 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
44317 fi; \
44318 else \
44319 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
44320 fi; \
44321 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
44322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
44323 $(NORMAL_TARGET_EXPORTS) \
44324 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
44325 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
44326 case $(srcdir) in \
44327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44328 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
44329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44330 esac; \
44331 srcdiroption="--srcdir=$${topdir}/libatomic"; \
44332 libsrcdir="$$s/libatomic"; \
44333 rm -f no-such-file || : ; \
44334 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44335 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44336 --target=${target_alias} $${srcdiroption} \
44337 || exit 1
44338 @endif target-libatomic
44344 .PHONY: all-target-libatomic maybe-all-target-libatomic
44345 maybe-all-target-libatomic:
44346 @if gcc-bootstrap
44347 all-target-libatomic: stage_current
44348 @endif gcc-bootstrap
44349 @if target-libatomic
44350 TARGET-target-libatomic=all
44351 maybe-all-target-libatomic: all-target-libatomic
44352 all-target-libatomic: configure-target-libatomic
44353 @: $(MAKE); $(unstage)
44354 @r=`${PWD_COMMAND}`; export r; \
44355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44356 $(NORMAL_TARGET_EXPORTS) \
44357 (cd $(TARGET_SUBDIR)/libatomic && \
44358 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44359 $(TARGET-target-libatomic))
44360 @endif target-libatomic
44366 .PHONY: check-target-libatomic maybe-check-target-libatomic
44367 maybe-check-target-libatomic:
44368 @if target-libatomic
44369 maybe-check-target-libatomic: check-target-libatomic
44371 check-target-libatomic:
44372 @: $(MAKE); $(unstage)
44373 @r=`${PWD_COMMAND}`; export r; \
44374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44375 $(NORMAL_TARGET_EXPORTS) \
44376 (cd $(TARGET_SUBDIR)/libatomic && \
44377 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44379 @endif target-libatomic
44381 .PHONY: install-target-libatomic maybe-install-target-libatomic
44382 maybe-install-target-libatomic:
44383 @if target-libatomic
44384 maybe-install-target-libatomic: install-target-libatomic
44386 install-target-libatomic: installdirs
44387 @: $(MAKE); $(unstage)
44388 @r=`${PWD_COMMAND}`; export r; \
44389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44390 $(NORMAL_TARGET_EXPORTS) \
44391 (cd $(TARGET_SUBDIR)/libatomic && \
44392 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44394 @endif target-libatomic
44396 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
44397 maybe-install-strip-target-libatomic:
44398 @if target-libatomic
44399 maybe-install-strip-target-libatomic: install-strip-target-libatomic
44401 install-strip-target-libatomic: installdirs
44402 @: $(MAKE); $(unstage)
44403 @r=`${PWD_COMMAND}`; export r; \
44404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44405 $(NORMAL_TARGET_EXPORTS) \
44406 (cd $(TARGET_SUBDIR)/libatomic && \
44407 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44409 @endif target-libatomic
44411 # Other targets (info, dvi, pdf, etc.)
44413 .PHONY: maybe-info-target-libatomic info-target-libatomic
44414 maybe-info-target-libatomic:
44415 @if target-libatomic
44416 maybe-info-target-libatomic: info-target-libatomic
44418 info-target-libatomic: \
44419 configure-target-libatomic
44420 @: $(MAKE); $(unstage)
44421 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44422 r=`${PWD_COMMAND}`; export r; \
44423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44424 $(NORMAL_TARGET_EXPORTS) \
44425 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
44426 for flag in $(EXTRA_TARGET_FLAGS); do \
44427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44428 done; \
44429 (cd $(TARGET_SUBDIR)/libatomic && \
44430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44432 "RANLIB=$${RANLIB}" \
44433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44434 info) \
44435 || exit 1
44437 @endif target-libatomic
44439 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
44440 maybe-dvi-target-libatomic:
44441 @if target-libatomic
44442 maybe-dvi-target-libatomic: dvi-target-libatomic
44444 dvi-target-libatomic: \
44445 configure-target-libatomic
44446 @: $(MAKE); $(unstage)
44447 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44448 r=`${PWD_COMMAND}`; export r; \
44449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44450 $(NORMAL_TARGET_EXPORTS) \
44451 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
44452 for flag in $(EXTRA_TARGET_FLAGS); do \
44453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44454 done; \
44455 (cd $(TARGET_SUBDIR)/libatomic && \
44456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44458 "RANLIB=$${RANLIB}" \
44459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44460 dvi) \
44461 || exit 1
44463 @endif target-libatomic
44465 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
44466 maybe-pdf-target-libatomic:
44467 @if target-libatomic
44468 maybe-pdf-target-libatomic: pdf-target-libatomic
44470 pdf-target-libatomic: \
44471 configure-target-libatomic
44472 @: $(MAKE); $(unstage)
44473 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44474 r=`${PWD_COMMAND}`; export r; \
44475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44476 $(NORMAL_TARGET_EXPORTS) \
44477 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
44478 for flag in $(EXTRA_TARGET_FLAGS); do \
44479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44480 done; \
44481 (cd $(TARGET_SUBDIR)/libatomic && \
44482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44484 "RANLIB=$${RANLIB}" \
44485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44486 pdf) \
44487 || exit 1
44489 @endif target-libatomic
44491 .PHONY: maybe-html-target-libatomic html-target-libatomic
44492 maybe-html-target-libatomic:
44493 @if target-libatomic
44494 maybe-html-target-libatomic: html-target-libatomic
44496 html-target-libatomic: \
44497 configure-target-libatomic
44498 @: $(MAKE); $(unstage)
44499 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44500 r=`${PWD_COMMAND}`; export r; \
44501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44502 $(NORMAL_TARGET_EXPORTS) \
44503 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
44504 for flag in $(EXTRA_TARGET_FLAGS); do \
44505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44506 done; \
44507 (cd $(TARGET_SUBDIR)/libatomic && \
44508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44510 "RANLIB=$${RANLIB}" \
44511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44512 html) \
44513 || exit 1
44515 @endif target-libatomic
44517 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
44518 maybe-TAGS-target-libatomic:
44519 @if target-libatomic
44520 maybe-TAGS-target-libatomic: TAGS-target-libatomic
44522 TAGS-target-libatomic: \
44523 configure-target-libatomic
44524 @: $(MAKE); $(unstage)
44525 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44526 r=`${PWD_COMMAND}`; export r; \
44527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44528 $(NORMAL_TARGET_EXPORTS) \
44529 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
44530 for flag in $(EXTRA_TARGET_FLAGS); do \
44531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44532 done; \
44533 (cd $(TARGET_SUBDIR)/libatomic && \
44534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44536 "RANLIB=$${RANLIB}" \
44537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44538 TAGS) \
44539 || exit 1
44541 @endif target-libatomic
44543 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
44544 maybe-install-info-target-libatomic:
44545 @if target-libatomic
44546 maybe-install-info-target-libatomic: install-info-target-libatomic
44548 install-info-target-libatomic: \
44549 configure-target-libatomic \
44550 info-target-libatomic
44551 @: $(MAKE); $(unstage)
44552 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44553 r=`${PWD_COMMAND}`; export r; \
44554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44555 $(NORMAL_TARGET_EXPORTS) \
44556 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
44557 for flag in $(EXTRA_TARGET_FLAGS); do \
44558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44559 done; \
44560 (cd $(TARGET_SUBDIR)/libatomic && \
44561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44563 "RANLIB=$${RANLIB}" \
44564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44565 install-info) \
44566 || exit 1
44568 @endif target-libatomic
44570 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
44571 maybe-install-pdf-target-libatomic:
44572 @if target-libatomic
44573 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
44575 install-pdf-target-libatomic: \
44576 configure-target-libatomic \
44577 pdf-target-libatomic
44578 @: $(MAKE); $(unstage)
44579 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44580 r=`${PWD_COMMAND}`; export r; \
44581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44582 $(NORMAL_TARGET_EXPORTS) \
44583 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
44584 for flag in $(EXTRA_TARGET_FLAGS); do \
44585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44586 done; \
44587 (cd $(TARGET_SUBDIR)/libatomic && \
44588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44590 "RANLIB=$${RANLIB}" \
44591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44592 install-pdf) \
44593 || exit 1
44595 @endif target-libatomic
44597 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
44598 maybe-install-html-target-libatomic:
44599 @if target-libatomic
44600 maybe-install-html-target-libatomic: install-html-target-libatomic
44602 install-html-target-libatomic: \
44603 configure-target-libatomic \
44604 html-target-libatomic
44605 @: $(MAKE); $(unstage)
44606 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44607 r=`${PWD_COMMAND}`; export r; \
44608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44609 $(NORMAL_TARGET_EXPORTS) \
44610 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
44611 for flag in $(EXTRA_TARGET_FLAGS); do \
44612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44613 done; \
44614 (cd $(TARGET_SUBDIR)/libatomic && \
44615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44617 "RANLIB=$${RANLIB}" \
44618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44619 install-html) \
44620 || exit 1
44622 @endif target-libatomic
44624 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
44625 maybe-installcheck-target-libatomic:
44626 @if target-libatomic
44627 maybe-installcheck-target-libatomic: installcheck-target-libatomic
44629 installcheck-target-libatomic: \
44630 configure-target-libatomic
44631 @: $(MAKE); $(unstage)
44632 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44633 r=`${PWD_COMMAND}`; export r; \
44634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44635 $(NORMAL_TARGET_EXPORTS) \
44636 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
44637 for flag in $(EXTRA_TARGET_FLAGS); do \
44638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44639 done; \
44640 (cd $(TARGET_SUBDIR)/libatomic && \
44641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44643 "RANLIB=$${RANLIB}" \
44644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44645 installcheck) \
44646 || exit 1
44648 @endif target-libatomic
44650 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
44651 maybe-mostlyclean-target-libatomic:
44652 @if target-libatomic
44653 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
44655 mostlyclean-target-libatomic:
44656 @: $(MAKE); $(unstage)
44657 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44658 r=`${PWD_COMMAND}`; export r; \
44659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44660 $(NORMAL_TARGET_EXPORTS) \
44661 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
44662 for flag in $(EXTRA_TARGET_FLAGS); do \
44663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44664 done; \
44665 (cd $(TARGET_SUBDIR)/libatomic && \
44666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44668 "RANLIB=$${RANLIB}" \
44669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44670 mostlyclean) \
44671 || exit 1
44673 @endif target-libatomic
44675 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
44676 maybe-clean-target-libatomic:
44677 @if target-libatomic
44678 maybe-clean-target-libatomic: clean-target-libatomic
44680 clean-target-libatomic:
44681 @: $(MAKE); $(unstage)
44682 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44683 r=`${PWD_COMMAND}`; export r; \
44684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44685 $(NORMAL_TARGET_EXPORTS) \
44686 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
44687 for flag in $(EXTRA_TARGET_FLAGS); do \
44688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44689 done; \
44690 (cd $(TARGET_SUBDIR)/libatomic && \
44691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44693 "RANLIB=$${RANLIB}" \
44694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44695 clean) \
44696 || exit 1
44698 @endif target-libatomic
44700 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
44701 maybe-distclean-target-libatomic:
44702 @if target-libatomic
44703 maybe-distclean-target-libatomic: distclean-target-libatomic
44705 distclean-target-libatomic:
44706 @: $(MAKE); $(unstage)
44707 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44708 r=`${PWD_COMMAND}`; export r; \
44709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44710 $(NORMAL_TARGET_EXPORTS) \
44711 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
44712 for flag in $(EXTRA_TARGET_FLAGS); do \
44713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44714 done; \
44715 (cd $(TARGET_SUBDIR)/libatomic && \
44716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44718 "RANLIB=$${RANLIB}" \
44719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44720 distclean) \
44721 || exit 1
44723 @endif target-libatomic
44725 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
44726 maybe-maintainer-clean-target-libatomic:
44727 @if target-libatomic
44728 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
44730 maintainer-clean-target-libatomic:
44731 @: $(MAKE); $(unstage)
44732 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
44733 r=`${PWD_COMMAND}`; export r; \
44734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44735 $(NORMAL_TARGET_EXPORTS) \
44736 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
44737 for flag in $(EXTRA_TARGET_FLAGS); do \
44738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44739 done; \
44740 (cd $(TARGET_SUBDIR)/libatomic && \
44741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44743 "RANLIB=$${RANLIB}" \
44744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44745 maintainer-clean) \
44746 || exit 1
44748 @endif target-libatomic
44752 @if target-libgomp
44753 .PHONY: check-target-libgomp-c++
44754 check-target-libgomp-c++:
44755 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
44757 @endif target-libgomp
44759 @if target-libitm
44760 .PHONY: check-target-libitm-c++
44761 check-target-libitm-c++:
44762 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
44764 @endif target-libitm
44766 # ----------
44767 # GCC module
44768 # ----------
44770 @if gcc-no-bootstrap
44771 .PHONY: cross
44772 cross: all-build all-gas all-ld
44773 @r=`${PWD_COMMAND}`; export r; \
44774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44775 $(HOST_EXPORTS) \
44776 echo "Building the C and C++ compiler"; \
44777 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44778 @r=`${PWD_COMMAND}`; export r; \
44779 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44780 echo "Building runtime libraries"; \
44781 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44782 @endif gcc-no-bootstrap
44784 @if gcc
44786 .PHONY: check-gcc-c check-c
44787 check-gcc-c:
44788 r=`${PWD_COMMAND}`; export r; \
44789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44790 $(HOST_EXPORTS) \
44791 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
44792 check-c: check-gcc-c
44794 .PHONY: check-gcc-c++ check-c++
44795 check-gcc-c++:
44796 r=`${PWD_COMMAND}`; export r; \
44797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44798 $(HOST_EXPORTS) \
44799 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
44800 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
44802 .PHONY: check-gcc-fortran check-fortran
44803 check-gcc-fortran:
44804 r=`${PWD_COMMAND}`; export r; \
44805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44806 $(HOST_EXPORTS) \
44807 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
44808 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
44810 .PHONY: check-gcc-java check-java
44811 check-gcc-java:
44812 r=`${PWD_COMMAND}`; export r; \
44813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44814 $(HOST_EXPORTS) \
44815 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
44816 check-java: check-gcc-java check-target-libjava
44818 .PHONY: check-gcc-ada check-ada
44819 check-gcc-ada:
44820 r=`${PWD_COMMAND}`; export r; \
44821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44822 $(HOST_EXPORTS) \
44823 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
44824 check-ada: check-gcc-ada check-target-libada
44826 .PHONY: check-gcc-objc check-objc
44827 check-gcc-objc:
44828 r=`${PWD_COMMAND}`; export r; \
44829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44830 $(HOST_EXPORTS) \
44831 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
44832 check-objc: check-gcc-objc check-target-libobjc
44834 .PHONY: check-gcc-obj-c++ check-obj-c++
44835 check-gcc-obj-c++:
44836 r=`${PWD_COMMAND}`; export r; \
44837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44838 $(HOST_EXPORTS) \
44839 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
44840 check-obj-c++: check-gcc-obj-c++
44842 .PHONY: check-gcc-go check-go
44843 check-gcc-go:
44844 r=`${PWD_COMMAND}`; export r; \
44845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44846 $(HOST_EXPORTS) \
44847 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
44848 check-go: check-gcc-go check-target-libgo
44851 # The gcc part of install-no-fixedincludes, which relies on an intimate
44852 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
44853 .PHONY: gcc-install-no-fixedincludes
44854 gcc-install-no-fixedincludes:
44855 @if [ -f ./gcc/Makefile ]; then \
44856 r=`${PWD_COMMAND}`; export r; \
44857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44858 $(HOST_EXPORTS) \
44859 (cd ./gcc \
44860 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
44861 else true; fi
44862 @endif gcc
44864 # ---------------------
44865 # GCC bootstrap support
44866 # ---------------------
44868 # We track the current stage (the one in 'gcc') in the stage_current file.
44869 # stage_last instead tracks the stage that was built last. These targets
44870 # are dummy when toplevel bootstrap is not active.
44872 # While making host and target tools, symlinks to the final stage must be
44873 # there, so $(unstage) should be run at various points. To avoid excessive
44874 # recursive invocations of make, we "inline" them using a variable. These
44875 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44876 # to avoid warnings from the GNU Make job server.
44878 unstage = :
44879 stage = :
44880 current_stage = ""
44882 @if gcc-bootstrap
44883 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44884 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44885 current_stage = "`cat stage_current 2> /dev/null`"
44886 @endif gcc-bootstrap
44888 .PHONY: unstage stage
44889 unstage:
44890 @: $(MAKE); $(unstage)
44891 stage:
44892 @: $(MAKE); $(stage)
44894 # Disable commands for lean bootstrap.
44895 LEAN = false
44897 # We name the build directories for the various stages "stage1-gcc",
44898 # "stage2-gcc","stage3-gcc", etc.
44900 # Since the 'compare' process will fail (on debugging information) if any
44901 # directory names are different, we need to link the gcc directory for
44902 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44903 # the build directories constant as well. For the latter, we use naked names
44904 # like 'gcc', because the scripts in that directory assume it. We use
44905 # mv on platforms where symlinks to directories do not work or are not
44906 # reliable.
44908 # 'touch' doesn't work right on some platforms.
44909 STAMP = echo timestamp >
44911 # We only want to compare .o files, so set this!
44912 objext = .o
44915 .PHONY: stage1-start stage1-end
44917 stage1-start::
44918 @: $(MAKE); $(stage); \
44919 echo stage1 > stage_current ; \
44920 echo stage1 > stage_last; \
44921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44922 @if bfd
44923 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44924 mkdir stage1-bfd; \
44925 mv stage1-bfd bfd
44926 @endif bfd
44927 @if opcodes
44928 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44929 mkdir stage1-opcodes; \
44930 mv stage1-opcodes opcodes
44931 @endif opcodes
44932 @if binutils
44933 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44934 mkdir stage1-binutils; \
44935 mv stage1-binutils binutils
44936 @endif binutils
44937 @if gas
44938 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44939 mkdir stage1-gas; \
44940 mv stage1-gas gas
44941 @endif gas
44942 @if gcc
44943 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44944 mkdir stage1-gcc; \
44945 mv stage1-gcc gcc
44946 @endif gcc
44947 @if gmp
44948 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44949 mkdir stage1-gmp; \
44950 mv stage1-gmp gmp
44951 @endif gmp
44952 @if mpfr
44953 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44954 mkdir stage1-mpfr; \
44955 mv stage1-mpfr mpfr
44956 @endif mpfr
44957 @if mpc
44958 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
44959 mkdir stage1-mpc; \
44960 mv stage1-mpc mpc
44961 @endif mpc
44962 @if isl
44963 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
44964 mkdir stage1-isl; \
44965 mv stage1-isl isl
44966 @endif isl
44967 @if cloog
44968 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
44969 mkdir stage1-cloog; \
44970 mv stage1-cloog cloog
44971 @endif cloog
44972 @if libelf
44973 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
44974 mkdir stage1-libelf; \
44975 mv stage1-libelf libelf
44976 @endif libelf
44977 @if gold
44978 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
44979 mkdir stage1-gold; \
44980 mv stage1-gold gold
44981 @endif gold
44982 @if intl
44983 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44984 mkdir stage1-intl; \
44985 mv stage1-intl intl
44986 @endif intl
44987 @if ld
44988 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44989 mkdir stage1-ld; \
44990 mv stage1-ld ld
44991 @endif ld
44992 @if libbacktrace
44993 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
44994 mkdir stage1-libbacktrace; \
44995 mv stage1-libbacktrace libbacktrace
44996 @endif libbacktrace
44997 @if libcpp
44998 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44999 mkdir stage1-libcpp; \
45000 mv stage1-libcpp libcpp
45001 @endif libcpp
45002 @if libdecnumber
45003 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
45004 mkdir stage1-libdecnumber; \
45005 mv stage1-libdecnumber libdecnumber
45006 @endif libdecnumber
45007 @if libiberty
45008 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
45009 mkdir stage1-libiberty; \
45010 mv stage1-libiberty libiberty
45011 @endif libiberty
45012 @if zlib
45013 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
45014 mkdir stage1-zlib; \
45015 mv stage1-zlib zlib
45016 @endif zlib
45017 @if lto-plugin
45018 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
45019 mkdir stage1-lto-plugin; \
45020 mv stage1-lto-plugin lto-plugin
45021 @endif lto-plugin
45022 @[ -d stage1-$(TARGET_SUBDIR) ] || \
45023 mkdir stage1-$(TARGET_SUBDIR); \
45024 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
45026 stage1-end::
45027 @if bfd
45028 @if test -d $(HOST_SUBDIR)/bfd ; then \
45029 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
45031 @endif bfd
45032 @if opcodes
45033 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45034 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
45036 @endif opcodes
45037 @if binutils
45038 @if test -d $(HOST_SUBDIR)/binutils ; then \
45039 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
45041 @endif binutils
45042 @if gas
45043 @if test -d $(HOST_SUBDIR)/gas ; then \
45044 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
45046 @endif gas
45047 @if gcc
45048 @if test -d $(HOST_SUBDIR)/gcc ; then \
45049 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
45051 @endif gcc
45052 @if gmp
45053 @if test -d $(HOST_SUBDIR)/gmp ; then \
45054 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
45056 @endif gmp
45057 @if mpfr
45058 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45059 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
45061 @endif mpfr
45062 @if mpc
45063 @if test -d $(HOST_SUBDIR)/mpc ; then \
45064 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
45066 @endif mpc
45067 @if isl
45068 @if test -d $(HOST_SUBDIR)/isl ; then \
45069 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
45071 @endif isl
45072 @if cloog
45073 @if test -d $(HOST_SUBDIR)/cloog ; then \
45074 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
45076 @endif cloog
45077 @if libelf
45078 @if test -d $(HOST_SUBDIR)/libelf ; then \
45079 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
45081 @endif libelf
45082 @if gold
45083 @if test -d $(HOST_SUBDIR)/gold ; then \
45084 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
45086 @endif gold
45087 @if intl
45088 @if test -d $(HOST_SUBDIR)/intl ; then \
45089 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
45091 @endif intl
45092 @if ld
45093 @if test -d $(HOST_SUBDIR)/ld ; then \
45094 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
45096 @endif ld
45097 @if libbacktrace
45098 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45099 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
45101 @endif libbacktrace
45102 @if libcpp
45103 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45104 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
45106 @endif libcpp
45107 @if libdecnumber
45108 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45109 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
45111 @endif libdecnumber
45112 @if libiberty
45113 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45114 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
45116 @endif libiberty
45117 @if zlib
45118 @if test -d $(HOST_SUBDIR)/zlib ; then \
45119 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
45121 @endif zlib
45122 @if lto-plugin
45123 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45124 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
45126 @endif lto-plugin
45127 @if test -d $(TARGET_SUBDIR) ; then \
45128 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
45130 rm -f stage_current
45132 # Bubble a bug fix through all the stages up to stage 1. They are
45133 # remade, but not reconfigured. The next stage (if any) will not be
45134 # reconfigured either.
45135 .PHONY: stage1-bubble
45136 stage1-bubble::
45137 @r=`${PWD_COMMAND}`; export r; \
45138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45139 if test -f stage1-lean ; then \
45140 echo Skipping rebuild of stage1 ; \
45141 else \
45142 $(MAKE) stage1-start; \
45143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
45146 .PHONY: all-stage1 clean-stage1
45147 do-clean: clean-stage1
45149 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45150 # only possibility, but now it conflicts with no-bootstrap rules
45151 @if gcc-bootstrap
45156 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45158 .PHONY: distclean-stage1
45159 distclean-stage1::
45160 @: $(MAKE); $(stage)
45161 @test "`cat stage_last`" != stage1 || rm -f stage_last
45162 rm -rf stage1-*
45165 @endif gcc-bootstrap
45168 .PHONY: stage2-start stage2-end
45170 stage2-start::
45171 @: $(MAKE); $(stage); \
45172 echo stage2 > stage_current ; \
45173 echo stage2 > stage_last; \
45174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45175 @if bfd
45176 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
45177 mkdir stage2-bfd; \
45178 mv stage2-bfd bfd ; \
45179 mv stage1-bfd prev-bfd || test -f stage1-lean
45180 @endif bfd
45181 @if opcodes
45182 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
45183 mkdir stage2-opcodes; \
45184 mv stage2-opcodes opcodes ; \
45185 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45186 @endif opcodes
45187 @if binutils
45188 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
45189 mkdir stage2-binutils; \
45190 mv stage2-binutils binutils ; \
45191 mv stage1-binutils prev-binutils || test -f stage1-lean
45192 @endif binutils
45193 @if gas
45194 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
45195 mkdir stage2-gas; \
45196 mv stage2-gas gas ; \
45197 mv stage1-gas prev-gas || test -f stage1-lean
45198 @endif gas
45199 @if gcc
45200 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
45201 mkdir stage2-gcc; \
45202 mv stage2-gcc gcc ; \
45203 mv stage1-gcc prev-gcc || test -f stage1-lean
45204 @endif gcc
45205 @if gmp
45206 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
45207 mkdir stage2-gmp; \
45208 mv stage2-gmp gmp ; \
45209 mv stage1-gmp prev-gmp || test -f stage1-lean
45210 @endif gmp
45211 @if mpfr
45212 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
45213 mkdir stage2-mpfr; \
45214 mv stage2-mpfr mpfr ; \
45215 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45216 @endif mpfr
45217 @if mpc
45218 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
45219 mkdir stage2-mpc; \
45220 mv stage2-mpc mpc ; \
45221 mv stage1-mpc prev-mpc || test -f stage1-lean
45222 @endif mpc
45223 @if isl
45224 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
45225 mkdir stage2-isl; \
45226 mv stage2-isl isl ; \
45227 mv stage1-isl prev-isl || test -f stage1-lean
45228 @endif isl
45229 @if cloog
45230 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
45231 mkdir stage2-cloog; \
45232 mv stage2-cloog cloog ; \
45233 mv stage1-cloog prev-cloog || test -f stage1-lean
45234 @endif cloog
45235 @if libelf
45236 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
45237 mkdir stage2-libelf; \
45238 mv stage2-libelf libelf ; \
45239 mv stage1-libelf prev-libelf || test -f stage1-lean
45240 @endif libelf
45241 @if gold
45242 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
45243 mkdir stage2-gold; \
45244 mv stage2-gold gold ; \
45245 mv stage1-gold prev-gold || test -f stage1-lean
45246 @endif gold
45247 @if intl
45248 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
45249 mkdir stage2-intl; \
45250 mv stage2-intl intl ; \
45251 mv stage1-intl prev-intl || test -f stage1-lean
45252 @endif intl
45253 @if ld
45254 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
45255 mkdir stage2-ld; \
45256 mv stage2-ld ld ; \
45257 mv stage1-ld prev-ld || test -f stage1-lean
45258 @endif ld
45259 @if libbacktrace
45260 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
45261 mkdir stage2-libbacktrace; \
45262 mv stage2-libbacktrace libbacktrace ; \
45263 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
45264 @endif libbacktrace
45265 @if libcpp
45266 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
45267 mkdir stage2-libcpp; \
45268 mv stage2-libcpp libcpp ; \
45269 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45270 @endif libcpp
45271 @if libdecnumber
45272 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
45273 mkdir stage2-libdecnumber; \
45274 mv stage2-libdecnumber libdecnumber ; \
45275 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45276 @endif libdecnumber
45277 @if libiberty
45278 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
45279 mkdir stage2-libiberty; \
45280 mv stage2-libiberty libiberty ; \
45281 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45282 @endif libiberty
45283 @if zlib
45284 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
45285 mkdir stage2-zlib; \
45286 mv stage2-zlib zlib ; \
45287 mv stage1-zlib prev-zlib || test -f stage1-lean
45288 @endif zlib
45289 @if lto-plugin
45290 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
45291 mkdir stage2-lto-plugin; \
45292 mv stage2-lto-plugin lto-plugin ; \
45293 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
45294 @endif lto-plugin
45295 @[ -d stage2-$(TARGET_SUBDIR) ] || \
45296 mkdir stage2-$(TARGET_SUBDIR); \
45297 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45298 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45300 stage2-end::
45301 @if bfd
45302 @if test -d $(HOST_SUBDIR)/bfd ; then \
45303 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
45304 mv prev-bfd stage1-bfd ; : ; \
45306 @endif bfd
45307 @if opcodes
45308 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45309 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
45310 mv prev-opcodes stage1-opcodes ; : ; \
45312 @endif opcodes
45313 @if binutils
45314 @if test -d $(HOST_SUBDIR)/binutils ; then \
45315 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
45316 mv prev-binutils stage1-binutils ; : ; \
45318 @endif binutils
45319 @if gas
45320 @if test -d $(HOST_SUBDIR)/gas ; then \
45321 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
45322 mv prev-gas stage1-gas ; : ; \
45324 @endif gas
45325 @if gcc
45326 @if test -d $(HOST_SUBDIR)/gcc ; then \
45327 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
45328 mv prev-gcc stage1-gcc ; : ; \
45330 @endif gcc
45331 @if gmp
45332 @if test -d $(HOST_SUBDIR)/gmp ; then \
45333 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
45334 mv prev-gmp stage1-gmp ; : ; \
45336 @endif gmp
45337 @if mpfr
45338 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45339 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
45340 mv prev-mpfr stage1-mpfr ; : ; \
45342 @endif mpfr
45343 @if mpc
45344 @if test -d $(HOST_SUBDIR)/mpc ; then \
45345 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
45346 mv prev-mpc stage1-mpc ; : ; \
45348 @endif mpc
45349 @if isl
45350 @if test -d $(HOST_SUBDIR)/isl ; then \
45351 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
45352 mv prev-isl stage1-isl ; : ; \
45354 @endif isl
45355 @if cloog
45356 @if test -d $(HOST_SUBDIR)/cloog ; then \
45357 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
45358 mv prev-cloog stage1-cloog ; : ; \
45360 @endif cloog
45361 @if libelf
45362 @if test -d $(HOST_SUBDIR)/libelf ; then \
45363 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
45364 mv prev-libelf stage1-libelf ; : ; \
45366 @endif libelf
45367 @if gold
45368 @if test -d $(HOST_SUBDIR)/gold ; then \
45369 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
45370 mv prev-gold stage1-gold ; : ; \
45372 @endif gold
45373 @if intl
45374 @if test -d $(HOST_SUBDIR)/intl ; then \
45375 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
45376 mv prev-intl stage1-intl ; : ; \
45378 @endif intl
45379 @if ld
45380 @if test -d $(HOST_SUBDIR)/ld ; then \
45381 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
45382 mv prev-ld stage1-ld ; : ; \
45384 @endif ld
45385 @if libbacktrace
45386 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45387 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
45388 mv prev-libbacktrace stage1-libbacktrace ; : ; \
45390 @endif libbacktrace
45391 @if libcpp
45392 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45393 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
45394 mv prev-libcpp stage1-libcpp ; : ; \
45396 @endif libcpp
45397 @if libdecnumber
45398 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45399 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
45400 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45402 @endif libdecnumber
45403 @if libiberty
45404 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45405 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
45406 mv prev-libiberty stage1-libiberty ; : ; \
45408 @endif libiberty
45409 @if zlib
45410 @if test -d $(HOST_SUBDIR)/zlib ; then \
45411 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
45412 mv prev-zlib stage1-zlib ; : ; \
45414 @endif zlib
45415 @if lto-plugin
45416 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45417 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
45418 mv prev-lto-plugin stage1-lto-plugin ; : ; \
45420 @endif lto-plugin
45421 @if test -d $(TARGET_SUBDIR) ; then \
45422 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
45423 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45425 rm -f stage_current
45427 # Bubble a bug fix through all the stages up to stage 2. They are
45428 # remade, but not reconfigured. The next stage (if any) will not be
45429 # reconfigured either.
45430 .PHONY: stage2-bubble
45431 stage2-bubble:: stage1-bubble
45432 @r=`${PWD_COMMAND}`; export r; \
45433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45434 if test -f stage2-lean || test -f stage1-lean ; then \
45435 echo Skipping rebuild of stage2 ; \
45436 else \
45437 $(MAKE) stage2-start; \
45438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
45441 .PHONY: all-stage2 clean-stage2
45442 do-clean: clean-stage2
45444 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45445 # only possibility, but now it conflicts with no-bootstrap rules
45446 @if gcc-bootstrap
45450 .PHONY: bootstrap2 bootstrap2-lean
45451 bootstrap2:
45452 echo stage2 > stage_final
45453 @r=`${PWD_COMMAND}`; export r; \
45454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45455 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
45456 @: $(MAKE); $(unstage)
45457 @r=`${PWD_COMMAND}`; export r; \
45458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45459 TFLAGS="$(STAGE2_TFLAGS)"; \
45460 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45462 bootstrap2-lean:
45463 echo stage2 > stage_final
45464 @r=`${PWD_COMMAND}`; export r; \
45465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45466 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
45467 @: $(MAKE); $(unstage)
45468 @r=`${PWD_COMMAND}`; export r; \
45469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45470 TFLAGS="$(STAGE2_TFLAGS)"; \
45471 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45474 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45475 distclean-stage1:: distclean-stage2
45476 .PHONY: distclean-stage2
45477 distclean-stage2::
45478 @: $(MAKE); $(stage)
45479 @test "`cat stage_last`" != stage2 || rm -f stage_last
45480 rm -rf stage2-*
45483 @endif gcc-bootstrap
45486 .PHONY: stage3-start stage3-end
45488 stage3-start::
45489 @: $(MAKE); $(stage); \
45490 echo stage3 > stage_current ; \
45491 echo stage3 > stage_last; \
45492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45493 @if bfd
45494 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
45495 mkdir stage3-bfd; \
45496 mv stage3-bfd bfd ; \
45497 mv stage2-bfd prev-bfd || test -f stage2-lean
45498 @endif bfd
45499 @if opcodes
45500 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
45501 mkdir stage3-opcodes; \
45502 mv stage3-opcodes opcodes ; \
45503 mv stage2-opcodes prev-opcodes || test -f stage2-lean
45504 @endif opcodes
45505 @if binutils
45506 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
45507 mkdir stage3-binutils; \
45508 mv stage3-binutils binutils ; \
45509 mv stage2-binutils prev-binutils || test -f stage2-lean
45510 @endif binutils
45511 @if gas
45512 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
45513 mkdir stage3-gas; \
45514 mv stage3-gas gas ; \
45515 mv stage2-gas prev-gas || test -f stage2-lean
45516 @endif gas
45517 @if gcc
45518 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
45519 mkdir stage3-gcc; \
45520 mv stage3-gcc gcc ; \
45521 mv stage2-gcc prev-gcc || test -f stage2-lean
45522 @endif gcc
45523 @if gmp
45524 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
45525 mkdir stage3-gmp; \
45526 mv stage3-gmp gmp ; \
45527 mv stage2-gmp prev-gmp || test -f stage2-lean
45528 @endif gmp
45529 @if mpfr
45530 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
45531 mkdir stage3-mpfr; \
45532 mv stage3-mpfr mpfr ; \
45533 mv stage2-mpfr prev-mpfr || test -f stage2-lean
45534 @endif mpfr
45535 @if mpc
45536 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
45537 mkdir stage3-mpc; \
45538 mv stage3-mpc mpc ; \
45539 mv stage2-mpc prev-mpc || test -f stage2-lean
45540 @endif mpc
45541 @if isl
45542 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
45543 mkdir stage3-isl; \
45544 mv stage3-isl isl ; \
45545 mv stage2-isl prev-isl || test -f stage2-lean
45546 @endif isl
45547 @if cloog
45548 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
45549 mkdir stage3-cloog; \
45550 mv stage3-cloog cloog ; \
45551 mv stage2-cloog prev-cloog || test -f stage2-lean
45552 @endif cloog
45553 @if libelf
45554 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
45555 mkdir stage3-libelf; \
45556 mv stage3-libelf libelf ; \
45557 mv stage2-libelf prev-libelf || test -f stage2-lean
45558 @endif libelf
45559 @if gold
45560 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
45561 mkdir stage3-gold; \
45562 mv stage3-gold gold ; \
45563 mv stage2-gold prev-gold || test -f stage2-lean
45564 @endif gold
45565 @if intl
45566 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
45567 mkdir stage3-intl; \
45568 mv stage3-intl intl ; \
45569 mv stage2-intl prev-intl || test -f stage2-lean
45570 @endif intl
45571 @if ld
45572 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
45573 mkdir stage3-ld; \
45574 mv stage3-ld ld ; \
45575 mv stage2-ld prev-ld || test -f stage2-lean
45576 @endif ld
45577 @if libbacktrace
45578 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
45579 mkdir stage3-libbacktrace; \
45580 mv stage3-libbacktrace libbacktrace ; \
45581 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
45582 @endif libbacktrace
45583 @if libcpp
45584 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
45585 mkdir stage3-libcpp; \
45586 mv stage3-libcpp libcpp ; \
45587 mv stage2-libcpp prev-libcpp || test -f stage2-lean
45588 @endif libcpp
45589 @if libdecnumber
45590 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
45591 mkdir stage3-libdecnumber; \
45592 mv stage3-libdecnumber libdecnumber ; \
45593 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
45594 @endif libdecnumber
45595 @if libiberty
45596 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
45597 mkdir stage3-libiberty; \
45598 mv stage3-libiberty libiberty ; \
45599 mv stage2-libiberty prev-libiberty || test -f stage2-lean
45600 @endif libiberty
45601 @if zlib
45602 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
45603 mkdir stage3-zlib; \
45604 mv stage3-zlib zlib ; \
45605 mv stage2-zlib prev-zlib || test -f stage2-lean
45606 @endif zlib
45607 @if lto-plugin
45608 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
45609 mkdir stage3-lto-plugin; \
45610 mv stage3-lto-plugin lto-plugin ; \
45611 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
45612 @endif lto-plugin
45613 @[ -d stage3-$(TARGET_SUBDIR) ] || \
45614 mkdir stage3-$(TARGET_SUBDIR); \
45615 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45616 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
45618 stage3-end::
45619 @if bfd
45620 @if test -d $(HOST_SUBDIR)/bfd ; then \
45621 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
45622 mv prev-bfd stage2-bfd ; : ; \
45624 @endif bfd
45625 @if opcodes
45626 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45627 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
45628 mv prev-opcodes stage2-opcodes ; : ; \
45630 @endif opcodes
45631 @if binutils
45632 @if test -d $(HOST_SUBDIR)/binutils ; then \
45633 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
45634 mv prev-binutils stage2-binutils ; : ; \
45636 @endif binutils
45637 @if gas
45638 @if test -d $(HOST_SUBDIR)/gas ; then \
45639 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
45640 mv prev-gas stage2-gas ; : ; \
45642 @endif gas
45643 @if gcc
45644 @if test -d $(HOST_SUBDIR)/gcc ; then \
45645 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
45646 mv prev-gcc stage2-gcc ; : ; \
45648 @endif gcc
45649 @if gmp
45650 @if test -d $(HOST_SUBDIR)/gmp ; then \
45651 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
45652 mv prev-gmp stage2-gmp ; : ; \
45654 @endif gmp
45655 @if mpfr
45656 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45657 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
45658 mv prev-mpfr stage2-mpfr ; : ; \
45660 @endif mpfr
45661 @if mpc
45662 @if test -d $(HOST_SUBDIR)/mpc ; then \
45663 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
45664 mv prev-mpc stage2-mpc ; : ; \
45666 @endif mpc
45667 @if isl
45668 @if test -d $(HOST_SUBDIR)/isl ; then \
45669 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
45670 mv prev-isl stage2-isl ; : ; \
45672 @endif isl
45673 @if cloog
45674 @if test -d $(HOST_SUBDIR)/cloog ; then \
45675 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
45676 mv prev-cloog stage2-cloog ; : ; \
45678 @endif cloog
45679 @if libelf
45680 @if test -d $(HOST_SUBDIR)/libelf ; then \
45681 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
45682 mv prev-libelf stage2-libelf ; : ; \
45684 @endif libelf
45685 @if gold
45686 @if test -d $(HOST_SUBDIR)/gold ; then \
45687 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
45688 mv prev-gold stage2-gold ; : ; \
45690 @endif gold
45691 @if intl
45692 @if test -d $(HOST_SUBDIR)/intl ; then \
45693 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
45694 mv prev-intl stage2-intl ; : ; \
45696 @endif intl
45697 @if ld
45698 @if test -d $(HOST_SUBDIR)/ld ; then \
45699 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
45700 mv prev-ld stage2-ld ; : ; \
45702 @endif ld
45703 @if libbacktrace
45704 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45705 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
45706 mv prev-libbacktrace stage2-libbacktrace ; : ; \
45708 @endif libbacktrace
45709 @if libcpp
45710 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45711 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
45712 mv prev-libcpp stage2-libcpp ; : ; \
45714 @endif libcpp
45715 @if libdecnumber
45716 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45717 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
45718 mv prev-libdecnumber stage2-libdecnumber ; : ; \
45720 @endif libdecnumber
45721 @if libiberty
45722 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45723 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
45724 mv prev-libiberty stage2-libiberty ; : ; \
45726 @endif libiberty
45727 @if zlib
45728 @if test -d $(HOST_SUBDIR)/zlib ; then \
45729 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
45730 mv prev-zlib stage2-zlib ; : ; \
45732 @endif zlib
45733 @if lto-plugin
45734 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45735 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
45736 mv prev-lto-plugin stage2-lto-plugin ; : ; \
45738 @endif lto-plugin
45739 @if test -d $(TARGET_SUBDIR) ; then \
45740 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
45741 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45743 rm -f stage_current
45745 # Bubble a bug fix through all the stages up to stage 3. They are
45746 # remade, but not reconfigured. The next stage (if any) will not be
45747 # reconfigured either.
45748 .PHONY: stage3-bubble
45749 stage3-bubble:: stage2-bubble
45750 @r=`${PWD_COMMAND}`; export r; \
45751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45752 if test -f stage3-lean || test -f stage2-lean ; then \
45753 echo Skipping rebuild of stage3 ; \
45754 else \
45755 $(MAKE) stage3-start; \
45756 if $(LEAN); then \
45757 rm -rf stage1-* ; \
45758 $(STAMP) stage1-lean ; \
45759 fi; \
45760 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45764 .PHONY: all-stage3 clean-stage3
45765 do-clean: clean-stage3
45767 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45768 # only possibility, but now it conflicts with no-bootstrap rules
45769 @if gcc-bootstrap
45771 compare:
45772 @r=`${PWD_COMMAND}`; export r; \
45773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45774 if test -f stage2-lean; then \
45775 echo Cannot compare object files as stage 2 was deleted. ; \
45776 exit 0 ; \
45777 fi; \
45778 : $(MAKE); $(stage); \
45779 rm -f .bad_compare ; \
45780 echo Comparing stages 2 and 3 ; \
45781 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
45782 files=`find stage3-* -name "*$(objext)" -print | \
45783 sed -n s,^stage$$sed-,,p` ; \
45784 for file in $${files} ; do \
45785 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
45786 if test ! -f $$f1; then continue; fi; \
45787 $(do-compare) > /dev/null 2>&1; \
45788 if test $$? -eq 1; then \
45789 case $$file in \
45790 @compare_exclusions@) \
45791 echo warning: $$file differs ;; \
45792 *) \
45793 echo $$file differs >> .bad_compare ;; \
45794 esac ; \
45795 fi ; \
45796 done ; \
45797 if [ -f .bad_compare ]; then \
45798 echo "Bootstrap comparison failure!"; \
45799 cat .bad_compare; \
45800 exit 1; \
45801 else \
45802 echo Comparison successful.; \
45803 fi ; \
45804 $(STAMP) compare
45805 if $(LEAN); then \
45806 rm -rf stage2-*; \
45807 $(STAMP) stage2-lean; \
45812 .PHONY: bootstrap bootstrap-lean
45813 bootstrap:
45814 echo stage3 > stage_final
45815 @r=`${PWD_COMMAND}`; export r; \
45816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45817 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45818 @: $(MAKE); $(unstage)
45819 @r=`${PWD_COMMAND}`; export r; \
45820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45821 TFLAGS="$(STAGE3_TFLAGS)"; \
45822 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45824 bootstrap-lean:
45825 echo stage3 > stage_final
45826 @r=`${PWD_COMMAND}`; export r; \
45827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45828 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45829 @: $(MAKE); $(unstage)
45830 @r=`${PWD_COMMAND}`; export r; \
45831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45832 TFLAGS="$(STAGE3_TFLAGS)"; \
45833 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45836 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45837 distclean-stage2:: distclean-stage3
45838 .PHONY: distclean-stage3
45839 distclean-stage3::
45840 @: $(MAKE); $(stage)
45841 @test "`cat stage_last`" != stage3 || rm -f stage_last
45842 rm -rf stage3-* compare
45845 .PHONY: cleanstrap
45846 cleanstrap: do-distclean local-clean
45847 echo stage3 > stage_final
45848 @r=`${PWD_COMMAND}`; export r; \
45849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45850 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45851 @: $(MAKE); $(unstage)
45852 @r=`${PWD_COMMAND}`; export r; \
45853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45854 TFLAGS="$(STAGE3_TFLAGS)"; \
45855 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45857 @endif gcc-bootstrap
45860 .PHONY: stage4-start stage4-end
45862 stage4-start::
45863 @: $(MAKE); $(stage); \
45864 echo stage4 > stage_current ; \
45865 echo stage4 > stage_last; \
45866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45867 @if bfd
45868 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45869 mkdir stage4-bfd; \
45870 mv stage4-bfd bfd ; \
45871 mv stage3-bfd prev-bfd || test -f stage3-lean
45872 @endif bfd
45873 @if opcodes
45874 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45875 mkdir stage4-opcodes; \
45876 mv stage4-opcodes opcodes ; \
45877 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45878 @endif opcodes
45879 @if binutils
45880 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45881 mkdir stage4-binutils; \
45882 mv stage4-binutils binutils ; \
45883 mv stage3-binutils prev-binutils || test -f stage3-lean
45884 @endif binutils
45885 @if gas
45886 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45887 mkdir stage4-gas; \
45888 mv stage4-gas gas ; \
45889 mv stage3-gas prev-gas || test -f stage3-lean
45890 @endif gas
45891 @if gcc
45892 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45893 mkdir stage4-gcc; \
45894 mv stage4-gcc gcc ; \
45895 mv stage3-gcc prev-gcc || test -f stage3-lean
45896 @endif gcc
45897 @if gmp
45898 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45899 mkdir stage4-gmp; \
45900 mv stage4-gmp gmp ; \
45901 mv stage3-gmp prev-gmp || test -f stage3-lean
45902 @endif gmp
45903 @if mpfr
45904 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45905 mkdir stage4-mpfr; \
45906 mv stage4-mpfr mpfr ; \
45907 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45908 @endif mpfr
45909 @if mpc
45910 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
45911 mkdir stage4-mpc; \
45912 mv stage4-mpc mpc ; \
45913 mv stage3-mpc prev-mpc || test -f stage3-lean
45914 @endif mpc
45915 @if isl
45916 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
45917 mkdir stage4-isl; \
45918 mv stage4-isl isl ; \
45919 mv stage3-isl prev-isl || test -f stage3-lean
45920 @endif isl
45921 @if cloog
45922 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
45923 mkdir stage4-cloog; \
45924 mv stage4-cloog cloog ; \
45925 mv stage3-cloog prev-cloog || test -f stage3-lean
45926 @endif cloog
45927 @if libelf
45928 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
45929 mkdir stage4-libelf; \
45930 mv stage4-libelf libelf ; \
45931 mv stage3-libelf prev-libelf || test -f stage3-lean
45932 @endif libelf
45933 @if gold
45934 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
45935 mkdir stage4-gold; \
45936 mv stage4-gold gold ; \
45937 mv stage3-gold prev-gold || test -f stage3-lean
45938 @endif gold
45939 @if intl
45940 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45941 mkdir stage4-intl; \
45942 mv stage4-intl intl ; \
45943 mv stage3-intl prev-intl || test -f stage3-lean
45944 @endif intl
45945 @if ld
45946 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45947 mkdir stage4-ld; \
45948 mv stage4-ld ld ; \
45949 mv stage3-ld prev-ld || test -f stage3-lean
45950 @endif ld
45951 @if libbacktrace
45952 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
45953 mkdir stage4-libbacktrace; \
45954 mv stage4-libbacktrace libbacktrace ; \
45955 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
45956 @endif libbacktrace
45957 @if libcpp
45958 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45959 mkdir stage4-libcpp; \
45960 mv stage4-libcpp libcpp ; \
45961 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45962 @endif libcpp
45963 @if libdecnumber
45964 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45965 mkdir stage4-libdecnumber; \
45966 mv stage4-libdecnumber libdecnumber ; \
45967 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45968 @endif libdecnumber
45969 @if libiberty
45970 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45971 mkdir stage4-libiberty; \
45972 mv stage4-libiberty libiberty ; \
45973 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45974 @endif libiberty
45975 @if zlib
45976 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45977 mkdir stage4-zlib; \
45978 mv stage4-zlib zlib ; \
45979 mv stage3-zlib prev-zlib || test -f stage3-lean
45980 @endif zlib
45981 @if lto-plugin
45982 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
45983 mkdir stage4-lto-plugin; \
45984 mv stage4-lto-plugin lto-plugin ; \
45985 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
45986 @endif lto-plugin
45987 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45988 mkdir stage4-$(TARGET_SUBDIR); \
45989 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45990 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45992 stage4-end::
45993 @if bfd
45994 @if test -d $(HOST_SUBDIR)/bfd ; then \
45995 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45996 mv prev-bfd stage3-bfd ; : ; \
45998 @endif bfd
45999 @if opcodes
46000 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46001 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
46002 mv prev-opcodes stage3-opcodes ; : ; \
46004 @endif opcodes
46005 @if binutils
46006 @if test -d $(HOST_SUBDIR)/binutils ; then \
46007 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
46008 mv prev-binutils stage3-binutils ; : ; \
46010 @endif binutils
46011 @if gas
46012 @if test -d $(HOST_SUBDIR)/gas ; then \
46013 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
46014 mv prev-gas stage3-gas ; : ; \
46016 @endif gas
46017 @if gcc
46018 @if test -d $(HOST_SUBDIR)/gcc ; then \
46019 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
46020 mv prev-gcc stage3-gcc ; : ; \
46022 @endif gcc
46023 @if gmp
46024 @if test -d $(HOST_SUBDIR)/gmp ; then \
46025 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
46026 mv prev-gmp stage3-gmp ; : ; \
46028 @endif gmp
46029 @if mpfr
46030 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46031 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
46032 mv prev-mpfr stage3-mpfr ; : ; \
46034 @endif mpfr
46035 @if mpc
46036 @if test -d $(HOST_SUBDIR)/mpc ; then \
46037 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
46038 mv prev-mpc stage3-mpc ; : ; \
46040 @endif mpc
46041 @if isl
46042 @if test -d $(HOST_SUBDIR)/isl ; then \
46043 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
46044 mv prev-isl stage3-isl ; : ; \
46046 @endif isl
46047 @if cloog
46048 @if test -d $(HOST_SUBDIR)/cloog ; then \
46049 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
46050 mv prev-cloog stage3-cloog ; : ; \
46052 @endif cloog
46053 @if libelf
46054 @if test -d $(HOST_SUBDIR)/libelf ; then \
46055 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
46056 mv prev-libelf stage3-libelf ; : ; \
46058 @endif libelf
46059 @if gold
46060 @if test -d $(HOST_SUBDIR)/gold ; then \
46061 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
46062 mv prev-gold stage3-gold ; : ; \
46064 @endif gold
46065 @if intl
46066 @if test -d $(HOST_SUBDIR)/intl ; then \
46067 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
46068 mv prev-intl stage3-intl ; : ; \
46070 @endif intl
46071 @if ld
46072 @if test -d $(HOST_SUBDIR)/ld ; then \
46073 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
46074 mv prev-ld stage3-ld ; : ; \
46076 @endif ld
46077 @if libbacktrace
46078 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46079 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
46080 mv prev-libbacktrace stage3-libbacktrace ; : ; \
46082 @endif libbacktrace
46083 @if libcpp
46084 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46085 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
46086 mv prev-libcpp stage3-libcpp ; : ; \
46088 @endif libcpp
46089 @if libdecnumber
46090 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46091 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
46092 mv prev-libdecnumber stage3-libdecnumber ; : ; \
46094 @endif libdecnumber
46095 @if libiberty
46096 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46097 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
46098 mv prev-libiberty stage3-libiberty ; : ; \
46100 @endif libiberty
46101 @if zlib
46102 @if test -d $(HOST_SUBDIR)/zlib ; then \
46103 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
46104 mv prev-zlib stage3-zlib ; : ; \
46106 @endif zlib
46107 @if lto-plugin
46108 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46109 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
46110 mv prev-lto-plugin stage3-lto-plugin ; : ; \
46112 @endif lto-plugin
46113 @if test -d $(TARGET_SUBDIR) ; then \
46114 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
46115 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
46117 rm -f stage_current
46119 # Bubble a bug fix through all the stages up to stage 4. They are
46120 # remade, but not reconfigured. The next stage (if any) will not be
46121 # reconfigured either.
46122 .PHONY: stage4-bubble
46123 stage4-bubble:: stage3-bubble
46124 @r=`${PWD_COMMAND}`; export r; \
46125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46126 if test -f stage4-lean || test -f stage3-lean ; then \
46127 echo Skipping rebuild of stage4 ; \
46128 else \
46129 $(MAKE) stage4-start; \
46130 if $(LEAN); then \
46131 rm -rf stage2-* ; \
46132 $(STAMP) stage2-lean ; \
46133 fi; \
46134 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
46136 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
46138 .PHONY: all-stage4 clean-stage4
46139 do-clean: clean-stage4
46141 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46142 # only possibility, but now it conflicts with no-bootstrap rules
46143 @if gcc-bootstrap
46145 compare3:
46146 @r=`${PWD_COMMAND}`; export r; \
46147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46148 if test -f stage3-lean; then \
46149 echo Cannot compare object files as stage 3 was deleted. ; \
46150 exit 0 ; \
46151 fi; \
46152 : $(MAKE); $(stage); \
46153 rm -f .bad_compare ; \
46154 echo Comparing stages 3 and 4 ; \
46155 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
46156 files=`find stage4-* -name "*$(objext)" -print | \
46157 sed -n s,^stage$$sed-,,p` ; \
46158 for file in $${files} ; do \
46159 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
46160 if test ! -f $$f1; then continue; fi; \
46161 $(do-compare3) > /dev/null 2>&1; \
46162 if test $$? -eq 1; then \
46163 case $$file in \
46164 @compare_exclusions@) \
46165 echo warning: $$file differs ;; \
46166 *) \
46167 echo $$file differs >> .bad_compare ;; \
46168 esac ; \
46169 fi ; \
46170 done ; \
46171 if [ -f .bad_compare ]; then \
46172 echo "Bootstrap comparison failure!"; \
46173 cat .bad_compare; \
46174 exit 1; \
46175 else \
46176 echo Comparison successful.; \
46177 fi ; \
46178 $(STAMP) compare3
46179 if $(LEAN); then \
46180 rm -rf stage3-*; \
46181 $(STAMP) stage3-lean; \
46186 .PHONY: bootstrap4 bootstrap4-lean
46187 bootstrap4:
46188 echo stage4 > stage_final
46189 @r=`${PWD_COMMAND}`; export r; \
46190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46191 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
46192 @: $(MAKE); $(unstage)
46193 @r=`${PWD_COMMAND}`; export r; \
46194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46195 TFLAGS="$(STAGE4_TFLAGS)"; \
46196 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46198 bootstrap4-lean:
46199 echo stage4 > stage_final
46200 @r=`${PWD_COMMAND}`; export r; \
46201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46202 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
46203 @: $(MAKE); $(unstage)
46204 @r=`${PWD_COMMAND}`; export r; \
46205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46206 TFLAGS="$(STAGE4_TFLAGS)"; \
46207 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46210 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46211 distclean-stage3:: distclean-stage4
46212 .PHONY: distclean-stage4
46213 distclean-stage4::
46214 @: $(MAKE); $(stage)
46215 @test "`cat stage_last`" != stage4 || rm -f stage_last
46216 rm -rf stage4-* compare3
46219 @endif gcc-bootstrap
46222 .PHONY: stageprofile-start stageprofile-end
46224 stageprofile-start::
46225 @: $(MAKE); $(stage); \
46226 echo stageprofile > stage_current ; \
46227 echo stageprofile > stage_last; \
46228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46229 @if bfd
46230 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
46231 mkdir stageprofile-bfd; \
46232 mv stageprofile-bfd bfd ; \
46233 mv stage1-bfd prev-bfd || test -f stage1-lean
46234 @endif bfd
46235 @if opcodes
46236 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
46237 mkdir stageprofile-opcodes; \
46238 mv stageprofile-opcodes opcodes ; \
46239 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46240 @endif opcodes
46241 @if binutils
46242 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
46243 mkdir stageprofile-binutils; \
46244 mv stageprofile-binutils binutils ; \
46245 mv stage1-binutils prev-binutils || test -f stage1-lean
46246 @endif binutils
46247 @if gas
46248 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
46249 mkdir stageprofile-gas; \
46250 mv stageprofile-gas gas ; \
46251 mv stage1-gas prev-gas || test -f stage1-lean
46252 @endif gas
46253 @if gcc
46254 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
46255 mkdir stageprofile-gcc; \
46256 mv stageprofile-gcc gcc ; \
46257 mv stage1-gcc prev-gcc || test -f stage1-lean
46258 @endif gcc
46259 @if gmp
46260 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
46261 mkdir stageprofile-gmp; \
46262 mv stageprofile-gmp gmp ; \
46263 mv stage1-gmp prev-gmp || test -f stage1-lean
46264 @endif gmp
46265 @if mpfr
46266 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
46267 mkdir stageprofile-mpfr; \
46268 mv stageprofile-mpfr mpfr ; \
46269 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46270 @endif mpfr
46271 @if mpc
46272 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
46273 mkdir stageprofile-mpc; \
46274 mv stageprofile-mpc mpc ; \
46275 mv stage1-mpc prev-mpc || test -f stage1-lean
46276 @endif mpc
46277 @if isl
46278 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
46279 mkdir stageprofile-isl; \
46280 mv stageprofile-isl isl ; \
46281 mv stage1-isl prev-isl || test -f stage1-lean
46282 @endif isl
46283 @if cloog
46284 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
46285 mkdir stageprofile-cloog; \
46286 mv stageprofile-cloog cloog ; \
46287 mv stage1-cloog prev-cloog || test -f stage1-lean
46288 @endif cloog
46289 @if libelf
46290 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
46291 mkdir stageprofile-libelf; \
46292 mv stageprofile-libelf libelf ; \
46293 mv stage1-libelf prev-libelf || test -f stage1-lean
46294 @endif libelf
46295 @if gold
46296 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
46297 mkdir stageprofile-gold; \
46298 mv stageprofile-gold gold ; \
46299 mv stage1-gold prev-gold || test -f stage1-lean
46300 @endif gold
46301 @if intl
46302 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
46303 mkdir stageprofile-intl; \
46304 mv stageprofile-intl intl ; \
46305 mv stage1-intl prev-intl || test -f stage1-lean
46306 @endif intl
46307 @if ld
46308 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
46309 mkdir stageprofile-ld; \
46310 mv stageprofile-ld ld ; \
46311 mv stage1-ld prev-ld || test -f stage1-lean
46312 @endif ld
46313 @if libbacktrace
46314 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
46315 mkdir stageprofile-libbacktrace; \
46316 mv stageprofile-libbacktrace libbacktrace ; \
46317 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46318 @endif libbacktrace
46319 @if libcpp
46320 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
46321 mkdir stageprofile-libcpp; \
46322 mv stageprofile-libcpp libcpp ; \
46323 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46324 @endif libcpp
46325 @if libdecnumber
46326 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
46327 mkdir stageprofile-libdecnumber; \
46328 mv stageprofile-libdecnumber libdecnumber ; \
46329 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46330 @endif libdecnumber
46331 @if libiberty
46332 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
46333 mkdir stageprofile-libiberty; \
46334 mv stageprofile-libiberty libiberty ; \
46335 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46336 @endif libiberty
46337 @if zlib
46338 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
46339 mkdir stageprofile-zlib; \
46340 mv stageprofile-zlib zlib ; \
46341 mv stage1-zlib prev-zlib || test -f stage1-lean
46342 @endif zlib
46343 @if lto-plugin
46344 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
46345 mkdir stageprofile-lto-plugin; \
46346 mv stageprofile-lto-plugin lto-plugin ; \
46347 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46348 @endif lto-plugin
46349 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
46350 mkdir stageprofile-$(TARGET_SUBDIR); \
46351 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46352 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46354 stageprofile-end::
46355 @if bfd
46356 @if test -d $(HOST_SUBDIR)/bfd ; then \
46357 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
46358 mv prev-bfd stage1-bfd ; : ; \
46360 @endif bfd
46361 @if opcodes
46362 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46363 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
46364 mv prev-opcodes stage1-opcodes ; : ; \
46366 @endif opcodes
46367 @if binutils
46368 @if test -d $(HOST_SUBDIR)/binutils ; then \
46369 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
46370 mv prev-binutils stage1-binutils ; : ; \
46372 @endif binutils
46373 @if gas
46374 @if test -d $(HOST_SUBDIR)/gas ; then \
46375 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
46376 mv prev-gas stage1-gas ; : ; \
46378 @endif gas
46379 @if gcc
46380 @if test -d $(HOST_SUBDIR)/gcc ; then \
46381 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
46382 mv prev-gcc stage1-gcc ; : ; \
46384 @endif gcc
46385 @if gmp
46386 @if test -d $(HOST_SUBDIR)/gmp ; then \
46387 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
46388 mv prev-gmp stage1-gmp ; : ; \
46390 @endif gmp
46391 @if mpfr
46392 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46393 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
46394 mv prev-mpfr stage1-mpfr ; : ; \
46396 @endif mpfr
46397 @if mpc
46398 @if test -d $(HOST_SUBDIR)/mpc ; then \
46399 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
46400 mv prev-mpc stage1-mpc ; : ; \
46402 @endif mpc
46403 @if isl
46404 @if test -d $(HOST_SUBDIR)/isl ; then \
46405 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
46406 mv prev-isl stage1-isl ; : ; \
46408 @endif isl
46409 @if cloog
46410 @if test -d $(HOST_SUBDIR)/cloog ; then \
46411 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
46412 mv prev-cloog stage1-cloog ; : ; \
46414 @endif cloog
46415 @if libelf
46416 @if test -d $(HOST_SUBDIR)/libelf ; then \
46417 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
46418 mv prev-libelf stage1-libelf ; : ; \
46420 @endif libelf
46421 @if gold
46422 @if test -d $(HOST_SUBDIR)/gold ; then \
46423 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
46424 mv prev-gold stage1-gold ; : ; \
46426 @endif gold
46427 @if intl
46428 @if test -d $(HOST_SUBDIR)/intl ; then \
46429 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
46430 mv prev-intl stage1-intl ; : ; \
46432 @endif intl
46433 @if ld
46434 @if test -d $(HOST_SUBDIR)/ld ; then \
46435 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
46436 mv prev-ld stage1-ld ; : ; \
46438 @endif ld
46439 @if libbacktrace
46440 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46441 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
46442 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46444 @endif libbacktrace
46445 @if libcpp
46446 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46447 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
46448 mv prev-libcpp stage1-libcpp ; : ; \
46450 @endif libcpp
46451 @if libdecnumber
46452 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46453 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
46454 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46456 @endif libdecnumber
46457 @if libiberty
46458 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46459 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
46460 mv prev-libiberty stage1-libiberty ; : ; \
46462 @endif libiberty
46463 @if zlib
46464 @if test -d $(HOST_SUBDIR)/zlib ; then \
46465 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
46466 mv prev-zlib stage1-zlib ; : ; \
46468 @endif zlib
46469 @if lto-plugin
46470 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46471 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
46472 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46474 @endif lto-plugin
46475 @if test -d $(TARGET_SUBDIR) ; then \
46476 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
46477 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46479 rm -f stage_current
46481 # Bubble a bug fix through all the stages up to stage profile. They are
46482 # remade, but not reconfigured. The next stage (if any) will not be
46483 # reconfigured either.
46484 .PHONY: stageprofile-bubble
46485 stageprofile-bubble:: stage1-bubble
46486 @r=`${PWD_COMMAND}`; export r; \
46487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46488 if test -f stageprofile-lean || test -f stage1-lean ; then \
46489 echo Skipping rebuild of stageprofile ; \
46490 else \
46491 $(MAKE) stageprofile-start; \
46492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
46495 .PHONY: all-stageprofile clean-stageprofile
46496 do-clean: clean-stageprofile
46498 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46499 # only possibility, but now it conflicts with no-bootstrap rules
46500 @if gcc-bootstrap
46505 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46506 distclean-stage1:: distclean-stageprofile
46507 .PHONY: distclean-stageprofile
46508 distclean-stageprofile::
46509 @: $(MAKE); $(stage)
46510 @test "`cat stage_last`" != stageprofile || rm -f stage_last
46511 rm -rf stageprofile-*
46514 @endif gcc-bootstrap
46517 .PHONY: stagefeedback-start stagefeedback-end
46519 stagefeedback-start::
46520 @: $(MAKE); $(stage); \
46521 echo stagefeedback > stage_current ; \
46522 echo stagefeedback > stage_last; \
46523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46524 @if bfd
46525 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
46526 mkdir stagefeedback-bfd; \
46527 mv stagefeedback-bfd bfd ; \
46528 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
46529 @endif bfd
46530 @if opcodes
46531 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
46532 mkdir stagefeedback-opcodes; \
46533 mv stagefeedback-opcodes opcodes ; \
46534 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
46535 @endif opcodes
46536 @if binutils
46537 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
46538 mkdir stagefeedback-binutils; \
46539 mv stagefeedback-binutils binutils ; \
46540 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
46541 @endif binutils
46542 @if gas
46543 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
46544 mkdir stagefeedback-gas; \
46545 mv stagefeedback-gas gas ; \
46546 mv stageprofile-gas prev-gas || test -f stageprofile-lean
46547 @endif gas
46548 @if gcc
46549 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
46550 mkdir stagefeedback-gcc; \
46551 mv stagefeedback-gcc gcc ; \
46552 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
46553 @endif gcc
46554 @if gmp
46555 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
46556 mkdir stagefeedback-gmp; \
46557 mv stagefeedback-gmp gmp ; \
46558 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
46559 @endif gmp
46560 @if mpfr
46561 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
46562 mkdir stagefeedback-mpfr; \
46563 mv stagefeedback-mpfr mpfr ; \
46564 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
46565 @endif mpfr
46566 @if mpc
46567 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
46568 mkdir stagefeedback-mpc; \
46569 mv stagefeedback-mpc mpc ; \
46570 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
46571 @endif mpc
46572 @if isl
46573 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
46574 mkdir stagefeedback-isl; \
46575 mv stagefeedback-isl isl ; \
46576 mv stageprofile-isl prev-isl || test -f stageprofile-lean
46577 @endif isl
46578 @if cloog
46579 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
46580 mkdir stagefeedback-cloog; \
46581 mv stagefeedback-cloog cloog ; \
46582 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
46583 @endif cloog
46584 @if libelf
46585 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
46586 mkdir stagefeedback-libelf; \
46587 mv stagefeedback-libelf libelf ; \
46588 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
46589 @endif libelf
46590 @if gold
46591 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
46592 mkdir stagefeedback-gold; \
46593 mv stagefeedback-gold gold ; \
46594 mv stageprofile-gold prev-gold || test -f stageprofile-lean
46595 @endif gold
46596 @if intl
46597 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
46598 mkdir stagefeedback-intl; \
46599 mv stagefeedback-intl intl ; \
46600 mv stageprofile-intl prev-intl || test -f stageprofile-lean
46601 @endif intl
46602 @if ld
46603 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
46604 mkdir stagefeedback-ld; \
46605 mv stagefeedback-ld ld ; \
46606 mv stageprofile-ld prev-ld || test -f stageprofile-lean
46607 @endif ld
46608 @if libbacktrace
46609 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
46610 mkdir stagefeedback-libbacktrace; \
46611 mv stagefeedback-libbacktrace libbacktrace ; \
46612 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
46613 @endif libbacktrace
46614 @if libcpp
46615 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
46616 mkdir stagefeedback-libcpp; \
46617 mv stagefeedback-libcpp libcpp ; \
46618 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
46619 @endif libcpp
46620 @if libdecnumber
46621 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
46622 mkdir stagefeedback-libdecnumber; \
46623 mv stagefeedback-libdecnumber libdecnumber ; \
46624 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
46625 @endif libdecnumber
46626 @if libiberty
46627 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
46628 mkdir stagefeedback-libiberty; \
46629 mv stagefeedback-libiberty libiberty ; \
46630 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
46631 @endif libiberty
46632 @if zlib
46633 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
46634 mkdir stagefeedback-zlib; \
46635 mv stagefeedback-zlib zlib ; \
46636 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
46637 @endif zlib
46638 @if lto-plugin
46639 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
46640 mkdir stagefeedback-lto-plugin; \
46641 mv stagefeedback-lto-plugin lto-plugin ; \
46642 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
46643 @endif lto-plugin
46644 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
46645 mkdir stagefeedback-$(TARGET_SUBDIR); \
46646 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46647 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
46649 stagefeedback-end::
46650 @if bfd
46651 @if test -d $(HOST_SUBDIR)/bfd ; then \
46652 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
46653 mv prev-bfd stageprofile-bfd ; : ; \
46655 @endif bfd
46656 @if opcodes
46657 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46658 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
46659 mv prev-opcodes stageprofile-opcodes ; : ; \
46661 @endif opcodes
46662 @if binutils
46663 @if test -d $(HOST_SUBDIR)/binutils ; then \
46664 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
46665 mv prev-binutils stageprofile-binutils ; : ; \
46667 @endif binutils
46668 @if gas
46669 @if test -d $(HOST_SUBDIR)/gas ; then \
46670 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
46671 mv prev-gas stageprofile-gas ; : ; \
46673 @endif gas
46674 @if gcc
46675 @if test -d $(HOST_SUBDIR)/gcc ; then \
46676 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
46677 mv prev-gcc stageprofile-gcc ; : ; \
46679 @endif gcc
46680 @if gmp
46681 @if test -d $(HOST_SUBDIR)/gmp ; then \
46682 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
46683 mv prev-gmp stageprofile-gmp ; : ; \
46685 @endif gmp
46686 @if mpfr
46687 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46688 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
46689 mv prev-mpfr stageprofile-mpfr ; : ; \
46691 @endif mpfr
46692 @if mpc
46693 @if test -d $(HOST_SUBDIR)/mpc ; then \
46694 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
46695 mv prev-mpc stageprofile-mpc ; : ; \
46697 @endif mpc
46698 @if isl
46699 @if test -d $(HOST_SUBDIR)/isl ; then \
46700 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
46701 mv prev-isl stageprofile-isl ; : ; \
46703 @endif isl
46704 @if cloog
46705 @if test -d $(HOST_SUBDIR)/cloog ; then \
46706 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
46707 mv prev-cloog stageprofile-cloog ; : ; \
46709 @endif cloog
46710 @if libelf
46711 @if test -d $(HOST_SUBDIR)/libelf ; then \
46712 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
46713 mv prev-libelf stageprofile-libelf ; : ; \
46715 @endif libelf
46716 @if gold
46717 @if test -d $(HOST_SUBDIR)/gold ; then \
46718 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
46719 mv prev-gold stageprofile-gold ; : ; \
46721 @endif gold
46722 @if intl
46723 @if test -d $(HOST_SUBDIR)/intl ; then \
46724 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
46725 mv prev-intl stageprofile-intl ; : ; \
46727 @endif intl
46728 @if ld
46729 @if test -d $(HOST_SUBDIR)/ld ; then \
46730 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
46731 mv prev-ld stageprofile-ld ; : ; \
46733 @endif ld
46734 @if libbacktrace
46735 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46736 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
46737 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
46739 @endif libbacktrace
46740 @if libcpp
46741 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46742 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
46743 mv prev-libcpp stageprofile-libcpp ; : ; \
46745 @endif libcpp
46746 @if libdecnumber
46747 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46748 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
46749 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
46751 @endif libdecnumber
46752 @if libiberty
46753 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46754 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
46755 mv prev-libiberty stageprofile-libiberty ; : ; \
46757 @endif libiberty
46758 @if zlib
46759 @if test -d $(HOST_SUBDIR)/zlib ; then \
46760 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
46761 mv prev-zlib stageprofile-zlib ; : ; \
46763 @endif zlib
46764 @if lto-plugin
46765 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46766 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
46767 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
46769 @endif lto-plugin
46770 @if test -d $(TARGET_SUBDIR) ; then \
46771 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
46772 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
46774 rm -f stage_current
46776 # Bubble a bug fix through all the stages up to stage feedback. They are
46777 # remade, but not reconfigured. The next stage (if any) will not be
46778 # reconfigured either.
46779 .PHONY: stagefeedback-bubble
46780 stagefeedback-bubble:: stageprofile-bubble
46781 @r=`${PWD_COMMAND}`; export r; \
46782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46783 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
46784 echo Skipping rebuild of stagefeedback ; \
46785 else \
46786 $(MAKE) stagefeedback-start; \
46787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
46790 .PHONY: all-stagefeedback clean-stagefeedback
46791 do-clean: clean-stagefeedback
46793 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46794 # only possibility, but now it conflicts with no-bootstrap rules
46795 @if gcc-bootstrap
46799 .PHONY: profiledbootstrap profiledbootstrap-lean
46800 profiledbootstrap:
46801 echo stagefeedback > stage_final
46802 @r=`${PWD_COMMAND}`; export r; \
46803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
46805 @: $(MAKE); $(unstage)
46806 @r=`${PWD_COMMAND}`; export r; \
46807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46808 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46809 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46811 profiledbootstrap-lean:
46812 echo stagefeedback > stage_final
46813 @r=`${PWD_COMMAND}`; export r; \
46814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
46816 @: $(MAKE); $(unstage)
46817 @r=`${PWD_COMMAND}`; export r; \
46818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46819 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46820 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46823 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46824 distclean-stageprofile:: distclean-stagefeedback
46825 .PHONY: distclean-stagefeedback
46826 distclean-stagefeedback::
46827 @: $(MAKE); $(stage)
46828 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
46829 rm -rf stagefeedback-*
46832 @endif gcc-bootstrap
46836 stageprofile-end::
46837 $(MAKE) distclean-stagefeedback
46839 stagefeedback-start::
46840 @r=`${PWD_COMMAND}`; export r; \
46841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46842 for i in prev-*; do \
46843 j=`echo $$i | sed s/^prev-//` ; \
46844 cd $$r/$$i && \
46845 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
46846 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
46847 done
46849 @if gcc-bootstrap
46850 do-distclean: distclean-stage1
46852 # Provide a GCC build when we're building target libraries. This does
46853 # not work as a dependency, just as the minimum necessary to avoid errors.
46854 stage_last:
46855 @r=`${PWD_COMMAND}`; export r; \
46856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
46859 # Same as unstage, but not phony and defaulting to stage1-start. We place
46860 # it in the dependency so that for example `make -j3 all-gcc' works.
46861 stage_current:
46862 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
46864 .PHONY: restrap
46865 restrap::
46866 @: $(MAKE); $(stage)
46867 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
46868 restrap:: all
46869 @endif gcc-bootstrap
46871 # --------------------------------------
46872 # Dependencies between different modules
46873 # --------------------------------------
46875 # Generic dependencies for target modules on host stuff, especially gcc
46876 @if gcc-bootstrap
46877 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
46878 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
46879 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
46880 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
46881 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
46882 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
46883 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
46884 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
46885 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
46886 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
46887 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
46888 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
46889 configure-stage1-target-libvtv: maybe-all-stage1-gcc
46890 configure-stage2-target-libvtv: maybe-all-stage2-gcc
46891 configure-stage3-target-libvtv: maybe-all-stage3-gcc
46892 configure-stage4-target-libvtv: maybe-all-stage4-gcc
46893 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
46894 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
46895 configure-target-libcilkrts: stage_last
46896 configure-target-libssp: stage_last
46897 configure-target-newlib: stage_last
46898 configure-stage1-target-libgcc: maybe-all-stage1-gcc
46899 configure-stage2-target-libgcc: maybe-all-stage2-gcc
46900 configure-stage3-target-libgcc: maybe-all-stage3-gcc
46901 configure-stage4-target-libgcc: maybe-all-stage4-gcc
46902 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
46903 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
46904 configure-target-libbacktrace: stage_last
46905 configure-target-libquadmath: stage_last
46906 configure-target-libgfortran: stage_last
46907 configure-target-libobjc: stage_last
46908 configure-target-libgo: stage_last
46909 configure-target-libtermcap: stage_last
46910 configure-target-winsup: stage_last
46911 configure-target-libgloss: stage_last
46912 configure-target-libffi: stage_last
46913 configure-target-libjava: stage_last
46914 configure-target-zlib: stage_last
46915 configure-target-boehm-gc: stage_last
46916 configure-target-rda: stage_last
46917 configure-target-libada: stage_last
46918 configure-stage1-target-libgomp: maybe-all-stage1-gcc
46919 configure-stage2-target-libgomp: maybe-all-stage2-gcc
46920 configure-stage3-target-libgomp: maybe-all-stage3-gcc
46921 configure-stage4-target-libgomp: maybe-all-stage4-gcc
46922 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
46923 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
46924 configure-target-libitm: stage_last
46925 configure-target-libatomic: stage_last
46926 @endif gcc-bootstrap
46928 @if gcc-no-bootstrap
46929 configure-target-libstdc++-v3: maybe-all-gcc
46930 configure-target-libsanitizer: maybe-all-gcc
46931 configure-target-libvtv: maybe-all-gcc
46932 configure-target-libssp: maybe-all-gcc
46933 configure-target-newlib: maybe-all-gcc
46934 configure-target-libgcc: maybe-all-gcc
46935 configure-target-libbacktrace: maybe-all-gcc
46936 configure-target-libquadmath: maybe-all-gcc
46937 configure-target-libgfortran: maybe-all-gcc
46938 configure-target-libobjc: maybe-all-gcc
46939 configure-target-libgo: maybe-all-gcc
46940 configure-target-libtermcap: maybe-all-gcc
46941 configure-target-winsup: maybe-all-gcc
46942 configure-target-libgloss: maybe-all-gcc
46943 configure-target-libffi: maybe-all-gcc
46944 configure-target-libjava: maybe-all-gcc
46945 configure-target-zlib: maybe-all-gcc
46946 configure-target-boehm-gc: maybe-all-gcc
46947 configure-target-rda: maybe-all-gcc
46948 configure-target-libada: maybe-all-gcc
46949 configure-target-libgomp: maybe-all-gcc
46950 configure-target-libcilkrts: maybe-all-gcc
46951 configure-target-libitm: maybe-all-gcc
46952 configure-target-libatomic: maybe-all-gcc
46953 @endif gcc-no-bootstrap
46956 # There are two types of dependencies here: 'hard' dependencies, where one
46957 # module simply won't build without the other; and 'soft' dependencies, where
46958 # if the depended-on module is missing, the depending module will do without
46959 # or find a substitute somewhere (perhaps installed). Soft dependencies
46960 # are made here to depend on a 'maybe-' target. If you're not sure,
46961 # it's safer to use a soft dependency.
46968 # With all the machinery above in place, it is pretty easy to generate
46969 # dependencies. Host dependencies are a bit more complex because we have
46970 # to check for bootstrap/prebootstrap dependencies. To resolve
46971 # prebootstrap dependencies, prebootstrap modules are gathered in
46972 # a hash table.
46973 all-build-bison: maybe-all-build-texinfo
46974 all-build-flex: maybe-all-build-texinfo
46975 all-build-flex: maybe-all-build-bison
46976 all-build-flex: maybe-all-build-m4
46977 all-build-libiberty: maybe-all-build-texinfo
46978 all-build-m4: maybe-all-build-texinfo
46979 all-build-fixincludes: maybe-all-build-libiberty
46980 configure-gcc: maybe-configure-intl
46982 configure-stage1-gcc: maybe-configure-stage1-intl
46983 configure-stage2-gcc: maybe-configure-stage2-intl
46984 configure-stage3-gcc: maybe-configure-stage3-intl
46985 configure-stage4-gcc: maybe-configure-stage4-intl
46986 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
46987 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
46988 configure-gcc: maybe-all-gmp
46990 configure-stage1-gcc: maybe-all-stage1-gmp
46991 configure-stage2-gcc: maybe-all-stage2-gmp
46992 configure-stage3-gcc: maybe-all-stage3-gmp
46993 configure-stage4-gcc: maybe-all-stage4-gmp
46994 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
46995 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
46996 configure-gcc: maybe-all-lto-plugin
46998 configure-stage1-gcc: maybe-all-stage1-lto-plugin
46999 configure-stage2-gcc: maybe-all-stage2-lto-plugin
47000 configure-stage3-gcc: maybe-all-stage3-lto-plugin
47001 configure-stage4-gcc: maybe-all-stage4-lto-plugin
47002 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
47003 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
47004 configure-gcc: maybe-all-binutils
47006 configure-stage1-gcc: maybe-all-stage1-binutils
47007 configure-stage2-gcc: maybe-all-stage2-binutils
47008 configure-stage3-gcc: maybe-all-stage3-binutils
47009 configure-stage4-gcc: maybe-all-stage4-binutils
47010 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
47011 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
47012 configure-gcc: maybe-all-gas
47014 configure-stage1-gcc: maybe-all-stage1-gas
47015 configure-stage2-gcc: maybe-all-stage2-gas
47016 configure-stage3-gcc: maybe-all-stage3-gas
47017 configure-stage4-gcc: maybe-all-stage4-gas
47018 configure-stageprofile-gcc: maybe-all-stageprofile-gas
47019 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
47020 configure-gcc: maybe-all-ld
47022 configure-stage1-gcc: maybe-all-stage1-ld
47023 configure-stage2-gcc: maybe-all-stage2-ld
47024 configure-stage3-gcc: maybe-all-stage3-ld
47025 configure-stage4-gcc: maybe-all-stage4-ld
47026 configure-stageprofile-gcc: maybe-all-stageprofile-ld
47027 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
47028 configure-gcc: maybe-all-gold
47030 configure-stage1-gcc: maybe-all-stage1-gold
47031 configure-stage2-gcc: maybe-all-stage2-gold
47032 configure-stage3-gcc: maybe-all-stage3-gold
47033 configure-stage4-gcc: maybe-all-stage4-gold
47034 configure-stageprofile-gcc: maybe-all-stageprofile-gold
47035 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
47036 configure-gcc: maybe-all-libelf
47038 configure-stage1-gcc: maybe-all-stage1-libelf
47039 configure-stage2-gcc: maybe-all-stage2-libelf
47040 configure-stage3-gcc: maybe-all-stage3-libelf
47041 configure-stage4-gcc: maybe-all-stage4-libelf
47042 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
47043 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
47044 all-gcc: all-libiberty
47046 all-stage1-gcc: all-stage1-libiberty
47047 all-stage2-gcc: all-stage2-libiberty
47048 all-stage3-gcc: all-stage3-libiberty
47049 all-stage4-gcc: all-stage4-libiberty
47050 all-stageprofile-gcc: all-stageprofile-libiberty
47051 all-stagefeedback-gcc: all-stagefeedback-libiberty
47052 all-gcc: maybe-all-intl
47054 all-stage1-gcc: maybe-all-stage1-intl
47055 all-stage2-gcc: maybe-all-stage2-intl
47056 all-stage3-gcc: maybe-all-stage3-intl
47057 all-stage4-gcc: maybe-all-stage4-intl
47058 all-stageprofile-gcc: maybe-all-stageprofile-intl
47059 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
47060 all-gcc: maybe-all-mpfr
47062 all-stage1-gcc: maybe-all-stage1-mpfr
47063 all-stage2-gcc: maybe-all-stage2-mpfr
47064 all-stage3-gcc: maybe-all-stage3-mpfr
47065 all-stage4-gcc: maybe-all-stage4-mpfr
47066 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
47067 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
47068 all-gcc: maybe-all-mpc
47070 all-stage1-gcc: maybe-all-stage1-mpc
47071 all-stage2-gcc: maybe-all-stage2-mpc
47072 all-stage3-gcc: maybe-all-stage3-mpc
47073 all-stage4-gcc: maybe-all-stage4-mpc
47074 all-stageprofile-gcc: maybe-all-stageprofile-mpc
47075 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
47076 all-gcc: maybe-all-cloog
47078 all-stage1-gcc: maybe-all-stage1-cloog
47079 all-stage2-gcc: maybe-all-stage2-cloog
47080 all-stage3-gcc: maybe-all-stage3-cloog
47081 all-stage4-gcc: maybe-all-stage4-cloog
47082 all-stageprofile-gcc: maybe-all-stageprofile-cloog
47083 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
47084 all-gcc: maybe-all-build-texinfo
47086 all-stage1-gcc: maybe-all-build-texinfo
47087 all-stage2-gcc: maybe-all-build-texinfo
47088 all-stage3-gcc: maybe-all-build-texinfo
47089 all-stage4-gcc: maybe-all-build-texinfo
47090 all-stageprofile-gcc: maybe-all-build-texinfo
47091 all-stagefeedback-gcc: maybe-all-build-texinfo
47092 all-gcc: maybe-all-build-bison
47094 all-stage1-gcc: maybe-all-build-bison
47095 all-stage2-gcc: maybe-all-build-bison
47096 all-stage3-gcc: maybe-all-build-bison
47097 all-stage4-gcc: maybe-all-build-bison
47098 all-stageprofile-gcc: maybe-all-build-bison
47099 all-stagefeedback-gcc: maybe-all-build-bison
47100 all-gcc: maybe-all-build-flex
47102 all-stage1-gcc: maybe-all-build-flex
47103 all-stage2-gcc: maybe-all-build-flex
47104 all-stage3-gcc: maybe-all-build-flex
47105 all-stage4-gcc: maybe-all-build-flex
47106 all-stageprofile-gcc: maybe-all-build-flex
47107 all-stagefeedback-gcc: maybe-all-build-flex
47108 all-gcc: maybe-all-build-libiberty
47110 all-stage1-gcc: maybe-all-build-libiberty
47111 all-stage2-gcc: maybe-all-build-libiberty
47112 all-stage3-gcc: maybe-all-build-libiberty
47113 all-stage4-gcc: maybe-all-build-libiberty
47114 all-stageprofile-gcc: maybe-all-build-libiberty
47115 all-stagefeedback-gcc: maybe-all-build-libiberty
47116 all-gcc: maybe-all-build-fixincludes
47118 all-stage1-gcc: maybe-all-build-fixincludes
47119 all-stage2-gcc: maybe-all-build-fixincludes
47120 all-stage3-gcc: maybe-all-build-fixincludes
47121 all-stage4-gcc: maybe-all-build-fixincludes
47122 all-stageprofile-gcc: maybe-all-build-fixincludes
47123 all-stagefeedback-gcc: maybe-all-build-fixincludes
47124 all-gcc: maybe-all-zlib
47126 all-stage1-gcc: maybe-all-stage1-zlib
47127 all-stage2-gcc: maybe-all-stage2-zlib
47128 all-stage3-gcc: maybe-all-stage3-zlib
47129 all-stage4-gcc: maybe-all-stage4-zlib
47130 all-stageprofile-gcc: maybe-all-stageprofile-zlib
47131 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
47132 all-gcc: all-libbacktrace
47134 all-stage1-gcc: all-stage1-libbacktrace
47135 all-stage2-gcc: all-stage2-libbacktrace
47136 all-stage3-gcc: all-stage3-libbacktrace
47137 all-stage4-gcc: all-stage4-libbacktrace
47138 all-stageprofile-gcc: all-stageprofile-libbacktrace
47139 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
47140 all-gcc: all-libcpp
47142 all-stage1-gcc: all-stage1-libcpp
47143 all-stage2-gcc: all-stage2-libcpp
47144 all-stage3-gcc: all-stage3-libcpp
47145 all-stage4-gcc: all-stage4-libcpp
47146 all-stageprofile-gcc: all-stageprofile-libcpp
47147 all-stagefeedback-gcc: all-stagefeedback-libcpp
47148 all-gcc: all-libdecnumber
47150 all-stage1-gcc: all-stage1-libdecnumber
47151 all-stage2-gcc: all-stage2-libdecnumber
47152 all-stage3-gcc: all-stage3-libdecnumber
47153 all-stage4-gcc: all-stage4-libdecnumber
47154 all-stageprofile-gcc: all-stageprofile-libdecnumber
47155 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
47156 all-gcc: maybe-all-libiberty
47158 all-stage1-gcc: maybe-all-stage1-libiberty
47159 all-stage2-gcc: maybe-all-stage2-libiberty
47160 all-stage3-gcc: maybe-all-stage3-libiberty
47161 all-stage4-gcc: maybe-all-stage4-libiberty
47162 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
47163 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
47164 all-gcc: maybe-all-fixincludes
47165 all-gcc: maybe-all-lto-plugin
47167 all-stage1-gcc: maybe-all-stage1-lto-plugin
47168 all-stage2-gcc: maybe-all-stage2-lto-plugin
47169 all-stage3-gcc: maybe-all-stage3-lto-plugin
47170 all-stage4-gcc: maybe-all-stage4-lto-plugin
47171 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
47172 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
47173 info-gcc: maybe-all-build-libiberty
47175 info-stage1-gcc: maybe-all-build-libiberty
47176 info-stage2-gcc: maybe-all-build-libiberty
47177 info-stage3-gcc: maybe-all-build-libiberty
47178 info-stage4-gcc: maybe-all-build-libiberty
47179 info-stageprofile-gcc: maybe-all-build-libiberty
47180 info-stagefeedback-gcc: maybe-all-build-libiberty
47181 dvi-gcc: maybe-all-build-libiberty
47183 dvi-stage1-gcc: maybe-all-build-libiberty
47184 dvi-stage2-gcc: maybe-all-build-libiberty
47185 dvi-stage3-gcc: maybe-all-build-libiberty
47186 dvi-stage4-gcc: maybe-all-build-libiberty
47187 dvi-stageprofile-gcc: maybe-all-build-libiberty
47188 dvi-stagefeedback-gcc: maybe-all-build-libiberty
47189 pdf-gcc: maybe-all-build-libiberty
47191 pdf-stage1-gcc: maybe-all-build-libiberty
47192 pdf-stage2-gcc: maybe-all-build-libiberty
47193 pdf-stage3-gcc: maybe-all-build-libiberty
47194 pdf-stage4-gcc: maybe-all-build-libiberty
47195 pdf-stageprofile-gcc: maybe-all-build-libiberty
47196 pdf-stagefeedback-gcc: maybe-all-build-libiberty
47197 html-gcc: maybe-all-build-libiberty
47199 html-stage1-gcc: maybe-all-build-libiberty
47200 html-stage2-gcc: maybe-all-build-libiberty
47201 html-stage3-gcc: maybe-all-build-libiberty
47202 html-stage4-gcc: maybe-all-build-libiberty
47203 html-stageprofile-gcc: maybe-all-build-libiberty
47204 html-stagefeedback-gcc: maybe-all-build-libiberty
47205 install-gcc: maybe-install-fixincludes
47206 install-gcc: maybe-install-lto-plugin
47207 install-strip-gcc: maybe-install-strip-fixincludes
47208 install-strip-gcc: maybe-install-strip-lto-plugin
47209 configure-libcpp: configure-libiberty
47211 configure-stage1-libcpp: configure-stage1-libiberty
47212 configure-stage2-libcpp: configure-stage2-libiberty
47213 configure-stage3-libcpp: configure-stage3-libiberty
47214 configure-stage4-libcpp: configure-stage4-libiberty
47215 configure-stageprofile-libcpp: configure-stageprofile-libiberty
47216 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
47217 configure-libcpp: maybe-configure-intl
47219 configure-stage1-libcpp: maybe-configure-stage1-intl
47220 configure-stage2-libcpp: maybe-configure-stage2-intl
47221 configure-stage3-libcpp: maybe-configure-stage3-intl
47222 configure-stage4-libcpp: maybe-configure-stage4-intl
47223 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
47224 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
47225 all-libcpp: all-libiberty
47227 all-stage1-libcpp: all-stage1-libiberty
47228 all-stage2-libcpp: all-stage2-libiberty
47229 all-stage3-libcpp: all-stage3-libiberty
47230 all-stage4-libcpp: all-stage4-libiberty
47231 all-stageprofile-libcpp: all-stageprofile-libiberty
47232 all-stagefeedback-libcpp: all-stagefeedback-libiberty
47233 all-libcpp: maybe-all-intl
47235 all-stage1-libcpp: maybe-all-stage1-intl
47236 all-stage2-libcpp: maybe-all-stage2-intl
47237 all-stage3-libcpp: maybe-all-stage3-intl
47238 all-stage4-libcpp: maybe-all-stage4-intl
47239 all-stageprofile-libcpp: maybe-all-stageprofile-intl
47240 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
47241 all-fixincludes: maybe-all-libiberty
47242 all-gnattools: maybe-all-target-libada
47243 all-lto-plugin: maybe-all-libiberty
47245 all-stage1-lto-plugin: maybe-all-stage1-libiberty
47246 all-stage2-lto-plugin: maybe-all-stage2-libiberty
47247 all-stage3-lto-plugin: maybe-all-stage3-libiberty
47248 all-stage4-lto-plugin: maybe-all-stage4-libiberty
47249 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
47250 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
47251 all-utils: maybe-all-libiberty
47252 configure-mpfr: maybe-all-gmp
47254 configure-stage1-mpfr: maybe-all-stage1-gmp
47255 configure-stage2-mpfr: maybe-all-stage2-gmp
47256 configure-stage3-mpfr: maybe-all-stage3-gmp
47257 configure-stage4-mpfr: maybe-all-stage4-gmp
47258 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
47259 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
47260 configure-mpc: maybe-all-mpfr
47262 configure-stage1-mpc: maybe-all-stage1-mpfr
47263 configure-stage2-mpc: maybe-all-stage2-mpfr
47264 configure-stage3-mpc: maybe-all-stage3-mpfr
47265 configure-stage4-mpc: maybe-all-stage4-mpfr
47266 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
47267 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
47268 configure-isl: maybe-all-gmp
47270 configure-stage1-isl: maybe-all-stage1-gmp
47271 configure-stage2-isl: maybe-all-stage2-gmp
47272 configure-stage3-isl: maybe-all-stage3-gmp
47273 configure-stage4-isl: maybe-all-stage4-gmp
47274 configure-stageprofile-isl: maybe-all-stageprofile-gmp
47275 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
47276 configure-cloog: maybe-all-isl
47278 configure-stage1-cloog: maybe-all-stage1-isl
47279 configure-stage2-cloog: maybe-all-stage2-isl
47280 configure-stage3-cloog: maybe-all-stage3-isl
47281 configure-stage4-cloog: maybe-all-stage4-isl
47282 configure-stageprofile-cloog: maybe-all-stageprofile-isl
47283 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
47284 configure-cloog: maybe-all-gmp
47286 configure-stage1-cloog: maybe-all-stage1-gmp
47287 configure-stage2-cloog: maybe-all-stage2-gmp
47288 configure-stage3-cloog: maybe-all-stage3-gmp
47289 configure-stage4-cloog: maybe-all-stage4-gmp
47290 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
47291 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
47292 configure-gdb: maybe-all-intl
47293 configure-gdb: maybe-configure-sim
47294 configure-gdb: maybe-all-bfd
47295 configure-gdb: maybe-all-libiconv
47296 all-gdb: maybe-all-libiberty
47297 all-gdb: maybe-all-libiconv
47298 all-gdb: maybe-all-opcodes
47299 all-gdb: maybe-all-readline
47300 all-gdb: maybe-all-build-bison
47301 all-gdb: maybe-all-sim
47302 all-gdb: maybe-all-libdecnumber
47303 all-gdb: maybe-all-libtermcap
47304 configure-libgui: maybe-configure-tcl
47305 configure-libgui: maybe-configure-tk
47306 all-libgui: maybe-all-tcl
47307 all-libgui: maybe-all-tk
47308 all-libgui: maybe-all-itcl
47309 configure-bfd: configure-libiberty
47311 configure-stage1-bfd: configure-stage1-libiberty
47312 configure-stage2-bfd: configure-stage2-libiberty
47313 configure-stage3-bfd: configure-stage3-libiberty
47314 configure-stage4-bfd: configure-stage4-libiberty
47315 configure-stageprofile-bfd: configure-stageprofile-libiberty
47316 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
47317 configure-bfd: maybe-configure-intl
47319 configure-stage1-bfd: maybe-configure-stage1-intl
47320 configure-stage2-bfd: maybe-configure-stage2-intl
47321 configure-stage3-bfd: maybe-configure-stage3-intl
47322 configure-stage4-bfd: maybe-configure-stage4-intl
47323 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
47324 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
47325 all-bfd: maybe-all-libiberty
47327 all-stage1-bfd: maybe-all-stage1-libiberty
47328 all-stage2-bfd: maybe-all-stage2-libiberty
47329 all-stage3-bfd: maybe-all-stage3-libiberty
47330 all-stage4-bfd: maybe-all-stage4-libiberty
47331 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
47332 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
47333 all-bfd: maybe-all-intl
47335 all-stage1-bfd: maybe-all-stage1-intl
47336 all-stage2-bfd: maybe-all-stage2-intl
47337 all-stage3-bfd: maybe-all-stage3-intl
47338 all-stage4-bfd: maybe-all-stage4-intl
47339 all-stageprofile-bfd: maybe-all-stageprofile-intl
47340 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
47341 configure-opcodes: configure-libiberty
47343 configure-stage1-opcodes: configure-stage1-libiberty
47344 configure-stage2-opcodes: configure-stage2-libiberty
47345 configure-stage3-opcodes: configure-stage3-libiberty
47346 configure-stage4-opcodes: configure-stage4-libiberty
47347 configure-stageprofile-opcodes: configure-stageprofile-libiberty
47348 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
47349 all-opcodes: maybe-all-libiberty
47351 all-stage1-opcodes: maybe-all-stage1-libiberty
47352 all-stage2-opcodes: maybe-all-stage2-libiberty
47353 all-stage3-opcodes: maybe-all-stage3-libiberty
47354 all-stage4-opcodes: maybe-all-stage4-libiberty
47355 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
47356 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
47357 configure-binutils: maybe-configure-intl
47359 configure-stage1-binutils: maybe-configure-stage1-intl
47360 configure-stage2-binutils: maybe-configure-stage2-intl
47361 configure-stage3-binutils: maybe-configure-stage3-intl
47362 configure-stage4-binutils: maybe-configure-stage4-intl
47363 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
47364 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
47365 all-binutils: maybe-all-libiberty
47367 all-stage1-binutils: maybe-all-stage1-libiberty
47368 all-stage2-binutils: maybe-all-stage2-libiberty
47369 all-stage3-binutils: maybe-all-stage3-libiberty
47370 all-stage4-binutils: maybe-all-stage4-libiberty
47371 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
47372 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
47373 all-binutils: maybe-all-opcodes
47375 all-stage1-binutils: maybe-all-stage1-opcodes
47376 all-stage2-binutils: maybe-all-stage2-opcodes
47377 all-stage3-binutils: maybe-all-stage3-opcodes
47378 all-stage4-binutils: maybe-all-stage4-opcodes
47379 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
47380 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
47381 all-binutils: maybe-all-bfd
47383 all-stage1-binutils: maybe-all-stage1-bfd
47384 all-stage2-binutils: maybe-all-stage2-bfd
47385 all-stage3-binutils: maybe-all-stage3-bfd
47386 all-stage4-binutils: maybe-all-stage4-bfd
47387 all-stageprofile-binutils: maybe-all-stageprofile-bfd
47388 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
47389 all-binutils: maybe-all-build-flex
47391 all-stage1-binutils: maybe-all-build-flex
47392 all-stage2-binutils: maybe-all-build-flex
47393 all-stage3-binutils: maybe-all-build-flex
47394 all-stage4-binutils: maybe-all-build-flex
47395 all-stageprofile-binutils: maybe-all-build-flex
47396 all-stagefeedback-binutils: maybe-all-build-flex
47397 all-binutils: maybe-all-build-bison
47399 all-stage1-binutils: maybe-all-build-bison
47400 all-stage2-binutils: maybe-all-build-bison
47401 all-stage3-binutils: maybe-all-build-bison
47402 all-stage4-binutils: maybe-all-build-bison
47403 all-stageprofile-binutils: maybe-all-build-bison
47404 all-stagefeedback-binutils: maybe-all-build-bison
47405 all-binutils: maybe-all-intl
47407 all-stage1-binutils: maybe-all-stage1-intl
47408 all-stage2-binutils: maybe-all-stage2-intl
47409 all-stage3-binutils: maybe-all-stage3-intl
47410 all-stage4-binutils: maybe-all-stage4-intl
47411 all-stageprofile-binutils: maybe-all-stageprofile-intl
47412 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
47413 all-binutils: maybe-all-gas
47415 all-stage1-binutils: maybe-all-stage1-gas
47416 all-stage2-binutils: maybe-all-stage2-gas
47417 all-stage3-binutils: maybe-all-stage3-gas
47418 all-stage4-binutils: maybe-all-stage4-gas
47419 all-stageprofile-binutils: maybe-all-stageprofile-gas
47420 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
47421 install-binutils: maybe-install-opcodes
47422 install-strip-binutils: maybe-install-strip-opcodes
47423 install-opcodes: maybe-install-bfd
47424 install-strip-opcodes: maybe-install-strip-bfd
47425 configure-gas: maybe-configure-intl
47427 configure-stage1-gas: maybe-configure-stage1-intl
47428 configure-stage2-gas: maybe-configure-stage2-intl
47429 configure-stage3-gas: maybe-configure-stage3-intl
47430 configure-stage4-gas: maybe-configure-stage4-intl
47431 configure-stageprofile-gas: maybe-configure-stageprofile-intl
47432 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
47433 all-gas: maybe-all-libiberty
47435 all-stage1-gas: maybe-all-stage1-libiberty
47436 all-stage2-gas: maybe-all-stage2-libiberty
47437 all-stage3-gas: maybe-all-stage3-libiberty
47438 all-stage4-gas: maybe-all-stage4-libiberty
47439 all-stageprofile-gas: maybe-all-stageprofile-libiberty
47440 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
47441 all-gas: maybe-all-opcodes
47443 all-stage1-gas: maybe-all-stage1-opcodes
47444 all-stage2-gas: maybe-all-stage2-opcodes
47445 all-stage3-gas: maybe-all-stage3-opcodes
47446 all-stage4-gas: maybe-all-stage4-opcodes
47447 all-stageprofile-gas: maybe-all-stageprofile-opcodes
47448 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
47449 all-gas: maybe-all-bfd
47451 all-stage1-gas: maybe-all-stage1-bfd
47452 all-stage2-gas: maybe-all-stage2-bfd
47453 all-stage3-gas: maybe-all-stage3-bfd
47454 all-stage4-gas: maybe-all-stage4-bfd
47455 all-stageprofile-gas: maybe-all-stageprofile-bfd
47456 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
47457 all-gas: maybe-all-intl
47459 all-stage1-gas: maybe-all-stage1-intl
47460 all-stage2-gas: maybe-all-stage2-intl
47461 all-stage3-gas: maybe-all-stage3-intl
47462 all-stage4-gas: maybe-all-stage4-intl
47463 all-stageprofile-gas: maybe-all-stageprofile-intl
47464 all-stagefeedback-gas: maybe-all-stagefeedback-intl
47465 configure-gprof: maybe-configure-intl
47466 all-gprof: maybe-all-libiberty
47467 all-gprof: maybe-all-bfd
47468 all-gprof: maybe-all-opcodes
47469 all-gprof: maybe-all-intl
47470 all-gprof: maybe-all-gas
47471 configure-ld: maybe-configure-intl
47473 configure-stage1-ld: maybe-configure-stage1-intl
47474 configure-stage2-ld: maybe-configure-stage2-intl
47475 configure-stage3-ld: maybe-configure-stage3-intl
47476 configure-stage4-ld: maybe-configure-stage4-intl
47477 configure-stageprofile-ld: maybe-configure-stageprofile-intl
47478 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
47479 all-ld: maybe-all-libiberty
47481 all-stage1-ld: maybe-all-stage1-libiberty
47482 all-stage2-ld: maybe-all-stage2-libiberty
47483 all-stage3-ld: maybe-all-stage3-libiberty
47484 all-stage4-ld: maybe-all-stage4-libiberty
47485 all-stageprofile-ld: maybe-all-stageprofile-libiberty
47486 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
47487 all-ld: maybe-all-bfd
47489 all-stage1-ld: maybe-all-stage1-bfd
47490 all-stage2-ld: maybe-all-stage2-bfd
47491 all-stage3-ld: maybe-all-stage3-bfd
47492 all-stage4-ld: maybe-all-stage4-bfd
47493 all-stageprofile-ld: maybe-all-stageprofile-bfd
47494 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
47495 all-ld: maybe-all-opcodes
47497 all-stage1-ld: maybe-all-stage1-opcodes
47498 all-stage2-ld: maybe-all-stage2-opcodes
47499 all-stage3-ld: maybe-all-stage3-opcodes
47500 all-stage4-ld: maybe-all-stage4-opcodes
47501 all-stageprofile-ld: maybe-all-stageprofile-opcodes
47502 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
47503 all-ld: maybe-all-build-bison
47505 all-stage1-ld: maybe-all-build-bison
47506 all-stage2-ld: maybe-all-build-bison
47507 all-stage3-ld: maybe-all-build-bison
47508 all-stage4-ld: maybe-all-build-bison
47509 all-stageprofile-ld: maybe-all-build-bison
47510 all-stagefeedback-ld: maybe-all-build-bison
47511 all-ld: maybe-all-build-flex
47513 all-stage1-ld: maybe-all-build-flex
47514 all-stage2-ld: maybe-all-build-flex
47515 all-stage3-ld: maybe-all-build-flex
47516 all-stage4-ld: maybe-all-build-flex
47517 all-stageprofile-ld: maybe-all-build-flex
47518 all-stagefeedback-ld: maybe-all-build-flex
47519 all-ld: maybe-all-intl
47521 all-stage1-ld: maybe-all-stage1-intl
47522 all-stage2-ld: maybe-all-stage2-intl
47523 all-stage3-ld: maybe-all-stage3-intl
47524 all-stage4-ld: maybe-all-stage4-intl
47525 all-stageprofile-ld: maybe-all-stageprofile-intl
47526 all-stagefeedback-ld: maybe-all-stagefeedback-intl
47527 all-ld: maybe-all-gas
47529 all-stage1-ld: maybe-all-stage1-gas
47530 all-stage2-ld: maybe-all-stage2-gas
47531 all-stage3-ld: maybe-all-stage3-gas
47532 all-stage4-ld: maybe-all-stage4-gas
47533 all-stageprofile-ld: maybe-all-stageprofile-gas
47534 all-stagefeedback-ld: maybe-all-stagefeedback-gas
47535 install-ld: maybe-install-gold
47536 install-strip-ld: maybe-install-strip-gold
47537 configure-gold: maybe-configure-intl
47539 configure-stage1-gold: maybe-configure-stage1-intl
47540 configure-stage2-gold: maybe-configure-stage2-intl
47541 configure-stage3-gold: maybe-configure-stage3-intl
47542 configure-stage4-gold: maybe-configure-stage4-intl
47543 configure-stageprofile-gold: maybe-configure-stageprofile-intl
47544 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
47545 all-gold: maybe-all-libiberty
47547 all-stage1-gold: maybe-all-stage1-libiberty
47548 all-stage2-gold: maybe-all-stage2-libiberty
47549 all-stage3-gold: maybe-all-stage3-libiberty
47550 all-stage4-gold: maybe-all-stage4-libiberty
47551 all-stageprofile-gold: maybe-all-stageprofile-libiberty
47552 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
47553 all-gold: maybe-all-intl
47555 all-stage1-gold: maybe-all-stage1-intl
47556 all-stage2-gold: maybe-all-stage2-intl
47557 all-stage3-gold: maybe-all-stage3-intl
47558 all-stage4-gold: maybe-all-stage4-intl
47559 all-stageprofile-gold: maybe-all-stageprofile-intl
47560 all-stagefeedback-gold: maybe-all-stagefeedback-intl
47561 all-gold: maybe-all-bfd
47563 all-stage1-gold: maybe-all-stage1-bfd
47564 all-stage2-gold: maybe-all-stage2-bfd
47565 all-stage3-gold: maybe-all-stage3-bfd
47566 all-stage4-gold: maybe-all-stage4-bfd
47567 all-stageprofile-gold: maybe-all-stageprofile-bfd
47568 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
47569 all-gold: maybe-all-build-bison
47571 all-stage1-gold: maybe-all-build-bison
47572 all-stage2-gold: maybe-all-build-bison
47573 all-stage3-gold: maybe-all-build-bison
47574 all-stage4-gold: maybe-all-build-bison
47575 all-stageprofile-gold: maybe-all-build-bison
47576 all-stagefeedback-gold: maybe-all-build-bison
47577 all-gold: maybe-all-gas
47579 all-stage1-gold: maybe-all-stage1-gas
47580 all-stage2-gold: maybe-all-stage2-gas
47581 all-stage3-gold: maybe-all-stage3-gas
47582 all-stage4-gold: maybe-all-stage4-gas
47583 all-stageprofile-gold: maybe-all-stageprofile-gas
47584 all-stagefeedback-gold: maybe-all-stagefeedback-gas
47585 check-gold: maybe-all-binutils
47587 check-stage1-gold: maybe-all-stage1-binutils
47588 check-stage2-gold: maybe-all-stage2-binutils
47589 check-stage3-gold: maybe-all-stage3-binutils
47590 check-stage4-gold: maybe-all-stage4-binutils
47591 check-stageprofile-gold: maybe-all-stageprofile-binutils
47592 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
47593 check-gold: maybe-all-gas
47595 check-stage1-gold: maybe-all-stage1-gas
47596 check-stage2-gold: maybe-all-stage2-gas
47597 check-stage3-gold: maybe-all-stage3-gas
47598 check-stage4-gold: maybe-all-stage4-gas
47599 check-stageprofile-gold: maybe-all-stageprofile-gas
47600 check-stagefeedback-gold: maybe-all-stagefeedback-gas
47601 configure-opcodes: maybe-configure-intl
47603 configure-stage1-opcodes: maybe-configure-stage1-intl
47604 configure-stage2-opcodes: maybe-configure-stage2-intl
47605 configure-stage3-opcodes: maybe-configure-stage3-intl
47606 configure-stage4-opcodes: maybe-configure-stage4-intl
47607 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
47608 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
47609 all-opcodes: maybe-all-bfd
47611 all-stage1-opcodes: maybe-all-stage1-bfd
47612 all-stage2-opcodes: maybe-all-stage2-bfd
47613 all-stage3-opcodes: maybe-all-stage3-bfd
47614 all-stage4-opcodes: maybe-all-stage4-bfd
47615 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
47616 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
47617 all-opcodes: maybe-all-libiberty
47619 all-stage1-opcodes: maybe-all-stage1-libiberty
47620 all-stage2-opcodes: maybe-all-stage2-libiberty
47621 all-stage3-opcodes: maybe-all-stage3-libiberty
47622 all-stage4-opcodes: maybe-all-stage4-libiberty
47623 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
47624 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
47625 all-opcodes: maybe-all-intl
47627 all-stage1-opcodes: maybe-all-stage1-intl
47628 all-stage2-opcodes: maybe-all-stage2-intl
47629 all-stage3-opcodes: maybe-all-stage3-intl
47630 all-stage4-opcodes: maybe-all-stage4-intl
47631 all-stageprofile-opcodes: maybe-all-stageprofile-intl
47632 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
47633 all-dejagnu: maybe-all-tcl
47634 all-dejagnu: maybe-all-expect
47635 all-dejagnu: maybe-all-tk
47636 configure-expect: maybe-configure-tcl
47637 configure-expect: maybe-configure-tk
47638 all-expect: maybe-all-tcl
47639 all-expect: maybe-all-tk
47640 configure-itcl: maybe-configure-tcl
47641 configure-itcl: maybe-configure-tk
47642 all-itcl: maybe-all-tcl
47643 all-itcl: maybe-all-tk
47644 install-itcl: maybe-install-tcl
47645 install-strip-itcl: maybe-install-strip-tcl
47646 configure-tk: maybe-configure-tcl
47647 all-tk: maybe-all-tcl
47648 all-sid: maybe-all-libiberty
47649 all-sid: maybe-all-bfd
47650 all-sid: maybe-all-opcodes
47651 all-sid: maybe-all-tcl
47652 all-sid: maybe-all-tk
47653 install-sid: maybe-install-tcl
47654 install-strip-sid: maybe-install-strip-tcl
47655 install-sid: maybe-install-tk
47656 install-strip-sid: maybe-install-strip-tk
47657 configure-sim: maybe-configure-intl
47658 all-sim: maybe-all-intl
47659 all-sim: maybe-all-libiberty
47660 all-sim: maybe-all-bfd
47661 all-sim: maybe-all-opcodes
47662 all-sim: maybe-all-readline
47663 all-sim: maybe-configure-gdb
47664 all-fastjar: maybe-all-zlib
47665 all-fastjar: maybe-all-build-texinfo
47666 all-fastjar: maybe-all-libiberty
47667 all-bison: maybe-all-intl
47668 all-bison: maybe-all-build-texinfo
47669 all-flex: maybe-all-build-bison
47670 all-flex: maybe-all-intl
47671 all-flex: maybe-all-m4
47672 all-flex: maybe-all-build-texinfo
47673 all-m4: maybe-all-intl
47674 all-m4: maybe-all-build-texinfo
47675 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
47676 configure-target-fastjar: maybe-configure-target-zlib
47677 all-target-fastjar: maybe-all-target-zlib
47678 configure-target-libgo: maybe-configure-target-libffi
47679 configure-target-libgo: maybe-all-target-libstdc++-v3
47680 all-target-libgo: maybe-all-target-libbacktrace
47681 all-target-libgo: maybe-all-target-libffi
47682 all-target-libgo: maybe-all-target-libatomic
47683 configure-target-libjava: maybe-configure-target-zlib
47684 configure-target-libjava: maybe-configure-target-boehm-gc
47685 configure-target-libjava: maybe-configure-target-libffi
47686 all-target-libjava: maybe-all-fastjar
47687 all-target-libjava: maybe-all-target-zlib
47688 all-target-libjava: maybe-all-target-boehm-gc
47689 all-target-libjava: maybe-all-target-libffi
47690 configure-target-libobjc: maybe-configure-target-boehm-gc
47691 all-target-libobjc: maybe-all-target-boehm-gc
47692 configure-target-libstdc++-v3: maybe-configure-target-libgomp
47694 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47695 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47696 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47697 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47698 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47699 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47700 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
47702 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
47703 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
47704 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
47705 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
47706 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
47707 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
47708 configure-target-libvtv: maybe-all-target-libstdc++-v3
47710 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
47711 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
47712 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
47713 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
47714 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
47715 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
47716 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
47717 configure-target-libcilkrts: maybe-all-gcc
47718 all-target-libstdc++-v3: maybe-configure-target-libgomp
47720 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
47721 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
47722 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
47723 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
47724 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
47725 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
47726 install-target-libgo: maybe-install-target-libatomic
47727 install-target-libgfortran: maybe-install-target-libquadmath
47728 install-target-libgfortran: maybe-install-target-libgcc
47729 install-target-libsanitizer: maybe-install-target-libstdc++-v3
47730 install-target-libsanitizer: maybe-install-target-libgcc
47731 install-target-libvtv: maybe-install-target-libstdc++-v3
47732 install-target-libvtv: maybe-install-target-libgcc
47733 install-target-libcilkrts: maybe-install-target-libstdc++-v3
47734 install-target-libcilkrts: maybe-install-target-libgcc
47735 install-target-libjava: maybe-install-target-libgcc
47736 install-target-libitm: maybe-install-target-libgcc
47737 install-target-libobjc: maybe-install-target-libgcc
47738 install-target-libstdc++-v3: maybe-install-target-libgcc
47739 all-target-libgloss: maybe-all-target-newlib
47740 all-target-winsup: maybe-all-target-libtermcap
47741 configure-target-newlib: maybe-all-binutils
47742 configure-target-newlib: maybe-all-ld
47743 configure-target-libgfortran: maybe-all-target-libquadmath
47746 # Dependencies for target modules on other target modules are
47747 # described by lang_env_dependencies; the defaults apply to anything
47748 # not mentioned there.
47751 @if gcc-bootstrap
47752 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
47753 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
47754 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
47755 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
47756 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
47757 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
47758 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
47759 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
47760 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
47761 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
47762 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
47763 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
47764 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
47765 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
47766 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
47767 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
47768 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
47769 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
47770 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
47771 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
47772 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
47773 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
47774 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
47775 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
47776 @endif gcc-bootstrap
47778 @if gcc-no-bootstrap
47779 configure-target-libstdc++-v3: maybe-all-target-libgcc
47780 configure-target-libsanitizer: maybe-all-target-libgcc
47781 configure-target-libvtv: maybe-all-target-libgcc
47782 configure-target-libssp: maybe-all-target-libgcc
47783 configure-target-libcilkrts: maybe-all-target-libgcc
47784 configure-target-newlib: maybe-all-target-libgcc
47785 configure-target-libbacktrace: maybe-all-target-libgcc
47786 configure-target-libquadmath: maybe-all-target-libgcc
47787 configure-target-libgfortran: maybe-all-target-libgcc
47788 configure-target-libobjc: maybe-all-target-libgcc
47789 configure-target-libgo: maybe-all-target-libgcc
47790 configure-target-libtermcap: maybe-all-target-libgcc
47791 configure-target-winsup: maybe-all-target-libgcc
47792 configure-target-libgloss: maybe-all-target-libgcc
47793 configure-target-libffi: maybe-all-target-libgcc
47794 configure-target-libjava: maybe-all-target-libgcc
47795 configure-target-zlib: maybe-all-target-libgcc
47796 configure-target-boehm-gc: maybe-all-target-libgcc
47797 configure-target-rda: maybe-all-target-libgcc
47798 configure-target-libada: maybe-all-target-libgcc
47799 configure-target-libgomp: maybe-all-target-libgcc
47800 configure-target-libitm: maybe-all-target-libgcc
47801 configure-target-libatomic: maybe-all-target-libgcc
47802 @endif gcc-no-bootstrap
47805 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
47807 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
47809 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
47811 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
47815 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
47817 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
47819 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
47821 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
47823 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
47825 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
47827 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
47830 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
47831 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
47832 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
47834 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
47835 configure-target-libjava: maybe-all-target-libstdc++-v3
47837 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
47839 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
47841 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
47843 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
47845 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
47847 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
47848 configure-target-libitm: maybe-all-target-libstdc++-v3
47850 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
47853 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
47854 GDB_TK = @GDB_TK@
47855 INSTALL_GDB_TK = @INSTALL_GDB_TK@
47856 configure-gdb: $(CONFIGURE_GDB_TK)
47857 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
47858 install-gdb: $(INSTALL_GDB_TK)
47860 # Serialization dependencies. Host configures don't work well in parallel to
47861 # each other, due to contention over config.cache. Target configures and
47862 # build configures are similar.
47863 @serialization_dependencies@
47865 # --------------------------------
47866 # Regenerating top level configury
47867 # --------------------------------
47869 # Rebuilding Makefile.in, using autogen.
47870 AUTOGEN = autogen
47871 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
47872 cd $(srcdir) && $(AUTOGEN) Makefile.def
47874 # Rebuilding Makefile.
47875 Makefile: $(srcdir)/Makefile.in config.status
47876 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
47878 config.status: configure
47879 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
47881 # Rebuilding configure.
47882 AUTOCONF = autoconf
47883 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
47884 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
47885 cd $(srcdir) && $(AUTOCONF)
47887 # ------------------------------
47888 # Special directives to GNU Make
47889 # ------------------------------
47891 # Don't pass command-line variables to submakes.
47892 .NOEXPORT:
47893 MAKEOVERRIDES=
47895 # end of Makefile.in