gcc/
[official-gcc.git] / Makefile.in
blobbfbaf03417a47520f866df0040be4ee41663285a
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 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
502 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
504 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
505 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
507 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
508 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
510 do-compare = @do_compare@
511 do-compare3 = $(do-compare)
513 # -----------------------------------------------
514 # Programs producing files for the TARGET machine
515 # -----------------------------------------------
517 AR_FOR_TARGET=@AR_FOR_TARGET@
518 AS_FOR_TARGET=@AS_FOR_TARGET@
519 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
521 # If GCC_FOR_TARGET is not overriden on the command line, then this
522 # variable is passed down to the gcc Makefile, where it is used to
523 # build libgcc2.a. We define it here so that it can itself be
524 # overridden on the command line.
525 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
526 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
527 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
528 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
529 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
530 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
531 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
532 LD_FOR_TARGET=@LD_FOR_TARGET@
534 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
535 NM_FOR_TARGET=@NM_FOR_TARGET@
536 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
537 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
538 READELF_FOR_TARGET=@READELF_FOR_TARGET@
539 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
540 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
541 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
543 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
544 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
545 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
547 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
548 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
550 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
551 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
552 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
553 GOCFLAGS_FOR_TARGET = -O2 -g
555 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
556 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
557 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
559 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
561 # ------------------------------------
562 # Miscellaneous targets and flag lists
563 # ------------------------------------
565 # The first rule in the file had better be this one. Don't put any above it.
566 # This lives here to allow makefile fragments to contain dependencies.
567 all:
569 #### host and target specific makefile fragments come in here.
570 @target_makefile_frag@
571 @alphaieee_frag@
572 @ospace_frag@
573 @host_makefile_frag@
576 # This is the list of directories that may be needed in RPATH_ENVVAR
577 # so that programs built for the target machine work.
578 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
580 @if target-libstdc++-v3
581 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
582 @endif target-libstdc++-v3
584 @if target-libmudflap
585 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
586 @endif target-libmudflap
588 @if target-libsanitizer
589 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
590 @endif target-libsanitizer
592 @if target-libssp
593 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
594 @endif target-libssp
596 @if target-libgomp
597 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
598 @endif target-libgomp
600 @if target-libitm
601 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
602 @endif target-libitm
604 @if target-libatomic
605 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
606 @endif target-libatomic
610 # This is the list of directories that may be needed in RPATH_ENVVAR
611 # so that programs built for the host machine work.
612 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
614 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
615 @if gcc
616 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
617 @endif gcc
620 @if gmp
621 HOST_LIB_PATH_gmp = \
622 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
623 @endif gmp
625 @if mpfr
626 HOST_LIB_PATH_mpfr = \
627 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
628 @endif mpfr
630 @if mpc
631 HOST_LIB_PATH_mpc = \
632 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
633 @endif mpc
635 @if isl
636 HOST_LIB_PATH_isl = \
637 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
638 @endif isl
640 @if cloog
641 HOST_LIB_PATH_cloog = \
642 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
643 @endif cloog
645 @if libelf
646 HOST_LIB_PATH_libelf = \
647 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
648 @endif libelf
651 CXX_FOR_TARGET_FLAG_TO_PASS = \
652 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
653 @if target-libstdc++-v3
654 # CXX_FOR_TARGET is tricky to get right for target libs that require a
655 # functional C++ compiler. When we recurse, if we expand
656 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
657 # libstdc++ include flags from the script. Instead, we get an
658 # -funconfigured-* word, so that we'll get errors if this invalid C++
659 # command line is used for anything, but also so that we can use the
660 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
661 # don't pass it on, sub-make will use the default definition, that
662 # re-expands it at the time of use, so we'll get it right when we need
663 # it. One potential exception is the expansion of CXX_FOR_TARGET
664 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
665 # really work, for C++ host programs can't depend on the current-stage
666 # C++ target library.
667 CXX_FOR_TARGET_FLAG_TO_PASS = \
668 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
669 @endif target-libstdc++-v3
671 # Flags to pass down to all sub-makes.
672 BASE_FLAGS_TO_PASS = \
673 "DESTDIR=$(DESTDIR)" \
674 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
675 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
676 "bindir=$(bindir)" \
677 "datadir=$(datadir)" \
678 "exec_prefix=$(exec_prefix)" \
679 "includedir=$(includedir)" \
680 "datarootdir=$(datarootdir)" \
681 "docdir=$(docdir)" \
682 "infodir=$(infodir)" \
683 "pdfdir=$(pdfdir)" \
684 "htmldir=$(htmldir)" \
685 "libdir=$(libdir)" \
686 "libexecdir=$(libexecdir)" \
687 "lispdir=$(lispdir)" \
688 "localstatedir=$(localstatedir)" \
689 "mandir=$(mandir)" \
690 "oldincludedir=$(oldincludedir)" \
691 "prefix=$(prefix)" \
692 "sbindir=$(sbindir)" \
693 "sharedstatedir=$(sharedstatedir)" \
694 "sysconfdir=$(sysconfdir)" \
695 "tooldir=$(tooldir)" \
696 "build_tooldir=$(build_tooldir)" \
697 "target_alias=$(target_alias)" \
698 "AWK=$(AWK)" \
699 "BISON=$(BISON)" \
700 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
701 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
702 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
703 "EXPECT=$(EXPECT)" \
704 "FLEX=$(FLEX)" \
705 "INSTALL=$(INSTALL)" \
706 "INSTALL_DATA=$(INSTALL_DATA)" \
707 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
708 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
709 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
710 "LEX=$(LEX)" \
711 "M4=$(M4)" \
712 "MAKE=$(MAKE)" \
713 "RUNTEST=$(RUNTEST)" \
714 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
715 "SED=$(SED)" \
716 "SHELL=$(SHELL)" \
717 "YACC=$(YACC)" \
718 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
719 "ADA_CFLAGS=$(ADA_CFLAGS)" \
720 "AR_FLAGS=$(AR_FLAGS)" \
721 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
722 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
723 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
724 "CFLAGS=$(CFLAGS)" \
725 "CXXFLAGS=$(CXXFLAGS)" \
726 "LDFLAGS=$(LDFLAGS)" \
727 "LIBCFLAGS=$(LIBCFLAGS)" \
728 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
729 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
730 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
731 "GNATBIND=$(GNATBIND)" \
732 "GNATMAKE=$(GNATMAKE)" \
733 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
734 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
735 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
736 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
737 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
738 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
739 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
740 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
741 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
742 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
743 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
744 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
745 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
746 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
747 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
748 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
749 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
750 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
751 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
752 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
753 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
754 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
755 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
756 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
757 "BUILD_CONFIG=$(BUILD_CONFIG)" \
758 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
759 "LEAN=$(LEAN)" \
760 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
761 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
762 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
763 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
764 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
765 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
766 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
767 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
768 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
769 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
770 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
771 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
772 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
773 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
774 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
775 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
776 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
777 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
778 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
779 "TFLAGS=$(TFLAGS)" \
780 "CONFIG_SHELL=$(SHELL)" \
781 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
783 # We leave this in just in case, but it is not needed anymore.
784 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
786 # Flags to pass down to most sub-makes, in which we're building with
787 # the host environment.
788 EXTRA_HOST_FLAGS = \
789 'AR=$(AR)' \
790 'AS=$(AS)' \
791 'CC=$(CC)' \
792 'CXX=$(CXX)' \
793 'DLLTOOL=$(DLLTOOL)' \
794 'GCJ=$(GCJ)' \
795 'GFORTRAN=$(GFORTRAN)' \
796 'GOC=$(GOC)' \
797 'LD=$(LD)' \
798 'LIPO=$(LIPO)' \
799 'NM=$(NM)' \
800 'OBJDUMP=$(OBJDUMP)' \
801 'RANLIB=$(RANLIB)' \
802 'READELF=$(READELF)' \
803 'STRIP=$(STRIP)' \
804 'WINDRES=$(WINDRES)' \
805 'WINDMC=$(WINDMC)'
807 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
809 # Flags to pass to stage1 or when not bootstrapping.
811 STAGE1_FLAGS_TO_PASS = \
812 LDFLAGS="$${LDFLAGS}" \
813 HOST_LIBS="$${HOST_LIBS}"
815 # Flags to pass to stage2 and later makes.
817 POSTSTAGE1_FLAGS_TO_PASS = \
818 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
819 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
820 GNATBIND="$${GNATBIND}" \
821 LDFLAGS="$${LDFLAGS}" \
822 HOST_LIBS="$${HOST_LIBS}" \
823 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
825 # Flags to pass down to makes which are built with the target environment.
826 # The double $ decreases the length of the command line; those variables
827 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
828 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
829 # so we expand them here.
830 EXTRA_TARGET_FLAGS = \
831 'AR=$$(AR_FOR_TARGET)' \
832 'AS=$(COMPILER_AS_FOR_TARGET)' \
833 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
834 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
835 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
837 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
838 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
842 'LD=$(COMPILER_LD_FOR_TARGET)' \
843 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
844 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
845 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
846 'NM=$(COMPILER_NM_FOR_TARGET)' \
847 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
848 'RANLIB=$$(RANLIB_FOR_TARGET)' \
849 'READELF=$$(READELF_FOR_TARGET)' \
850 'WINDRES=$$(WINDRES_FOR_TARGET)' \
851 'WINDMC=$$(WINDMC_FOR_TARGET)' \
852 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
853 "TFLAGS=$$TFLAGS"
855 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
857 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
858 # unfortunately needs the native compiler and the target ar and
859 # ranlib.
860 # If any variables are added here, they must be added to do-*, below.
861 # The BUILD_* variables are a special case, which are used for the gcc
862 # cross-building scheme.
863 EXTRA_GCC_FLAGS = \
864 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
865 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
866 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
868 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
870 @if gcc
871 BUILD_CONFIG = @BUILD_CONFIG@
872 ifneq ($(BUILD_CONFIG),)
873 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
874 endif
875 @endif gcc
877 .PHONY: configure-host
878 configure-host: \
879 maybe-configure-bfd \
880 maybe-configure-opcodes \
881 maybe-configure-binutils \
882 maybe-configure-bison \
883 maybe-configure-cgen \
884 maybe-configure-dejagnu \
885 maybe-configure-etc \
886 maybe-configure-fastjar \
887 maybe-configure-fixincludes \
888 maybe-configure-flex \
889 maybe-configure-gas \
890 maybe-configure-gcc \
891 maybe-configure-gmp \
892 maybe-configure-mpfr \
893 maybe-configure-mpc \
894 maybe-configure-isl \
895 maybe-configure-cloog \
896 maybe-configure-libelf \
897 maybe-configure-gold \
898 maybe-configure-gprof \
899 maybe-configure-intl \
900 maybe-configure-tcl \
901 maybe-configure-itcl \
902 maybe-configure-ld \
903 maybe-configure-libbacktrace \
904 maybe-configure-libcpp \
905 maybe-configure-libdecnumber \
906 maybe-configure-libgui \
907 maybe-configure-libiberty \
908 maybe-configure-libiconv \
909 maybe-configure-m4 \
910 maybe-configure-readline \
911 maybe-configure-sid \
912 maybe-configure-sim \
913 maybe-configure-texinfo \
914 maybe-configure-zlib \
915 maybe-configure-gdb \
916 maybe-configure-expect \
917 maybe-configure-guile \
918 maybe-configure-tk \
919 maybe-configure-libtermcap \
920 maybe-configure-utils \
921 maybe-configure-gnattools \
922 maybe-configure-lto-plugin
923 .PHONY: configure-target
924 configure-target: \
925 maybe-configure-target-libstdc++-v3 \
926 maybe-configure-target-libmudflap \
927 maybe-configure-target-libsanitizer \
928 maybe-configure-target-libssp \
929 maybe-configure-target-newlib \
930 maybe-configure-target-libgcc \
931 maybe-configure-target-libbacktrace \
932 maybe-configure-target-libquadmath \
933 maybe-configure-target-libgfortran \
934 maybe-configure-target-libobjc \
935 maybe-configure-target-libgo \
936 maybe-configure-target-libtermcap \
937 maybe-configure-target-winsup \
938 maybe-configure-target-libgloss \
939 maybe-configure-target-libffi \
940 maybe-configure-target-libjava \
941 maybe-configure-target-zlib \
942 maybe-configure-target-boehm-gc \
943 maybe-configure-target-rda \
944 maybe-configure-target-libada \
945 maybe-configure-target-libgomp \
946 maybe-configure-target-libitm \
947 maybe-configure-target-libatomic
949 # The target built for a native non-bootstrap build.
950 .PHONY: all
951 all:
952 @if gcc-bootstrap
953 [ -f stage_final ] || echo stage3 > stage_final
954 @r=`${PWD_COMMAND}`; export r; \
955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
957 @endif gcc-bootstrap
958 @: $(MAKE); $(unstage)
959 @r=`${PWD_COMMAND}`; export r; \
960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
961 @if gcc-bootstrap
962 if [ -f stage_last ]; then \
963 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
964 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
965 else \
966 @endif gcc-bootstrap
967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
968 @if gcc-bootstrap
970 fi \
971 @endif gcc-bootstrap
972 && :
974 .PHONY: all-build
976 all-build: maybe-all-build-libiberty
977 all-build: maybe-all-build-bison
978 all-build: maybe-all-build-flex
979 all-build: maybe-all-build-m4
980 all-build: maybe-all-build-texinfo
981 all-build: maybe-all-build-fixincludes
983 .PHONY: all-host
985 @if bfd-no-bootstrap
986 all-host: maybe-all-bfd
987 @endif bfd-no-bootstrap
988 @if opcodes-no-bootstrap
989 all-host: maybe-all-opcodes
990 @endif opcodes-no-bootstrap
991 @if binutils-no-bootstrap
992 all-host: maybe-all-binutils
993 @endif binutils-no-bootstrap
994 all-host: maybe-all-bison
995 all-host: maybe-all-cgen
996 all-host: maybe-all-dejagnu
997 all-host: maybe-all-etc
998 all-host: maybe-all-fastjar
999 all-host: maybe-all-fixincludes
1000 all-host: maybe-all-flex
1001 @if gas-no-bootstrap
1002 all-host: maybe-all-gas
1003 @endif gas-no-bootstrap
1004 @if gcc-no-bootstrap
1005 all-host: maybe-all-gcc
1006 @endif gcc-no-bootstrap
1007 @if gmp-no-bootstrap
1008 all-host: maybe-all-gmp
1009 @endif gmp-no-bootstrap
1010 @if mpfr-no-bootstrap
1011 all-host: maybe-all-mpfr
1012 @endif mpfr-no-bootstrap
1013 @if mpc-no-bootstrap
1014 all-host: maybe-all-mpc
1015 @endif mpc-no-bootstrap
1016 @if isl-no-bootstrap
1017 all-host: maybe-all-isl
1018 @endif isl-no-bootstrap
1019 @if cloog-no-bootstrap
1020 all-host: maybe-all-cloog
1021 @endif cloog-no-bootstrap
1022 @if libelf-no-bootstrap
1023 all-host: maybe-all-libelf
1024 @endif libelf-no-bootstrap
1025 @if gold-no-bootstrap
1026 all-host: maybe-all-gold
1027 @endif gold-no-bootstrap
1028 all-host: maybe-all-gprof
1029 @if intl-no-bootstrap
1030 all-host: maybe-all-intl
1031 @endif intl-no-bootstrap
1032 all-host: maybe-all-tcl
1033 all-host: maybe-all-itcl
1034 @if ld-no-bootstrap
1035 all-host: maybe-all-ld
1036 @endif ld-no-bootstrap
1037 @if libbacktrace-no-bootstrap
1038 all-host: maybe-all-libbacktrace
1039 @endif libbacktrace-no-bootstrap
1040 @if libcpp-no-bootstrap
1041 all-host: maybe-all-libcpp
1042 @endif libcpp-no-bootstrap
1043 @if libdecnumber-no-bootstrap
1044 all-host: maybe-all-libdecnumber
1045 @endif libdecnumber-no-bootstrap
1046 all-host: maybe-all-libgui
1047 @if libiberty-no-bootstrap
1048 all-host: maybe-all-libiberty
1049 @endif libiberty-no-bootstrap
1050 all-host: maybe-all-libiconv
1051 all-host: maybe-all-m4
1052 all-host: maybe-all-readline
1053 all-host: maybe-all-sid
1054 all-host: maybe-all-sim
1055 all-host: maybe-all-texinfo
1056 @if zlib-no-bootstrap
1057 all-host: maybe-all-zlib
1058 @endif zlib-no-bootstrap
1059 all-host: maybe-all-gdb
1060 all-host: maybe-all-expect
1061 all-host: maybe-all-guile
1062 all-host: maybe-all-tk
1063 all-host: maybe-all-libtermcap
1064 all-host: maybe-all-utils
1065 all-host: maybe-all-gnattools
1066 @if lto-plugin-no-bootstrap
1067 all-host: maybe-all-lto-plugin
1068 @endif lto-plugin-no-bootstrap
1070 .PHONY: all-target
1072 @if target-libstdc++-v3-no-bootstrap
1073 all-target: maybe-all-target-libstdc++-v3
1074 @endif target-libstdc++-v3-no-bootstrap
1075 all-target: maybe-all-target-libmudflap
1076 @if target-libsanitizer-no-bootstrap
1077 all-target: maybe-all-target-libsanitizer
1078 @endif target-libsanitizer-no-bootstrap
1079 all-target: maybe-all-target-libssp
1080 all-target: maybe-all-target-newlib
1081 @if target-libgcc-no-bootstrap
1082 all-target: maybe-all-target-libgcc
1083 @endif target-libgcc-no-bootstrap
1084 all-target: maybe-all-target-libbacktrace
1085 all-target: maybe-all-target-libquadmath
1086 all-target: maybe-all-target-libgfortran
1087 all-target: maybe-all-target-libobjc
1088 all-target: maybe-all-target-libgo
1089 all-target: maybe-all-target-libtermcap
1090 all-target: maybe-all-target-winsup
1091 all-target: maybe-all-target-libgloss
1092 all-target: maybe-all-target-libffi
1093 all-target: maybe-all-target-libjava
1094 all-target: maybe-all-target-zlib
1095 all-target: maybe-all-target-boehm-gc
1096 all-target: maybe-all-target-rda
1097 all-target: maybe-all-target-libada
1098 @if target-libgomp-no-bootstrap
1099 all-target: maybe-all-target-libgomp
1100 @endif target-libgomp-no-bootstrap
1101 all-target: maybe-all-target-libitm
1102 all-target: maybe-all-target-libatomic
1104 # Do a target for all the subdirectories. A ``make do-X'' will do a
1105 # ``make X'' in all subdirectories (because, in general, there is a
1106 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1107 # but it may do additional work as well).
1109 .PHONY: do-info
1110 do-info:
1111 @: $(MAKE); $(unstage)
1112 @r=`${PWD_COMMAND}`; export r; \
1113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1115 info-target
1118 .PHONY: info-host
1120 info-host: maybe-info-bfd
1121 info-host: maybe-info-opcodes
1122 info-host: maybe-info-binutils
1123 info-host: maybe-info-bison
1124 info-host: maybe-info-cgen
1125 info-host: maybe-info-dejagnu
1126 info-host: maybe-info-etc
1127 info-host: maybe-info-fastjar
1128 info-host: maybe-info-fixincludes
1129 info-host: maybe-info-flex
1130 info-host: maybe-info-gas
1131 info-host: maybe-info-gcc
1132 info-host: maybe-info-gmp
1133 info-host: maybe-info-mpfr
1134 info-host: maybe-info-mpc
1135 info-host: maybe-info-isl
1136 info-host: maybe-info-cloog
1137 info-host: maybe-info-libelf
1138 info-host: maybe-info-gold
1139 info-host: maybe-info-gprof
1140 info-host: maybe-info-intl
1141 info-host: maybe-info-tcl
1142 info-host: maybe-info-itcl
1143 info-host: maybe-info-ld
1144 info-host: maybe-info-libbacktrace
1145 info-host: maybe-info-libcpp
1146 info-host: maybe-info-libdecnumber
1147 info-host: maybe-info-libgui
1148 info-host: maybe-info-libiberty
1149 info-host: maybe-info-libiconv
1150 info-host: maybe-info-m4
1151 info-host: maybe-info-readline
1152 info-host: maybe-info-sid
1153 info-host: maybe-info-sim
1154 info-host: maybe-info-texinfo
1155 info-host: maybe-info-zlib
1156 info-host: maybe-info-gdb
1157 info-host: maybe-info-expect
1158 info-host: maybe-info-guile
1159 info-host: maybe-info-tk
1160 info-host: maybe-info-libtermcap
1161 info-host: maybe-info-utils
1162 info-host: maybe-info-gnattools
1163 info-host: maybe-info-lto-plugin
1165 .PHONY: info-target
1167 info-target: maybe-info-target-libstdc++-v3
1168 info-target: maybe-info-target-libmudflap
1169 info-target: maybe-info-target-libsanitizer
1170 info-target: maybe-info-target-libssp
1171 info-target: maybe-info-target-newlib
1172 info-target: maybe-info-target-libgcc
1173 info-target: maybe-info-target-libbacktrace
1174 info-target: maybe-info-target-libquadmath
1175 info-target: maybe-info-target-libgfortran
1176 info-target: maybe-info-target-libobjc
1177 info-target: maybe-info-target-libgo
1178 info-target: maybe-info-target-libtermcap
1179 info-target: maybe-info-target-winsup
1180 info-target: maybe-info-target-libgloss
1181 info-target: maybe-info-target-libffi
1182 info-target: maybe-info-target-libjava
1183 info-target: maybe-info-target-zlib
1184 info-target: maybe-info-target-boehm-gc
1185 info-target: maybe-info-target-rda
1186 info-target: maybe-info-target-libada
1187 info-target: maybe-info-target-libgomp
1188 info-target: maybe-info-target-libitm
1189 info-target: maybe-info-target-libatomic
1191 .PHONY: do-dvi
1192 do-dvi:
1193 @: $(MAKE); $(unstage)
1194 @r=`${PWD_COMMAND}`; export r; \
1195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1196 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1197 dvi-target
1200 .PHONY: dvi-host
1202 dvi-host: maybe-dvi-bfd
1203 dvi-host: maybe-dvi-opcodes
1204 dvi-host: maybe-dvi-binutils
1205 dvi-host: maybe-dvi-bison
1206 dvi-host: maybe-dvi-cgen
1207 dvi-host: maybe-dvi-dejagnu
1208 dvi-host: maybe-dvi-etc
1209 dvi-host: maybe-dvi-fastjar
1210 dvi-host: maybe-dvi-fixincludes
1211 dvi-host: maybe-dvi-flex
1212 dvi-host: maybe-dvi-gas
1213 dvi-host: maybe-dvi-gcc
1214 dvi-host: maybe-dvi-gmp
1215 dvi-host: maybe-dvi-mpfr
1216 dvi-host: maybe-dvi-mpc
1217 dvi-host: maybe-dvi-isl
1218 dvi-host: maybe-dvi-cloog
1219 dvi-host: maybe-dvi-libelf
1220 dvi-host: maybe-dvi-gold
1221 dvi-host: maybe-dvi-gprof
1222 dvi-host: maybe-dvi-intl
1223 dvi-host: maybe-dvi-tcl
1224 dvi-host: maybe-dvi-itcl
1225 dvi-host: maybe-dvi-ld
1226 dvi-host: maybe-dvi-libbacktrace
1227 dvi-host: maybe-dvi-libcpp
1228 dvi-host: maybe-dvi-libdecnumber
1229 dvi-host: maybe-dvi-libgui
1230 dvi-host: maybe-dvi-libiberty
1231 dvi-host: maybe-dvi-libiconv
1232 dvi-host: maybe-dvi-m4
1233 dvi-host: maybe-dvi-readline
1234 dvi-host: maybe-dvi-sid
1235 dvi-host: maybe-dvi-sim
1236 dvi-host: maybe-dvi-texinfo
1237 dvi-host: maybe-dvi-zlib
1238 dvi-host: maybe-dvi-gdb
1239 dvi-host: maybe-dvi-expect
1240 dvi-host: maybe-dvi-guile
1241 dvi-host: maybe-dvi-tk
1242 dvi-host: maybe-dvi-libtermcap
1243 dvi-host: maybe-dvi-utils
1244 dvi-host: maybe-dvi-gnattools
1245 dvi-host: maybe-dvi-lto-plugin
1247 .PHONY: dvi-target
1249 dvi-target: maybe-dvi-target-libstdc++-v3
1250 dvi-target: maybe-dvi-target-libmudflap
1251 dvi-target: maybe-dvi-target-libsanitizer
1252 dvi-target: maybe-dvi-target-libssp
1253 dvi-target: maybe-dvi-target-newlib
1254 dvi-target: maybe-dvi-target-libgcc
1255 dvi-target: maybe-dvi-target-libbacktrace
1256 dvi-target: maybe-dvi-target-libquadmath
1257 dvi-target: maybe-dvi-target-libgfortran
1258 dvi-target: maybe-dvi-target-libobjc
1259 dvi-target: maybe-dvi-target-libgo
1260 dvi-target: maybe-dvi-target-libtermcap
1261 dvi-target: maybe-dvi-target-winsup
1262 dvi-target: maybe-dvi-target-libgloss
1263 dvi-target: maybe-dvi-target-libffi
1264 dvi-target: maybe-dvi-target-libjava
1265 dvi-target: maybe-dvi-target-zlib
1266 dvi-target: maybe-dvi-target-boehm-gc
1267 dvi-target: maybe-dvi-target-rda
1268 dvi-target: maybe-dvi-target-libada
1269 dvi-target: maybe-dvi-target-libgomp
1270 dvi-target: maybe-dvi-target-libitm
1271 dvi-target: maybe-dvi-target-libatomic
1273 .PHONY: do-pdf
1274 do-pdf:
1275 @: $(MAKE); $(unstage)
1276 @r=`${PWD_COMMAND}`; export r; \
1277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1279 pdf-target
1282 .PHONY: pdf-host
1284 pdf-host: maybe-pdf-bfd
1285 pdf-host: maybe-pdf-opcodes
1286 pdf-host: maybe-pdf-binutils
1287 pdf-host: maybe-pdf-bison
1288 pdf-host: maybe-pdf-cgen
1289 pdf-host: maybe-pdf-dejagnu
1290 pdf-host: maybe-pdf-etc
1291 pdf-host: maybe-pdf-fastjar
1292 pdf-host: maybe-pdf-fixincludes
1293 pdf-host: maybe-pdf-flex
1294 pdf-host: maybe-pdf-gas
1295 pdf-host: maybe-pdf-gcc
1296 pdf-host: maybe-pdf-gmp
1297 pdf-host: maybe-pdf-mpfr
1298 pdf-host: maybe-pdf-mpc
1299 pdf-host: maybe-pdf-isl
1300 pdf-host: maybe-pdf-cloog
1301 pdf-host: maybe-pdf-libelf
1302 pdf-host: maybe-pdf-gold
1303 pdf-host: maybe-pdf-gprof
1304 pdf-host: maybe-pdf-intl
1305 pdf-host: maybe-pdf-tcl
1306 pdf-host: maybe-pdf-itcl
1307 pdf-host: maybe-pdf-ld
1308 pdf-host: maybe-pdf-libbacktrace
1309 pdf-host: maybe-pdf-libcpp
1310 pdf-host: maybe-pdf-libdecnumber
1311 pdf-host: maybe-pdf-libgui
1312 pdf-host: maybe-pdf-libiberty
1313 pdf-host: maybe-pdf-libiconv
1314 pdf-host: maybe-pdf-m4
1315 pdf-host: maybe-pdf-readline
1316 pdf-host: maybe-pdf-sid
1317 pdf-host: maybe-pdf-sim
1318 pdf-host: maybe-pdf-texinfo
1319 pdf-host: maybe-pdf-zlib
1320 pdf-host: maybe-pdf-gdb
1321 pdf-host: maybe-pdf-expect
1322 pdf-host: maybe-pdf-guile
1323 pdf-host: maybe-pdf-tk
1324 pdf-host: maybe-pdf-libtermcap
1325 pdf-host: maybe-pdf-utils
1326 pdf-host: maybe-pdf-gnattools
1327 pdf-host: maybe-pdf-lto-plugin
1329 .PHONY: pdf-target
1331 pdf-target: maybe-pdf-target-libstdc++-v3
1332 pdf-target: maybe-pdf-target-libmudflap
1333 pdf-target: maybe-pdf-target-libsanitizer
1334 pdf-target: maybe-pdf-target-libssp
1335 pdf-target: maybe-pdf-target-newlib
1336 pdf-target: maybe-pdf-target-libgcc
1337 pdf-target: maybe-pdf-target-libbacktrace
1338 pdf-target: maybe-pdf-target-libquadmath
1339 pdf-target: maybe-pdf-target-libgfortran
1340 pdf-target: maybe-pdf-target-libobjc
1341 pdf-target: maybe-pdf-target-libgo
1342 pdf-target: maybe-pdf-target-libtermcap
1343 pdf-target: maybe-pdf-target-winsup
1344 pdf-target: maybe-pdf-target-libgloss
1345 pdf-target: maybe-pdf-target-libffi
1346 pdf-target: maybe-pdf-target-libjava
1347 pdf-target: maybe-pdf-target-zlib
1348 pdf-target: maybe-pdf-target-boehm-gc
1349 pdf-target: maybe-pdf-target-rda
1350 pdf-target: maybe-pdf-target-libada
1351 pdf-target: maybe-pdf-target-libgomp
1352 pdf-target: maybe-pdf-target-libitm
1353 pdf-target: maybe-pdf-target-libatomic
1355 .PHONY: do-html
1356 do-html:
1357 @: $(MAKE); $(unstage)
1358 @r=`${PWD_COMMAND}`; export r; \
1359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1361 html-target
1364 .PHONY: html-host
1366 html-host: maybe-html-bfd
1367 html-host: maybe-html-opcodes
1368 html-host: maybe-html-binutils
1369 html-host: maybe-html-bison
1370 html-host: maybe-html-cgen
1371 html-host: maybe-html-dejagnu
1372 html-host: maybe-html-etc
1373 html-host: maybe-html-fastjar
1374 html-host: maybe-html-fixincludes
1375 html-host: maybe-html-flex
1376 html-host: maybe-html-gas
1377 html-host: maybe-html-gcc
1378 html-host: maybe-html-gmp
1379 html-host: maybe-html-mpfr
1380 html-host: maybe-html-mpc
1381 html-host: maybe-html-isl
1382 html-host: maybe-html-cloog
1383 html-host: maybe-html-libelf
1384 html-host: maybe-html-gold
1385 html-host: maybe-html-gprof
1386 html-host: maybe-html-intl
1387 html-host: maybe-html-tcl
1388 html-host: maybe-html-itcl
1389 html-host: maybe-html-ld
1390 html-host: maybe-html-libbacktrace
1391 html-host: maybe-html-libcpp
1392 html-host: maybe-html-libdecnumber
1393 html-host: maybe-html-libgui
1394 html-host: maybe-html-libiberty
1395 html-host: maybe-html-libiconv
1396 html-host: maybe-html-m4
1397 html-host: maybe-html-readline
1398 html-host: maybe-html-sid
1399 html-host: maybe-html-sim
1400 html-host: maybe-html-texinfo
1401 html-host: maybe-html-zlib
1402 html-host: maybe-html-gdb
1403 html-host: maybe-html-expect
1404 html-host: maybe-html-guile
1405 html-host: maybe-html-tk
1406 html-host: maybe-html-libtermcap
1407 html-host: maybe-html-utils
1408 html-host: maybe-html-gnattools
1409 html-host: maybe-html-lto-plugin
1411 .PHONY: html-target
1413 html-target: maybe-html-target-libstdc++-v3
1414 html-target: maybe-html-target-libmudflap
1415 html-target: maybe-html-target-libsanitizer
1416 html-target: maybe-html-target-libssp
1417 html-target: maybe-html-target-newlib
1418 html-target: maybe-html-target-libgcc
1419 html-target: maybe-html-target-libbacktrace
1420 html-target: maybe-html-target-libquadmath
1421 html-target: maybe-html-target-libgfortran
1422 html-target: maybe-html-target-libobjc
1423 html-target: maybe-html-target-libgo
1424 html-target: maybe-html-target-libtermcap
1425 html-target: maybe-html-target-winsup
1426 html-target: maybe-html-target-libgloss
1427 html-target: maybe-html-target-libffi
1428 html-target: maybe-html-target-libjava
1429 html-target: maybe-html-target-zlib
1430 html-target: maybe-html-target-boehm-gc
1431 html-target: maybe-html-target-rda
1432 html-target: maybe-html-target-libada
1433 html-target: maybe-html-target-libgomp
1434 html-target: maybe-html-target-libitm
1435 html-target: maybe-html-target-libatomic
1437 .PHONY: do-TAGS
1438 do-TAGS:
1439 @: $(MAKE); $(unstage)
1440 @r=`${PWD_COMMAND}`; export r; \
1441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1442 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1443 TAGS-target
1446 .PHONY: TAGS-host
1448 TAGS-host: maybe-TAGS-bfd
1449 TAGS-host: maybe-TAGS-opcodes
1450 TAGS-host: maybe-TAGS-binutils
1451 TAGS-host: maybe-TAGS-bison
1452 TAGS-host: maybe-TAGS-cgen
1453 TAGS-host: maybe-TAGS-dejagnu
1454 TAGS-host: maybe-TAGS-etc
1455 TAGS-host: maybe-TAGS-fastjar
1456 TAGS-host: maybe-TAGS-fixincludes
1457 TAGS-host: maybe-TAGS-flex
1458 TAGS-host: maybe-TAGS-gas
1459 TAGS-host: maybe-TAGS-gcc
1460 TAGS-host: maybe-TAGS-gmp
1461 TAGS-host: maybe-TAGS-mpfr
1462 TAGS-host: maybe-TAGS-mpc
1463 TAGS-host: maybe-TAGS-isl
1464 TAGS-host: maybe-TAGS-cloog
1465 TAGS-host: maybe-TAGS-libelf
1466 TAGS-host: maybe-TAGS-gold
1467 TAGS-host: maybe-TAGS-gprof
1468 TAGS-host: maybe-TAGS-intl
1469 TAGS-host: maybe-TAGS-tcl
1470 TAGS-host: maybe-TAGS-itcl
1471 TAGS-host: maybe-TAGS-ld
1472 TAGS-host: maybe-TAGS-libbacktrace
1473 TAGS-host: maybe-TAGS-libcpp
1474 TAGS-host: maybe-TAGS-libdecnumber
1475 TAGS-host: maybe-TAGS-libgui
1476 TAGS-host: maybe-TAGS-libiberty
1477 TAGS-host: maybe-TAGS-libiconv
1478 TAGS-host: maybe-TAGS-m4
1479 TAGS-host: maybe-TAGS-readline
1480 TAGS-host: maybe-TAGS-sid
1481 TAGS-host: maybe-TAGS-sim
1482 TAGS-host: maybe-TAGS-texinfo
1483 TAGS-host: maybe-TAGS-zlib
1484 TAGS-host: maybe-TAGS-gdb
1485 TAGS-host: maybe-TAGS-expect
1486 TAGS-host: maybe-TAGS-guile
1487 TAGS-host: maybe-TAGS-tk
1488 TAGS-host: maybe-TAGS-libtermcap
1489 TAGS-host: maybe-TAGS-utils
1490 TAGS-host: maybe-TAGS-gnattools
1491 TAGS-host: maybe-TAGS-lto-plugin
1493 .PHONY: TAGS-target
1495 TAGS-target: maybe-TAGS-target-libstdc++-v3
1496 TAGS-target: maybe-TAGS-target-libmudflap
1497 TAGS-target: maybe-TAGS-target-libsanitizer
1498 TAGS-target: maybe-TAGS-target-libssp
1499 TAGS-target: maybe-TAGS-target-newlib
1500 TAGS-target: maybe-TAGS-target-libgcc
1501 TAGS-target: maybe-TAGS-target-libbacktrace
1502 TAGS-target: maybe-TAGS-target-libquadmath
1503 TAGS-target: maybe-TAGS-target-libgfortran
1504 TAGS-target: maybe-TAGS-target-libobjc
1505 TAGS-target: maybe-TAGS-target-libgo
1506 TAGS-target: maybe-TAGS-target-libtermcap
1507 TAGS-target: maybe-TAGS-target-winsup
1508 TAGS-target: maybe-TAGS-target-libgloss
1509 TAGS-target: maybe-TAGS-target-libffi
1510 TAGS-target: maybe-TAGS-target-libjava
1511 TAGS-target: maybe-TAGS-target-zlib
1512 TAGS-target: maybe-TAGS-target-boehm-gc
1513 TAGS-target: maybe-TAGS-target-rda
1514 TAGS-target: maybe-TAGS-target-libada
1515 TAGS-target: maybe-TAGS-target-libgomp
1516 TAGS-target: maybe-TAGS-target-libitm
1517 TAGS-target: maybe-TAGS-target-libatomic
1519 .PHONY: do-install-info
1520 do-install-info:
1521 @: $(MAKE); $(unstage)
1522 @r=`${PWD_COMMAND}`; export r; \
1523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1524 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1525 install-info-target
1528 .PHONY: install-info-host
1530 install-info-host: maybe-install-info-bfd
1531 install-info-host: maybe-install-info-opcodes
1532 install-info-host: maybe-install-info-binutils
1533 install-info-host: maybe-install-info-bison
1534 install-info-host: maybe-install-info-cgen
1535 install-info-host: maybe-install-info-dejagnu
1536 install-info-host: maybe-install-info-etc
1537 install-info-host: maybe-install-info-fastjar
1538 install-info-host: maybe-install-info-fixincludes
1539 install-info-host: maybe-install-info-flex
1540 install-info-host: maybe-install-info-gas
1541 install-info-host: maybe-install-info-gcc
1542 install-info-host: maybe-install-info-gmp
1543 install-info-host: maybe-install-info-mpfr
1544 install-info-host: maybe-install-info-mpc
1545 install-info-host: maybe-install-info-isl
1546 install-info-host: maybe-install-info-cloog
1547 install-info-host: maybe-install-info-libelf
1548 install-info-host: maybe-install-info-gold
1549 install-info-host: maybe-install-info-gprof
1550 install-info-host: maybe-install-info-intl
1551 install-info-host: maybe-install-info-tcl
1552 install-info-host: maybe-install-info-itcl
1553 install-info-host: maybe-install-info-ld
1554 install-info-host: maybe-install-info-libbacktrace
1555 install-info-host: maybe-install-info-libcpp
1556 install-info-host: maybe-install-info-libdecnumber
1557 install-info-host: maybe-install-info-libgui
1558 install-info-host: maybe-install-info-libiberty
1559 install-info-host: maybe-install-info-libiconv
1560 install-info-host: maybe-install-info-m4
1561 install-info-host: maybe-install-info-readline
1562 install-info-host: maybe-install-info-sid
1563 install-info-host: maybe-install-info-sim
1564 install-info-host: maybe-install-info-texinfo
1565 install-info-host: maybe-install-info-zlib
1566 install-info-host: maybe-install-info-gdb
1567 install-info-host: maybe-install-info-expect
1568 install-info-host: maybe-install-info-guile
1569 install-info-host: maybe-install-info-tk
1570 install-info-host: maybe-install-info-libtermcap
1571 install-info-host: maybe-install-info-utils
1572 install-info-host: maybe-install-info-gnattools
1573 install-info-host: maybe-install-info-lto-plugin
1575 .PHONY: install-info-target
1577 install-info-target: maybe-install-info-target-libstdc++-v3
1578 install-info-target: maybe-install-info-target-libmudflap
1579 install-info-target: maybe-install-info-target-libsanitizer
1580 install-info-target: maybe-install-info-target-libssp
1581 install-info-target: maybe-install-info-target-newlib
1582 install-info-target: maybe-install-info-target-libgcc
1583 install-info-target: maybe-install-info-target-libbacktrace
1584 install-info-target: maybe-install-info-target-libquadmath
1585 install-info-target: maybe-install-info-target-libgfortran
1586 install-info-target: maybe-install-info-target-libobjc
1587 install-info-target: maybe-install-info-target-libgo
1588 install-info-target: maybe-install-info-target-libtermcap
1589 install-info-target: maybe-install-info-target-winsup
1590 install-info-target: maybe-install-info-target-libgloss
1591 install-info-target: maybe-install-info-target-libffi
1592 install-info-target: maybe-install-info-target-libjava
1593 install-info-target: maybe-install-info-target-zlib
1594 install-info-target: maybe-install-info-target-boehm-gc
1595 install-info-target: maybe-install-info-target-rda
1596 install-info-target: maybe-install-info-target-libada
1597 install-info-target: maybe-install-info-target-libgomp
1598 install-info-target: maybe-install-info-target-libitm
1599 install-info-target: maybe-install-info-target-libatomic
1601 .PHONY: do-install-pdf
1602 do-install-pdf:
1603 @: $(MAKE); $(unstage)
1604 @r=`${PWD_COMMAND}`; export r; \
1605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1606 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1607 install-pdf-target
1610 .PHONY: install-pdf-host
1612 install-pdf-host: maybe-install-pdf-bfd
1613 install-pdf-host: maybe-install-pdf-opcodes
1614 install-pdf-host: maybe-install-pdf-binutils
1615 install-pdf-host: maybe-install-pdf-bison
1616 install-pdf-host: maybe-install-pdf-cgen
1617 install-pdf-host: maybe-install-pdf-dejagnu
1618 install-pdf-host: maybe-install-pdf-etc
1619 install-pdf-host: maybe-install-pdf-fastjar
1620 install-pdf-host: maybe-install-pdf-fixincludes
1621 install-pdf-host: maybe-install-pdf-flex
1622 install-pdf-host: maybe-install-pdf-gas
1623 install-pdf-host: maybe-install-pdf-gcc
1624 install-pdf-host: maybe-install-pdf-gmp
1625 install-pdf-host: maybe-install-pdf-mpfr
1626 install-pdf-host: maybe-install-pdf-mpc
1627 install-pdf-host: maybe-install-pdf-isl
1628 install-pdf-host: maybe-install-pdf-cloog
1629 install-pdf-host: maybe-install-pdf-libelf
1630 install-pdf-host: maybe-install-pdf-gold
1631 install-pdf-host: maybe-install-pdf-gprof
1632 install-pdf-host: maybe-install-pdf-intl
1633 install-pdf-host: maybe-install-pdf-tcl
1634 install-pdf-host: maybe-install-pdf-itcl
1635 install-pdf-host: maybe-install-pdf-ld
1636 install-pdf-host: maybe-install-pdf-libbacktrace
1637 install-pdf-host: maybe-install-pdf-libcpp
1638 install-pdf-host: maybe-install-pdf-libdecnumber
1639 install-pdf-host: maybe-install-pdf-libgui
1640 install-pdf-host: maybe-install-pdf-libiberty
1641 install-pdf-host: maybe-install-pdf-libiconv
1642 install-pdf-host: maybe-install-pdf-m4
1643 install-pdf-host: maybe-install-pdf-readline
1644 install-pdf-host: maybe-install-pdf-sid
1645 install-pdf-host: maybe-install-pdf-sim
1646 install-pdf-host: maybe-install-pdf-texinfo
1647 install-pdf-host: maybe-install-pdf-zlib
1648 install-pdf-host: maybe-install-pdf-gdb
1649 install-pdf-host: maybe-install-pdf-expect
1650 install-pdf-host: maybe-install-pdf-guile
1651 install-pdf-host: maybe-install-pdf-tk
1652 install-pdf-host: maybe-install-pdf-libtermcap
1653 install-pdf-host: maybe-install-pdf-utils
1654 install-pdf-host: maybe-install-pdf-gnattools
1655 install-pdf-host: maybe-install-pdf-lto-plugin
1657 .PHONY: install-pdf-target
1659 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1660 install-pdf-target: maybe-install-pdf-target-libmudflap
1661 install-pdf-target: maybe-install-pdf-target-libsanitizer
1662 install-pdf-target: maybe-install-pdf-target-libssp
1663 install-pdf-target: maybe-install-pdf-target-newlib
1664 install-pdf-target: maybe-install-pdf-target-libgcc
1665 install-pdf-target: maybe-install-pdf-target-libbacktrace
1666 install-pdf-target: maybe-install-pdf-target-libquadmath
1667 install-pdf-target: maybe-install-pdf-target-libgfortran
1668 install-pdf-target: maybe-install-pdf-target-libobjc
1669 install-pdf-target: maybe-install-pdf-target-libgo
1670 install-pdf-target: maybe-install-pdf-target-libtermcap
1671 install-pdf-target: maybe-install-pdf-target-winsup
1672 install-pdf-target: maybe-install-pdf-target-libgloss
1673 install-pdf-target: maybe-install-pdf-target-libffi
1674 install-pdf-target: maybe-install-pdf-target-libjava
1675 install-pdf-target: maybe-install-pdf-target-zlib
1676 install-pdf-target: maybe-install-pdf-target-boehm-gc
1677 install-pdf-target: maybe-install-pdf-target-rda
1678 install-pdf-target: maybe-install-pdf-target-libada
1679 install-pdf-target: maybe-install-pdf-target-libgomp
1680 install-pdf-target: maybe-install-pdf-target-libitm
1681 install-pdf-target: maybe-install-pdf-target-libatomic
1683 .PHONY: do-install-html
1684 do-install-html:
1685 @: $(MAKE); $(unstage)
1686 @r=`${PWD_COMMAND}`; export r; \
1687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1689 install-html-target
1692 .PHONY: install-html-host
1694 install-html-host: maybe-install-html-bfd
1695 install-html-host: maybe-install-html-opcodes
1696 install-html-host: maybe-install-html-binutils
1697 install-html-host: maybe-install-html-bison
1698 install-html-host: maybe-install-html-cgen
1699 install-html-host: maybe-install-html-dejagnu
1700 install-html-host: maybe-install-html-etc
1701 install-html-host: maybe-install-html-fastjar
1702 install-html-host: maybe-install-html-fixincludes
1703 install-html-host: maybe-install-html-flex
1704 install-html-host: maybe-install-html-gas
1705 install-html-host: maybe-install-html-gcc
1706 install-html-host: maybe-install-html-gmp
1707 install-html-host: maybe-install-html-mpfr
1708 install-html-host: maybe-install-html-mpc
1709 install-html-host: maybe-install-html-isl
1710 install-html-host: maybe-install-html-cloog
1711 install-html-host: maybe-install-html-libelf
1712 install-html-host: maybe-install-html-gold
1713 install-html-host: maybe-install-html-gprof
1714 install-html-host: maybe-install-html-intl
1715 install-html-host: maybe-install-html-tcl
1716 install-html-host: maybe-install-html-itcl
1717 install-html-host: maybe-install-html-ld
1718 install-html-host: maybe-install-html-libbacktrace
1719 install-html-host: maybe-install-html-libcpp
1720 install-html-host: maybe-install-html-libdecnumber
1721 install-html-host: maybe-install-html-libgui
1722 install-html-host: maybe-install-html-libiberty
1723 install-html-host: maybe-install-html-libiconv
1724 install-html-host: maybe-install-html-m4
1725 install-html-host: maybe-install-html-readline
1726 install-html-host: maybe-install-html-sid
1727 install-html-host: maybe-install-html-sim
1728 install-html-host: maybe-install-html-texinfo
1729 install-html-host: maybe-install-html-zlib
1730 install-html-host: maybe-install-html-gdb
1731 install-html-host: maybe-install-html-expect
1732 install-html-host: maybe-install-html-guile
1733 install-html-host: maybe-install-html-tk
1734 install-html-host: maybe-install-html-libtermcap
1735 install-html-host: maybe-install-html-utils
1736 install-html-host: maybe-install-html-gnattools
1737 install-html-host: maybe-install-html-lto-plugin
1739 .PHONY: install-html-target
1741 install-html-target: maybe-install-html-target-libstdc++-v3
1742 install-html-target: maybe-install-html-target-libmudflap
1743 install-html-target: maybe-install-html-target-libsanitizer
1744 install-html-target: maybe-install-html-target-libssp
1745 install-html-target: maybe-install-html-target-newlib
1746 install-html-target: maybe-install-html-target-libgcc
1747 install-html-target: maybe-install-html-target-libbacktrace
1748 install-html-target: maybe-install-html-target-libquadmath
1749 install-html-target: maybe-install-html-target-libgfortran
1750 install-html-target: maybe-install-html-target-libobjc
1751 install-html-target: maybe-install-html-target-libgo
1752 install-html-target: maybe-install-html-target-libtermcap
1753 install-html-target: maybe-install-html-target-winsup
1754 install-html-target: maybe-install-html-target-libgloss
1755 install-html-target: maybe-install-html-target-libffi
1756 install-html-target: maybe-install-html-target-libjava
1757 install-html-target: maybe-install-html-target-zlib
1758 install-html-target: maybe-install-html-target-boehm-gc
1759 install-html-target: maybe-install-html-target-rda
1760 install-html-target: maybe-install-html-target-libada
1761 install-html-target: maybe-install-html-target-libgomp
1762 install-html-target: maybe-install-html-target-libitm
1763 install-html-target: maybe-install-html-target-libatomic
1765 .PHONY: do-installcheck
1766 do-installcheck:
1767 @: $(MAKE); $(unstage)
1768 @r=`${PWD_COMMAND}`; export r; \
1769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1770 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1771 installcheck-target
1774 .PHONY: installcheck-host
1776 installcheck-host: maybe-installcheck-bfd
1777 installcheck-host: maybe-installcheck-opcodes
1778 installcheck-host: maybe-installcheck-binutils
1779 installcheck-host: maybe-installcheck-bison
1780 installcheck-host: maybe-installcheck-cgen
1781 installcheck-host: maybe-installcheck-dejagnu
1782 installcheck-host: maybe-installcheck-etc
1783 installcheck-host: maybe-installcheck-fastjar
1784 installcheck-host: maybe-installcheck-fixincludes
1785 installcheck-host: maybe-installcheck-flex
1786 installcheck-host: maybe-installcheck-gas
1787 installcheck-host: maybe-installcheck-gcc
1788 installcheck-host: maybe-installcheck-gmp
1789 installcheck-host: maybe-installcheck-mpfr
1790 installcheck-host: maybe-installcheck-mpc
1791 installcheck-host: maybe-installcheck-isl
1792 installcheck-host: maybe-installcheck-cloog
1793 installcheck-host: maybe-installcheck-libelf
1794 installcheck-host: maybe-installcheck-gold
1795 installcheck-host: maybe-installcheck-gprof
1796 installcheck-host: maybe-installcheck-intl
1797 installcheck-host: maybe-installcheck-tcl
1798 installcheck-host: maybe-installcheck-itcl
1799 installcheck-host: maybe-installcheck-ld
1800 installcheck-host: maybe-installcheck-libbacktrace
1801 installcheck-host: maybe-installcheck-libcpp
1802 installcheck-host: maybe-installcheck-libdecnumber
1803 installcheck-host: maybe-installcheck-libgui
1804 installcheck-host: maybe-installcheck-libiberty
1805 installcheck-host: maybe-installcheck-libiconv
1806 installcheck-host: maybe-installcheck-m4
1807 installcheck-host: maybe-installcheck-readline
1808 installcheck-host: maybe-installcheck-sid
1809 installcheck-host: maybe-installcheck-sim
1810 installcheck-host: maybe-installcheck-texinfo
1811 installcheck-host: maybe-installcheck-zlib
1812 installcheck-host: maybe-installcheck-gdb
1813 installcheck-host: maybe-installcheck-expect
1814 installcheck-host: maybe-installcheck-guile
1815 installcheck-host: maybe-installcheck-tk
1816 installcheck-host: maybe-installcheck-libtermcap
1817 installcheck-host: maybe-installcheck-utils
1818 installcheck-host: maybe-installcheck-gnattools
1819 installcheck-host: maybe-installcheck-lto-plugin
1821 .PHONY: installcheck-target
1823 installcheck-target: maybe-installcheck-target-libstdc++-v3
1824 installcheck-target: maybe-installcheck-target-libmudflap
1825 installcheck-target: maybe-installcheck-target-libsanitizer
1826 installcheck-target: maybe-installcheck-target-libssp
1827 installcheck-target: maybe-installcheck-target-newlib
1828 installcheck-target: maybe-installcheck-target-libgcc
1829 installcheck-target: maybe-installcheck-target-libbacktrace
1830 installcheck-target: maybe-installcheck-target-libquadmath
1831 installcheck-target: maybe-installcheck-target-libgfortran
1832 installcheck-target: maybe-installcheck-target-libobjc
1833 installcheck-target: maybe-installcheck-target-libgo
1834 installcheck-target: maybe-installcheck-target-libtermcap
1835 installcheck-target: maybe-installcheck-target-winsup
1836 installcheck-target: maybe-installcheck-target-libgloss
1837 installcheck-target: maybe-installcheck-target-libffi
1838 installcheck-target: maybe-installcheck-target-libjava
1839 installcheck-target: maybe-installcheck-target-zlib
1840 installcheck-target: maybe-installcheck-target-boehm-gc
1841 installcheck-target: maybe-installcheck-target-rda
1842 installcheck-target: maybe-installcheck-target-libada
1843 installcheck-target: maybe-installcheck-target-libgomp
1844 installcheck-target: maybe-installcheck-target-libitm
1845 installcheck-target: maybe-installcheck-target-libatomic
1847 .PHONY: do-mostlyclean
1848 do-mostlyclean:
1849 @: $(MAKE); $(unstage)
1850 @r=`${PWD_COMMAND}`; export r; \
1851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1852 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1853 mostlyclean-target
1856 .PHONY: mostlyclean-host
1858 mostlyclean-host: maybe-mostlyclean-bfd
1859 mostlyclean-host: maybe-mostlyclean-opcodes
1860 mostlyclean-host: maybe-mostlyclean-binutils
1861 mostlyclean-host: maybe-mostlyclean-bison
1862 mostlyclean-host: maybe-mostlyclean-cgen
1863 mostlyclean-host: maybe-mostlyclean-dejagnu
1864 mostlyclean-host: maybe-mostlyclean-etc
1865 mostlyclean-host: maybe-mostlyclean-fastjar
1866 mostlyclean-host: maybe-mostlyclean-fixincludes
1867 mostlyclean-host: maybe-mostlyclean-flex
1868 mostlyclean-host: maybe-mostlyclean-gas
1869 mostlyclean-host: maybe-mostlyclean-gcc
1870 mostlyclean-host: maybe-mostlyclean-gmp
1871 mostlyclean-host: maybe-mostlyclean-mpfr
1872 mostlyclean-host: maybe-mostlyclean-mpc
1873 mostlyclean-host: maybe-mostlyclean-isl
1874 mostlyclean-host: maybe-mostlyclean-cloog
1875 mostlyclean-host: maybe-mostlyclean-libelf
1876 mostlyclean-host: maybe-mostlyclean-gold
1877 mostlyclean-host: maybe-mostlyclean-gprof
1878 mostlyclean-host: maybe-mostlyclean-intl
1879 mostlyclean-host: maybe-mostlyclean-tcl
1880 mostlyclean-host: maybe-mostlyclean-itcl
1881 mostlyclean-host: maybe-mostlyclean-ld
1882 mostlyclean-host: maybe-mostlyclean-libbacktrace
1883 mostlyclean-host: maybe-mostlyclean-libcpp
1884 mostlyclean-host: maybe-mostlyclean-libdecnumber
1885 mostlyclean-host: maybe-mostlyclean-libgui
1886 mostlyclean-host: maybe-mostlyclean-libiberty
1887 mostlyclean-host: maybe-mostlyclean-libiconv
1888 mostlyclean-host: maybe-mostlyclean-m4
1889 mostlyclean-host: maybe-mostlyclean-readline
1890 mostlyclean-host: maybe-mostlyclean-sid
1891 mostlyclean-host: maybe-mostlyclean-sim
1892 mostlyclean-host: maybe-mostlyclean-texinfo
1893 mostlyclean-host: maybe-mostlyclean-zlib
1894 mostlyclean-host: maybe-mostlyclean-gdb
1895 mostlyclean-host: maybe-mostlyclean-expect
1896 mostlyclean-host: maybe-mostlyclean-guile
1897 mostlyclean-host: maybe-mostlyclean-tk
1898 mostlyclean-host: maybe-mostlyclean-libtermcap
1899 mostlyclean-host: maybe-mostlyclean-utils
1900 mostlyclean-host: maybe-mostlyclean-gnattools
1901 mostlyclean-host: maybe-mostlyclean-lto-plugin
1903 .PHONY: mostlyclean-target
1905 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1906 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1907 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1908 mostlyclean-target: maybe-mostlyclean-target-libssp
1909 mostlyclean-target: maybe-mostlyclean-target-newlib
1910 mostlyclean-target: maybe-mostlyclean-target-libgcc
1911 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1912 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1913 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1914 mostlyclean-target: maybe-mostlyclean-target-libobjc
1915 mostlyclean-target: maybe-mostlyclean-target-libgo
1916 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1917 mostlyclean-target: maybe-mostlyclean-target-winsup
1918 mostlyclean-target: maybe-mostlyclean-target-libgloss
1919 mostlyclean-target: maybe-mostlyclean-target-libffi
1920 mostlyclean-target: maybe-mostlyclean-target-libjava
1921 mostlyclean-target: maybe-mostlyclean-target-zlib
1922 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1923 mostlyclean-target: maybe-mostlyclean-target-rda
1924 mostlyclean-target: maybe-mostlyclean-target-libada
1925 mostlyclean-target: maybe-mostlyclean-target-libgomp
1926 mostlyclean-target: maybe-mostlyclean-target-libitm
1927 mostlyclean-target: maybe-mostlyclean-target-libatomic
1929 .PHONY: do-clean
1930 do-clean:
1931 @: $(MAKE); $(unstage)
1932 @r=`${PWD_COMMAND}`; export r; \
1933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1934 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1935 clean-target
1938 .PHONY: clean-host
1940 clean-host: maybe-clean-bfd
1941 clean-host: maybe-clean-opcodes
1942 clean-host: maybe-clean-binutils
1943 clean-host: maybe-clean-bison
1944 clean-host: maybe-clean-cgen
1945 clean-host: maybe-clean-dejagnu
1946 clean-host: maybe-clean-etc
1947 clean-host: maybe-clean-fastjar
1948 clean-host: maybe-clean-fixincludes
1949 clean-host: maybe-clean-flex
1950 clean-host: maybe-clean-gas
1951 clean-host: maybe-clean-gcc
1952 clean-host: maybe-clean-gmp
1953 clean-host: maybe-clean-mpfr
1954 clean-host: maybe-clean-mpc
1955 clean-host: maybe-clean-isl
1956 clean-host: maybe-clean-cloog
1957 clean-host: maybe-clean-libelf
1958 clean-host: maybe-clean-gold
1959 clean-host: maybe-clean-gprof
1960 clean-host: maybe-clean-intl
1961 clean-host: maybe-clean-tcl
1962 clean-host: maybe-clean-itcl
1963 clean-host: maybe-clean-ld
1964 clean-host: maybe-clean-libbacktrace
1965 clean-host: maybe-clean-libcpp
1966 clean-host: maybe-clean-libdecnumber
1967 clean-host: maybe-clean-libgui
1968 clean-host: maybe-clean-libiberty
1969 clean-host: maybe-clean-libiconv
1970 clean-host: maybe-clean-m4
1971 clean-host: maybe-clean-readline
1972 clean-host: maybe-clean-sid
1973 clean-host: maybe-clean-sim
1974 clean-host: maybe-clean-texinfo
1975 clean-host: maybe-clean-zlib
1976 clean-host: maybe-clean-gdb
1977 clean-host: maybe-clean-expect
1978 clean-host: maybe-clean-guile
1979 clean-host: maybe-clean-tk
1980 clean-host: maybe-clean-libtermcap
1981 clean-host: maybe-clean-utils
1982 clean-host: maybe-clean-gnattools
1983 clean-host: maybe-clean-lto-plugin
1985 .PHONY: clean-target
1987 clean-target: maybe-clean-target-libstdc++-v3
1988 clean-target: maybe-clean-target-libmudflap
1989 clean-target: maybe-clean-target-libsanitizer
1990 clean-target: maybe-clean-target-libssp
1991 clean-target: maybe-clean-target-newlib
1992 clean-target: maybe-clean-target-libgcc
1993 clean-target: maybe-clean-target-libbacktrace
1994 clean-target: maybe-clean-target-libquadmath
1995 clean-target: maybe-clean-target-libgfortran
1996 clean-target: maybe-clean-target-libobjc
1997 clean-target: maybe-clean-target-libgo
1998 clean-target: maybe-clean-target-libtermcap
1999 clean-target: maybe-clean-target-winsup
2000 clean-target: maybe-clean-target-libgloss
2001 clean-target: maybe-clean-target-libffi
2002 clean-target: maybe-clean-target-libjava
2003 clean-target: maybe-clean-target-zlib
2004 clean-target: maybe-clean-target-boehm-gc
2005 clean-target: maybe-clean-target-rda
2006 clean-target: maybe-clean-target-libada
2007 clean-target: maybe-clean-target-libgomp
2008 clean-target: maybe-clean-target-libitm
2009 clean-target: maybe-clean-target-libatomic
2011 .PHONY: do-distclean
2012 do-distclean:
2013 @: $(MAKE); $(unstage)
2014 @r=`${PWD_COMMAND}`; export r; \
2015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2016 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2017 distclean-target
2020 .PHONY: distclean-host
2022 distclean-host: maybe-distclean-bfd
2023 distclean-host: maybe-distclean-opcodes
2024 distclean-host: maybe-distclean-binutils
2025 distclean-host: maybe-distclean-bison
2026 distclean-host: maybe-distclean-cgen
2027 distclean-host: maybe-distclean-dejagnu
2028 distclean-host: maybe-distclean-etc
2029 distclean-host: maybe-distclean-fastjar
2030 distclean-host: maybe-distclean-fixincludes
2031 distclean-host: maybe-distclean-flex
2032 distclean-host: maybe-distclean-gas
2033 distclean-host: maybe-distclean-gcc
2034 distclean-host: maybe-distclean-gmp
2035 distclean-host: maybe-distclean-mpfr
2036 distclean-host: maybe-distclean-mpc
2037 distclean-host: maybe-distclean-isl
2038 distclean-host: maybe-distclean-cloog
2039 distclean-host: maybe-distclean-libelf
2040 distclean-host: maybe-distclean-gold
2041 distclean-host: maybe-distclean-gprof
2042 distclean-host: maybe-distclean-intl
2043 distclean-host: maybe-distclean-tcl
2044 distclean-host: maybe-distclean-itcl
2045 distclean-host: maybe-distclean-ld
2046 distclean-host: maybe-distclean-libbacktrace
2047 distclean-host: maybe-distclean-libcpp
2048 distclean-host: maybe-distclean-libdecnumber
2049 distclean-host: maybe-distclean-libgui
2050 distclean-host: maybe-distclean-libiberty
2051 distclean-host: maybe-distclean-libiconv
2052 distclean-host: maybe-distclean-m4
2053 distclean-host: maybe-distclean-readline
2054 distclean-host: maybe-distclean-sid
2055 distclean-host: maybe-distclean-sim
2056 distclean-host: maybe-distclean-texinfo
2057 distclean-host: maybe-distclean-zlib
2058 distclean-host: maybe-distclean-gdb
2059 distclean-host: maybe-distclean-expect
2060 distclean-host: maybe-distclean-guile
2061 distclean-host: maybe-distclean-tk
2062 distclean-host: maybe-distclean-libtermcap
2063 distclean-host: maybe-distclean-utils
2064 distclean-host: maybe-distclean-gnattools
2065 distclean-host: maybe-distclean-lto-plugin
2067 .PHONY: distclean-target
2069 distclean-target: maybe-distclean-target-libstdc++-v3
2070 distclean-target: maybe-distclean-target-libmudflap
2071 distclean-target: maybe-distclean-target-libsanitizer
2072 distclean-target: maybe-distclean-target-libssp
2073 distclean-target: maybe-distclean-target-newlib
2074 distclean-target: maybe-distclean-target-libgcc
2075 distclean-target: maybe-distclean-target-libbacktrace
2076 distclean-target: maybe-distclean-target-libquadmath
2077 distclean-target: maybe-distclean-target-libgfortran
2078 distclean-target: maybe-distclean-target-libobjc
2079 distclean-target: maybe-distclean-target-libgo
2080 distclean-target: maybe-distclean-target-libtermcap
2081 distclean-target: maybe-distclean-target-winsup
2082 distclean-target: maybe-distclean-target-libgloss
2083 distclean-target: maybe-distclean-target-libffi
2084 distclean-target: maybe-distclean-target-libjava
2085 distclean-target: maybe-distclean-target-zlib
2086 distclean-target: maybe-distclean-target-boehm-gc
2087 distclean-target: maybe-distclean-target-rda
2088 distclean-target: maybe-distclean-target-libada
2089 distclean-target: maybe-distclean-target-libgomp
2090 distclean-target: maybe-distclean-target-libitm
2091 distclean-target: maybe-distclean-target-libatomic
2093 .PHONY: do-maintainer-clean
2094 do-maintainer-clean:
2095 @: $(MAKE); $(unstage)
2096 @r=`${PWD_COMMAND}`; export r; \
2097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2099 maintainer-clean-target
2102 .PHONY: maintainer-clean-host
2104 maintainer-clean-host: maybe-maintainer-clean-bfd
2105 maintainer-clean-host: maybe-maintainer-clean-opcodes
2106 maintainer-clean-host: maybe-maintainer-clean-binutils
2107 maintainer-clean-host: maybe-maintainer-clean-bison
2108 maintainer-clean-host: maybe-maintainer-clean-cgen
2109 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2110 maintainer-clean-host: maybe-maintainer-clean-etc
2111 maintainer-clean-host: maybe-maintainer-clean-fastjar
2112 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2113 maintainer-clean-host: maybe-maintainer-clean-flex
2114 maintainer-clean-host: maybe-maintainer-clean-gas
2115 maintainer-clean-host: maybe-maintainer-clean-gcc
2116 maintainer-clean-host: maybe-maintainer-clean-gmp
2117 maintainer-clean-host: maybe-maintainer-clean-mpfr
2118 maintainer-clean-host: maybe-maintainer-clean-mpc
2119 maintainer-clean-host: maybe-maintainer-clean-isl
2120 maintainer-clean-host: maybe-maintainer-clean-cloog
2121 maintainer-clean-host: maybe-maintainer-clean-libelf
2122 maintainer-clean-host: maybe-maintainer-clean-gold
2123 maintainer-clean-host: maybe-maintainer-clean-gprof
2124 maintainer-clean-host: maybe-maintainer-clean-intl
2125 maintainer-clean-host: maybe-maintainer-clean-tcl
2126 maintainer-clean-host: maybe-maintainer-clean-itcl
2127 maintainer-clean-host: maybe-maintainer-clean-ld
2128 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2129 maintainer-clean-host: maybe-maintainer-clean-libcpp
2130 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2131 maintainer-clean-host: maybe-maintainer-clean-libgui
2132 maintainer-clean-host: maybe-maintainer-clean-libiberty
2133 maintainer-clean-host: maybe-maintainer-clean-libiconv
2134 maintainer-clean-host: maybe-maintainer-clean-m4
2135 maintainer-clean-host: maybe-maintainer-clean-readline
2136 maintainer-clean-host: maybe-maintainer-clean-sid
2137 maintainer-clean-host: maybe-maintainer-clean-sim
2138 maintainer-clean-host: maybe-maintainer-clean-texinfo
2139 maintainer-clean-host: maybe-maintainer-clean-zlib
2140 maintainer-clean-host: maybe-maintainer-clean-gdb
2141 maintainer-clean-host: maybe-maintainer-clean-expect
2142 maintainer-clean-host: maybe-maintainer-clean-guile
2143 maintainer-clean-host: maybe-maintainer-clean-tk
2144 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2145 maintainer-clean-host: maybe-maintainer-clean-utils
2146 maintainer-clean-host: maybe-maintainer-clean-gnattools
2147 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2149 .PHONY: maintainer-clean-target
2151 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2152 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2153 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2154 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2155 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2156 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2157 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2158 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2159 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2160 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2161 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2162 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2163 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2164 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2165 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2166 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2167 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2168 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2169 maintainer-clean-target: maybe-maintainer-clean-target-rda
2170 maintainer-clean-target: maybe-maintainer-clean-target-libada
2171 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2172 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2173 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2176 # Here are the targets which correspond to the do-X targets.
2178 .PHONY: info installcheck dvi pdf html
2179 .PHONY: install-info install-pdf install-html
2180 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2181 .PHONY: local-clean local-distclean local-maintainer-clean
2182 info: do-info
2183 installcheck: do-installcheck
2184 dvi: do-dvi
2185 pdf: do-pdf
2186 html: do-html
2188 # Make sure makeinfo is built before we do a `make info', if we're
2189 # in fact building texinfo.
2190 do-info: maybe-all-texinfo
2192 install-info: do-install-info dir.info
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2194 if [ -f dir.info ] ; then \
2195 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2196 else true ; fi
2198 install-pdf: do-install-pdf
2200 install-html: do-install-html
2202 local-clean:
2203 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2205 local-distclean:
2206 -rm -f Makefile config.status config.cache mh-frag mt-frag
2207 -rm -f maybedep.tmp serdep.tmp
2208 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2209 rm -rf $(TARGET_SUBDIR); \
2210 else true; fi
2211 -rm -rf $(BUILD_SUBDIR)
2212 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2213 rm -rf $(HOST_SUBDIR); \
2214 else true; fi
2215 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2216 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2217 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2218 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2219 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2220 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2222 local-maintainer-clean:
2223 @echo "This command is intended for maintainers to use;"
2224 @echo "it deletes files that may require special tools to rebuild."
2226 clean: do-clean local-clean
2227 mostlyclean: do-mostlyclean local-clean
2228 distclean: do-distclean local-clean local-distclean
2229 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2230 maintainer-clean: local-distclean
2231 realclean: maintainer-clean
2233 # Check target.
2235 .PHONY: check do-check
2236 check: do-check
2238 # Only include modules actually being configured and built.
2239 .PHONY: check-host
2240 check-host: \
2241 maybe-check-bfd \
2242 maybe-check-opcodes \
2243 maybe-check-binutils \
2244 maybe-check-bison \
2245 maybe-check-cgen \
2246 maybe-check-dejagnu \
2247 maybe-check-etc \
2248 maybe-check-fastjar \
2249 maybe-check-fixincludes \
2250 maybe-check-flex \
2251 maybe-check-gas \
2252 maybe-check-gcc \
2253 maybe-check-gmp \
2254 maybe-check-mpfr \
2255 maybe-check-mpc \
2256 maybe-check-isl \
2257 maybe-check-cloog \
2258 maybe-check-libelf \
2259 maybe-check-gold \
2260 maybe-check-gprof \
2261 maybe-check-intl \
2262 maybe-check-tcl \
2263 maybe-check-itcl \
2264 maybe-check-ld \
2265 maybe-check-libbacktrace \
2266 maybe-check-libcpp \
2267 maybe-check-libdecnumber \
2268 maybe-check-libgui \
2269 maybe-check-libiberty \
2270 maybe-check-libiconv \
2271 maybe-check-m4 \
2272 maybe-check-readline \
2273 maybe-check-sid \
2274 maybe-check-sim \
2275 maybe-check-texinfo \
2276 maybe-check-zlib \
2277 maybe-check-gdb \
2278 maybe-check-expect \
2279 maybe-check-guile \
2280 maybe-check-tk \
2281 maybe-check-libtermcap \
2282 maybe-check-utils \
2283 maybe-check-gnattools \
2284 maybe-check-lto-plugin
2286 .PHONY: check-target
2287 check-target: \
2288 maybe-check-target-libstdc++-v3 \
2289 maybe-check-target-libmudflap \
2290 maybe-check-target-libsanitizer \
2291 maybe-check-target-libssp \
2292 maybe-check-target-newlib \
2293 maybe-check-target-libgcc \
2294 maybe-check-target-libbacktrace \
2295 maybe-check-target-libquadmath \
2296 maybe-check-target-libgfortran \
2297 maybe-check-target-libobjc \
2298 maybe-check-target-libgo \
2299 maybe-check-target-libtermcap \
2300 maybe-check-target-winsup \
2301 maybe-check-target-libgloss \
2302 maybe-check-target-libffi \
2303 maybe-check-target-libjava \
2304 maybe-check-target-zlib \
2305 maybe-check-target-boehm-gc \
2306 maybe-check-target-rda \
2307 maybe-check-target-libada \
2308 maybe-check-target-libgomp \
2309 maybe-check-target-libitm \
2310 maybe-check-target-libatomic
2312 do-check:
2313 @: $(MAKE); $(unstage)
2314 @r=`${PWD_COMMAND}`; export r; \
2315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2316 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2318 # Automated reporting of test results.
2320 warning.log: build.log
2321 $(srcdir)/contrib/warn_summary build.log > $@
2323 mail-report.log:
2324 if test x'$(BOOT_CFLAGS)' != x''; then \
2325 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2326 fi; \
2327 $(srcdir)/contrib/test_summary -t >$@
2328 chmod +x $@
2329 echo If you really want to send e-mail, run ./$@ now
2331 mail-report-with-warnings.log: warning.log
2332 if test x'$(BOOT_CFLAGS)' != x''; then \
2333 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2334 fi; \
2335 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2336 chmod +x $@
2337 echo If you really want to send e-mail, run ./$@ now
2339 # Installation targets.
2341 .PHONY: install uninstall
2342 install:
2343 @: $(MAKE); $(unstage)
2344 @r=`${PWD_COMMAND}`; export r; \
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2348 .PHONY: install-host-nogcc
2349 install-host-nogcc: \
2350 maybe-install-bfd \
2351 maybe-install-opcodes \
2352 maybe-install-binutils \
2353 maybe-install-bison \
2354 maybe-install-cgen \
2355 maybe-install-dejagnu \
2356 maybe-install-etc \
2357 maybe-install-fastjar \
2358 maybe-install-fixincludes \
2359 maybe-install-flex \
2360 maybe-install-gas \
2361 maybe-install-gmp \
2362 maybe-install-mpfr \
2363 maybe-install-mpc \
2364 maybe-install-isl \
2365 maybe-install-cloog \
2366 maybe-install-libelf \
2367 maybe-install-gold \
2368 maybe-install-gprof \
2369 maybe-install-intl \
2370 maybe-install-tcl \
2371 maybe-install-itcl \
2372 maybe-install-ld \
2373 maybe-install-libbacktrace \
2374 maybe-install-libcpp \
2375 maybe-install-libdecnumber \
2376 maybe-install-libgui \
2377 maybe-install-libiberty \
2378 maybe-install-libiconv \
2379 maybe-install-m4 \
2380 maybe-install-readline \
2381 maybe-install-sid \
2382 maybe-install-sim \
2383 maybe-install-texinfo \
2384 maybe-install-zlib \
2385 maybe-install-gdb \
2386 maybe-install-expect \
2387 maybe-install-guile \
2388 maybe-install-tk \
2389 maybe-install-libtermcap \
2390 maybe-install-utils \
2391 maybe-install-gnattools \
2392 maybe-install-lto-plugin
2394 .PHONY: install-host
2395 install-host: \
2396 maybe-install-bfd \
2397 maybe-install-opcodes \
2398 maybe-install-binutils \
2399 maybe-install-bison \
2400 maybe-install-cgen \
2401 maybe-install-dejagnu \
2402 maybe-install-etc \
2403 maybe-install-fastjar \
2404 maybe-install-fixincludes \
2405 maybe-install-flex \
2406 maybe-install-gas \
2407 maybe-install-gcc \
2408 maybe-install-gmp \
2409 maybe-install-mpfr \
2410 maybe-install-mpc \
2411 maybe-install-isl \
2412 maybe-install-cloog \
2413 maybe-install-libelf \
2414 maybe-install-gold \
2415 maybe-install-gprof \
2416 maybe-install-intl \
2417 maybe-install-tcl \
2418 maybe-install-itcl \
2419 maybe-install-ld \
2420 maybe-install-libbacktrace \
2421 maybe-install-libcpp \
2422 maybe-install-libdecnumber \
2423 maybe-install-libgui \
2424 maybe-install-libiberty \
2425 maybe-install-libiconv \
2426 maybe-install-m4 \
2427 maybe-install-readline \
2428 maybe-install-sid \
2429 maybe-install-sim \
2430 maybe-install-texinfo \
2431 maybe-install-zlib \
2432 maybe-install-gdb \
2433 maybe-install-expect \
2434 maybe-install-guile \
2435 maybe-install-tk \
2436 maybe-install-libtermcap \
2437 maybe-install-utils \
2438 maybe-install-gnattools \
2439 maybe-install-lto-plugin
2441 .PHONY: install-target
2442 install-target: \
2443 maybe-install-target-libstdc++-v3 \
2444 maybe-install-target-libmudflap \
2445 maybe-install-target-libsanitizer \
2446 maybe-install-target-libssp \
2447 maybe-install-target-newlib \
2448 maybe-install-target-libgcc \
2449 maybe-install-target-libbacktrace \
2450 maybe-install-target-libquadmath \
2451 maybe-install-target-libgfortran \
2452 maybe-install-target-libobjc \
2453 maybe-install-target-libgo \
2454 maybe-install-target-libtermcap \
2455 maybe-install-target-winsup \
2456 maybe-install-target-libgloss \
2457 maybe-install-target-libffi \
2458 maybe-install-target-libjava \
2459 maybe-install-target-zlib \
2460 maybe-install-target-boehm-gc \
2461 maybe-install-target-rda \
2462 maybe-install-target-libada \
2463 maybe-install-target-libgomp \
2464 maybe-install-target-libitm \
2465 maybe-install-target-libatomic
2467 uninstall:
2468 @echo "the uninstall target is not supported in this tree"
2470 .PHONY: install.all
2471 install.all: install-no-fixedincludes
2472 @if [ -f ./gcc/Makefile ] ; then \
2473 r=`${PWD_COMMAND}` ; export r ; \
2474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2475 $(HOST_EXPORTS) \
2476 (cd ./gcc && \
2477 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2478 else \
2479 true ; \
2482 # install-no-fixedincludes is used to allow the elaboration of binary packages
2483 # suitable for distribution, where we cannot include the fixed system header
2484 # files.
2485 .PHONY: install-no-fixedincludes
2486 install-no-fixedincludes: installdirs install-host-nogcc \
2487 install-target gcc-install-no-fixedincludes
2489 .PHONY: install-strip
2490 install-strip:
2491 @: $(MAKE); $(unstage)
2492 @r=`${PWD_COMMAND}`; export r; \
2493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2496 .PHONY: install-strip-host
2497 install-strip-host: \
2498 maybe-install-strip-bfd \
2499 maybe-install-strip-opcodes \
2500 maybe-install-strip-binutils \
2501 maybe-install-strip-bison \
2502 maybe-install-strip-cgen \
2503 maybe-install-strip-dejagnu \
2504 maybe-install-strip-etc \
2505 maybe-install-strip-fastjar \
2506 maybe-install-strip-fixincludes \
2507 maybe-install-strip-flex \
2508 maybe-install-strip-gas \
2509 maybe-install-strip-gcc \
2510 maybe-install-strip-gmp \
2511 maybe-install-strip-mpfr \
2512 maybe-install-strip-mpc \
2513 maybe-install-strip-isl \
2514 maybe-install-strip-cloog \
2515 maybe-install-strip-libelf \
2516 maybe-install-strip-gold \
2517 maybe-install-strip-gprof \
2518 maybe-install-strip-intl \
2519 maybe-install-strip-tcl \
2520 maybe-install-strip-itcl \
2521 maybe-install-strip-ld \
2522 maybe-install-strip-libbacktrace \
2523 maybe-install-strip-libcpp \
2524 maybe-install-strip-libdecnumber \
2525 maybe-install-strip-libgui \
2526 maybe-install-strip-libiberty \
2527 maybe-install-strip-libiconv \
2528 maybe-install-strip-m4 \
2529 maybe-install-strip-readline \
2530 maybe-install-strip-sid \
2531 maybe-install-strip-sim \
2532 maybe-install-strip-texinfo \
2533 maybe-install-strip-zlib \
2534 maybe-install-strip-gdb \
2535 maybe-install-strip-expect \
2536 maybe-install-strip-guile \
2537 maybe-install-strip-tk \
2538 maybe-install-strip-libtermcap \
2539 maybe-install-strip-utils \
2540 maybe-install-strip-gnattools \
2541 maybe-install-strip-lto-plugin
2543 .PHONY: install-strip-target
2544 install-strip-target: \
2545 maybe-install-strip-target-libstdc++-v3 \
2546 maybe-install-strip-target-libmudflap \
2547 maybe-install-strip-target-libsanitizer \
2548 maybe-install-strip-target-libssp \
2549 maybe-install-strip-target-newlib \
2550 maybe-install-strip-target-libgcc \
2551 maybe-install-strip-target-libbacktrace \
2552 maybe-install-strip-target-libquadmath \
2553 maybe-install-strip-target-libgfortran \
2554 maybe-install-strip-target-libobjc \
2555 maybe-install-strip-target-libgo \
2556 maybe-install-strip-target-libtermcap \
2557 maybe-install-strip-target-winsup \
2558 maybe-install-strip-target-libgloss \
2559 maybe-install-strip-target-libffi \
2560 maybe-install-strip-target-libjava \
2561 maybe-install-strip-target-zlib \
2562 maybe-install-strip-target-boehm-gc \
2563 maybe-install-strip-target-rda \
2564 maybe-install-strip-target-libada \
2565 maybe-install-strip-target-libgomp \
2566 maybe-install-strip-target-libitm \
2567 maybe-install-strip-target-libatomic
2570 ### other supporting targets
2572 MAKEDIRS= \
2573 $(DESTDIR)$(prefix) \
2574 $(DESTDIR)$(exec_prefix)
2575 .PHONY: installdirs
2576 installdirs: mkinstalldirs
2577 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2579 dir.info: do-install-info
2580 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2581 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2582 mv -f dir.info.new dir.info ; \
2583 else true ; \
2586 dist:
2587 @echo "Building a full distribution of this tree isn't done"
2588 @echo "via 'make dist'. Check out the etc/ subdirectory"
2590 etags tags: TAGS
2592 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2593 # ability to use several tags files at once, so there is probably no need
2594 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2595 # (if we felt like it) have this Makefile write a piece of elisp which
2596 # the user could load to tell emacs19 where all the TAGS files we just
2597 # built are.
2598 TAGS: do-TAGS
2600 # ------------------------------------
2601 # Macros for configure and all targets
2602 # ------------------------------------
2608 # --------------------------------------
2609 # Modules which run on the build machine
2610 # --------------------------------------
2613 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2614 maybe-configure-build-libiberty:
2615 @if gcc-bootstrap
2616 configure-build-libiberty: stage_current
2617 @endif gcc-bootstrap
2618 @if build-libiberty
2619 maybe-configure-build-libiberty: configure-build-libiberty
2620 configure-build-libiberty:
2621 @: $(MAKE); $(unstage)
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2625 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2626 $(BUILD_EXPORTS) \
2627 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2628 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2629 case $(srcdir) in \
2630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2631 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2633 esac; \
2634 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2635 libsrcdir="$$s/libiberty"; \
2636 rm -f no-such-file || : ; \
2637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2638 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2639 --target=${target_alias} $${srcdiroption} \
2640 || exit 1
2641 @endif build-libiberty
2647 .PHONY: all-build-libiberty maybe-all-build-libiberty
2648 maybe-all-build-libiberty:
2649 @if gcc-bootstrap
2650 all-build-libiberty: stage_current
2651 @endif gcc-bootstrap
2652 @if build-libiberty
2653 TARGET-build-libiberty=all
2654 maybe-all-build-libiberty: all-build-libiberty
2655 all-build-libiberty: configure-build-libiberty
2656 @: $(MAKE); $(unstage)
2657 @r=`${PWD_COMMAND}`; export r; \
2658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2659 $(BUILD_EXPORTS) \
2660 (cd $(BUILD_SUBDIR)/libiberty && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2662 $(TARGET-build-libiberty))
2663 @endif build-libiberty
2669 .PHONY: configure-build-bison maybe-configure-build-bison
2670 maybe-configure-build-bison:
2671 @if gcc-bootstrap
2672 configure-build-bison: stage_current
2673 @endif gcc-bootstrap
2674 @if build-bison
2675 maybe-configure-build-bison: configure-build-bison
2676 configure-build-bison:
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2681 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2682 $(BUILD_EXPORTS) \
2683 echo Configuring in $(BUILD_SUBDIR)/bison; \
2684 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2685 case $(srcdir) in \
2686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2687 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2689 esac; \
2690 srcdiroption="--srcdir=$${topdir}/bison"; \
2691 libsrcdir="$$s/bison"; \
2692 rm -f no-such-file || : ; \
2693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2694 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2695 --target=${target_alias} $${srcdiroption} \
2696 || exit 1
2697 @endif build-bison
2703 .PHONY: all-build-bison maybe-all-build-bison
2704 maybe-all-build-bison:
2705 @if gcc-bootstrap
2706 all-build-bison: stage_current
2707 @endif gcc-bootstrap
2708 @if build-bison
2709 TARGET-build-bison=all
2710 maybe-all-build-bison: all-build-bison
2711 all-build-bison: configure-build-bison
2712 @: $(MAKE); $(unstage)
2713 @r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 $(BUILD_EXPORTS) \
2716 (cd $(BUILD_SUBDIR)/bison && \
2717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2718 $(TARGET-build-bison))
2719 @endif build-bison
2725 .PHONY: configure-build-flex maybe-configure-build-flex
2726 maybe-configure-build-flex:
2727 @if gcc-bootstrap
2728 configure-build-flex: stage_current
2729 @endif gcc-bootstrap
2730 @if build-flex
2731 maybe-configure-build-flex: configure-build-flex
2732 configure-build-flex:
2733 @: $(MAKE); $(unstage)
2734 @r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2737 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2738 $(BUILD_EXPORTS) \
2739 echo Configuring in $(BUILD_SUBDIR)/flex; \
2740 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2741 case $(srcdir) in \
2742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2743 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2745 esac; \
2746 srcdiroption="--srcdir=$${topdir}/flex"; \
2747 libsrcdir="$$s/flex"; \
2748 rm -f no-such-file || : ; \
2749 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2750 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2751 --target=${target_alias} $${srcdiroption} \
2752 || exit 1
2753 @endif build-flex
2759 .PHONY: all-build-flex maybe-all-build-flex
2760 maybe-all-build-flex:
2761 @if gcc-bootstrap
2762 all-build-flex: stage_current
2763 @endif gcc-bootstrap
2764 @if build-flex
2765 TARGET-build-flex=all
2766 maybe-all-build-flex: all-build-flex
2767 all-build-flex: configure-build-flex
2768 @: $(MAKE); $(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2771 $(BUILD_EXPORTS) \
2772 (cd $(BUILD_SUBDIR)/flex && \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2774 $(TARGET-build-flex))
2775 @endif build-flex
2781 .PHONY: configure-build-m4 maybe-configure-build-m4
2782 maybe-configure-build-m4:
2783 @if gcc-bootstrap
2784 configure-build-m4: stage_current
2785 @endif gcc-bootstrap
2786 @if build-m4
2787 maybe-configure-build-m4: configure-build-m4
2788 configure-build-m4:
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2793 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2794 $(BUILD_EXPORTS) \
2795 echo Configuring in $(BUILD_SUBDIR)/m4; \
2796 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2797 case $(srcdir) in \
2798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2801 esac; \
2802 srcdiroption="--srcdir=$${topdir}/m4"; \
2803 libsrcdir="$$s/m4"; \
2804 rm -f no-such-file || : ; \
2805 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2806 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2807 --target=${target_alias} $${srcdiroption} \
2808 || exit 1
2809 @endif build-m4
2815 .PHONY: all-build-m4 maybe-all-build-m4
2816 maybe-all-build-m4:
2817 @if gcc-bootstrap
2818 all-build-m4: stage_current
2819 @endif gcc-bootstrap
2820 @if build-m4
2821 TARGET-build-m4=all
2822 maybe-all-build-m4: all-build-m4
2823 all-build-m4: configure-build-m4
2824 @: $(MAKE); $(unstage)
2825 @r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2827 $(BUILD_EXPORTS) \
2828 (cd $(BUILD_SUBDIR)/m4 && \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2830 $(TARGET-build-m4))
2831 @endif build-m4
2837 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2838 maybe-configure-build-texinfo:
2839 @if gcc-bootstrap
2840 configure-build-texinfo: stage_current
2841 @endif gcc-bootstrap
2842 @if build-texinfo
2843 maybe-configure-build-texinfo: configure-build-texinfo
2844 configure-build-texinfo:
2845 @: $(MAKE); $(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2849 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2850 $(BUILD_EXPORTS) \
2851 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2852 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2853 case $(srcdir) in \
2854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2855 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2857 esac; \
2858 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2859 libsrcdir="$$s/texinfo"; \
2860 rm -f no-such-file || : ; \
2861 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2862 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2863 --target=${target_alias} $${srcdiroption} \
2864 || exit 1
2865 @endif build-texinfo
2871 .PHONY: all-build-texinfo maybe-all-build-texinfo
2872 maybe-all-build-texinfo:
2873 @if gcc-bootstrap
2874 all-build-texinfo: stage_current
2875 @endif gcc-bootstrap
2876 @if build-texinfo
2877 TARGET-build-texinfo=all
2878 maybe-all-build-texinfo: all-build-texinfo
2879 all-build-texinfo: configure-build-texinfo
2880 @: $(MAKE); $(unstage)
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2883 $(BUILD_EXPORTS) \
2884 (cd $(BUILD_SUBDIR)/texinfo && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2886 $(TARGET-build-texinfo))
2887 @endif build-texinfo
2893 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2894 maybe-configure-build-fixincludes:
2895 @if gcc-bootstrap
2896 configure-build-fixincludes: stage_current
2897 @endif gcc-bootstrap
2898 @if build-fixincludes
2899 maybe-configure-build-fixincludes: configure-build-fixincludes
2900 configure-build-fixincludes:
2901 @: $(MAKE); $(unstage)
2902 @r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2905 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2906 $(BUILD_EXPORTS) \
2907 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2908 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2909 case $(srcdir) in \
2910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2911 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2913 esac; \
2914 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2915 libsrcdir="$$s/fixincludes"; \
2916 rm -f no-such-file || : ; \
2917 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2918 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2919 --target=${target_alias} $${srcdiroption} \
2920 || exit 1
2921 @endif build-fixincludes
2927 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2928 maybe-all-build-fixincludes:
2929 @if gcc-bootstrap
2930 all-build-fixincludes: stage_current
2931 @endif gcc-bootstrap
2932 @if build-fixincludes
2933 TARGET-build-fixincludes=all
2934 maybe-all-build-fixincludes: all-build-fixincludes
2935 all-build-fixincludes: configure-build-fixincludes
2936 @: $(MAKE); $(unstage)
2937 @r=`${PWD_COMMAND}`; export r; \
2938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939 $(BUILD_EXPORTS) \
2940 (cd $(BUILD_SUBDIR)/fixincludes && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2942 $(TARGET-build-fixincludes))
2943 @endif build-fixincludes
2949 # --------------------------------------
2950 # Modules which run on the host machine
2951 # --------------------------------------
2954 .PHONY: configure-bfd maybe-configure-bfd
2955 maybe-configure-bfd:
2956 @if gcc-bootstrap
2957 configure-bfd: stage_current
2958 @endif gcc-bootstrap
2959 @if bfd
2960 maybe-configure-bfd: configure-bfd
2961 configure-bfd:
2962 @r=`${PWD_COMMAND}`; export r; \
2963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2966 $(HOST_EXPORTS) \
2967 echo Configuring in $(HOST_SUBDIR)/bfd; \
2968 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2969 case $(srcdir) in \
2970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2971 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2973 esac; \
2974 srcdiroption="--srcdir=$${topdir}/bfd"; \
2975 libsrcdir="$$s/bfd"; \
2976 $(SHELL) $${libsrcdir}/configure \
2977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2978 --target=${target_alias} $${srcdiroption} \
2979 || exit 1
2980 @endif bfd
2984 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2985 maybe-configure-stage1-bfd:
2986 @if bfd-bootstrap
2987 maybe-configure-stage1-bfd: configure-stage1-bfd
2988 configure-stage1-bfd:
2989 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2991 @r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 TFLAGS="$(STAGE1_TFLAGS)"; \
2994 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2995 $(HOST_EXPORTS) \
2996 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2997 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2998 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2999 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3001 cd $(HOST_SUBDIR)/bfd || exit 1; \
3002 case $(srcdir) in \
3003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3004 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3006 esac; \
3007 srcdiroption="--srcdir=$${topdir}/bfd"; \
3008 libsrcdir="$$s/bfd"; \
3009 $(SHELL) $${libsrcdir}/configure \
3010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3011 --target=${target_alias} $${srcdiroption} \
3012 $(STAGE1_CONFIGURE_FLAGS)
3013 @endif bfd-bootstrap
3015 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3016 maybe-configure-stage2-bfd:
3017 @if bfd-bootstrap
3018 maybe-configure-stage2-bfd: configure-stage2-bfd
3019 configure-stage2-bfd:
3020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3022 @r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 TFLAGS="$(STAGE2_TFLAGS)"; \
3025 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3026 $(HOST_EXPORTS) \
3027 $(POSTSTAGE1_HOST_EXPORTS) \
3028 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3029 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3030 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3031 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3033 cd $(HOST_SUBDIR)/bfd || exit 1; \
3034 case $(srcdir) in \
3035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3036 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3038 esac; \
3039 srcdiroption="--srcdir=$${topdir}/bfd"; \
3040 libsrcdir="$$s/bfd"; \
3041 $(SHELL) $${libsrcdir}/configure \
3042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3043 --target=${target_alias} $${srcdiroption} \
3044 --with-build-libsubdir=$(HOST_SUBDIR) \
3045 $(STAGE2_CONFIGURE_FLAGS)
3046 @endif bfd-bootstrap
3048 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3049 maybe-configure-stage3-bfd:
3050 @if bfd-bootstrap
3051 maybe-configure-stage3-bfd: configure-stage3-bfd
3052 configure-stage3-bfd:
3053 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3055 @r=`${PWD_COMMAND}`; export r; \
3056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3057 TFLAGS="$(STAGE3_TFLAGS)"; \
3058 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3059 $(HOST_EXPORTS) \
3060 $(POSTSTAGE1_HOST_EXPORTS) \
3061 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3062 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3063 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3064 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3066 cd $(HOST_SUBDIR)/bfd || exit 1; \
3067 case $(srcdir) in \
3068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3069 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3071 esac; \
3072 srcdiroption="--srcdir=$${topdir}/bfd"; \
3073 libsrcdir="$$s/bfd"; \
3074 $(SHELL) $${libsrcdir}/configure \
3075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3076 --target=${target_alias} $${srcdiroption} \
3077 --with-build-libsubdir=$(HOST_SUBDIR) \
3078 $(STAGE3_CONFIGURE_FLAGS)
3079 @endif bfd-bootstrap
3081 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3082 maybe-configure-stage4-bfd:
3083 @if bfd-bootstrap
3084 maybe-configure-stage4-bfd: configure-stage4-bfd
3085 configure-stage4-bfd:
3086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3088 @r=`${PWD_COMMAND}`; export r; \
3089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 TFLAGS="$(STAGE4_TFLAGS)"; \
3091 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3092 $(HOST_EXPORTS) \
3093 $(POSTSTAGE1_HOST_EXPORTS) \
3094 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3095 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3096 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3097 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3099 cd $(HOST_SUBDIR)/bfd || exit 1; \
3100 case $(srcdir) in \
3101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3102 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3104 esac; \
3105 srcdiroption="--srcdir=$${topdir}/bfd"; \
3106 libsrcdir="$$s/bfd"; \
3107 $(SHELL) $${libsrcdir}/configure \
3108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3109 --target=${target_alias} $${srcdiroption} \
3110 --with-build-libsubdir=$(HOST_SUBDIR) \
3111 $(STAGE4_CONFIGURE_FLAGS)
3112 @endif bfd-bootstrap
3114 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3115 maybe-configure-stageprofile-bfd:
3116 @if bfd-bootstrap
3117 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3118 configure-stageprofile-bfd:
3119 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3121 @r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3124 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3125 $(HOST_EXPORTS) \
3126 $(POSTSTAGE1_HOST_EXPORTS) \
3127 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3128 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3129 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3130 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3132 cd $(HOST_SUBDIR)/bfd || exit 1; \
3133 case $(srcdir) in \
3134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3135 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3137 esac; \
3138 srcdiroption="--srcdir=$${topdir}/bfd"; \
3139 libsrcdir="$$s/bfd"; \
3140 $(SHELL) $${libsrcdir}/configure \
3141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3142 --target=${target_alias} $${srcdiroption} \
3143 --with-build-libsubdir=$(HOST_SUBDIR) \
3144 $(STAGEprofile_CONFIGURE_FLAGS)
3145 @endif bfd-bootstrap
3147 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3148 maybe-configure-stagefeedback-bfd:
3149 @if bfd-bootstrap
3150 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3151 configure-stagefeedback-bfd:
3152 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3154 @r=`${PWD_COMMAND}`; export r; \
3155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3156 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3157 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3158 $(HOST_EXPORTS) \
3159 $(POSTSTAGE1_HOST_EXPORTS) \
3160 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3161 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3162 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3163 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3165 cd $(HOST_SUBDIR)/bfd || exit 1; \
3166 case $(srcdir) in \
3167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3168 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3170 esac; \
3171 srcdiroption="--srcdir=$${topdir}/bfd"; \
3172 libsrcdir="$$s/bfd"; \
3173 $(SHELL) $${libsrcdir}/configure \
3174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3175 --target=${target_alias} $${srcdiroption} \
3176 --with-build-libsubdir=$(HOST_SUBDIR) \
3177 $(STAGEfeedback_CONFIGURE_FLAGS)
3178 @endif bfd-bootstrap
3184 .PHONY: all-bfd maybe-all-bfd
3185 maybe-all-bfd:
3186 @if gcc-bootstrap
3187 all-bfd: stage_current
3188 @endif gcc-bootstrap
3189 @if bfd
3190 TARGET-bfd=all
3191 maybe-all-bfd: all-bfd
3192 all-bfd: configure-bfd
3193 @r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 $(HOST_EXPORTS) \
3196 (cd $(HOST_SUBDIR)/bfd && \
3197 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3198 $(TARGET-bfd))
3199 @endif bfd
3203 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3204 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3205 maybe-all-stage1-bfd:
3206 maybe-clean-stage1-bfd:
3207 @if bfd-bootstrap
3208 maybe-all-stage1-bfd: all-stage1-bfd
3209 all-stage1: all-stage1-bfd
3210 TARGET-stage1-bfd = $(TARGET-bfd)
3211 all-stage1-bfd: configure-stage1-bfd
3212 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3213 @r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 TFLAGS="$(STAGE1_TFLAGS)"; \
3216 $(HOST_EXPORTS) \
3217 cd $(HOST_SUBDIR)/bfd && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3219 CFLAGS="$(STAGE1_CFLAGS)" \
3220 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3221 LIBCFLAGS="$(LIBCFLAGS)" \
3222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3225 $(EXTRA_HOST_FLAGS) \
3226 $(STAGE1_FLAGS_TO_PASS) \
3227 TFLAGS="$(STAGE1_TFLAGS)" \
3228 $(TARGET-stage1-bfd)
3230 maybe-clean-stage1-bfd: clean-stage1-bfd
3231 clean-stage1: clean-stage1-bfd
3232 clean-stage1-bfd:
3233 @if [ $(current_stage) = stage1 ]; then \
3234 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3235 else \
3236 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3237 $(MAKE) stage1-start; \
3238 fi; \
3239 cd $(HOST_SUBDIR)/bfd && \
3240 $(MAKE) $(EXTRA_HOST_FLAGS) \
3241 $(STAGE1_FLAGS_TO_PASS) clean
3242 @endif bfd-bootstrap
3245 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3246 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3247 maybe-all-stage2-bfd:
3248 maybe-clean-stage2-bfd:
3249 @if bfd-bootstrap
3250 maybe-all-stage2-bfd: all-stage2-bfd
3251 all-stage2: all-stage2-bfd
3252 TARGET-stage2-bfd = $(TARGET-bfd)
3253 all-stage2-bfd: configure-stage2-bfd
3254 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 TFLAGS="$(STAGE2_TFLAGS)"; \
3258 $(HOST_EXPORTS) \
3259 $(POSTSTAGE1_HOST_EXPORTS) \
3260 cd $(HOST_SUBDIR)/bfd && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3262 CFLAGS="$(STAGE2_CFLAGS)" \
3263 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3264 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3269 TFLAGS="$(STAGE2_TFLAGS)" \
3270 $(TARGET-stage2-bfd)
3272 maybe-clean-stage2-bfd: clean-stage2-bfd
3273 clean-stage2: clean-stage2-bfd
3274 clean-stage2-bfd:
3275 @if [ $(current_stage) = stage2 ]; then \
3276 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3277 else \
3278 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3279 $(MAKE) stage2-start; \
3280 fi; \
3281 cd $(HOST_SUBDIR)/bfd && \
3282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3283 @endif bfd-bootstrap
3286 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3287 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3288 maybe-all-stage3-bfd:
3289 maybe-clean-stage3-bfd:
3290 @if bfd-bootstrap
3291 maybe-all-stage3-bfd: all-stage3-bfd
3292 all-stage3: all-stage3-bfd
3293 TARGET-stage3-bfd = $(TARGET-bfd)
3294 all-stage3-bfd: configure-stage3-bfd
3295 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3296 @r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 TFLAGS="$(STAGE3_TFLAGS)"; \
3299 $(HOST_EXPORTS) \
3300 $(POSTSTAGE1_HOST_EXPORTS) \
3301 cd $(HOST_SUBDIR)/bfd && \
3302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3303 CFLAGS="$(STAGE3_CFLAGS)" \
3304 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3305 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3309 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3310 TFLAGS="$(STAGE3_TFLAGS)" \
3311 $(TARGET-stage3-bfd)
3313 maybe-clean-stage3-bfd: clean-stage3-bfd
3314 clean-stage3: clean-stage3-bfd
3315 clean-stage3-bfd:
3316 @if [ $(current_stage) = stage3 ]; then \
3317 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3318 else \
3319 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3320 $(MAKE) stage3-start; \
3321 fi; \
3322 cd $(HOST_SUBDIR)/bfd && \
3323 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3324 @endif bfd-bootstrap
3327 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3328 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3329 maybe-all-stage4-bfd:
3330 maybe-clean-stage4-bfd:
3331 @if bfd-bootstrap
3332 maybe-all-stage4-bfd: all-stage4-bfd
3333 all-stage4: all-stage4-bfd
3334 TARGET-stage4-bfd = $(TARGET-bfd)
3335 all-stage4-bfd: configure-stage4-bfd
3336 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 TFLAGS="$(STAGE4_TFLAGS)"; \
3340 $(HOST_EXPORTS) \
3341 $(POSTSTAGE1_HOST_EXPORTS) \
3342 cd $(HOST_SUBDIR)/bfd && \
3343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3344 CFLAGS="$(STAGE4_CFLAGS)" \
3345 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3346 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3351 TFLAGS="$(STAGE4_TFLAGS)" \
3352 $(TARGET-stage4-bfd)
3354 maybe-clean-stage4-bfd: clean-stage4-bfd
3355 clean-stage4: clean-stage4-bfd
3356 clean-stage4-bfd:
3357 @if [ $(current_stage) = stage4 ]; then \
3358 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3359 else \
3360 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3361 $(MAKE) stage4-start; \
3362 fi; \
3363 cd $(HOST_SUBDIR)/bfd && \
3364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3365 @endif bfd-bootstrap
3368 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3369 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3370 maybe-all-stageprofile-bfd:
3371 maybe-clean-stageprofile-bfd:
3372 @if bfd-bootstrap
3373 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3374 all-stageprofile: all-stageprofile-bfd
3375 TARGET-stageprofile-bfd = $(TARGET-bfd)
3376 all-stageprofile-bfd: configure-stageprofile-bfd
3377 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3378 @r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3380 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3381 $(HOST_EXPORTS) \
3382 $(POSTSTAGE1_HOST_EXPORTS) \
3383 cd $(HOST_SUBDIR)/bfd && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3385 CFLAGS="$(STAGEprofile_CFLAGS)" \
3386 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3387 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3392 TFLAGS="$(STAGEprofile_TFLAGS)" \
3393 $(TARGET-stageprofile-bfd)
3395 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3396 clean-stageprofile: clean-stageprofile-bfd
3397 clean-stageprofile-bfd:
3398 @if [ $(current_stage) = stageprofile ]; then \
3399 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3400 else \
3401 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3402 $(MAKE) stageprofile-start; \
3403 fi; \
3404 cd $(HOST_SUBDIR)/bfd && \
3405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3406 @endif bfd-bootstrap
3409 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3410 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3411 maybe-all-stagefeedback-bfd:
3412 maybe-clean-stagefeedback-bfd:
3413 @if bfd-bootstrap
3414 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3415 all-stagefeedback: all-stagefeedback-bfd
3416 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3417 all-stagefeedback-bfd: configure-stagefeedback-bfd
3418 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3419 @r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3422 $(HOST_EXPORTS) \
3423 $(POSTSTAGE1_HOST_EXPORTS) \
3424 cd $(HOST_SUBDIR)/bfd && \
3425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3426 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3427 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3428 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3433 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3434 $(TARGET-stagefeedback-bfd)
3436 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3437 clean-stagefeedback: clean-stagefeedback-bfd
3438 clean-stagefeedback-bfd:
3439 @if [ $(current_stage) = stagefeedback ]; then \
3440 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3441 else \
3442 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3443 $(MAKE) stagefeedback-start; \
3444 fi; \
3445 cd $(HOST_SUBDIR)/bfd && \
3446 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3447 @endif bfd-bootstrap
3453 .PHONY: check-bfd maybe-check-bfd
3454 maybe-check-bfd:
3455 @if bfd
3456 maybe-check-bfd: check-bfd
3458 check-bfd:
3459 @: $(MAKE); $(unstage)
3460 @r=`${PWD_COMMAND}`; export r; \
3461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3462 $(HOST_EXPORTS) \
3463 (cd $(HOST_SUBDIR)/bfd && \
3464 $(MAKE) $(FLAGS_TO_PASS) check)
3466 @endif bfd
3468 .PHONY: install-bfd maybe-install-bfd
3469 maybe-install-bfd:
3470 @if bfd
3471 maybe-install-bfd: install-bfd
3473 install-bfd: installdirs
3474 @: $(MAKE); $(unstage)
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 (cd $(HOST_SUBDIR)/bfd && \
3479 $(MAKE) $(FLAGS_TO_PASS) install)
3481 @endif bfd
3483 .PHONY: install-strip-bfd maybe-install-strip-bfd
3484 maybe-install-strip-bfd:
3485 @if bfd
3486 maybe-install-strip-bfd: install-strip-bfd
3488 install-strip-bfd: installdirs
3489 @: $(MAKE); $(unstage)
3490 @r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492 $(HOST_EXPORTS) \
3493 (cd $(HOST_SUBDIR)/bfd && \
3494 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3496 @endif bfd
3498 # Other targets (info, dvi, pdf, etc.)
3500 .PHONY: maybe-info-bfd info-bfd
3501 maybe-info-bfd:
3502 @if bfd
3503 maybe-info-bfd: info-bfd
3505 info-bfd: \
3506 configure-bfd
3507 @[ -f ./bfd/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 $(HOST_EXPORTS) \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 done; \
3514 echo "Doing info in bfd" ; \
3515 (cd $(HOST_SUBDIR)/bfd && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3520 info) \
3521 || exit 1
3523 @endif bfd
3525 .PHONY: maybe-dvi-bfd dvi-bfd
3526 maybe-dvi-bfd:
3527 @if bfd
3528 maybe-dvi-bfd: dvi-bfd
3530 dvi-bfd: \
3531 configure-bfd
3532 @[ -f ./bfd/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing dvi in bfd" ; \
3540 (cd $(HOST_SUBDIR)/bfd && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3545 dvi) \
3546 || exit 1
3548 @endif bfd
3550 .PHONY: maybe-pdf-bfd pdf-bfd
3551 maybe-pdf-bfd:
3552 @if bfd
3553 maybe-pdf-bfd: pdf-bfd
3555 pdf-bfd: \
3556 configure-bfd
3557 @[ -f ./bfd/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(HOST_EXPORTS) \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 done; \
3564 echo "Doing pdf in bfd" ; \
3565 (cd $(HOST_SUBDIR)/bfd && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3570 pdf) \
3571 || exit 1
3573 @endif bfd
3575 .PHONY: maybe-html-bfd html-bfd
3576 maybe-html-bfd:
3577 @if bfd
3578 maybe-html-bfd: html-bfd
3580 html-bfd: \
3581 configure-bfd
3582 @[ -f ./bfd/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3585 $(HOST_EXPORTS) \
3586 for flag in $(EXTRA_HOST_FLAGS) ; do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3588 done; \
3589 echo "Doing html in bfd" ; \
3590 (cd $(HOST_SUBDIR)/bfd && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3595 html) \
3596 || exit 1
3598 @endif bfd
3600 .PHONY: maybe-TAGS-bfd TAGS-bfd
3601 maybe-TAGS-bfd:
3602 @if bfd
3603 maybe-TAGS-bfd: TAGS-bfd
3605 TAGS-bfd: \
3606 configure-bfd
3607 @[ -f ./bfd/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(HOST_EXPORTS) \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3613 done; \
3614 echo "Doing TAGS in bfd" ; \
3615 (cd $(HOST_SUBDIR)/bfd && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3620 TAGS) \
3621 || exit 1
3623 @endif bfd
3625 .PHONY: maybe-install-info-bfd install-info-bfd
3626 maybe-install-info-bfd:
3627 @if bfd
3628 maybe-install-info-bfd: install-info-bfd
3630 install-info-bfd: \
3631 configure-bfd \
3632 info-bfd
3633 @[ -f ./bfd/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing install-info in bfd" ; \
3641 (cd $(HOST_SUBDIR)/bfd && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3646 install-info) \
3647 || exit 1
3649 @endif bfd
3651 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3652 maybe-install-pdf-bfd:
3653 @if bfd
3654 maybe-install-pdf-bfd: install-pdf-bfd
3656 install-pdf-bfd: \
3657 configure-bfd \
3658 pdf-bfd
3659 @[ -f ./bfd/Makefile ] || exit 0; \
3660 r=`${PWD_COMMAND}`; export r; \
3661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3662 $(HOST_EXPORTS) \
3663 for flag in $(EXTRA_HOST_FLAGS) ; do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing install-pdf in bfd" ; \
3667 (cd $(HOST_SUBDIR)/bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3672 install-pdf) \
3673 || exit 1
3675 @endif bfd
3677 .PHONY: maybe-install-html-bfd install-html-bfd
3678 maybe-install-html-bfd:
3679 @if bfd
3680 maybe-install-html-bfd: install-html-bfd
3682 install-html-bfd: \
3683 configure-bfd \
3684 html-bfd
3685 @[ -f ./bfd/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing install-html in bfd" ; \
3693 (cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 install-html) \
3699 || exit 1
3701 @endif bfd
3703 .PHONY: maybe-installcheck-bfd installcheck-bfd
3704 maybe-installcheck-bfd:
3705 @if bfd
3706 maybe-installcheck-bfd: installcheck-bfd
3708 installcheck-bfd: \
3709 configure-bfd
3710 @[ -f ./bfd/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716 done; \
3717 echo "Doing installcheck in bfd" ; \
3718 (cd $(HOST_SUBDIR)/bfd && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3723 installcheck) \
3724 || exit 1
3726 @endif bfd
3728 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3729 maybe-mostlyclean-bfd:
3730 @if bfd
3731 maybe-mostlyclean-bfd: mostlyclean-bfd
3733 mostlyclean-bfd:
3734 @[ -f ./bfd/Makefile ] || exit 0; \
3735 r=`${PWD_COMMAND}`; export r; \
3736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3737 $(HOST_EXPORTS) \
3738 for flag in $(EXTRA_HOST_FLAGS) ; do \
3739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3740 done; \
3741 echo "Doing mostlyclean in bfd" ; \
3742 (cd $(HOST_SUBDIR)/bfd && \
3743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3745 "RANLIB=$${RANLIB}" \
3746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3747 mostlyclean) \
3748 || exit 1
3750 @endif bfd
3752 .PHONY: maybe-clean-bfd clean-bfd
3753 maybe-clean-bfd:
3754 @if bfd
3755 maybe-clean-bfd: clean-bfd
3757 clean-bfd:
3758 @[ -f ./bfd/Makefile ] || exit 0; \
3759 r=`${PWD_COMMAND}`; export r; \
3760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3761 $(HOST_EXPORTS) \
3762 for flag in $(EXTRA_HOST_FLAGS) ; do \
3763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3764 done; \
3765 echo "Doing clean in bfd" ; \
3766 (cd $(HOST_SUBDIR)/bfd && \
3767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3769 "RANLIB=$${RANLIB}" \
3770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3771 clean) \
3772 || exit 1
3774 @endif bfd
3776 .PHONY: maybe-distclean-bfd distclean-bfd
3777 maybe-distclean-bfd:
3778 @if bfd
3779 maybe-distclean-bfd: distclean-bfd
3781 distclean-bfd:
3782 @[ -f ./bfd/Makefile ] || exit 0; \
3783 r=`${PWD_COMMAND}`; export r; \
3784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3785 $(HOST_EXPORTS) \
3786 for flag in $(EXTRA_HOST_FLAGS) ; do \
3787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3788 done; \
3789 echo "Doing distclean in bfd" ; \
3790 (cd $(HOST_SUBDIR)/bfd && \
3791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3793 "RANLIB=$${RANLIB}" \
3794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3795 distclean) \
3796 || exit 1
3798 @endif bfd
3800 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3801 maybe-maintainer-clean-bfd:
3802 @if bfd
3803 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3805 maintainer-clean-bfd:
3806 @[ -f ./bfd/Makefile ] || exit 0; \
3807 r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3809 $(HOST_EXPORTS) \
3810 for flag in $(EXTRA_HOST_FLAGS) ; do \
3811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3812 done; \
3813 echo "Doing maintainer-clean in bfd" ; \
3814 (cd $(HOST_SUBDIR)/bfd && \
3815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3817 "RANLIB=$${RANLIB}" \
3818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3819 maintainer-clean) \
3820 || exit 1
3822 @endif bfd
3826 .PHONY: configure-opcodes maybe-configure-opcodes
3827 maybe-configure-opcodes:
3828 @if gcc-bootstrap
3829 configure-opcodes: stage_current
3830 @endif gcc-bootstrap
3831 @if opcodes
3832 maybe-configure-opcodes: configure-opcodes
3833 configure-opcodes:
3834 @r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3838 $(HOST_EXPORTS) \
3839 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3840 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3841 case $(srcdir) in \
3842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3843 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3845 esac; \
3846 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3847 libsrcdir="$$s/opcodes"; \
3848 $(SHELL) $${libsrcdir}/configure \
3849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3850 --target=${target_alias} $${srcdiroption} \
3851 || exit 1
3852 @endif opcodes
3856 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3857 maybe-configure-stage1-opcodes:
3858 @if opcodes-bootstrap
3859 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3860 configure-stage1-opcodes:
3861 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3863 @r=`${PWD_COMMAND}`; export r; \
3864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3865 TFLAGS="$(STAGE1_TFLAGS)"; \
3866 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3867 $(HOST_EXPORTS) \
3868 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3869 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3870 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3871 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3873 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3874 case $(srcdir) in \
3875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3876 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3878 esac; \
3879 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3880 libsrcdir="$$s/opcodes"; \
3881 $(SHELL) $${libsrcdir}/configure \
3882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3883 --target=${target_alias} $${srcdiroption} \
3884 $(STAGE1_CONFIGURE_FLAGS)
3885 @endif opcodes-bootstrap
3887 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3888 maybe-configure-stage2-opcodes:
3889 @if opcodes-bootstrap
3890 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3891 configure-stage2-opcodes:
3892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3894 @r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 TFLAGS="$(STAGE2_TFLAGS)"; \
3897 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3898 $(HOST_EXPORTS) \
3899 $(POSTSTAGE1_HOST_EXPORTS) \
3900 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3901 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3902 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3903 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3905 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3906 case $(srcdir) in \
3907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3908 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3910 esac; \
3911 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3912 libsrcdir="$$s/opcodes"; \
3913 $(SHELL) $${libsrcdir}/configure \
3914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3915 --target=${target_alias} $${srcdiroption} \
3916 --with-build-libsubdir=$(HOST_SUBDIR) \
3917 $(STAGE2_CONFIGURE_FLAGS)
3918 @endif opcodes-bootstrap
3920 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3921 maybe-configure-stage3-opcodes:
3922 @if opcodes-bootstrap
3923 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3924 configure-stage3-opcodes:
3925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3927 @r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 TFLAGS="$(STAGE3_TFLAGS)"; \
3930 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3931 $(HOST_EXPORTS) \
3932 $(POSTSTAGE1_HOST_EXPORTS) \
3933 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3934 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3935 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3936 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3938 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3939 case $(srcdir) in \
3940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3941 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3943 esac; \
3944 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3945 libsrcdir="$$s/opcodes"; \
3946 $(SHELL) $${libsrcdir}/configure \
3947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3948 --target=${target_alias} $${srcdiroption} \
3949 --with-build-libsubdir=$(HOST_SUBDIR) \
3950 $(STAGE3_CONFIGURE_FLAGS)
3951 @endif opcodes-bootstrap
3953 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3954 maybe-configure-stage4-opcodes:
3955 @if opcodes-bootstrap
3956 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3957 configure-stage4-opcodes:
3958 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3960 @r=`${PWD_COMMAND}`; export r; \
3961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3962 TFLAGS="$(STAGE4_TFLAGS)"; \
3963 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3964 $(HOST_EXPORTS) \
3965 $(POSTSTAGE1_HOST_EXPORTS) \
3966 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3967 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3968 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3969 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3971 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3972 case $(srcdir) in \
3973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3974 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3976 esac; \
3977 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3978 libsrcdir="$$s/opcodes"; \
3979 $(SHELL) $${libsrcdir}/configure \
3980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3981 --target=${target_alias} $${srcdiroption} \
3982 --with-build-libsubdir=$(HOST_SUBDIR) \
3983 $(STAGE4_CONFIGURE_FLAGS)
3984 @endif opcodes-bootstrap
3986 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3987 maybe-configure-stageprofile-opcodes:
3988 @if opcodes-bootstrap
3989 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3990 configure-stageprofile-opcodes:
3991 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3993 @r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3996 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3997 $(HOST_EXPORTS) \
3998 $(POSTSTAGE1_HOST_EXPORTS) \
3999 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4000 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4001 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4002 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4004 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4005 case $(srcdir) in \
4006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4007 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4009 esac; \
4010 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4011 libsrcdir="$$s/opcodes"; \
4012 $(SHELL) $${libsrcdir}/configure \
4013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4014 --target=${target_alias} $${srcdiroption} \
4015 --with-build-libsubdir=$(HOST_SUBDIR) \
4016 $(STAGEprofile_CONFIGURE_FLAGS)
4017 @endif opcodes-bootstrap
4019 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4020 maybe-configure-stagefeedback-opcodes:
4021 @if opcodes-bootstrap
4022 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4023 configure-stagefeedback-opcodes:
4024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4026 @r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4029 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4030 $(HOST_EXPORTS) \
4031 $(POSTSTAGE1_HOST_EXPORTS) \
4032 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4033 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4034 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4035 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4037 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4038 case $(srcdir) in \
4039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4040 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4042 esac; \
4043 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4044 libsrcdir="$$s/opcodes"; \
4045 $(SHELL) $${libsrcdir}/configure \
4046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4047 --target=${target_alias} $${srcdiroption} \
4048 --with-build-libsubdir=$(HOST_SUBDIR) \
4049 $(STAGEfeedback_CONFIGURE_FLAGS)
4050 @endif opcodes-bootstrap
4056 .PHONY: all-opcodes maybe-all-opcodes
4057 maybe-all-opcodes:
4058 @if gcc-bootstrap
4059 all-opcodes: stage_current
4060 @endif gcc-bootstrap
4061 @if opcodes
4062 TARGET-opcodes=all
4063 maybe-all-opcodes: all-opcodes
4064 all-opcodes: configure-opcodes
4065 @r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4067 $(HOST_EXPORTS) \
4068 (cd $(HOST_SUBDIR)/opcodes && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4070 $(TARGET-opcodes))
4071 @endif opcodes
4075 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4076 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4077 maybe-all-stage1-opcodes:
4078 maybe-clean-stage1-opcodes:
4079 @if opcodes-bootstrap
4080 maybe-all-stage1-opcodes: all-stage1-opcodes
4081 all-stage1: all-stage1-opcodes
4082 TARGET-stage1-opcodes = $(TARGET-opcodes)
4083 all-stage1-opcodes: configure-stage1-opcodes
4084 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4085 @r=`${PWD_COMMAND}`; export r; \
4086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4087 TFLAGS="$(STAGE1_TFLAGS)"; \
4088 $(HOST_EXPORTS) \
4089 cd $(HOST_SUBDIR)/opcodes && \
4090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4091 CFLAGS="$(STAGE1_CFLAGS)" \
4092 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4093 LIBCFLAGS="$(LIBCFLAGS)" \
4094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4097 $(EXTRA_HOST_FLAGS) \
4098 $(STAGE1_FLAGS_TO_PASS) \
4099 TFLAGS="$(STAGE1_TFLAGS)" \
4100 $(TARGET-stage1-opcodes)
4102 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4103 clean-stage1: clean-stage1-opcodes
4104 clean-stage1-opcodes:
4105 @if [ $(current_stage) = stage1 ]; then \
4106 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4107 else \
4108 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4109 $(MAKE) stage1-start; \
4110 fi; \
4111 cd $(HOST_SUBDIR)/opcodes && \
4112 $(MAKE) $(EXTRA_HOST_FLAGS) \
4113 $(STAGE1_FLAGS_TO_PASS) clean
4114 @endif opcodes-bootstrap
4117 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4118 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4119 maybe-all-stage2-opcodes:
4120 maybe-clean-stage2-opcodes:
4121 @if opcodes-bootstrap
4122 maybe-all-stage2-opcodes: all-stage2-opcodes
4123 all-stage2: all-stage2-opcodes
4124 TARGET-stage2-opcodes = $(TARGET-opcodes)
4125 all-stage2-opcodes: configure-stage2-opcodes
4126 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4127 @r=`${PWD_COMMAND}`; export r; \
4128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4129 TFLAGS="$(STAGE2_TFLAGS)"; \
4130 $(HOST_EXPORTS) \
4131 $(POSTSTAGE1_HOST_EXPORTS) \
4132 cd $(HOST_SUBDIR)/opcodes && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4134 CFLAGS="$(STAGE2_CFLAGS)" \
4135 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4136 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4141 TFLAGS="$(STAGE2_TFLAGS)" \
4142 $(TARGET-stage2-opcodes)
4144 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4145 clean-stage2: clean-stage2-opcodes
4146 clean-stage2-opcodes:
4147 @if [ $(current_stage) = stage2 ]; then \
4148 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4149 else \
4150 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4151 $(MAKE) stage2-start; \
4152 fi; \
4153 cd $(HOST_SUBDIR)/opcodes && \
4154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4155 @endif opcodes-bootstrap
4158 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4159 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4160 maybe-all-stage3-opcodes:
4161 maybe-clean-stage3-opcodes:
4162 @if opcodes-bootstrap
4163 maybe-all-stage3-opcodes: all-stage3-opcodes
4164 all-stage3: all-stage3-opcodes
4165 TARGET-stage3-opcodes = $(TARGET-opcodes)
4166 all-stage3-opcodes: configure-stage3-opcodes
4167 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4168 @r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 TFLAGS="$(STAGE3_TFLAGS)"; \
4171 $(HOST_EXPORTS) \
4172 $(POSTSTAGE1_HOST_EXPORTS) \
4173 cd $(HOST_SUBDIR)/opcodes && \
4174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4175 CFLAGS="$(STAGE3_CFLAGS)" \
4176 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4177 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4182 TFLAGS="$(STAGE3_TFLAGS)" \
4183 $(TARGET-stage3-opcodes)
4185 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4186 clean-stage3: clean-stage3-opcodes
4187 clean-stage3-opcodes:
4188 @if [ $(current_stage) = stage3 ]; then \
4189 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4190 else \
4191 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4192 $(MAKE) stage3-start; \
4193 fi; \
4194 cd $(HOST_SUBDIR)/opcodes && \
4195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4196 @endif opcodes-bootstrap
4199 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4200 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4201 maybe-all-stage4-opcodes:
4202 maybe-clean-stage4-opcodes:
4203 @if opcodes-bootstrap
4204 maybe-all-stage4-opcodes: all-stage4-opcodes
4205 all-stage4: all-stage4-opcodes
4206 TARGET-stage4-opcodes = $(TARGET-opcodes)
4207 all-stage4-opcodes: configure-stage4-opcodes
4208 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4209 @r=`${PWD_COMMAND}`; export r; \
4210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 TFLAGS="$(STAGE4_TFLAGS)"; \
4212 $(HOST_EXPORTS) \
4213 $(POSTSTAGE1_HOST_EXPORTS) \
4214 cd $(HOST_SUBDIR)/opcodes && \
4215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4216 CFLAGS="$(STAGE4_CFLAGS)" \
4217 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4218 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4223 TFLAGS="$(STAGE4_TFLAGS)" \
4224 $(TARGET-stage4-opcodes)
4226 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4227 clean-stage4: clean-stage4-opcodes
4228 clean-stage4-opcodes:
4229 @if [ $(current_stage) = stage4 ]; then \
4230 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4231 else \
4232 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4233 $(MAKE) stage4-start; \
4234 fi; \
4235 cd $(HOST_SUBDIR)/opcodes && \
4236 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4237 @endif opcodes-bootstrap
4240 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4241 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4242 maybe-all-stageprofile-opcodes:
4243 maybe-clean-stageprofile-opcodes:
4244 @if opcodes-bootstrap
4245 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4246 all-stageprofile: all-stageprofile-opcodes
4247 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4248 all-stageprofile-opcodes: configure-stageprofile-opcodes
4249 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4250 @r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4253 $(HOST_EXPORTS) \
4254 $(POSTSTAGE1_HOST_EXPORTS) \
4255 cd $(HOST_SUBDIR)/opcodes && \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4257 CFLAGS="$(STAGEprofile_CFLAGS)" \
4258 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4259 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4264 TFLAGS="$(STAGEprofile_TFLAGS)" \
4265 $(TARGET-stageprofile-opcodes)
4267 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4268 clean-stageprofile: clean-stageprofile-opcodes
4269 clean-stageprofile-opcodes:
4270 @if [ $(current_stage) = stageprofile ]; then \
4271 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4272 else \
4273 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4274 $(MAKE) stageprofile-start; \
4275 fi; \
4276 cd $(HOST_SUBDIR)/opcodes && \
4277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4278 @endif opcodes-bootstrap
4281 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4282 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4283 maybe-all-stagefeedback-opcodes:
4284 maybe-clean-stagefeedback-opcodes:
4285 @if opcodes-bootstrap
4286 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4287 all-stagefeedback: all-stagefeedback-opcodes
4288 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4289 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4291 @r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4294 $(HOST_EXPORTS) \
4295 $(POSTSTAGE1_HOST_EXPORTS) \
4296 cd $(HOST_SUBDIR)/opcodes && \
4297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4298 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4299 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4300 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4304 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4305 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4306 $(TARGET-stagefeedback-opcodes)
4308 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4309 clean-stagefeedback: clean-stagefeedback-opcodes
4310 clean-stagefeedback-opcodes:
4311 @if [ $(current_stage) = stagefeedback ]; then \
4312 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4313 else \
4314 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4315 $(MAKE) stagefeedback-start; \
4316 fi; \
4317 cd $(HOST_SUBDIR)/opcodes && \
4318 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4319 @endif opcodes-bootstrap
4325 .PHONY: check-opcodes maybe-check-opcodes
4326 maybe-check-opcodes:
4327 @if opcodes
4328 maybe-check-opcodes: check-opcodes
4330 check-opcodes:
4331 @: $(MAKE); $(unstage)
4332 @r=`${PWD_COMMAND}`; export r; \
4333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4334 $(HOST_EXPORTS) \
4335 (cd $(HOST_SUBDIR)/opcodes && \
4336 $(MAKE) $(FLAGS_TO_PASS) check)
4338 @endif opcodes
4340 .PHONY: install-opcodes maybe-install-opcodes
4341 maybe-install-opcodes:
4342 @if opcodes
4343 maybe-install-opcodes: install-opcodes
4345 install-opcodes: installdirs
4346 @: $(MAKE); $(unstage)
4347 @r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 $(HOST_EXPORTS) \
4350 (cd $(HOST_SUBDIR)/opcodes && \
4351 $(MAKE) $(FLAGS_TO_PASS) install)
4353 @endif opcodes
4355 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4356 maybe-install-strip-opcodes:
4357 @if opcodes
4358 maybe-install-strip-opcodes: install-strip-opcodes
4360 install-strip-opcodes: installdirs
4361 @: $(MAKE); $(unstage)
4362 @r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(HOST_EXPORTS) \
4365 (cd $(HOST_SUBDIR)/opcodes && \
4366 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4368 @endif opcodes
4370 # Other targets (info, dvi, pdf, etc.)
4372 .PHONY: maybe-info-opcodes info-opcodes
4373 maybe-info-opcodes:
4374 @if opcodes
4375 maybe-info-opcodes: info-opcodes
4377 info-opcodes: \
4378 configure-opcodes
4379 @[ -f ./opcodes/Makefile ] || exit 0; \
4380 r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4382 $(HOST_EXPORTS) \
4383 for flag in $(EXTRA_HOST_FLAGS) ; do \
4384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4385 done; \
4386 echo "Doing info in opcodes" ; \
4387 (cd $(HOST_SUBDIR)/opcodes && \
4388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4390 "RANLIB=$${RANLIB}" \
4391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4392 info) \
4393 || exit 1
4395 @endif opcodes
4397 .PHONY: maybe-dvi-opcodes dvi-opcodes
4398 maybe-dvi-opcodes:
4399 @if opcodes
4400 maybe-dvi-opcodes: dvi-opcodes
4402 dvi-opcodes: \
4403 configure-opcodes
4404 @[ -f ./opcodes/Makefile ] || exit 0; \
4405 r=`${PWD_COMMAND}`; export r; \
4406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4407 $(HOST_EXPORTS) \
4408 for flag in $(EXTRA_HOST_FLAGS) ; do \
4409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4410 done; \
4411 echo "Doing dvi in opcodes" ; \
4412 (cd $(HOST_SUBDIR)/opcodes && \
4413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4415 "RANLIB=$${RANLIB}" \
4416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4417 dvi) \
4418 || exit 1
4420 @endif opcodes
4422 .PHONY: maybe-pdf-opcodes pdf-opcodes
4423 maybe-pdf-opcodes:
4424 @if opcodes
4425 maybe-pdf-opcodes: pdf-opcodes
4427 pdf-opcodes: \
4428 configure-opcodes
4429 @[ -f ./opcodes/Makefile ] || exit 0; \
4430 r=`${PWD_COMMAND}`; export r; \
4431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4432 $(HOST_EXPORTS) \
4433 for flag in $(EXTRA_HOST_FLAGS) ; do \
4434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4435 done; \
4436 echo "Doing pdf in opcodes" ; \
4437 (cd $(HOST_SUBDIR)/opcodes && \
4438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4440 "RANLIB=$${RANLIB}" \
4441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4442 pdf) \
4443 || exit 1
4445 @endif opcodes
4447 .PHONY: maybe-html-opcodes html-opcodes
4448 maybe-html-opcodes:
4449 @if opcodes
4450 maybe-html-opcodes: html-opcodes
4452 html-opcodes: \
4453 configure-opcodes
4454 @[ -f ./opcodes/Makefile ] || exit 0; \
4455 r=`${PWD_COMMAND}`; export r; \
4456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4457 $(HOST_EXPORTS) \
4458 for flag in $(EXTRA_HOST_FLAGS) ; do \
4459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4460 done; \
4461 echo "Doing html in opcodes" ; \
4462 (cd $(HOST_SUBDIR)/opcodes && \
4463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4465 "RANLIB=$${RANLIB}" \
4466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4467 html) \
4468 || exit 1
4470 @endif opcodes
4472 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4473 maybe-TAGS-opcodes:
4474 @if opcodes
4475 maybe-TAGS-opcodes: TAGS-opcodes
4477 TAGS-opcodes: \
4478 configure-opcodes
4479 @[ -f ./opcodes/Makefile ] || exit 0; \
4480 r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 $(HOST_EXPORTS) \
4483 for flag in $(EXTRA_HOST_FLAGS) ; do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4485 done; \
4486 echo "Doing TAGS in opcodes" ; \
4487 (cd $(HOST_SUBDIR)/opcodes && \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4492 TAGS) \
4493 || exit 1
4495 @endif opcodes
4497 .PHONY: maybe-install-info-opcodes install-info-opcodes
4498 maybe-install-info-opcodes:
4499 @if opcodes
4500 maybe-install-info-opcodes: install-info-opcodes
4502 install-info-opcodes: \
4503 configure-opcodes \
4504 info-opcodes
4505 @[ -f ./opcodes/Makefile ] || exit 0; \
4506 r=`${PWD_COMMAND}`; export r; \
4507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4508 $(HOST_EXPORTS) \
4509 for flag in $(EXTRA_HOST_FLAGS) ; do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4511 done; \
4512 echo "Doing install-info in opcodes" ; \
4513 (cd $(HOST_SUBDIR)/opcodes && \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4518 install-info) \
4519 || exit 1
4521 @endif opcodes
4523 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4524 maybe-install-pdf-opcodes:
4525 @if opcodes
4526 maybe-install-pdf-opcodes: install-pdf-opcodes
4528 install-pdf-opcodes: \
4529 configure-opcodes \
4530 pdf-opcodes
4531 @[ -f ./opcodes/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(HOST_EXPORTS) \
4535 for flag in $(EXTRA_HOST_FLAGS) ; do \
4536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 done; \
4538 echo "Doing install-pdf in opcodes" ; \
4539 (cd $(HOST_SUBDIR)/opcodes && \
4540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4542 "RANLIB=$${RANLIB}" \
4543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4544 install-pdf) \
4545 || exit 1
4547 @endif opcodes
4549 .PHONY: maybe-install-html-opcodes install-html-opcodes
4550 maybe-install-html-opcodes:
4551 @if opcodes
4552 maybe-install-html-opcodes: install-html-opcodes
4554 install-html-opcodes: \
4555 configure-opcodes \
4556 html-opcodes
4557 @[ -f ./opcodes/Makefile ] || exit 0; \
4558 r=`${PWD_COMMAND}`; export r; \
4559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4560 $(HOST_EXPORTS) \
4561 for flag in $(EXTRA_HOST_FLAGS) ; do \
4562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4563 done; \
4564 echo "Doing install-html in opcodes" ; \
4565 (cd $(HOST_SUBDIR)/opcodes && \
4566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4568 "RANLIB=$${RANLIB}" \
4569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4570 install-html) \
4571 || exit 1
4573 @endif opcodes
4575 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4576 maybe-installcheck-opcodes:
4577 @if opcodes
4578 maybe-installcheck-opcodes: installcheck-opcodes
4580 installcheck-opcodes: \
4581 configure-opcodes
4582 @[ -f ./opcodes/Makefile ] || exit 0; \
4583 r=`${PWD_COMMAND}`; export r; \
4584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4585 $(HOST_EXPORTS) \
4586 for flag in $(EXTRA_HOST_FLAGS) ; do \
4587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4588 done; \
4589 echo "Doing installcheck in opcodes" ; \
4590 (cd $(HOST_SUBDIR)/opcodes && \
4591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4593 "RANLIB=$${RANLIB}" \
4594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4595 installcheck) \
4596 || exit 1
4598 @endif opcodes
4600 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4601 maybe-mostlyclean-opcodes:
4602 @if opcodes
4603 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4605 mostlyclean-opcodes:
4606 @[ -f ./opcodes/Makefile ] || exit 0; \
4607 r=`${PWD_COMMAND}`; export r; \
4608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4609 $(HOST_EXPORTS) \
4610 for flag in $(EXTRA_HOST_FLAGS) ; do \
4611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4612 done; \
4613 echo "Doing mostlyclean in opcodes" ; \
4614 (cd $(HOST_SUBDIR)/opcodes && \
4615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4617 "RANLIB=$${RANLIB}" \
4618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4619 mostlyclean) \
4620 || exit 1
4622 @endif opcodes
4624 .PHONY: maybe-clean-opcodes clean-opcodes
4625 maybe-clean-opcodes:
4626 @if opcodes
4627 maybe-clean-opcodes: clean-opcodes
4629 clean-opcodes:
4630 @[ -f ./opcodes/Makefile ] || exit 0; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4636 done; \
4637 echo "Doing clean in opcodes" ; \
4638 (cd $(HOST_SUBDIR)/opcodes && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4643 clean) \
4644 || exit 1
4646 @endif opcodes
4648 .PHONY: maybe-distclean-opcodes distclean-opcodes
4649 maybe-distclean-opcodes:
4650 @if opcodes
4651 maybe-distclean-opcodes: distclean-opcodes
4653 distclean-opcodes:
4654 @[ -f ./opcodes/Makefile ] || exit 0; \
4655 r=`${PWD_COMMAND}`; export r; \
4656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4657 $(HOST_EXPORTS) \
4658 for flag in $(EXTRA_HOST_FLAGS) ; do \
4659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4660 done; \
4661 echo "Doing distclean in opcodes" ; \
4662 (cd $(HOST_SUBDIR)/opcodes && \
4663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4665 "RANLIB=$${RANLIB}" \
4666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4667 distclean) \
4668 || exit 1
4670 @endif opcodes
4672 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4673 maybe-maintainer-clean-opcodes:
4674 @if opcodes
4675 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4677 maintainer-clean-opcodes:
4678 @[ -f ./opcodes/Makefile ] || exit 0; \
4679 r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 $(HOST_EXPORTS) \
4682 for flag in $(EXTRA_HOST_FLAGS) ; do \
4683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4684 done; \
4685 echo "Doing maintainer-clean in opcodes" ; \
4686 (cd $(HOST_SUBDIR)/opcodes && \
4687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4689 "RANLIB=$${RANLIB}" \
4690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4691 maintainer-clean) \
4692 || exit 1
4694 @endif opcodes
4698 .PHONY: configure-binutils maybe-configure-binutils
4699 maybe-configure-binutils:
4700 @if gcc-bootstrap
4701 configure-binutils: stage_current
4702 @endif gcc-bootstrap
4703 @if binutils
4704 maybe-configure-binutils: configure-binutils
4705 configure-binutils:
4706 @r=`${PWD_COMMAND}`; export r; \
4707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4708 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4710 $(HOST_EXPORTS) \
4711 echo Configuring in $(HOST_SUBDIR)/binutils; \
4712 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4713 case $(srcdir) in \
4714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4715 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4717 esac; \
4718 srcdiroption="--srcdir=$${topdir}/binutils"; \
4719 libsrcdir="$$s/binutils"; \
4720 $(SHELL) $${libsrcdir}/configure \
4721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4722 --target=${target_alias} $${srcdiroption} \
4723 || exit 1
4724 @endif binutils
4728 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4729 maybe-configure-stage1-binutils:
4730 @if binutils-bootstrap
4731 maybe-configure-stage1-binutils: configure-stage1-binutils
4732 configure-stage1-binutils:
4733 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4735 @r=`${PWD_COMMAND}`; export r; \
4736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4737 TFLAGS="$(STAGE1_TFLAGS)"; \
4738 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4739 $(HOST_EXPORTS) \
4740 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4741 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4742 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4743 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4745 cd $(HOST_SUBDIR)/binutils || exit 1; \
4746 case $(srcdir) in \
4747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4748 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4750 esac; \
4751 srcdiroption="--srcdir=$${topdir}/binutils"; \
4752 libsrcdir="$$s/binutils"; \
4753 $(SHELL) $${libsrcdir}/configure \
4754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4755 --target=${target_alias} $${srcdiroption} \
4756 $(STAGE1_CONFIGURE_FLAGS)
4757 @endif binutils-bootstrap
4759 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4760 maybe-configure-stage2-binutils:
4761 @if binutils-bootstrap
4762 maybe-configure-stage2-binutils: configure-stage2-binutils
4763 configure-stage2-binutils:
4764 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4766 @r=`${PWD_COMMAND}`; export r; \
4767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4768 TFLAGS="$(STAGE2_TFLAGS)"; \
4769 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4770 $(HOST_EXPORTS) \
4771 $(POSTSTAGE1_HOST_EXPORTS) \
4772 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4773 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4774 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4775 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4777 cd $(HOST_SUBDIR)/binutils || exit 1; \
4778 case $(srcdir) in \
4779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4780 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4782 esac; \
4783 srcdiroption="--srcdir=$${topdir}/binutils"; \
4784 libsrcdir="$$s/binutils"; \
4785 $(SHELL) $${libsrcdir}/configure \
4786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4787 --target=${target_alias} $${srcdiroption} \
4788 --with-build-libsubdir=$(HOST_SUBDIR) \
4789 $(STAGE2_CONFIGURE_FLAGS)
4790 @endif binutils-bootstrap
4792 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4793 maybe-configure-stage3-binutils:
4794 @if binutils-bootstrap
4795 maybe-configure-stage3-binutils: configure-stage3-binutils
4796 configure-stage3-binutils:
4797 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4799 @r=`${PWD_COMMAND}`; export r; \
4800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4801 TFLAGS="$(STAGE3_TFLAGS)"; \
4802 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4803 $(HOST_EXPORTS) \
4804 $(POSTSTAGE1_HOST_EXPORTS) \
4805 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4806 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4807 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4808 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4810 cd $(HOST_SUBDIR)/binutils || exit 1; \
4811 case $(srcdir) in \
4812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4813 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4815 esac; \
4816 srcdiroption="--srcdir=$${topdir}/binutils"; \
4817 libsrcdir="$$s/binutils"; \
4818 $(SHELL) $${libsrcdir}/configure \
4819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4820 --target=${target_alias} $${srcdiroption} \
4821 --with-build-libsubdir=$(HOST_SUBDIR) \
4822 $(STAGE3_CONFIGURE_FLAGS)
4823 @endif binutils-bootstrap
4825 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4826 maybe-configure-stage4-binutils:
4827 @if binutils-bootstrap
4828 maybe-configure-stage4-binutils: configure-stage4-binutils
4829 configure-stage4-binutils:
4830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4832 @r=`${PWD_COMMAND}`; export r; \
4833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4834 TFLAGS="$(STAGE4_TFLAGS)"; \
4835 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4836 $(HOST_EXPORTS) \
4837 $(POSTSTAGE1_HOST_EXPORTS) \
4838 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4839 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4840 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4841 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4843 cd $(HOST_SUBDIR)/binutils || exit 1; \
4844 case $(srcdir) in \
4845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4846 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4848 esac; \
4849 srcdiroption="--srcdir=$${topdir}/binutils"; \
4850 libsrcdir="$$s/binutils"; \
4851 $(SHELL) $${libsrcdir}/configure \
4852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4853 --target=${target_alias} $${srcdiroption} \
4854 --with-build-libsubdir=$(HOST_SUBDIR) \
4855 $(STAGE4_CONFIGURE_FLAGS)
4856 @endif binutils-bootstrap
4858 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4859 maybe-configure-stageprofile-binutils:
4860 @if binutils-bootstrap
4861 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4862 configure-stageprofile-binutils:
4863 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4864 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4865 @r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4868 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4869 $(HOST_EXPORTS) \
4870 $(POSTSTAGE1_HOST_EXPORTS) \
4871 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4872 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4873 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4874 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4876 cd $(HOST_SUBDIR)/binutils || exit 1; \
4877 case $(srcdir) in \
4878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4879 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4881 esac; \
4882 srcdiroption="--srcdir=$${topdir}/binutils"; \
4883 libsrcdir="$$s/binutils"; \
4884 $(SHELL) $${libsrcdir}/configure \
4885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4886 --target=${target_alias} $${srcdiroption} \
4887 --with-build-libsubdir=$(HOST_SUBDIR) \
4888 $(STAGEprofile_CONFIGURE_FLAGS)
4889 @endif binutils-bootstrap
4891 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4892 maybe-configure-stagefeedback-binutils:
4893 @if binutils-bootstrap
4894 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4895 configure-stagefeedback-binutils:
4896 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4898 @r=`${PWD_COMMAND}`; export r; \
4899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4901 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4902 $(HOST_EXPORTS) \
4903 $(POSTSTAGE1_HOST_EXPORTS) \
4904 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4905 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4906 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4907 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4909 cd $(HOST_SUBDIR)/binutils || exit 1; \
4910 case $(srcdir) in \
4911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4912 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4914 esac; \
4915 srcdiroption="--srcdir=$${topdir}/binutils"; \
4916 libsrcdir="$$s/binutils"; \
4917 $(SHELL) $${libsrcdir}/configure \
4918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4919 --target=${target_alias} $${srcdiroption} \
4920 --with-build-libsubdir=$(HOST_SUBDIR) \
4921 $(STAGEfeedback_CONFIGURE_FLAGS)
4922 @endif binutils-bootstrap
4928 .PHONY: all-binutils maybe-all-binutils
4929 maybe-all-binutils:
4930 @if gcc-bootstrap
4931 all-binutils: stage_current
4932 @endif gcc-bootstrap
4933 @if binutils
4934 TARGET-binutils=all
4935 maybe-all-binutils: all-binutils
4936 all-binutils: configure-binutils
4937 @r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 $(HOST_EXPORTS) \
4940 (cd $(HOST_SUBDIR)/binutils && \
4941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4942 $(TARGET-binutils))
4943 @endif binutils
4947 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4948 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4949 maybe-all-stage1-binutils:
4950 maybe-clean-stage1-binutils:
4951 @if binutils-bootstrap
4952 maybe-all-stage1-binutils: all-stage1-binutils
4953 all-stage1: all-stage1-binutils
4954 TARGET-stage1-binutils = $(TARGET-binutils)
4955 all-stage1-binutils: configure-stage1-binutils
4956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4957 @r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 TFLAGS="$(STAGE1_TFLAGS)"; \
4960 $(HOST_EXPORTS) \
4961 cd $(HOST_SUBDIR)/binutils && \
4962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4963 CFLAGS="$(STAGE1_CFLAGS)" \
4964 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4965 LIBCFLAGS="$(LIBCFLAGS)" \
4966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4969 $(EXTRA_HOST_FLAGS) \
4970 $(STAGE1_FLAGS_TO_PASS) \
4971 TFLAGS="$(STAGE1_TFLAGS)" \
4972 $(TARGET-stage1-binutils)
4974 maybe-clean-stage1-binutils: clean-stage1-binutils
4975 clean-stage1: clean-stage1-binutils
4976 clean-stage1-binutils:
4977 @if [ $(current_stage) = stage1 ]; then \
4978 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4979 else \
4980 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4981 $(MAKE) stage1-start; \
4982 fi; \
4983 cd $(HOST_SUBDIR)/binutils && \
4984 $(MAKE) $(EXTRA_HOST_FLAGS) \
4985 $(STAGE1_FLAGS_TO_PASS) clean
4986 @endif binutils-bootstrap
4989 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4990 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4991 maybe-all-stage2-binutils:
4992 maybe-clean-stage2-binutils:
4993 @if binutils-bootstrap
4994 maybe-all-stage2-binutils: all-stage2-binutils
4995 all-stage2: all-stage2-binutils
4996 TARGET-stage2-binutils = $(TARGET-binutils)
4997 all-stage2-binutils: configure-stage2-binutils
4998 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4999 @r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 TFLAGS="$(STAGE2_TFLAGS)"; \
5002 $(HOST_EXPORTS) \
5003 $(POSTSTAGE1_HOST_EXPORTS) \
5004 cd $(HOST_SUBDIR)/binutils && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5006 CFLAGS="$(STAGE2_CFLAGS)" \
5007 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5008 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5013 TFLAGS="$(STAGE2_TFLAGS)" \
5014 $(TARGET-stage2-binutils)
5016 maybe-clean-stage2-binutils: clean-stage2-binutils
5017 clean-stage2: clean-stage2-binutils
5018 clean-stage2-binutils:
5019 @if [ $(current_stage) = stage2 ]; then \
5020 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5021 else \
5022 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5023 $(MAKE) stage2-start; \
5024 fi; \
5025 cd $(HOST_SUBDIR)/binutils && \
5026 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5027 @endif binutils-bootstrap
5030 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5031 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5032 maybe-all-stage3-binutils:
5033 maybe-clean-stage3-binutils:
5034 @if binutils-bootstrap
5035 maybe-all-stage3-binutils: all-stage3-binutils
5036 all-stage3: all-stage3-binutils
5037 TARGET-stage3-binutils = $(TARGET-binutils)
5038 all-stage3-binutils: configure-stage3-binutils
5039 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5040 @r=`${PWD_COMMAND}`; export r; \
5041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5042 TFLAGS="$(STAGE3_TFLAGS)"; \
5043 $(HOST_EXPORTS) \
5044 $(POSTSTAGE1_HOST_EXPORTS) \
5045 cd $(HOST_SUBDIR)/binutils && \
5046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5047 CFLAGS="$(STAGE3_CFLAGS)" \
5048 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5049 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5054 TFLAGS="$(STAGE3_TFLAGS)" \
5055 $(TARGET-stage3-binutils)
5057 maybe-clean-stage3-binutils: clean-stage3-binutils
5058 clean-stage3: clean-stage3-binutils
5059 clean-stage3-binutils:
5060 @if [ $(current_stage) = stage3 ]; then \
5061 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5062 else \
5063 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5064 $(MAKE) stage3-start; \
5065 fi; \
5066 cd $(HOST_SUBDIR)/binutils && \
5067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5068 @endif binutils-bootstrap
5071 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5072 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5073 maybe-all-stage4-binutils:
5074 maybe-clean-stage4-binutils:
5075 @if binutils-bootstrap
5076 maybe-all-stage4-binutils: all-stage4-binutils
5077 all-stage4: all-stage4-binutils
5078 TARGET-stage4-binutils = $(TARGET-binutils)
5079 all-stage4-binutils: configure-stage4-binutils
5080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5081 @r=`${PWD_COMMAND}`; export r; \
5082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 TFLAGS="$(STAGE4_TFLAGS)"; \
5084 $(HOST_EXPORTS) \
5085 $(POSTSTAGE1_HOST_EXPORTS) \
5086 cd $(HOST_SUBDIR)/binutils && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5088 CFLAGS="$(STAGE4_CFLAGS)" \
5089 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5090 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5095 TFLAGS="$(STAGE4_TFLAGS)" \
5096 $(TARGET-stage4-binutils)
5098 maybe-clean-stage4-binutils: clean-stage4-binutils
5099 clean-stage4: clean-stage4-binutils
5100 clean-stage4-binutils:
5101 @if [ $(current_stage) = stage4 ]; then \
5102 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5103 else \
5104 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5105 $(MAKE) stage4-start; \
5106 fi; \
5107 cd $(HOST_SUBDIR)/binutils && \
5108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5109 @endif binutils-bootstrap
5112 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5113 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5114 maybe-all-stageprofile-binutils:
5115 maybe-clean-stageprofile-binutils:
5116 @if binutils-bootstrap
5117 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5118 all-stageprofile: all-stageprofile-binutils
5119 TARGET-stageprofile-binutils = $(TARGET-binutils)
5120 all-stageprofile-binutils: configure-stageprofile-binutils
5121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5122 @r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5125 $(HOST_EXPORTS) \
5126 $(POSTSTAGE1_HOST_EXPORTS) \
5127 cd $(HOST_SUBDIR)/binutils && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5129 CFLAGS="$(STAGEprofile_CFLAGS)" \
5130 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5131 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5136 TFLAGS="$(STAGEprofile_TFLAGS)" \
5137 $(TARGET-stageprofile-binutils)
5139 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5140 clean-stageprofile: clean-stageprofile-binutils
5141 clean-stageprofile-binutils:
5142 @if [ $(current_stage) = stageprofile ]; then \
5143 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5144 else \
5145 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5146 $(MAKE) stageprofile-start; \
5147 fi; \
5148 cd $(HOST_SUBDIR)/binutils && \
5149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5150 @endif binutils-bootstrap
5153 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5154 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5155 maybe-all-stagefeedback-binutils:
5156 maybe-clean-stagefeedback-binutils:
5157 @if binutils-bootstrap
5158 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5159 all-stagefeedback: all-stagefeedback-binutils
5160 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5161 all-stagefeedback-binutils: configure-stagefeedback-binutils
5162 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5163 @r=`${PWD_COMMAND}`; export r; \
5164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5165 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5166 $(HOST_EXPORTS) \
5167 $(POSTSTAGE1_HOST_EXPORTS) \
5168 cd $(HOST_SUBDIR)/binutils && \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5170 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5171 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5172 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5177 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5178 $(TARGET-stagefeedback-binutils)
5180 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5181 clean-stagefeedback: clean-stagefeedback-binutils
5182 clean-stagefeedback-binutils:
5183 @if [ $(current_stage) = stagefeedback ]; then \
5184 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5185 else \
5186 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5187 $(MAKE) stagefeedback-start; \
5188 fi; \
5189 cd $(HOST_SUBDIR)/binutils && \
5190 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5191 @endif binutils-bootstrap
5197 .PHONY: check-binutils maybe-check-binutils
5198 maybe-check-binutils:
5199 @if binutils
5200 maybe-check-binutils: check-binutils
5202 check-binutils:
5203 @: $(MAKE); $(unstage)
5204 @r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 $(HOST_EXPORTS) \
5207 (cd $(HOST_SUBDIR)/binutils && \
5208 $(MAKE) $(FLAGS_TO_PASS) check)
5210 @endif binutils
5212 .PHONY: install-binutils maybe-install-binutils
5213 maybe-install-binutils:
5214 @if binutils
5215 maybe-install-binutils: install-binutils
5217 install-binutils: installdirs
5218 @: $(MAKE); $(unstage)
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5221 $(HOST_EXPORTS) \
5222 (cd $(HOST_SUBDIR)/binutils && \
5223 $(MAKE) $(FLAGS_TO_PASS) install)
5225 @endif binutils
5227 .PHONY: install-strip-binutils maybe-install-strip-binutils
5228 maybe-install-strip-binutils:
5229 @if binutils
5230 maybe-install-strip-binutils: install-strip-binutils
5232 install-strip-binutils: installdirs
5233 @: $(MAKE); $(unstage)
5234 @r=`${PWD_COMMAND}`; export r; \
5235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5236 $(HOST_EXPORTS) \
5237 (cd $(HOST_SUBDIR)/binutils && \
5238 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5240 @endif binutils
5242 # Other targets (info, dvi, pdf, etc.)
5244 .PHONY: maybe-info-binutils info-binutils
5245 maybe-info-binutils:
5246 @if binutils
5247 maybe-info-binutils: info-binutils
5249 info-binutils: \
5250 configure-binutils
5251 @[ -f ./binutils/Makefile ] || exit 0; \
5252 r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(HOST_EXPORTS) \
5255 for flag in $(EXTRA_HOST_FLAGS) ; do \
5256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5257 done; \
5258 echo "Doing info in binutils" ; \
5259 (cd $(HOST_SUBDIR)/binutils && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5262 "RANLIB=$${RANLIB}" \
5263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5264 info) \
5265 || exit 1
5267 @endif binutils
5269 .PHONY: maybe-dvi-binutils dvi-binutils
5270 maybe-dvi-binutils:
5271 @if binutils
5272 maybe-dvi-binutils: dvi-binutils
5274 dvi-binutils: \
5275 configure-binutils
5276 @[ -f ./binutils/Makefile ] || exit 0; \
5277 r=`${PWD_COMMAND}`; export r; \
5278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5279 $(HOST_EXPORTS) \
5280 for flag in $(EXTRA_HOST_FLAGS) ; do \
5281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5282 done; \
5283 echo "Doing dvi in binutils" ; \
5284 (cd $(HOST_SUBDIR)/binutils && \
5285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5287 "RANLIB=$${RANLIB}" \
5288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5289 dvi) \
5290 || exit 1
5292 @endif binutils
5294 .PHONY: maybe-pdf-binutils pdf-binutils
5295 maybe-pdf-binutils:
5296 @if binutils
5297 maybe-pdf-binutils: pdf-binutils
5299 pdf-binutils: \
5300 configure-binutils
5301 @[ -f ./binutils/Makefile ] || exit 0; \
5302 r=`${PWD_COMMAND}`; export r; \
5303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5304 $(HOST_EXPORTS) \
5305 for flag in $(EXTRA_HOST_FLAGS) ; do \
5306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5307 done; \
5308 echo "Doing pdf in binutils" ; \
5309 (cd $(HOST_SUBDIR)/binutils && \
5310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5312 "RANLIB=$${RANLIB}" \
5313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5314 pdf) \
5315 || exit 1
5317 @endif binutils
5319 .PHONY: maybe-html-binutils html-binutils
5320 maybe-html-binutils:
5321 @if binutils
5322 maybe-html-binutils: html-binutils
5324 html-binutils: \
5325 configure-binutils
5326 @[ -f ./binutils/Makefile ] || exit 0; \
5327 r=`${PWD_COMMAND}`; export r; \
5328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 $(HOST_EXPORTS) \
5330 for flag in $(EXTRA_HOST_FLAGS) ; do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5332 done; \
5333 echo "Doing html in binutils" ; \
5334 (cd $(HOST_SUBDIR)/binutils && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5339 html) \
5340 || exit 1
5342 @endif binutils
5344 .PHONY: maybe-TAGS-binutils TAGS-binutils
5345 maybe-TAGS-binutils:
5346 @if binutils
5347 maybe-TAGS-binutils: TAGS-binutils
5349 TAGS-binutils: \
5350 configure-binutils
5351 @[ -f ./binutils/Makefile ] || exit 0; \
5352 r=`${PWD_COMMAND}`; export r; \
5353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5354 $(HOST_EXPORTS) \
5355 for flag in $(EXTRA_HOST_FLAGS) ; do \
5356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5357 done; \
5358 echo "Doing TAGS in binutils" ; \
5359 (cd $(HOST_SUBDIR)/binutils && \
5360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5362 "RANLIB=$${RANLIB}" \
5363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5364 TAGS) \
5365 || exit 1
5367 @endif binutils
5369 .PHONY: maybe-install-info-binutils install-info-binutils
5370 maybe-install-info-binutils:
5371 @if binutils
5372 maybe-install-info-binutils: install-info-binutils
5374 install-info-binutils: \
5375 configure-binutils \
5376 info-binutils
5377 @[ -f ./binutils/Makefile ] || exit 0; \
5378 r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 $(HOST_EXPORTS) \
5381 for flag in $(EXTRA_HOST_FLAGS) ; do \
5382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5383 done; \
5384 echo "Doing install-info in binutils" ; \
5385 (cd $(HOST_SUBDIR)/binutils && \
5386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5388 "RANLIB=$${RANLIB}" \
5389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5390 install-info) \
5391 || exit 1
5393 @endif binutils
5395 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5396 maybe-install-pdf-binutils:
5397 @if binutils
5398 maybe-install-pdf-binutils: install-pdf-binutils
5400 install-pdf-binutils: \
5401 configure-binutils \
5402 pdf-binutils
5403 @[ -f ./binutils/Makefile ] || exit 0; \
5404 r=`${PWD_COMMAND}`; export r; \
5405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5406 $(HOST_EXPORTS) \
5407 for flag in $(EXTRA_HOST_FLAGS) ; do \
5408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5409 done; \
5410 echo "Doing install-pdf in binutils" ; \
5411 (cd $(HOST_SUBDIR)/binutils && \
5412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5414 "RANLIB=$${RANLIB}" \
5415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5416 install-pdf) \
5417 || exit 1
5419 @endif binutils
5421 .PHONY: maybe-install-html-binutils install-html-binutils
5422 maybe-install-html-binutils:
5423 @if binutils
5424 maybe-install-html-binutils: install-html-binutils
5426 install-html-binutils: \
5427 configure-binutils \
5428 html-binutils
5429 @[ -f ./binutils/Makefile ] || exit 0; \
5430 r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5432 $(HOST_EXPORTS) \
5433 for flag in $(EXTRA_HOST_FLAGS) ; do \
5434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5435 done; \
5436 echo "Doing install-html in binutils" ; \
5437 (cd $(HOST_SUBDIR)/binutils && \
5438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5440 "RANLIB=$${RANLIB}" \
5441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5442 install-html) \
5443 || exit 1
5445 @endif binutils
5447 .PHONY: maybe-installcheck-binutils installcheck-binutils
5448 maybe-installcheck-binutils:
5449 @if binutils
5450 maybe-installcheck-binutils: installcheck-binutils
5452 installcheck-binutils: \
5453 configure-binutils
5454 @[ -f ./binutils/Makefile ] || exit 0; \
5455 r=`${PWD_COMMAND}`; export r; \
5456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5457 $(HOST_EXPORTS) \
5458 for flag in $(EXTRA_HOST_FLAGS) ; do \
5459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5460 done; \
5461 echo "Doing installcheck in binutils" ; \
5462 (cd $(HOST_SUBDIR)/binutils && \
5463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5465 "RANLIB=$${RANLIB}" \
5466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5467 installcheck) \
5468 || exit 1
5470 @endif binutils
5472 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5473 maybe-mostlyclean-binutils:
5474 @if binutils
5475 maybe-mostlyclean-binutils: mostlyclean-binutils
5477 mostlyclean-binutils:
5478 @[ -f ./binutils/Makefile ] || exit 0; \
5479 r=`${PWD_COMMAND}`; export r; \
5480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5481 $(HOST_EXPORTS) \
5482 for flag in $(EXTRA_HOST_FLAGS) ; do \
5483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5484 done; \
5485 echo "Doing mostlyclean in binutils" ; \
5486 (cd $(HOST_SUBDIR)/binutils && \
5487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5489 "RANLIB=$${RANLIB}" \
5490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5491 mostlyclean) \
5492 || exit 1
5494 @endif binutils
5496 .PHONY: maybe-clean-binutils clean-binutils
5497 maybe-clean-binutils:
5498 @if binutils
5499 maybe-clean-binutils: clean-binutils
5501 clean-binutils:
5502 @[ -f ./binutils/Makefile ] || exit 0; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(HOST_EXPORTS) \
5506 for flag in $(EXTRA_HOST_FLAGS) ; do \
5507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5508 done; \
5509 echo "Doing clean in binutils" ; \
5510 (cd $(HOST_SUBDIR)/binutils && \
5511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5513 "RANLIB=$${RANLIB}" \
5514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5515 clean) \
5516 || exit 1
5518 @endif binutils
5520 .PHONY: maybe-distclean-binutils distclean-binutils
5521 maybe-distclean-binutils:
5522 @if binutils
5523 maybe-distclean-binutils: distclean-binutils
5525 distclean-binutils:
5526 @[ -f ./binutils/Makefile ] || exit 0; \
5527 r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529 $(HOST_EXPORTS) \
5530 for flag in $(EXTRA_HOST_FLAGS) ; do \
5531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5532 done; \
5533 echo "Doing distclean in binutils" ; \
5534 (cd $(HOST_SUBDIR)/binutils && \
5535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5537 "RANLIB=$${RANLIB}" \
5538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5539 distclean) \
5540 || exit 1
5542 @endif binutils
5544 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5545 maybe-maintainer-clean-binutils:
5546 @if binutils
5547 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5549 maintainer-clean-binutils:
5550 @[ -f ./binutils/Makefile ] || exit 0; \
5551 r=`${PWD_COMMAND}`; export r; \
5552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5553 $(HOST_EXPORTS) \
5554 for flag in $(EXTRA_HOST_FLAGS) ; do \
5555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5556 done; \
5557 echo "Doing maintainer-clean in binutils" ; \
5558 (cd $(HOST_SUBDIR)/binutils && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5561 "RANLIB=$${RANLIB}" \
5562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5563 maintainer-clean) \
5564 || exit 1
5566 @endif binutils
5570 .PHONY: configure-bison maybe-configure-bison
5571 maybe-configure-bison:
5572 @if gcc-bootstrap
5573 configure-bison: stage_current
5574 @endif gcc-bootstrap
5575 @if bison
5576 maybe-configure-bison: configure-bison
5577 configure-bison:
5578 @: $(MAKE); $(unstage)
5579 @r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5583 $(HOST_EXPORTS) \
5584 echo Configuring in $(HOST_SUBDIR)/bison; \
5585 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5586 case $(srcdir) in \
5587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5588 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5590 esac; \
5591 srcdiroption="--srcdir=$${topdir}/bison"; \
5592 libsrcdir="$$s/bison"; \
5593 $(SHELL) $${libsrcdir}/configure \
5594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5595 --target=${target_alias} $${srcdiroption} \
5596 || exit 1
5597 @endif bison
5603 .PHONY: all-bison maybe-all-bison
5604 maybe-all-bison:
5605 @if gcc-bootstrap
5606 all-bison: stage_current
5607 @endif gcc-bootstrap
5608 @if bison
5609 TARGET-bison=all
5610 maybe-all-bison: all-bison
5611 all-bison: configure-bison
5612 @: $(MAKE); $(unstage)
5613 @r=`${PWD_COMMAND}`; export r; \
5614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5615 $(HOST_EXPORTS) \
5616 (cd $(HOST_SUBDIR)/bison && \
5617 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5618 $(TARGET-bison))
5619 @endif bison
5624 .PHONY: check-bison maybe-check-bison
5625 maybe-check-bison:
5626 @if bison
5627 maybe-check-bison: check-bison
5629 # This module is only tested in a native toolchain.
5630 check-bison:
5631 @: $(MAKE); $(unstage)
5632 @if [ '$(host)' = '$(target)' ] ; then \
5633 r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5635 $(HOST_EXPORTS) \
5636 (cd $(HOST_SUBDIR)/bison && \
5637 $(MAKE) $(FLAGS_TO_PASS) check); \
5640 @endif bison
5642 .PHONY: install-bison maybe-install-bison
5643 maybe-install-bison:
5644 @if bison
5645 maybe-install-bison: install-bison
5647 install-bison: installdirs
5648 @: $(MAKE); $(unstage)
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) install)
5655 @endif bison
5657 .PHONY: install-strip-bison maybe-install-strip-bison
5658 maybe-install-strip-bison:
5659 @if bison
5660 maybe-install-strip-bison: install-strip-bison
5662 install-strip-bison: installdirs
5663 @: $(MAKE); $(unstage)
5664 @r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5666 $(HOST_EXPORTS) \
5667 (cd $(HOST_SUBDIR)/bison && \
5668 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5670 @endif bison
5672 # Other targets (info, dvi, pdf, etc.)
5674 .PHONY: maybe-info-bison info-bison
5675 maybe-info-bison:
5676 @if bison
5677 maybe-info-bison: info-bison
5679 info-bison: \
5680 configure-bison
5681 @: $(MAKE); $(unstage)
5682 @[ -f ./bison/Makefile ] || exit 0; \
5683 r=`${PWD_COMMAND}`; export r; \
5684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5685 $(HOST_EXPORTS) \
5686 for flag in $(EXTRA_HOST_FLAGS) ; do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5688 done; \
5689 echo "Doing info in bison" ; \
5690 (cd $(HOST_SUBDIR)/bison && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5695 info) \
5696 || exit 1
5698 @endif bison
5700 .PHONY: maybe-dvi-bison dvi-bison
5701 maybe-dvi-bison:
5702 @if bison
5703 maybe-dvi-bison: dvi-bison
5705 dvi-bison: \
5706 configure-bison
5707 @: $(MAKE); $(unstage)
5708 @[ -f ./bison/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5711 $(HOST_EXPORTS) \
5712 for flag in $(EXTRA_HOST_FLAGS) ; do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5714 done; \
5715 echo "Doing dvi in bison" ; \
5716 (cd $(HOST_SUBDIR)/bison && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5721 dvi) \
5722 || exit 1
5724 @endif bison
5726 .PHONY: maybe-pdf-bison pdf-bison
5727 maybe-pdf-bison:
5728 @if bison
5729 maybe-pdf-bison: pdf-bison
5731 pdf-bison: \
5732 configure-bison
5733 @: $(MAKE); $(unstage)
5734 @[ -f ./bison/Makefile ] || exit 0; \
5735 r=`${PWD_COMMAND}`; export r; \
5736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5737 $(HOST_EXPORTS) \
5738 for flag in $(EXTRA_HOST_FLAGS) ; do \
5739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5740 done; \
5741 echo "Doing pdf in bison" ; \
5742 (cd $(HOST_SUBDIR)/bison && \
5743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5745 "RANLIB=$${RANLIB}" \
5746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5747 pdf) \
5748 || exit 1
5750 @endif bison
5752 .PHONY: maybe-html-bison html-bison
5753 maybe-html-bison:
5754 @if bison
5755 maybe-html-bison: html-bison
5757 html-bison: \
5758 configure-bison
5759 @: $(MAKE); $(unstage)
5760 @[ -f ./bison/Makefile ] || exit 0; \
5761 r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 $(HOST_EXPORTS) \
5764 for flag in $(EXTRA_HOST_FLAGS) ; do \
5765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5766 done; \
5767 echo "Doing html in bison" ; \
5768 (cd $(HOST_SUBDIR)/bison && \
5769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5771 "RANLIB=$${RANLIB}" \
5772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5773 html) \
5774 || exit 1
5776 @endif bison
5778 .PHONY: maybe-TAGS-bison TAGS-bison
5779 maybe-TAGS-bison:
5780 @if bison
5781 maybe-TAGS-bison: TAGS-bison
5783 TAGS-bison: \
5784 configure-bison
5785 @: $(MAKE); $(unstage)
5786 @[ -f ./bison/Makefile ] || exit 0; \
5787 r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5789 $(HOST_EXPORTS) \
5790 for flag in $(EXTRA_HOST_FLAGS) ; do \
5791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5792 done; \
5793 echo "Doing TAGS in bison" ; \
5794 (cd $(HOST_SUBDIR)/bison && \
5795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5797 "RANLIB=$${RANLIB}" \
5798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5799 TAGS) \
5800 || exit 1
5802 @endif bison
5804 .PHONY: maybe-install-info-bison install-info-bison
5805 maybe-install-info-bison:
5806 @if bison
5807 maybe-install-info-bison: install-info-bison
5809 install-info-bison: \
5810 configure-bison \
5811 info-bison
5812 @: $(MAKE); $(unstage)
5813 @[ -f ./bison/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 $(HOST_EXPORTS) \
5817 for flag in $(EXTRA_HOST_FLAGS) ; do \
5818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5819 done; \
5820 echo "Doing install-info in bison" ; \
5821 (cd $(HOST_SUBDIR)/bison && \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5824 "RANLIB=$${RANLIB}" \
5825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5826 install-info) \
5827 || exit 1
5829 @endif bison
5831 .PHONY: maybe-install-pdf-bison install-pdf-bison
5832 maybe-install-pdf-bison:
5833 @if bison
5834 maybe-install-pdf-bison: install-pdf-bison
5836 install-pdf-bison: \
5837 configure-bison \
5838 pdf-bison
5839 @: $(MAKE); $(unstage)
5840 @[ -f ./bison/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(HOST_EXPORTS) \
5844 for flag in $(EXTRA_HOST_FLAGS) ; do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846 done; \
5847 echo "Doing install-pdf in bison" ; \
5848 (cd $(HOST_SUBDIR)/bison && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5853 install-pdf) \
5854 || exit 1
5856 @endif bison
5858 .PHONY: maybe-install-html-bison install-html-bison
5859 maybe-install-html-bison:
5860 @if bison
5861 maybe-install-html-bison: install-html-bison
5863 install-html-bison: \
5864 configure-bison \
5865 html-bison
5866 @: $(MAKE); $(unstage)
5867 @[ -f ./bison/Makefile ] || exit 0; \
5868 r=`${PWD_COMMAND}`; export r; \
5869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5870 $(HOST_EXPORTS) \
5871 for flag in $(EXTRA_HOST_FLAGS) ; do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5873 done; \
5874 echo "Doing install-html in bison" ; \
5875 (cd $(HOST_SUBDIR)/bison && \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5880 install-html) \
5881 || exit 1
5883 @endif bison
5885 .PHONY: maybe-installcheck-bison installcheck-bison
5886 maybe-installcheck-bison:
5887 @if bison
5888 maybe-installcheck-bison: installcheck-bison
5890 installcheck-bison: \
5891 configure-bison
5892 @: $(MAKE); $(unstage)
5893 @[ -f ./bison/Makefile ] || exit 0; \
5894 r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 $(HOST_EXPORTS) \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5899 done; \
5900 echo "Doing installcheck in bison" ; \
5901 (cd $(HOST_SUBDIR)/bison && \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5906 installcheck) \
5907 || exit 1
5909 @endif bison
5911 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5912 maybe-mostlyclean-bison:
5913 @if bison
5914 maybe-mostlyclean-bison: mostlyclean-bison
5916 mostlyclean-bison:
5917 @: $(MAKE); $(unstage)
5918 @[ -f ./bison/Makefile ] || exit 0; \
5919 r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921 $(HOST_EXPORTS) \
5922 for flag in $(EXTRA_HOST_FLAGS) ; do \
5923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5924 done; \
5925 echo "Doing mostlyclean in bison" ; \
5926 (cd $(HOST_SUBDIR)/bison && \
5927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5929 "RANLIB=$${RANLIB}" \
5930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5931 mostlyclean) \
5932 || exit 1
5934 @endif bison
5936 .PHONY: maybe-clean-bison clean-bison
5937 maybe-clean-bison:
5938 @if bison
5939 maybe-clean-bison: clean-bison
5941 clean-bison:
5942 @: $(MAKE); $(unstage)
5943 @[ -f ./bison/Makefile ] || exit 0; \
5944 r=`${PWD_COMMAND}`; export r; \
5945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 $(HOST_EXPORTS) \
5947 for flag in $(EXTRA_HOST_FLAGS) ; do \
5948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5949 done; \
5950 echo "Doing clean in bison" ; \
5951 (cd $(HOST_SUBDIR)/bison && \
5952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5954 "RANLIB=$${RANLIB}" \
5955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5956 clean) \
5957 || exit 1
5959 @endif bison
5961 .PHONY: maybe-distclean-bison distclean-bison
5962 maybe-distclean-bison:
5963 @if bison
5964 maybe-distclean-bison: distclean-bison
5966 distclean-bison:
5967 @: $(MAKE); $(unstage)
5968 @[ -f ./bison/Makefile ] || exit 0; \
5969 r=`${PWD_COMMAND}`; export r; \
5970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5971 $(HOST_EXPORTS) \
5972 for flag in $(EXTRA_HOST_FLAGS) ; do \
5973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5974 done; \
5975 echo "Doing distclean in bison" ; \
5976 (cd $(HOST_SUBDIR)/bison && \
5977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5979 "RANLIB=$${RANLIB}" \
5980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5981 distclean) \
5982 || exit 1
5984 @endif bison
5986 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5987 maybe-maintainer-clean-bison:
5988 @if bison
5989 maybe-maintainer-clean-bison: maintainer-clean-bison
5991 maintainer-clean-bison:
5992 @: $(MAKE); $(unstage)
5993 @[ -f ./bison/Makefile ] || exit 0; \
5994 r=`${PWD_COMMAND}`; export r; \
5995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5996 $(HOST_EXPORTS) \
5997 for flag in $(EXTRA_HOST_FLAGS) ; do \
5998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5999 done; \
6000 echo "Doing maintainer-clean in bison" ; \
6001 (cd $(HOST_SUBDIR)/bison && \
6002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6004 "RANLIB=$${RANLIB}" \
6005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6006 maintainer-clean) \
6007 || exit 1
6009 @endif bison
6013 .PHONY: configure-cgen maybe-configure-cgen
6014 maybe-configure-cgen:
6015 @if gcc-bootstrap
6016 configure-cgen: stage_current
6017 @endif gcc-bootstrap
6018 @if cgen
6019 maybe-configure-cgen: configure-cgen
6020 configure-cgen:
6021 @: $(MAKE); $(unstage)
6022 @r=`${PWD_COMMAND}`; export r; \
6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6026 $(HOST_EXPORTS) \
6027 echo Configuring in $(HOST_SUBDIR)/cgen; \
6028 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6029 case $(srcdir) in \
6030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6031 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6033 esac; \
6034 srcdiroption="--srcdir=$${topdir}/cgen"; \
6035 libsrcdir="$$s/cgen"; \
6036 $(SHELL) $${libsrcdir}/configure \
6037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6038 --target=${target_alias} $${srcdiroption} \
6039 || exit 1
6040 @endif cgen
6046 .PHONY: all-cgen maybe-all-cgen
6047 maybe-all-cgen:
6048 @if gcc-bootstrap
6049 all-cgen: stage_current
6050 @endif gcc-bootstrap
6051 @if cgen
6052 TARGET-cgen=all
6053 maybe-all-cgen: all-cgen
6054 all-cgen: configure-cgen
6055 @: $(MAKE); $(unstage)
6056 @r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058 $(HOST_EXPORTS) \
6059 (cd $(HOST_SUBDIR)/cgen && \
6060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6061 $(TARGET-cgen))
6062 @endif cgen
6067 .PHONY: check-cgen maybe-check-cgen
6068 maybe-check-cgen:
6069 @if cgen
6070 maybe-check-cgen: check-cgen
6072 check-cgen:
6073 @: $(MAKE); $(unstage)
6074 @r=`${PWD_COMMAND}`; export r; \
6075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6076 $(HOST_EXPORTS) \
6077 (cd $(HOST_SUBDIR)/cgen && \
6078 $(MAKE) $(FLAGS_TO_PASS) check)
6080 @endif cgen
6082 .PHONY: install-cgen maybe-install-cgen
6083 maybe-install-cgen:
6084 @if cgen
6085 maybe-install-cgen: install-cgen
6087 install-cgen: installdirs
6088 @: $(MAKE); $(unstage)
6089 @r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6091 $(HOST_EXPORTS) \
6092 (cd $(HOST_SUBDIR)/cgen && \
6093 $(MAKE) $(FLAGS_TO_PASS) install)
6095 @endif cgen
6097 .PHONY: install-strip-cgen maybe-install-strip-cgen
6098 maybe-install-strip-cgen:
6099 @if cgen
6100 maybe-install-strip-cgen: install-strip-cgen
6102 install-strip-cgen: installdirs
6103 @: $(MAKE); $(unstage)
6104 @r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 $(HOST_EXPORTS) \
6107 (cd $(HOST_SUBDIR)/cgen && \
6108 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6110 @endif cgen
6112 # Other targets (info, dvi, pdf, etc.)
6114 .PHONY: maybe-info-cgen info-cgen
6115 maybe-info-cgen:
6116 @if cgen
6117 maybe-info-cgen: info-cgen
6119 info-cgen: \
6120 configure-cgen
6121 @: $(MAKE); $(unstage)
6122 @[ -f ./cgen/Makefile ] || exit 0; \
6123 r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 $(HOST_EXPORTS) \
6126 for flag in $(EXTRA_HOST_FLAGS) ; do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128 done; \
6129 echo "Doing info in cgen" ; \
6130 (cd $(HOST_SUBDIR)/cgen && \
6131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133 "RANLIB=$${RANLIB}" \
6134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6135 info) \
6136 || exit 1
6138 @endif cgen
6140 .PHONY: maybe-dvi-cgen dvi-cgen
6141 maybe-dvi-cgen:
6142 @if cgen
6143 maybe-dvi-cgen: dvi-cgen
6145 dvi-cgen: \
6146 configure-cgen
6147 @: $(MAKE); $(unstage)
6148 @[ -f ./cgen/Makefile ] || exit 0; \
6149 r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 $(HOST_EXPORTS) \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 done; \
6155 echo "Doing dvi in cgen" ; \
6156 (cd $(HOST_SUBDIR)/cgen && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6161 dvi) \
6162 || exit 1
6164 @endif cgen
6166 .PHONY: maybe-pdf-cgen pdf-cgen
6167 maybe-pdf-cgen:
6168 @if cgen
6169 maybe-pdf-cgen: pdf-cgen
6171 pdf-cgen: \
6172 configure-cgen
6173 @: $(MAKE); $(unstage)
6174 @[ -f ./cgen/Makefile ] || exit 0; \
6175 r=`${PWD_COMMAND}`; export r; \
6176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6177 $(HOST_EXPORTS) \
6178 for flag in $(EXTRA_HOST_FLAGS) ; do \
6179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6180 done; \
6181 echo "Doing pdf in cgen" ; \
6182 (cd $(HOST_SUBDIR)/cgen && \
6183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6185 "RANLIB=$${RANLIB}" \
6186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6187 pdf) \
6188 || exit 1
6190 @endif cgen
6192 .PHONY: maybe-html-cgen html-cgen
6193 maybe-html-cgen:
6194 @if cgen
6195 maybe-html-cgen: html-cgen
6197 html-cgen: \
6198 configure-cgen
6199 @: $(MAKE); $(unstage)
6200 @[ -f ./cgen/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing html in cgen" ; \
6208 (cd $(HOST_SUBDIR)/cgen && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6213 html) \
6214 || exit 1
6216 @endif cgen
6218 .PHONY: maybe-TAGS-cgen TAGS-cgen
6219 maybe-TAGS-cgen:
6220 @if cgen
6221 maybe-TAGS-cgen: TAGS-cgen
6223 TAGS-cgen: \
6224 configure-cgen
6225 @: $(MAKE); $(unstage)
6226 @[ -f ./cgen/Makefile ] || exit 0; \
6227 r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 for flag in $(EXTRA_HOST_FLAGS) ; do \
6231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6232 done; \
6233 echo "Doing TAGS in cgen" ; \
6234 (cd $(HOST_SUBDIR)/cgen && \
6235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6237 "RANLIB=$${RANLIB}" \
6238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6239 TAGS) \
6240 || exit 1
6242 @endif cgen
6244 .PHONY: maybe-install-info-cgen install-info-cgen
6245 maybe-install-info-cgen:
6246 @if cgen
6247 maybe-install-info-cgen: install-info-cgen
6249 install-info-cgen: \
6250 configure-cgen \
6251 info-cgen
6252 @: $(MAKE); $(unstage)
6253 @[ -f ./cgen/Makefile ] || exit 0; \
6254 r=`${PWD_COMMAND}`; export r; \
6255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6256 $(HOST_EXPORTS) \
6257 for flag in $(EXTRA_HOST_FLAGS) ; do \
6258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6259 done; \
6260 echo "Doing install-info in cgen" ; \
6261 (cd $(HOST_SUBDIR)/cgen && \
6262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6264 "RANLIB=$${RANLIB}" \
6265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6266 install-info) \
6267 || exit 1
6269 @endif cgen
6271 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6272 maybe-install-pdf-cgen:
6273 @if cgen
6274 maybe-install-pdf-cgen: install-pdf-cgen
6276 install-pdf-cgen: \
6277 configure-cgen \
6278 pdf-cgen
6279 @: $(MAKE); $(unstage)
6280 @[ -f ./cgen/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 for flag in $(EXTRA_HOST_FLAGS) ; do \
6285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6286 done; \
6287 echo "Doing install-pdf in cgen" ; \
6288 (cd $(HOST_SUBDIR)/cgen && \
6289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6291 "RANLIB=$${RANLIB}" \
6292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6293 install-pdf) \
6294 || exit 1
6296 @endif cgen
6298 .PHONY: maybe-install-html-cgen install-html-cgen
6299 maybe-install-html-cgen:
6300 @if cgen
6301 maybe-install-html-cgen: install-html-cgen
6303 install-html-cgen: \
6304 configure-cgen \
6305 html-cgen
6306 @: $(MAKE); $(unstage)
6307 @[ -f ./cgen/Makefile ] || exit 0; \
6308 r=`${PWD_COMMAND}`; export r; \
6309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6310 $(HOST_EXPORTS) \
6311 for flag in $(EXTRA_HOST_FLAGS) ; do \
6312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6313 done; \
6314 echo "Doing install-html in cgen" ; \
6315 (cd $(HOST_SUBDIR)/cgen && \
6316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6318 "RANLIB=$${RANLIB}" \
6319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6320 install-html) \
6321 || exit 1
6323 @endif cgen
6325 .PHONY: maybe-installcheck-cgen installcheck-cgen
6326 maybe-installcheck-cgen:
6327 @if cgen
6328 maybe-installcheck-cgen: installcheck-cgen
6330 installcheck-cgen: \
6331 configure-cgen
6332 @: $(MAKE); $(unstage)
6333 @[ -f ./cgen/Makefile ] || exit 0; \
6334 r=`${PWD_COMMAND}`; export r; \
6335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6336 $(HOST_EXPORTS) \
6337 for flag in $(EXTRA_HOST_FLAGS) ; do \
6338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6339 done; \
6340 echo "Doing installcheck in cgen" ; \
6341 (cd $(HOST_SUBDIR)/cgen && \
6342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6344 "RANLIB=$${RANLIB}" \
6345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6346 installcheck) \
6347 || exit 1
6349 @endif cgen
6351 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6352 maybe-mostlyclean-cgen:
6353 @if cgen
6354 maybe-mostlyclean-cgen: mostlyclean-cgen
6356 mostlyclean-cgen:
6357 @: $(MAKE); $(unstage)
6358 @[ -f ./cgen/Makefile ] || exit 0; \
6359 r=`${PWD_COMMAND}`; export r; \
6360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6361 $(HOST_EXPORTS) \
6362 for flag in $(EXTRA_HOST_FLAGS) ; do \
6363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6364 done; \
6365 echo "Doing mostlyclean in cgen" ; \
6366 (cd $(HOST_SUBDIR)/cgen && \
6367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6369 "RANLIB=$${RANLIB}" \
6370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6371 mostlyclean) \
6372 || exit 1
6374 @endif cgen
6376 .PHONY: maybe-clean-cgen clean-cgen
6377 maybe-clean-cgen:
6378 @if cgen
6379 maybe-clean-cgen: clean-cgen
6381 clean-cgen:
6382 @: $(MAKE); $(unstage)
6383 @[ -f ./cgen/Makefile ] || exit 0; \
6384 r=`${PWD_COMMAND}`; export r; \
6385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6386 $(HOST_EXPORTS) \
6387 for flag in $(EXTRA_HOST_FLAGS) ; do \
6388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6389 done; \
6390 echo "Doing clean in cgen" ; \
6391 (cd $(HOST_SUBDIR)/cgen && \
6392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6394 "RANLIB=$${RANLIB}" \
6395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6396 clean) \
6397 || exit 1
6399 @endif cgen
6401 .PHONY: maybe-distclean-cgen distclean-cgen
6402 maybe-distclean-cgen:
6403 @if cgen
6404 maybe-distclean-cgen: distclean-cgen
6406 distclean-cgen:
6407 @: $(MAKE); $(unstage)
6408 @[ -f ./cgen/Makefile ] || exit 0; \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 $(HOST_EXPORTS) \
6412 for flag in $(EXTRA_HOST_FLAGS) ; do \
6413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6414 done; \
6415 echo "Doing distclean in cgen" ; \
6416 (cd $(HOST_SUBDIR)/cgen && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6419 "RANLIB=$${RANLIB}" \
6420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6421 distclean) \
6422 || exit 1
6424 @endif cgen
6426 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6427 maybe-maintainer-clean-cgen:
6428 @if cgen
6429 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6431 maintainer-clean-cgen:
6432 @: $(MAKE); $(unstage)
6433 @[ -f ./cgen/Makefile ] || exit 0; \
6434 r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6436 $(HOST_EXPORTS) \
6437 for flag in $(EXTRA_HOST_FLAGS) ; do \
6438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6439 done; \
6440 echo "Doing maintainer-clean in cgen" ; \
6441 (cd $(HOST_SUBDIR)/cgen && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6444 "RANLIB=$${RANLIB}" \
6445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6446 maintainer-clean) \
6447 || exit 1
6449 @endif cgen
6453 .PHONY: configure-dejagnu maybe-configure-dejagnu
6454 maybe-configure-dejagnu:
6455 @if gcc-bootstrap
6456 configure-dejagnu: stage_current
6457 @endif gcc-bootstrap
6458 @if dejagnu
6459 maybe-configure-dejagnu: configure-dejagnu
6460 configure-dejagnu:
6461 @: $(MAKE); $(unstage)
6462 @r=`${PWD_COMMAND}`; export r; \
6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6466 $(HOST_EXPORTS) \
6467 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6468 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6469 case $(srcdir) in \
6470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6471 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6473 esac; \
6474 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6475 libsrcdir="$$s/dejagnu"; \
6476 $(SHELL) $${libsrcdir}/configure \
6477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6478 --target=${target_alias} $${srcdiroption} \
6479 || exit 1
6480 @endif dejagnu
6486 .PHONY: all-dejagnu maybe-all-dejagnu
6487 maybe-all-dejagnu:
6488 @if gcc-bootstrap
6489 all-dejagnu: stage_current
6490 @endif gcc-bootstrap
6491 @if dejagnu
6492 TARGET-dejagnu=all
6493 maybe-all-dejagnu: all-dejagnu
6494 all-dejagnu: configure-dejagnu
6495 @: $(MAKE); $(unstage)
6496 @r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 $(HOST_EXPORTS) \
6499 (cd $(HOST_SUBDIR)/dejagnu && \
6500 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6501 $(TARGET-dejagnu))
6502 @endif dejagnu
6507 .PHONY: check-dejagnu maybe-check-dejagnu
6508 maybe-check-dejagnu:
6509 @if dejagnu
6510 maybe-check-dejagnu: check-dejagnu
6512 check-dejagnu:
6513 @: $(MAKE); $(unstage)
6514 @r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 (cd $(HOST_SUBDIR)/dejagnu && \
6518 $(MAKE) $(FLAGS_TO_PASS) check)
6520 @endif dejagnu
6522 .PHONY: install-dejagnu maybe-install-dejagnu
6523 maybe-install-dejagnu:
6524 @if dejagnu
6525 maybe-install-dejagnu: install-dejagnu
6527 install-dejagnu: installdirs
6528 @: $(MAKE); $(unstage)
6529 @r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(HOST_EXPORTS) \
6532 (cd $(HOST_SUBDIR)/dejagnu && \
6533 $(MAKE) $(FLAGS_TO_PASS) install)
6535 @endif dejagnu
6537 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6538 maybe-install-strip-dejagnu:
6539 @if dejagnu
6540 maybe-install-strip-dejagnu: install-strip-dejagnu
6542 install-strip-dejagnu: installdirs
6543 @: $(MAKE); $(unstage)
6544 @r=`${PWD_COMMAND}`; export r; \
6545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6546 $(HOST_EXPORTS) \
6547 (cd $(HOST_SUBDIR)/dejagnu && \
6548 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6550 @endif dejagnu
6552 # Other targets (info, dvi, pdf, etc.)
6554 .PHONY: maybe-info-dejagnu info-dejagnu
6555 maybe-info-dejagnu:
6556 @if dejagnu
6557 maybe-info-dejagnu: info-dejagnu
6559 info-dejagnu: \
6560 configure-dejagnu
6561 @: $(MAKE); $(unstage)
6562 @[ -f ./dejagnu/Makefile ] || exit 0; \
6563 r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 $(HOST_EXPORTS) \
6566 for flag in $(EXTRA_HOST_FLAGS) ; do \
6567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6568 done; \
6569 echo "Doing info in dejagnu" ; \
6570 (cd $(HOST_SUBDIR)/dejagnu && \
6571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6573 "RANLIB=$${RANLIB}" \
6574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6575 info) \
6576 || exit 1
6578 @endif dejagnu
6580 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6581 maybe-dvi-dejagnu:
6582 @if dejagnu
6583 maybe-dvi-dejagnu: dvi-dejagnu
6585 dvi-dejagnu: \
6586 configure-dejagnu
6587 @: $(MAKE); $(unstage)
6588 @[ -f ./dejagnu/Makefile ] || exit 0; \
6589 r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(HOST_EXPORTS) \
6592 for flag in $(EXTRA_HOST_FLAGS) ; do \
6593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6594 done; \
6595 echo "Doing dvi in dejagnu" ; \
6596 (cd $(HOST_SUBDIR)/dejagnu && \
6597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6599 "RANLIB=$${RANLIB}" \
6600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6601 dvi) \
6602 || exit 1
6604 @endif dejagnu
6606 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6607 maybe-pdf-dejagnu:
6608 @if dejagnu
6609 maybe-pdf-dejagnu: pdf-dejagnu
6611 pdf-dejagnu: \
6612 configure-dejagnu
6613 @: $(MAKE); $(unstage)
6614 @[ -f ./dejagnu/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing pdf in dejagnu" ; \
6622 (cd $(HOST_SUBDIR)/dejagnu && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6627 pdf) \
6628 || exit 1
6630 @endif dejagnu
6632 .PHONY: maybe-html-dejagnu html-dejagnu
6633 maybe-html-dejagnu:
6634 @if dejagnu
6635 maybe-html-dejagnu: html-dejagnu
6637 html-dejagnu: \
6638 configure-dejagnu
6639 @: $(MAKE); $(unstage)
6640 @[ -f ./dejagnu/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing html in dejagnu" ; \
6648 (cd $(HOST_SUBDIR)/dejagnu && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6653 html) \
6654 || exit 1
6656 @endif dejagnu
6658 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6659 maybe-TAGS-dejagnu:
6660 @if dejagnu
6661 maybe-TAGS-dejagnu: TAGS-dejagnu
6663 TAGS-dejagnu: \
6664 configure-dejagnu
6665 @: $(MAKE); $(unstage)
6666 @[ -f ./dejagnu/Makefile ] || exit 0; \
6667 r=`${PWD_COMMAND}`; export r; \
6668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6669 $(HOST_EXPORTS) \
6670 for flag in $(EXTRA_HOST_FLAGS) ; do \
6671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6672 done; \
6673 echo "Doing TAGS in dejagnu" ; \
6674 (cd $(HOST_SUBDIR)/dejagnu && \
6675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6677 "RANLIB=$${RANLIB}" \
6678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6679 TAGS) \
6680 || exit 1
6682 @endif dejagnu
6684 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6685 maybe-install-info-dejagnu:
6686 @if dejagnu
6687 maybe-install-info-dejagnu: install-info-dejagnu
6689 install-info-dejagnu: \
6690 configure-dejagnu \
6691 info-dejagnu
6692 @: $(MAKE); $(unstage)
6693 @[ -f ./dejagnu/Makefile ] || exit 0; \
6694 r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 $(HOST_EXPORTS) \
6697 for flag in $(EXTRA_HOST_FLAGS) ; do \
6698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6699 done; \
6700 echo "Doing install-info in dejagnu" ; \
6701 (cd $(HOST_SUBDIR)/dejagnu && \
6702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6704 "RANLIB=$${RANLIB}" \
6705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6706 install-info) \
6707 || exit 1
6709 @endif dejagnu
6711 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6712 maybe-install-pdf-dejagnu:
6713 @if dejagnu
6714 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6716 install-pdf-dejagnu: \
6717 configure-dejagnu \
6718 pdf-dejagnu
6719 @: $(MAKE); $(unstage)
6720 @[ -f ./dejagnu/Makefile ] || exit 0; \
6721 r=`${PWD_COMMAND}`; export r; \
6722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6723 $(HOST_EXPORTS) \
6724 for flag in $(EXTRA_HOST_FLAGS) ; do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6726 done; \
6727 echo "Doing install-pdf in dejagnu" ; \
6728 (cd $(HOST_SUBDIR)/dejagnu && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6733 install-pdf) \
6734 || exit 1
6736 @endif dejagnu
6738 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6739 maybe-install-html-dejagnu:
6740 @if dejagnu
6741 maybe-install-html-dejagnu: install-html-dejagnu
6743 install-html-dejagnu: \
6744 configure-dejagnu \
6745 html-dejagnu
6746 @: $(MAKE); $(unstage)
6747 @[ -f ./dejagnu/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(HOST_EXPORTS) \
6751 for flag in $(EXTRA_HOST_FLAGS) ; do \
6752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6753 done; \
6754 echo "Doing install-html in dejagnu" ; \
6755 (cd $(HOST_SUBDIR)/dejagnu && \
6756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6758 "RANLIB=$${RANLIB}" \
6759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6760 install-html) \
6761 || exit 1
6763 @endif dejagnu
6765 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6766 maybe-installcheck-dejagnu:
6767 @if dejagnu
6768 maybe-installcheck-dejagnu: installcheck-dejagnu
6770 installcheck-dejagnu: \
6771 configure-dejagnu
6772 @: $(MAKE); $(unstage)
6773 @[ -f ./dejagnu/Makefile ] || exit 0; \
6774 r=`${PWD_COMMAND}`; export r; \
6775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 $(HOST_EXPORTS) \
6777 for flag in $(EXTRA_HOST_FLAGS) ; do \
6778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6779 done; \
6780 echo "Doing installcheck in dejagnu" ; \
6781 (cd $(HOST_SUBDIR)/dejagnu && \
6782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6784 "RANLIB=$${RANLIB}" \
6785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6786 installcheck) \
6787 || exit 1
6789 @endif dejagnu
6791 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6792 maybe-mostlyclean-dejagnu:
6793 @if dejagnu
6794 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6796 mostlyclean-dejagnu:
6797 @: $(MAKE); $(unstage)
6798 @[ -f ./dejagnu/Makefile ] || exit 0; \
6799 r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6801 $(HOST_EXPORTS) \
6802 for flag in $(EXTRA_HOST_FLAGS) ; do \
6803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6804 done; \
6805 echo "Doing mostlyclean in dejagnu" ; \
6806 (cd $(HOST_SUBDIR)/dejagnu && \
6807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6809 "RANLIB=$${RANLIB}" \
6810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6811 mostlyclean) \
6812 || exit 1
6814 @endif dejagnu
6816 .PHONY: maybe-clean-dejagnu clean-dejagnu
6817 maybe-clean-dejagnu:
6818 @if dejagnu
6819 maybe-clean-dejagnu: clean-dejagnu
6821 clean-dejagnu:
6822 @: $(MAKE); $(unstage)
6823 @[ -f ./dejagnu/Makefile ] || exit 0; \
6824 r=`${PWD_COMMAND}`; export r; \
6825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6826 $(HOST_EXPORTS) \
6827 for flag in $(EXTRA_HOST_FLAGS) ; do \
6828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6829 done; \
6830 echo "Doing clean in dejagnu" ; \
6831 (cd $(HOST_SUBDIR)/dejagnu && \
6832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6834 "RANLIB=$${RANLIB}" \
6835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6836 clean) \
6837 || exit 1
6839 @endif dejagnu
6841 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6842 maybe-distclean-dejagnu:
6843 @if dejagnu
6844 maybe-distclean-dejagnu: distclean-dejagnu
6846 distclean-dejagnu:
6847 @: $(MAKE); $(unstage)
6848 @[ -f ./dejagnu/Makefile ] || exit 0; \
6849 r=`${PWD_COMMAND}`; export r; \
6850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6851 $(HOST_EXPORTS) \
6852 for flag in $(EXTRA_HOST_FLAGS) ; do \
6853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6854 done; \
6855 echo "Doing distclean in dejagnu" ; \
6856 (cd $(HOST_SUBDIR)/dejagnu && \
6857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6859 "RANLIB=$${RANLIB}" \
6860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6861 distclean) \
6862 || exit 1
6864 @endif dejagnu
6866 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6867 maybe-maintainer-clean-dejagnu:
6868 @if dejagnu
6869 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6871 maintainer-clean-dejagnu:
6872 @: $(MAKE); $(unstage)
6873 @[ -f ./dejagnu/Makefile ] || exit 0; \
6874 r=`${PWD_COMMAND}`; export r; \
6875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6876 $(HOST_EXPORTS) \
6877 for flag in $(EXTRA_HOST_FLAGS) ; do \
6878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6879 done; \
6880 echo "Doing maintainer-clean in dejagnu" ; \
6881 (cd $(HOST_SUBDIR)/dejagnu && \
6882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6884 "RANLIB=$${RANLIB}" \
6885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6886 maintainer-clean) \
6887 || exit 1
6889 @endif dejagnu
6893 .PHONY: configure-etc maybe-configure-etc
6894 maybe-configure-etc:
6895 @if gcc-bootstrap
6896 configure-etc: stage_current
6897 @endif gcc-bootstrap
6898 @if etc
6899 maybe-configure-etc: configure-etc
6900 configure-etc:
6901 @: $(MAKE); $(unstage)
6902 @r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6906 $(HOST_EXPORTS) \
6907 echo Configuring in $(HOST_SUBDIR)/etc; \
6908 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6909 case $(srcdir) in \
6910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6911 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6913 esac; \
6914 srcdiroption="--srcdir=$${topdir}/etc"; \
6915 libsrcdir="$$s/etc"; \
6916 $(SHELL) $${libsrcdir}/configure \
6917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6918 --target=${target_alias} $${srcdiroption} \
6919 || exit 1
6920 @endif etc
6926 .PHONY: all-etc maybe-all-etc
6927 maybe-all-etc:
6928 @if gcc-bootstrap
6929 all-etc: stage_current
6930 @endif gcc-bootstrap
6931 @if etc
6932 TARGET-etc=all
6933 maybe-all-etc: all-etc
6934 all-etc: configure-etc
6935 @: $(MAKE); $(unstage)
6936 @r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 $(HOST_EXPORTS) \
6939 (cd $(HOST_SUBDIR)/etc && \
6940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6941 $(TARGET-etc))
6942 @endif etc
6947 .PHONY: check-etc maybe-check-etc
6948 maybe-check-etc:
6949 @if etc
6950 maybe-check-etc: check-etc
6952 check-etc:
6953 @: $(MAKE); $(unstage)
6954 @r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(HOST_EXPORTS) \
6957 (cd $(HOST_SUBDIR)/etc && \
6958 $(MAKE) $(FLAGS_TO_PASS) check)
6960 @endif etc
6962 .PHONY: install-etc maybe-install-etc
6963 maybe-install-etc:
6964 @if etc
6965 maybe-install-etc: install-etc
6967 install-etc: installdirs
6968 @: $(MAKE); $(unstage)
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6971 $(HOST_EXPORTS) \
6972 (cd $(HOST_SUBDIR)/etc && \
6973 $(MAKE) $(FLAGS_TO_PASS) install)
6975 @endif etc
6977 .PHONY: install-strip-etc maybe-install-strip-etc
6978 maybe-install-strip-etc:
6979 @if etc
6980 maybe-install-strip-etc: install-strip-etc
6982 install-strip-etc: installdirs
6983 @: $(MAKE); $(unstage)
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(HOST_EXPORTS) \
6987 (cd $(HOST_SUBDIR)/etc && \
6988 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6990 @endif etc
6992 # Other targets (info, dvi, pdf, etc.)
6994 .PHONY: maybe-info-etc info-etc
6995 maybe-info-etc:
6996 @if etc
6997 maybe-info-etc: info-etc
6999 info-etc: \
7000 configure-etc
7001 @: $(MAKE); $(unstage)
7002 @[ -f ./etc/Makefile ] || exit 0; \
7003 r=`${PWD_COMMAND}`; export r; \
7004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7005 $(HOST_EXPORTS) \
7006 for flag in $(EXTRA_HOST_FLAGS) ; do \
7007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7008 done; \
7009 echo "Doing info in etc" ; \
7010 (cd $(HOST_SUBDIR)/etc && \
7011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7013 "RANLIB=$${RANLIB}" \
7014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7015 info) \
7016 || exit 1
7018 @endif etc
7020 .PHONY: maybe-dvi-etc dvi-etc
7021 maybe-dvi-etc:
7022 @if etc
7023 maybe-dvi-etc: dvi-etc
7025 dvi-etc: \
7026 configure-etc
7027 @: $(MAKE); $(unstage)
7028 @[ -f ./etc/Makefile ] || exit 0; \
7029 r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031 $(HOST_EXPORTS) \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7034 done; \
7035 echo "Doing dvi in etc" ; \
7036 (cd $(HOST_SUBDIR)/etc && \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7041 dvi) \
7042 || exit 1
7044 @endif etc
7046 .PHONY: maybe-pdf-etc pdf-etc
7047 maybe-pdf-etc:
7048 @if etc
7049 maybe-pdf-etc: pdf-etc
7051 pdf-etc: \
7052 configure-etc
7053 @: $(MAKE); $(unstage)
7054 @[ -f ./etc/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 $(HOST_EXPORTS) \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 done; \
7061 echo "Doing pdf in etc" ; \
7062 (cd $(HOST_SUBDIR)/etc && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7067 pdf) \
7068 || exit 1
7070 @endif etc
7072 .PHONY: maybe-html-etc html-etc
7073 maybe-html-etc:
7074 @if etc
7075 maybe-html-etc: html-etc
7077 html-etc: \
7078 configure-etc
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./etc/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing html in etc" ; \
7088 (cd $(HOST_SUBDIR)/etc && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7093 html) \
7094 || exit 1
7096 @endif etc
7098 .PHONY: maybe-TAGS-etc TAGS-etc
7099 maybe-TAGS-etc:
7100 @if etc
7101 maybe-TAGS-etc: TAGS-etc
7103 TAGS-etc: \
7104 configure-etc
7105 @: $(MAKE); $(unstage)
7106 @[ -f ./etc/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 $(HOST_EXPORTS) \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7112 done; \
7113 echo "Doing TAGS in etc" ; \
7114 (cd $(HOST_SUBDIR)/etc && \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7119 TAGS) \
7120 || exit 1
7122 @endif etc
7124 .PHONY: maybe-install-info-etc install-info-etc
7125 maybe-install-info-etc:
7126 @if etc
7127 maybe-install-info-etc: install-info-etc
7129 install-info-etc: \
7130 configure-etc \
7131 info-etc
7132 @: $(MAKE); $(unstage)
7133 @[ -f ./etc/Makefile ] || exit 0; \
7134 r=`${PWD_COMMAND}`; export r; \
7135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7136 $(HOST_EXPORTS) \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing install-info in etc" ; \
7141 (cd $(HOST_SUBDIR)/etc && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7146 install-info) \
7147 || exit 1
7149 @endif etc
7151 .PHONY: maybe-install-pdf-etc install-pdf-etc
7152 maybe-install-pdf-etc:
7153 @if etc
7154 maybe-install-pdf-etc: install-pdf-etc
7156 install-pdf-etc: \
7157 configure-etc \
7158 pdf-etc
7159 @: $(MAKE); $(unstage)
7160 @[ -f ./etc/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing install-pdf in etc" ; \
7168 (cd $(HOST_SUBDIR)/etc && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7173 install-pdf) \
7174 || exit 1
7176 @endif etc
7178 .PHONY: maybe-install-html-etc install-html-etc
7179 maybe-install-html-etc:
7180 @if etc
7181 maybe-install-html-etc: install-html-etc
7183 install-html-etc: \
7184 configure-etc \
7185 html-etc
7186 @: $(MAKE); $(unstage)
7187 @[ -f ./etc/Makefile ] || exit 0; \
7188 r=`${PWD_COMMAND}`; export r; \
7189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7190 $(HOST_EXPORTS) \
7191 for flag in $(EXTRA_HOST_FLAGS) ; do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 done; \
7194 echo "Doing install-html in etc" ; \
7195 (cd $(HOST_SUBDIR)/etc && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7200 install-html) \
7201 || exit 1
7203 @endif etc
7205 .PHONY: maybe-installcheck-etc installcheck-etc
7206 maybe-installcheck-etc:
7207 @if etc
7208 maybe-installcheck-etc: installcheck-etc
7210 installcheck-etc: \
7211 configure-etc
7212 @: $(MAKE); $(unstage)
7213 @[ -f ./etc/Makefile ] || exit 0; \
7214 r=`${PWD_COMMAND}`; export r; \
7215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7216 $(HOST_EXPORTS) \
7217 for flag in $(EXTRA_HOST_FLAGS) ; do \
7218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7219 done; \
7220 echo "Doing installcheck in etc" ; \
7221 (cd $(HOST_SUBDIR)/etc && \
7222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7224 "RANLIB=$${RANLIB}" \
7225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7226 installcheck) \
7227 || exit 1
7229 @endif etc
7231 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7232 maybe-mostlyclean-etc:
7233 @if etc
7234 maybe-mostlyclean-etc: mostlyclean-etc
7236 mostlyclean-etc:
7237 @: $(MAKE); $(unstage)
7238 @[ -f ./etc/Makefile ] || exit 0; \
7239 r=`${PWD_COMMAND}`; export r; \
7240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7241 $(HOST_EXPORTS) \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7244 done; \
7245 echo "Doing mostlyclean in etc" ; \
7246 (cd $(HOST_SUBDIR)/etc && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7251 mostlyclean) \
7252 || exit 1
7254 @endif etc
7256 .PHONY: maybe-clean-etc clean-etc
7257 maybe-clean-etc:
7258 @if etc
7259 maybe-clean-etc: clean-etc
7261 clean-etc:
7262 @: $(MAKE); $(unstage)
7263 @[ -f ./etc/Makefile ] || exit 0; \
7264 r=`${PWD_COMMAND}`; export r; \
7265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7266 $(HOST_EXPORTS) \
7267 for flag in $(EXTRA_HOST_FLAGS) ; do \
7268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7269 done; \
7270 echo "Doing clean in etc" ; \
7271 (cd $(HOST_SUBDIR)/etc && \
7272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7274 "RANLIB=$${RANLIB}" \
7275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7276 clean) \
7277 || exit 1
7279 @endif etc
7281 .PHONY: maybe-distclean-etc distclean-etc
7282 maybe-distclean-etc:
7283 @if etc
7284 maybe-distclean-etc: distclean-etc
7286 distclean-etc:
7287 @: $(MAKE); $(unstage)
7288 @[ -f ./etc/Makefile ] || exit 0; \
7289 r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291 $(HOST_EXPORTS) \
7292 for flag in $(EXTRA_HOST_FLAGS) ; do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7294 done; \
7295 echo "Doing distclean in etc" ; \
7296 (cd $(HOST_SUBDIR)/etc && \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7301 distclean) \
7302 || exit 1
7304 @endif etc
7306 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7307 maybe-maintainer-clean-etc:
7308 @if etc
7309 maybe-maintainer-clean-etc: maintainer-clean-etc
7311 maintainer-clean-etc:
7312 @: $(MAKE); $(unstage)
7313 @[ -f ./etc/Makefile ] || exit 0; \
7314 r=`${PWD_COMMAND}`; export r; \
7315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7316 $(HOST_EXPORTS) \
7317 for flag in $(EXTRA_HOST_FLAGS) ; do \
7318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7319 done; \
7320 echo "Doing maintainer-clean in etc" ; \
7321 (cd $(HOST_SUBDIR)/etc && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7324 "RANLIB=$${RANLIB}" \
7325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7326 maintainer-clean) \
7327 || exit 1
7329 @endif etc
7333 .PHONY: configure-fastjar maybe-configure-fastjar
7334 maybe-configure-fastjar:
7335 @if gcc-bootstrap
7336 configure-fastjar: stage_current
7337 @endif gcc-bootstrap
7338 @if fastjar
7339 maybe-configure-fastjar: configure-fastjar
7340 configure-fastjar:
7341 @: $(MAKE); $(unstage)
7342 @r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7346 $(HOST_EXPORTS) \
7347 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7348 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7349 case $(srcdir) in \
7350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7351 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7353 esac; \
7354 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7355 libsrcdir="$$s/fastjar"; \
7356 $(SHELL) $${libsrcdir}/configure \
7357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7358 --target=${target_alias} $${srcdiroption} \
7359 || exit 1
7360 @endif fastjar
7366 .PHONY: all-fastjar maybe-all-fastjar
7367 maybe-all-fastjar:
7368 @if gcc-bootstrap
7369 all-fastjar: stage_current
7370 @endif gcc-bootstrap
7371 @if fastjar
7372 TARGET-fastjar=all
7373 maybe-all-fastjar: all-fastjar
7374 all-fastjar: configure-fastjar
7375 @: $(MAKE); $(unstage)
7376 @r=`${PWD_COMMAND}`; export r; \
7377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7378 $(HOST_EXPORTS) \
7379 (cd $(HOST_SUBDIR)/fastjar && \
7380 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7381 $(TARGET-fastjar))
7382 @endif fastjar
7387 .PHONY: check-fastjar maybe-check-fastjar
7388 maybe-check-fastjar:
7389 @if fastjar
7390 maybe-check-fastjar: check-fastjar
7392 # This module is only tested in a native toolchain.
7393 check-fastjar:
7394 @: $(MAKE); $(unstage)
7395 @if [ '$(host)' = '$(target)' ] ; then \
7396 r=`${PWD_COMMAND}`; export r; \
7397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7398 $(HOST_EXPORTS) \
7399 (cd $(HOST_SUBDIR)/fastjar && \
7400 $(MAKE) $(FLAGS_TO_PASS) check); \
7403 @endif fastjar
7405 .PHONY: install-fastjar maybe-install-fastjar
7406 maybe-install-fastjar:
7407 @if fastjar
7408 maybe-install-fastjar: install-fastjar
7410 install-fastjar: installdirs
7411 @: $(MAKE); $(unstage)
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) install)
7418 @endif fastjar
7420 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7421 maybe-install-strip-fastjar:
7422 @if fastjar
7423 maybe-install-strip-fastjar: install-strip-fastjar
7425 install-strip-fastjar: installdirs
7426 @: $(MAKE); $(unstage)
7427 @r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 $(HOST_EXPORTS) \
7430 (cd $(HOST_SUBDIR)/fastjar && \
7431 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7433 @endif fastjar
7435 # Other targets (info, dvi, pdf, etc.)
7437 .PHONY: maybe-info-fastjar info-fastjar
7438 maybe-info-fastjar:
7439 @if fastjar
7440 maybe-info-fastjar: info-fastjar
7442 info-fastjar: \
7443 configure-fastjar
7444 @: $(MAKE); $(unstage)
7445 @[ -f ./fastjar/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 for flag in $(EXTRA_HOST_FLAGS) ; do \
7450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7451 done; \
7452 echo "Doing info in fastjar" ; \
7453 (cd $(HOST_SUBDIR)/fastjar && \
7454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456 "RANLIB=$${RANLIB}" \
7457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7458 info) \
7459 || exit 1
7461 @endif fastjar
7463 .PHONY: maybe-dvi-fastjar dvi-fastjar
7464 maybe-dvi-fastjar:
7465 @if fastjar
7466 maybe-dvi-fastjar: dvi-fastjar
7468 dvi-fastjar: \
7469 configure-fastjar
7470 @: $(MAKE); $(unstage)
7471 @[ -f ./fastjar/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 for flag in $(EXTRA_HOST_FLAGS) ; do \
7476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7477 done; \
7478 echo "Doing dvi in fastjar" ; \
7479 (cd $(HOST_SUBDIR)/fastjar && \
7480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482 "RANLIB=$${RANLIB}" \
7483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7484 dvi) \
7485 || exit 1
7487 @endif fastjar
7489 .PHONY: maybe-pdf-fastjar pdf-fastjar
7490 maybe-pdf-fastjar:
7491 @if fastjar
7492 maybe-pdf-fastjar: pdf-fastjar
7494 pdf-fastjar: \
7495 configure-fastjar
7496 @: $(MAKE); $(unstage)
7497 @[ -f ./fastjar/Makefile ] || exit 0; \
7498 r=`${PWD_COMMAND}`; export r; \
7499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7500 $(HOST_EXPORTS) \
7501 for flag in $(EXTRA_HOST_FLAGS) ; do \
7502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7503 done; \
7504 echo "Doing pdf in fastjar" ; \
7505 (cd $(HOST_SUBDIR)/fastjar && \
7506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7508 "RANLIB=$${RANLIB}" \
7509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7510 pdf) \
7511 || exit 1
7513 @endif fastjar
7515 .PHONY: maybe-html-fastjar html-fastjar
7516 maybe-html-fastjar:
7517 @if fastjar
7518 maybe-html-fastjar: html-fastjar
7520 html-fastjar: \
7521 configure-fastjar
7522 @: $(MAKE); $(unstage)
7523 @[ -f ./fastjar/Makefile ] || exit 0; \
7524 r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526 $(HOST_EXPORTS) \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7529 done; \
7530 echo "Doing html in fastjar" ; \
7531 (cd $(HOST_SUBDIR)/fastjar && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7536 html) \
7537 || exit 1
7539 @endif fastjar
7541 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7542 maybe-TAGS-fastjar:
7543 @if fastjar
7544 maybe-TAGS-fastjar: TAGS-fastjar
7546 TAGS-fastjar: \
7547 configure-fastjar
7548 @: $(MAKE); $(unstage)
7549 @[ -f ./fastjar/Makefile ] || exit 0; \
7550 r=`${PWD_COMMAND}`; export r; \
7551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552 $(HOST_EXPORTS) \
7553 for flag in $(EXTRA_HOST_FLAGS) ; do \
7554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 done; \
7556 echo "Doing TAGS in fastjar" ; \
7557 (cd $(HOST_SUBDIR)/fastjar && \
7558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7560 "RANLIB=$${RANLIB}" \
7561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7562 TAGS) \
7563 || exit 1
7565 @endif fastjar
7567 .PHONY: maybe-install-info-fastjar install-info-fastjar
7568 maybe-install-info-fastjar:
7569 @if fastjar
7570 maybe-install-info-fastjar: install-info-fastjar
7572 install-info-fastjar: \
7573 configure-fastjar \
7574 info-fastjar
7575 @: $(MAKE); $(unstage)
7576 @[ -f ./fastjar/Makefile ] || exit 0; \
7577 r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579 $(HOST_EXPORTS) \
7580 for flag in $(EXTRA_HOST_FLAGS) ; do \
7581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7582 done; \
7583 echo "Doing install-info in fastjar" ; \
7584 (cd $(HOST_SUBDIR)/fastjar && \
7585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587 "RANLIB=$${RANLIB}" \
7588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7589 install-info) \
7590 || exit 1
7592 @endif fastjar
7594 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7595 maybe-install-pdf-fastjar:
7596 @if fastjar
7597 maybe-install-pdf-fastjar: install-pdf-fastjar
7599 install-pdf-fastjar: \
7600 configure-fastjar \
7601 pdf-fastjar
7602 @: $(MAKE); $(unstage)
7603 @[ -f ./fastjar/Makefile ] || exit 0; \
7604 r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7606 $(HOST_EXPORTS) \
7607 for flag in $(EXTRA_HOST_FLAGS) ; do \
7608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7609 done; \
7610 echo "Doing install-pdf in fastjar" ; \
7611 (cd $(HOST_SUBDIR)/fastjar && \
7612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7614 "RANLIB=$${RANLIB}" \
7615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7616 install-pdf) \
7617 || exit 1
7619 @endif fastjar
7621 .PHONY: maybe-install-html-fastjar install-html-fastjar
7622 maybe-install-html-fastjar:
7623 @if fastjar
7624 maybe-install-html-fastjar: install-html-fastjar
7626 install-html-fastjar: \
7627 configure-fastjar \
7628 html-fastjar
7629 @: $(MAKE); $(unstage)
7630 @[ -f ./fastjar/Makefile ] || exit 0; \
7631 r=`${PWD_COMMAND}`; export r; \
7632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7633 $(HOST_EXPORTS) \
7634 for flag in $(EXTRA_HOST_FLAGS) ; do \
7635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7636 done; \
7637 echo "Doing install-html in fastjar" ; \
7638 (cd $(HOST_SUBDIR)/fastjar && \
7639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7641 "RANLIB=$${RANLIB}" \
7642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7643 install-html) \
7644 || exit 1
7646 @endif fastjar
7648 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7649 maybe-installcheck-fastjar:
7650 @if fastjar
7651 maybe-installcheck-fastjar: installcheck-fastjar
7653 installcheck-fastjar: \
7654 configure-fastjar
7655 @: $(MAKE); $(unstage)
7656 @[ -f ./fastjar/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7659 $(HOST_EXPORTS) \
7660 for flag in $(EXTRA_HOST_FLAGS) ; do \
7661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7662 done; \
7663 echo "Doing installcheck in fastjar" ; \
7664 (cd $(HOST_SUBDIR)/fastjar && \
7665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7667 "RANLIB=$${RANLIB}" \
7668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7669 installcheck) \
7670 || exit 1
7672 @endif fastjar
7674 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7675 maybe-mostlyclean-fastjar:
7676 @if fastjar
7677 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7679 mostlyclean-fastjar:
7680 @: $(MAKE); $(unstage)
7681 @[ -f ./fastjar/Makefile ] || exit 0; \
7682 r=`${PWD_COMMAND}`; export r; \
7683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7684 $(HOST_EXPORTS) \
7685 for flag in $(EXTRA_HOST_FLAGS) ; do \
7686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7687 done; \
7688 echo "Doing mostlyclean in fastjar" ; \
7689 (cd $(HOST_SUBDIR)/fastjar && \
7690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7692 "RANLIB=$${RANLIB}" \
7693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7694 mostlyclean) \
7695 || exit 1
7697 @endif fastjar
7699 .PHONY: maybe-clean-fastjar clean-fastjar
7700 maybe-clean-fastjar:
7701 @if fastjar
7702 maybe-clean-fastjar: clean-fastjar
7704 clean-fastjar:
7705 @: $(MAKE); $(unstage)
7706 @[ -f ./fastjar/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7709 $(HOST_EXPORTS) \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7712 done; \
7713 echo "Doing clean in fastjar" ; \
7714 (cd $(HOST_SUBDIR)/fastjar && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7719 clean) \
7720 || exit 1
7722 @endif fastjar
7724 .PHONY: maybe-distclean-fastjar distclean-fastjar
7725 maybe-distclean-fastjar:
7726 @if fastjar
7727 maybe-distclean-fastjar: distclean-fastjar
7729 distclean-fastjar:
7730 @: $(MAKE); $(unstage)
7731 @[ -f ./fastjar/Makefile ] || exit 0; \
7732 r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7734 $(HOST_EXPORTS) \
7735 for flag in $(EXTRA_HOST_FLAGS) ; do \
7736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7737 done; \
7738 echo "Doing distclean in fastjar" ; \
7739 (cd $(HOST_SUBDIR)/fastjar && \
7740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7742 "RANLIB=$${RANLIB}" \
7743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7744 distclean) \
7745 || exit 1
7747 @endif fastjar
7749 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7750 maybe-maintainer-clean-fastjar:
7751 @if fastjar
7752 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7754 maintainer-clean-fastjar:
7755 @: $(MAKE); $(unstage)
7756 @[ -f ./fastjar/Makefile ] || exit 0; \
7757 r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 $(HOST_EXPORTS) \
7760 for flag in $(EXTRA_HOST_FLAGS) ; do \
7761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7762 done; \
7763 echo "Doing maintainer-clean in fastjar" ; \
7764 (cd $(HOST_SUBDIR)/fastjar && \
7765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7767 "RANLIB=$${RANLIB}" \
7768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7769 maintainer-clean) \
7770 || exit 1
7772 @endif fastjar
7776 .PHONY: configure-fixincludes maybe-configure-fixincludes
7777 maybe-configure-fixincludes:
7778 @if gcc-bootstrap
7779 configure-fixincludes: stage_current
7780 @endif gcc-bootstrap
7781 @if fixincludes
7782 maybe-configure-fixincludes: configure-fixincludes
7783 configure-fixincludes:
7784 @: $(MAKE); $(unstage)
7785 @r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7789 $(HOST_EXPORTS) \
7790 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7791 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7792 case $(srcdir) in \
7793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7794 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7796 esac; \
7797 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7798 libsrcdir="$$s/fixincludes"; \
7799 $(SHELL) $${libsrcdir}/configure \
7800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7801 --target=${target_alias} $${srcdiroption} \
7802 || exit 1
7803 @endif fixincludes
7809 .PHONY: all-fixincludes maybe-all-fixincludes
7810 maybe-all-fixincludes:
7811 @if gcc-bootstrap
7812 all-fixincludes: stage_current
7813 @endif gcc-bootstrap
7814 @if fixincludes
7815 TARGET-fixincludes=all
7816 maybe-all-fixincludes: all-fixincludes
7817 all-fixincludes: configure-fixincludes
7818 @: $(MAKE); $(unstage)
7819 @r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 (cd $(HOST_SUBDIR)/fixincludes && \
7823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7824 $(TARGET-fixincludes))
7825 @endif fixincludes
7830 .PHONY: check-fixincludes maybe-check-fixincludes
7831 maybe-check-fixincludes:
7832 @if fixincludes
7833 maybe-check-fixincludes: check-fixincludes
7835 check-fixincludes:
7836 @: $(MAKE); $(unstage)
7837 @r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7839 $(HOST_EXPORTS) \
7840 (cd $(HOST_SUBDIR)/fixincludes && \
7841 $(MAKE) $(FLAGS_TO_PASS) check)
7843 @endif fixincludes
7845 .PHONY: install-fixincludes maybe-install-fixincludes
7846 maybe-install-fixincludes:
7847 @if fixincludes
7848 maybe-install-fixincludes: install-fixincludes
7850 install-fixincludes: installdirs
7851 @: $(MAKE); $(unstage)
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 $(HOST_EXPORTS) \
7855 (cd $(HOST_SUBDIR)/fixincludes && \
7856 $(MAKE) $(FLAGS_TO_PASS) install)
7858 @endif fixincludes
7860 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7861 maybe-install-strip-fixincludes:
7862 @if fixincludes
7863 maybe-install-strip-fixincludes: install-strip-fixincludes
7865 install-strip-fixincludes: installdirs
7866 @: $(MAKE); $(unstage)
7867 @r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7869 $(HOST_EXPORTS) \
7870 (cd $(HOST_SUBDIR)/fixincludes && \
7871 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7873 @endif fixincludes
7875 # Other targets (info, dvi, pdf, etc.)
7877 .PHONY: maybe-info-fixincludes info-fixincludes
7878 maybe-info-fixincludes:
7879 @if fixincludes
7880 maybe-info-fixincludes: info-fixincludes
7882 info-fixincludes: \
7883 configure-fixincludes
7884 @: $(MAKE); $(unstage)
7885 @[ -f ./fixincludes/Makefile ] || exit 0; \
7886 r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 $(HOST_EXPORTS) \
7889 for flag in $(EXTRA_HOST_FLAGS) ; do \
7890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7891 done; \
7892 echo "Doing info in fixincludes" ; \
7893 (cd $(HOST_SUBDIR)/fixincludes && \
7894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7896 "RANLIB=$${RANLIB}" \
7897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7898 info) \
7899 || exit 1
7901 @endif fixincludes
7903 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7904 maybe-dvi-fixincludes:
7905 @if fixincludes
7906 maybe-dvi-fixincludes: dvi-fixincludes
7908 dvi-fixincludes: \
7909 configure-fixincludes
7910 @: $(MAKE); $(unstage)
7911 @[ -f ./fixincludes/Makefile ] || exit 0; \
7912 r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7914 $(HOST_EXPORTS) \
7915 for flag in $(EXTRA_HOST_FLAGS) ; do \
7916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7917 done; \
7918 echo "Doing dvi in fixincludes" ; \
7919 (cd $(HOST_SUBDIR)/fixincludes && \
7920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7922 "RANLIB=$${RANLIB}" \
7923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7924 dvi) \
7925 || exit 1
7927 @endif fixincludes
7929 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7930 maybe-pdf-fixincludes:
7931 @if fixincludes
7932 maybe-pdf-fixincludes: pdf-fixincludes
7934 pdf-fixincludes: \
7935 configure-fixincludes
7936 @: $(MAKE); $(unstage)
7937 @[ -f ./fixincludes/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 done; \
7944 echo "Doing pdf in fixincludes" ; \
7945 (cd $(HOST_SUBDIR)/fixincludes && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7950 pdf) \
7951 || exit 1
7953 @endif fixincludes
7955 .PHONY: maybe-html-fixincludes html-fixincludes
7956 maybe-html-fixincludes:
7957 @if fixincludes
7958 maybe-html-fixincludes: html-fixincludes
7960 html-fixincludes: \
7961 configure-fixincludes
7962 @: $(MAKE); $(unstage)
7963 @[ -f ./fixincludes/Makefile ] || exit 0; \
7964 r=`${PWD_COMMAND}`; export r; \
7965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 $(HOST_EXPORTS) \
7967 for flag in $(EXTRA_HOST_FLAGS) ; do \
7968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7969 done; \
7970 echo "Doing html in fixincludes" ; \
7971 (cd $(HOST_SUBDIR)/fixincludes && \
7972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7974 "RANLIB=$${RANLIB}" \
7975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7976 html) \
7977 || exit 1
7979 @endif fixincludes
7981 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7982 maybe-TAGS-fixincludes:
7983 @if fixincludes
7984 maybe-TAGS-fixincludes: TAGS-fixincludes
7986 # fixincludes doesn't support TAGS.
7987 TAGS-fixincludes:
7989 @endif fixincludes
7991 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7992 maybe-install-info-fixincludes:
7993 @if fixincludes
7994 maybe-install-info-fixincludes: install-info-fixincludes
7996 install-info-fixincludes: \
7997 configure-fixincludes \
7998 info-fixincludes
7999 @: $(MAKE); $(unstage)
8000 @[ -f ./fixincludes/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8003 $(HOST_EXPORTS) \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8006 done; \
8007 echo "Doing install-info in fixincludes" ; \
8008 (cd $(HOST_SUBDIR)/fixincludes && \
8009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8011 "RANLIB=$${RANLIB}" \
8012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8013 install-info) \
8014 || exit 1
8016 @endif fixincludes
8018 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8019 maybe-install-pdf-fixincludes:
8020 @if fixincludes
8021 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8023 install-pdf-fixincludes: \
8024 configure-fixincludes \
8025 pdf-fixincludes
8026 @: $(MAKE); $(unstage)
8027 @[ -f ./fixincludes/Makefile ] || exit 0; \
8028 r=`${PWD_COMMAND}`; export r; \
8029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8030 $(HOST_EXPORTS) \
8031 for flag in $(EXTRA_HOST_FLAGS) ; do \
8032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8033 done; \
8034 echo "Doing install-pdf in fixincludes" ; \
8035 (cd $(HOST_SUBDIR)/fixincludes && \
8036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8038 "RANLIB=$${RANLIB}" \
8039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8040 install-pdf) \
8041 || exit 1
8043 @endif fixincludes
8045 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8046 maybe-install-html-fixincludes:
8047 @if fixincludes
8048 maybe-install-html-fixincludes: install-html-fixincludes
8050 install-html-fixincludes: \
8051 configure-fixincludes \
8052 html-fixincludes
8053 @: $(MAKE); $(unstage)
8054 @[ -f ./fixincludes/Makefile ] || exit 0; \
8055 r=`${PWD_COMMAND}`; export r; \
8056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8057 $(HOST_EXPORTS) \
8058 for flag in $(EXTRA_HOST_FLAGS) ; do \
8059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8060 done; \
8061 echo "Doing install-html in fixincludes" ; \
8062 (cd $(HOST_SUBDIR)/fixincludes && \
8063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8065 "RANLIB=$${RANLIB}" \
8066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8067 install-html) \
8068 || exit 1
8070 @endif fixincludes
8072 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8073 maybe-installcheck-fixincludes:
8074 @if fixincludes
8075 maybe-installcheck-fixincludes: installcheck-fixincludes
8077 installcheck-fixincludes: \
8078 configure-fixincludes
8079 @: $(MAKE); $(unstage)
8080 @[ -f ./fixincludes/Makefile ] || exit 0; \
8081 r=`${PWD_COMMAND}`; export r; \
8082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8083 $(HOST_EXPORTS) \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8086 done; \
8087 echo "Doing installcheck in fixincludes" ; \
8088 (cd $(HOST_SUBDIR)/fixincludes && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8093 installcheck) \
8094 || exit 1
8096 @endif fixincludes
8098 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8099 maybe-mostlyclean-fixincludes:
8100 @if fixincludes
8101 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8103 mostlyclean-fixincludes:
8104 @: $(MAKE); $(unstage)
8105 @[ -f ./fixincludes/Makefile ] || exit 0; \
8106 r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108 $(HOST_EXPORTS) \
8109 for flag in $(EXTRA_HOST_FLAGS) ; do \
8110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8111 done; \
8112 echo "Doing mostlyclean in fixincludes" ; \
8113 (cd $(HOST_SUBDIR)/fixincludes && \
8114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8116 "RANLIB=$${RANLIB}" \
8117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8118 mostlyclean) \
8119 || exit 1
8121 @endif fixincludes
8123 .PHONY: maybe-clean-fixincludes clean-fixincludes
8124 maybe-clean-fixincludes:
8125 @if fixincludes
8126 maybe-clean-fixincludes: clean-fixincludes
8128 clean-fixincludes:
8129 @: $(MAKE); $(unstage)
8130 @[ -f ./fixincludes/Makefile ] || exit 0; \
8131 r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133 $(HOST_EXPORTS) \
8134 for flag in $(EXTRA_HOST_FLAGS) ; do \
8135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8136 done; \
8137 echo "Doing clean in fixincludes" ; \
8138 (cd $(HOST_SUBDIR)/fixincludes && \
8139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8141 "RANLIB=$${RANLIB}" \
8142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8143 clean) \
8144 || exit 1
8146 @endif fixincludes
8148 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8149 maybe-distclean-fixincludes:
8150 @if fixincludes
8151 maybe-distclean-fixincludes: distclean-fixincludes
8153 distclean-fixincludes:
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./fixincludes/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8161 done; \
8162 echo "Doing distclean in fixincludes" ; \
8163 (cd $(HOST_SUBDIR)/fixincludes && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8168 distclean) \
8169 || exit 1
8171 @endif fixincludes
8173 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8174 maybe-maintainer-clean-fixincludes:
8175 @if fixincludes
8176 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8178 maintainer-clean-fixincludes:
8179 @: $(MAKE); $(unstage)
8180 @[ -f ./fixincludes/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 $(HOST_EXPORTS) \
8184 for flag in $(EXTRA_HOST_FLAGS) ; do \
8185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8186 done; \
8187 echo "Doing maintainer-clean in fixincludes" ; \
8188 (cd $(HOST_SUBDIR)/fixincludes && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8191 "RANLIB=$${RANLIB}" \
8192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8193 maintainer-clean) \
8194 || exit 1
8196 @endif fixincludes
8200 .PHONY: configure-flex maybe-configure-flex
8201 maybe-configure-flex:
8202 @if gcc-bootstrap
8203 configure-flex: stage_current
8204 @endif gcc-bootstrap
8205 @if flex
8206 maybe-configure-flex: configure-flex
8207 configure-flex:
8208 @: $(MAKE); $(unstage)
8209 @r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8213 $(HOST_EXPORTS) \
8214 echo Configuring in $(HOST_SUBDIR)/flex; \
8215 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8216 case $(srcdir) in \
8217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8218 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8220 esac; \
8221 srcdiroption="--srcdir=$${topdir}/flex"; \
8222 libsrcdir="$$s/flex"; \
8223 $(SHELL) $${libsrcdir}/configure \
8224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8225 --target=${target_alias} $${srcdiroption} \
8226 || exit 1
8227 @endif flex
8233 .PHONY: all-flex maybe-all-flex
8234 maybe-all-flex:
8235 @if gcc-bootstrap
8236 all-flex: stage_current
8237 @endif gcc-bootstrap
8238 @if flex
8239 TARGET-flex=all
8240 maybe-all-flex: all-flex
8241 all-flex: configure-flex
8242 @: $(MAKE); $(unstage)
8243 @r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 $(HOST_EXPORTS) \
8246 (cd $(HOST_SUBDIR)/flex && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8248 $(TARGET-flex))
8249 @endif flex
8254 .PHONY: check-flex maybe-check-flex
8255 maybe-check-flex:
8256 @if flex
8257 maybe-check-flex: check-flex
8259 # This module is only tested in a native toolchain.
8260 check-flex:
8261 @: $(MAKE); $(unstage)
8262 @if [ '$(host)' = '$(target)' ] ; then \
8263 r=`${PWD_COMMAND}`; export r; \
8264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8265 $(HOST_EXPORTS) \
8266 (cd $(HOST_SUBDIR)/flex && \
8267 $(MAKE) $(FLAGS_TO_PASS) check); \
8270 @endif flex
8272 .PHONY: install-flex maybe-install-flex
8273 maybe-install-flex:
8274 @if flex
8275 maybe-install-flex: install-flex
8277 install-flex: installdirs
8278 @: $(MAKE); $(unstage)
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) install)
8285 @endif flex
8287 .PHONY: install-strip-flex maybe-install-strip-flex
8288 maybe-install-strip-flex:
8289 @if flex
8290 maybe-install-strip-flex: install-strip-flex
8292 install-strip-flex: installdirs
8293 @: $(MAKE); $(unstage)
8294 @r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 (cd $(HOST_SUBDIR)/flex && \
8298 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8300 @endif flex
8302 # Other targets (info, dvi, pdf, etc.)
8304 .PHONY: maybe-info-flex info-flex
8305 maybe-info-flex:
8306 @if flex
8307 maybe-info-flex: info-flex
8309 info-flex: \
8310 configure-flex
8311 @: $(MAKE); $(unstage)
8312 @[ -f ./flex/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 $(HOST_EXPORTS) \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8318 done; \
8319 echo "Doing info in flex" ; \
8320 (cd $(HOST_SUBDIR)/flex && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8325 info) \
8326 || exit 1
8328 @endif flex
8330 .PHONY: maybe-dvi-flex dvi-flex
8331 maybe-dvi-flex:
8332 @if flex
8333 maybe-dvi-flex: dvi-flex
8335 dvi-flex: \
8336 configure-flex
8337 @: $(MAKE); $(unstage)
8338 @[ -f ./flex/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(HOST_EXPORTS) \
8342 for flag in $(EXTRA_HOST_FLAGS) ; do \
8343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8344 done; \
8345 echo "Doing dvi in flex" ; \
8346 (cd $(HOST_SUBDIR)/flex && \
8347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8349 "RANLIB=$${RANLIB}" \
8350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8351 dvi) \
8352 || exit 1
8354 @endif flex
8356 .PHONY: maybe-pdf-flex pdf-flex
8357 maybe-pdf-flex:
8358 @if flex
8359 maybe-pdf-flex: pdf-flex
8361 pdf-flex: \
8362 configure-flex
8363 @: $(MAKE); $(unstage)
8364 @[ -f ./flex/Makefile ] || exit 0; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8370 done; \
8371 echo "Doing pdf in flex" ; \
8372 (cd $(HOST_SUBDIR)/flex && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8377 pdf) \
8378 || exit 1
8380 @endif flex
8382 .PHONY: maybe-html-flex html-flex
8383 maybe-html-flex:
8384 @if flex
8385 maybe-html-flex: html-flex
8387 html-flex: \
8388 configure-flex
8389 @: $(MAKE); $(unstage)
8390 @[ -f ./flex/Makefile ] || exit 0; \
8391 r=`${PWD_COMMAND}`; export r; \
8392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8393 $(HOST_EXPORTS) \
8394 for flag in $(EXTRA_HOST_FLAGS) ; do \
8395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8396 done; \
8397 echo "Doing html in flex" ; \
8398 (cd $(HOST_SUBDIR)/flex && \
8399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8401 "RANLIB=$${RANLIB}" \
8402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8403 html) \
8404 || exit 1
8406 @endif flex
8408 .PHONY: maybe-TAGS-flex TAGS-flex
8409 maybe-TAGS-flex:
8410 @if flex
8411 maybe-TAGS-flex: TAGS-flex
8413 TAGS-flex: \
8414 configure-flex
8415 @: $(MAKE); $(unstage)
8416 @[ -f ./flex/Makefile ] || exit 0; \
8417 r=`${PWD_COMMAND}`; export r; \
8418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8419 $(HOST_EXPORTS) \
8420 for flag in $(EXTRA_HOST_FLAGS) ; do \
8421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8422 done; \
8423 echo "Doing TAGS in flex" ; \
8424 (cd $(HOST_SUBDIR)/flex && \
8425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427 "RANLIB=$${RANLIB}" \
8428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8429 TAGS) \
8430 || exit 1
8432 @endif flex
8434 .PHONY: maybe-install-info-flex install-info-flex
8435 maybe-install-info-flex:
8436 @if flex
8437 maybe-install-info-flex: install-info-flex
8439 install-info-flex: \
8440 configure-flex \
8441 info-flex
8442 @: $(MAKE); $(unstage)
8443 @[ -f ./flex/Makefile ] || exit 0; \
8444 r=`${PWD_COMMAND}`; export r; \
8445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8446 $(HOST_EXPORTS) \
8447 for flag in $(EXTRA_HOST_FLAGS) ; do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 done; \
8450 echo "Doing install-info in flex" ; \
8451 (cd $(HOST_SUBDIR)/flex && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8456 install-info) \
8457 || exit 1
8459 @endif flex
8461 .PHONY: maybe-install-pdf-flex install-pdf-flex
8462 maybe-install-pdf-flex:
8463 @if flex
8464 maybe-install-pdf-flex: install-pdf-flex
8466 install-pdf-flex: \
8467 configure-flex \
8468 pdf-flex
8469 @: $(MAKE); $(unstage)
8470 @[ -f ./flex/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473 $(HOST_EXPORTS) \
8474 for flag in $(EXTRA_HOST_FLAGS) ; do \
8475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8476 done; \
8477 echo "Doing install-pdf in flex" ; \
8478 (cd $(HOST_SUBDIR)/flex && \
8479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8481 "RANLIB=$${RANLIB}" \
8482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8483 install-pdf) \
8484 || exit 1
8486 @endif flex
8488 .PHONY: maybe-install-html-flex install-html-flex
8489 maybe-install-html-flex:
8490 @if flex
8491 maybe-install-html-flex: install-html-flex
8493 install-html-flex: \
8494 configure-flex \
8495 html-flex
8496 @: $(MAKE); $(unstage)
8497 @[ -f ./flex/Makefile ] || exit 0; \
8498 r=`${PWD_COMMAND}`; export r; \
8499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8500 $(HOST_EXPORTS) \
8501 for flag in $(EXTRA_HOST_FLAGS) ; do \
8502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8503 done; \
8504 echo "Doing install-html in flex" ; \
8505 (cd $(HOST_SUBDIR)/flex && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8508 "RANLIB=$${RANLIB}" \
8509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8510 install-html) \
8511 || exit 1
8513 @endif flex
8515 .PHONY: maybe-installcheck-flex installcheck-flex
8516 maybe-installcheck-flex:
8517 @if flex
8518 maybe-installcheck-flex: installcheck-flex
8520 installcheck-flex: \
8521 configure-flex
8522 @: $(MAKE); $(unstage)
8523 @[ -f ./flex/Makefile ] || exit 0; \
8524 r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 $(HOST_EXPORTS) \
8527 for flag in $(EXTRA_HOST_FLAGS) ; do \
8528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8529 done; \
8530 echo "Doing installcheck in flex" ; \
8531 (cd $(HOST_SUBDIR)/flex && \
8532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8534 "RANLIB=$${RANLIB}" \
8535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8536 installcheck) \
8537 || exit 1
8539 @endif flex
8541 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8542 maybe-mostlyclean-flex:
8543 @if flex
8544 maybe-mostlyclean-flex: mostlyclean-flex
8546 mostlyclean-flex:
8547 @: $(MAKE); $(unstage)
8548 @[ -f ./flex/Makefile ] || exit 0; \
8549 r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 $(HOST_EXPORTS) \
8552 for flag in $(EXTRA_HOST_FLAGS) ; do \
8553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8554 done; \
8555 echo "Doing mostlyclean in flex" ; \
8556 (cd $(HOST_SUBDIR)/flex && \
8557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8559 "RANLIB=$${RANLIB}" \
8560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8561 mostlyclean) \
8562 || exit 1
8564 @endif flex
8566 .PHONY: maybe-clean-flex clean-flex
8567 maybe-clean-flex:
8568 @if flex
8569 maybe-clean-flex: clean-flex
8571 clean-flex:
8572 @: $(MAKE); $(unstage)
8573 @[ -f ./flex/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 $(HOST_EXPORTS) \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 done; \
8580 echo "Doing clean in flex" ; \
8581 (cd $(HOST_SUBDIR)/flex && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8586 clean) \
8587 || exit 1
8589 @endif flex
8591 .PHONY: maybe-distclean-flex distclean-flex
8592 maybe-distclean-flex:
8593 @if flex
8594 maybe-distclean-flex: distclean-flex
8596 distclean-flex:
8597 @: $(MAKE); $(unstage)
8598 @[ -f ./flex/Makefile ] || exit 0; \
8599 r=`${PWD_COMMAND}`; export r; \
8600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8601 $(HOST_EXPORTS) \
8602 for flag in $(EXTRA_HOST_FLAGS) ; do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing distclean in flex" ; \
8606 (cd $(HOST_SUBDIR)/flex && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8611 distclean) \
8612 || exit 1
8614 @endif flex
8616 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8617 maybe-maintainer-clean-flex:
8618 @if flex
8619 maybe-maintainer-clean-flex: maintainer-clean-flex
8621 maintainer-clean-flex:
8622 @: $(MAKE); $(unstage)
8623 @[ -f ./flex/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(HOST_EXPORTS) \
8627 for flag in $(EXTRA_HOST_FLAGS) ; do \
8628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8629 done; \
8630 echo "Doing maintainer-clean in flex" ; \
8631 (cd $(HOST_SUBDIR)/flex && \
8632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634 "RANLIB=$${RANLIB}" \
8635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8636 maintainer-clean) \
8637 || exit 1
8639 @endif flex
8643 .PHONY: configure-gas maybe-configure-gas
8644 maybe-configure-gas:
8645 @if gcc-bootstrap
8646 configure-gas: stage_current
8647 @endif gcc-bootstrap
8648 @if gas
8649 maybe-configure-gas: configure-gas
8650 configure-gas:
8651 @r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8655 $(HOST_EXPORTS) \
8656 echo Configuring in $(HOST_SUBDIR)/gas; \
8657 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8658 case $(srcdir) in \
8659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8660 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8662 esac; \
8663 srcdiroption="--srcdir=$${topdir}/gas"; \
8664 libsrcdir="$$s/gas"; \
8665 $(SHELL) $${libsrcdir}/configure \
8666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8667 --target=${target_alias} $${srcdiroption} \
8668 || exit 1
8669 @endif gas
8673 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8674 maybe-configure-stage1-gas:
8675 @if gas-bootstrap
8676 maybe-configure-stage1-gas: configure-stage1-gas
8677 configure-stage1-gas:
8678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8680 @r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 TFLAGS="$(STAGE1_TFLAGS)"; \
8683 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8684 $(HOST_EXPORTS) \
8685 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8686 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8687 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8688 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8690 cd $(HOST_SUBDIR)/gas || exit 1; \
8691 case $(srcdir) in \
8692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8693 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8695 esac; \
8696 srcdiroption="--srcdir=$${topdir}/gas"; \
8697 libsrcdir="$$s/gas"; \
8698 $(SHELL) $${libsrcdir}/configure \
8699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8700 --target=${target_alias} $${srcdiroption} \
8701 $(STAGE1_CONFIGURE_FLAGS)
8702 @endif gas-bootstrap
8704 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8705 maybe-configure-stage2-gas:
8706 @if gas-bootstrap
8707 maybe-configure-stage2-gas: configure-stage2-gas
8708 configure-stage2-gas:
8709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8711 @r=`${PWD_COMMAND}`; export r; \
8712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 TFLAGS="$(STAGE2_TFLAGS)"; \
8714 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8715 $(HOST_EXPORTS) \
8716 $(POSTSTAGE1_HOST_EXPORTS) \
8717 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8718 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8719 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8720 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8722 cd $(HOST_SUBDIR)/gas || exit 1; \
8723 case $(srcdir) in \
8724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8725 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8727 esac; \
8728 srcdiroption="--srcdir=$${topdir}/gas"; \
8729 libsrcdir="$$s/gas"; \
8730 $(SHELL) $${libsrcdir}/configure \
8731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8732 --target=${target_alias} $${srcdiroption} \
8733 --with-build-libsubdir=$(HOST_SUBDIR) \
8734 $(STAGE2_CONFIGURE_FLAGS)
8735 @endif gas-bootstrap
8737 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8738 maybe-configure-stage3-gas:
8739 @if gas-bootstrap
8740 maybe-configure-stage3-gas: configure-stage3-gas
8741 configure-stage3-gas:
8742 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8744 @r=`${PWD_COMMAND}`; export r; \
8745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8746 TFLAGS="$(STAGE3_TFLAGS)"; \
8747 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8748 $(HOST_EXPORTS) \
8749 $(POSTSTAGE1_HOST_EXPORTS) \
8750 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8751 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8752 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8753 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8755 cd $(HOST_SUBDIR)/gas || exit 1; \
8756 case $(srcdir) in \
8757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8758 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8760 esac; \
8761 srcdiroption="--srcdir=$${topdir}/gas"; \
8762 libsrcdir="$$s/gas"; \
8763 $(SHELL) $${libsrcdir}/configure \
8764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8765 --target=${target_alias} $${srcdiroption} \
8766 --with-build-libsubdir=$(HOST_SUBDIR) \
8767 $(STAGE3_CONFIGURE_FLAGS)
8768 @endif gas-bootstrap
8770 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8771 maybe-configure-stage4-gas:
8772 @if gas-bootstrap
8773 maybe-configure-stage4-gas: configure-stage4-gas
8774 configure-stage4-gas:
8775 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8777 @r=`${PWD_COMMAND}`; export r; \
8778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8779 TFLAGS="$(STAGE4_TFLAGS)"; \
8780 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8781 $(HOST_EXPORTS) \
8782 $(POSTSTAGE1_HOST_EXPORTS) \
8783 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8784 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8785 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8786 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8788 cd $(HOST_SUBDIR)/gas || exit 1; \
8789 case $(srcdir) in \
8790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8791 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8793 esac; \
8794 srcdiroption="--srcdir=$${topdir}/gas"; \
8795 libsrcdir="$$s/gas"; \
8796 $(SHELL) $${libsrcdir}/configure \
8797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8798 --target=${target_alias} $${srcdiroption} \
8799 --with-build-libsubdir=$(HOST_SUBDIR) \
8800 $(STAGE4_CONFIGURE_FLAGS)
8801 @endif gas-bootstrap
8803 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8804 maybe-configure-stageprofile-gas:
8805 @if gas-bootstrap
8806 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8807 configure-stageprofile-gas:
8808 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8810 @r=`${PWD_COMMAND}`; export r; \
8811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8812 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8813 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8814 $(HOST_EXPORTS) \
8815 $(POSTSTAGE1_HOST_EXPORTS) \
8816 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8817 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8818 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8819 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8821 cd $(HOST_SUBDIR)/gas || exit 1; \
8822 case $(srcdir) in \
8823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8824 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8826 esac; \
8827 srcdiroption="--srcdir=$${topdir}/gas"; \
8828 libsrcdir="$$s/gas"; \
8829 $(SHELL) $${libsrcdir}/configure \
8830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8831 --target=${target_alias} $${srcdiroption} \
8832 --with-build-libsubdir=$(HOST_SUBDIR) \
8833 $(STAGEprofile_CONFIGURE_FLAGS)
8834 @endif gas-bootstrap
8836 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8837 maybe-configure-stagefeedback-gas:
8838 @if gas-bootstrap
8839 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8840 configure-stagefeedback-gas:
8841 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8843 @r=`${PWD_COMMAND}`; export r; \
8844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8845 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8846 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8847 $(HOST_EXPORTS) \
8848 $(POSTSTAGE1_HOST_EXPORTS) \
8849 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8850 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8851 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8852 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8854 cd $(HOST_SUBDIR)/gas || exit 1; \
8855 case $(srcdir) in \
8856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8857 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8859 esac; \
8860 srcdiroption="--srcdir=$${topdir}/gas"; \
8861 libsrcdir="$$s/gas"; \
8862 $(SHELL) $${libsrcdir}/configure \
8863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8864 --target=${target_alias} $${srcdiroption} \
8865 --with-build-libsubdir=$(HOST_SUBDIR) \
8866 $(STAGEfeedback_CONFIGURE_FLAGS)
8867 @endif gas-bootstrap
8873 .PHONY: all-gas maybe-all-gas
8874 maybe-all-gas:
8875 @if gcc-bootstrap
8876 all-gas: stage_current
8877 @endif gcc-bootstrap
8878 @if gas
8879 TARGET-gas=all
8880 maybe-all-gas: all-gas
8881 all-gas: configure-gas
8882 @r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8884 $(HOST_EXPORTS) \
8885 (cd $(HOST_SUBDIR)/gas && \
8886 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8887 $(TARGET-gas))
8888 @endif gas
8892 .PHONY: all-stage1-gas maybe-all-stage1-gas
8893 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8894 maybe-all-stage1-gas:
8895 maybe-clean-stage1-gas:
8896 @if gas-bootstrap
8897 maybe-all-stage1-gas: all-stage1-gas
8898 all-stage1: all-stage1-gas
8899 TARGET-stage1-gas = $(TARGET-gas)
8900 all-stage1-gas: configure-stage1-gas
8901 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8902 @r=`${PWD_COMMAND}`; export r; \
8903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8904 TFLAGS="$(STAGE1_TFLAGS)"; \
8905 $(HOST_EXPORTS) \
8906 cd $(HOST_SUBDIR)/gas && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8908 CFLAGS="$(STAGE1_CFLAGS)" \
8909 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8910 LIBCFLAGS="$(LIBCFLAGS)" \
8911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8914 $(EXTRA_HOST_FLAGS) \
8915 $(STAGE1_FLAGS_TO_PASS) \
8916 TFLAGS="$(STAGE1_TFLAGS)" \
8917 $(TARGET-stage1-gas)
8919 maybe-clean-stage1-gas: clean-stage1-gas
8920 clean-stage1: clean-stage1-gas
8921 clean-stage1-gas:
8922 @if [ $(current_stage) = stage1 ]; then \
8923 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8924 else \
8925 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8926 $(MAKE) stage1-start; \
8927 fi; \
8928 cd $(HOST_SUBDIR)/gas && \
8929 $(MAKE) $(EXTRA_HOST_FLAGS) \
8930 $(STAGE1_FLAGS_TO_PASS) clean
8931 @endif gas-bootstrap
8934 .PHONY: all-stage2-gas maybe-all-stage2-gas
8935 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8936 maybe-all-stage2-gas:
8937 maybe-clean-stage2-gas:
8938 @if gas-bootstrap
8939 maybe-all-stage2-gas: all-stage2-gas
8940 all-stage2: all-stage2-gas
8941 TARGET-stage2-gas = $(TARGET-gas)
8942 all-stage2-gas: configure-stage2-gas
8943 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8944 @r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 TFLAGS="$(STAGE2_TFLAGS)"; \
8947 $(HOST_EXPORTS) \
8948 $(POSTSTAGE1_HOST_EXPORTS) \
8949 cd $(HOST_SUBDIR)/gas && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8951 CFLAGS="$(STAGE2_CFLAGS)" \
8952 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8953 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8958 TFLAGS="$(STAGE2_TFLAGS)" \
8959 $(TARGET-stage2-gas)
8961 maybe-clean-stage2-gas: clean-stage2-gas
8962 clean-stage2: clean-stage2-gas
8963 clean-stage2-gas:
8964 @if [ $(current_stage) = stage2 ]; then \
8965 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8966 else \
8967 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8968 $(MAKE) stage2-start; \
8969 fi; \
8970 cd $(HOST_SUBDIR)/gas && \
8971 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8972 @endif gas-bootstrap
8975 .PHONY: all-stage3-gas maybe-all-stage3-gas
8976 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8977 maybe-all-stage3-gas:
8978 maybe-clean-stage3-gas:
8979 @if gas-bootstrap
8980 maybe-all-stage3-gas: all-stage3-gas
8981 all-stage3: all-stage3-gas
8982 TARGET-stage3-gas = $(TARGET-gas)
8983 all-stage3-gas: configure-stage3-gas
8984 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8985 @r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 TFLAGS="$(STAGE3_TFLAGS)"; \
8988 $(HOST_EXPORTS) \
8989 $(POSTSTAGE1_HOST_EXPORTS) \
8990 cd $(HOST_SUBDIR)/gas && \
8991 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8992 CFLAGS="$(STAGE3_CFLAGS)" \
8993 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8994 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8998 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8999 TFLAGS="$(STAGE3_TFLAGS)" \
9000 $(TARGET-stage3-gas)
9002 maybe-clean-stage3-gas: clean-stage3-gas
9003 clean-stage3: clean-stage3-gas
9004 clean-stage3-gas:
9005 @if [ $(current_stage) = stage3 ]; then \
9006 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9007 else \
9008 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9009 $(MAKE) stage3-start; \
9010 fi; \
9011 cd $(HOST_SUBDIR)/gas && \
9012 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9013 @endif gas-bootstrap
9016 .PHONY: all-stage4-gas maybe-all-stage4-gas
9017 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9018 maybe-all-stage4-gas:
9019 maybe-clean-stage4-gas:
9020 @if gas-bootstrap
9021 maybe-all-stage4-gas: all-stage4-gas
9022 all-stage4: all-stage4-gas
9023 TARGET-stage4-gas = $(TARGET-gas)
9024 all-stage4-gas: configure-stage4-gas
9025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9026 @r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 TFLAGS="$(STAGE4_TFLAGS)"; \
9029 $(HOST_EXPORTS) \
9030 $(POSTSTAGE1_HOST_EXPORTS) \
9031 cd $(HOST_SUBDIR)/gas && \
9032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9033 CFLAGS="$(STAGE4_CFLAGS)" \
9034 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9035 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9040 TFLAGS="$(STAGE4_TFLAGS)" \
9041 $(TARGET-stage4-gas)
9043 maybe-clean-stage4-gas: clean-stage4-gas
9044 clean-stage4: clean-stage4-gas
9045 clean-stage4-gas:
9046 @if [ $(current_stage) = stage4 ]; then \
9047 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9048 else \
9049 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9050 $(MAKE) stage4-start; \
9051 fi; \
9052 cd $(HOST_SUBDIR)/gas && \
9053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9054 @endif gas-bootstrap
9057 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9058 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9059 maybe-all-stageprofile-gas:
9060 maybe-clean-stageprofile-gas:
9061 @if gas-bootstrap
9062 maybe-all-stageprofile-gas: all-stageprofile-gas
9063 all-stageprofile: all-stageprofile-gas
9064 TARGET-stageprofile-gas = $(TARGET-gas)
9065 all-stageprofile-gas: configure-stageprofile-gas
9066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9067 @r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9070 $(HOST_EXPORTS) \
9071 $(POSTSTAGE1_HOST_EXPORTS) \
9072 cd $(HOST_SUBDIR)/gas && \
9073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9074 CFLAGS="$(STAGEprofile_CFLAGS)" \
9075 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9076 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9081 TFLAGS="$(STAGEprofile_TFLAGS)" \
9082 $(TARGET-stageprofile-gas)
9084 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9085 clean-stageprofile: clean-stageprofile-gas
9086 clean-stageprofile-gas:
9087 @if [ $(current_stage) = stageprofile ]; then \
9088 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9089 else \
9090 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9091 $(MAKE) stageprofile-start; \
9092 fi; \
9093 cd $(HOST_SUBDIR)/gas && \
9094 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9095 @endif gas-bootstrap
9098 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9099 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9100 maybe-all-stagefeedback-gas:
9101 maybe-clean-stagefeedback-gas:
9102 @if gas-bootstrap
9103 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9104 all-stagefeedback: all-stagefeedback-gas
9105 TARGET-stagefeedback-gas = $(TARGET-gas)
9106 all-stagefeedback-gas: configure-stagefeedback-gas
9107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9108 @r=`${PWD_COMMAND}`; export r; \
9109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9110 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9111 $(HOST_EXPORTS) \
9112 $(POSTSTAGE1_HOST_EXPORTS) \
9113 cd $(HOST_SUBDIR)/gas && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9115 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9116 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9117 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9122 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9123 $(TARGET-stagefeedback-gas)
9125 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9126 clean-stagefeedback: clean-stagefeedback-gas
9127 clean-stagefeedback-gas:
9128 @if [ $(current_stage) = stagefeedback ]; then \
9129 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9130 else \
9131 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9132 $(MAKE) stagefeedback-start; \
9133 fi; \
9134 cd $(HOST_SUBDIR)/gas && \
9135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9136 @endif gas-bootstrap
9142 .PHONY: check-gas maybe-check-gas
9143 maybe-check-gas:
9144 @if gas
9145 maybe-check-gas: check-gas
9147 check-gas:
9148 @: $(MAKE); $(unstage)
9149 @r=`${PWD_COMMAND}`; export r; \
9150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9151 $(HOST_EXPORTS) \
9152 (cd $(HOST_SUBDIR)/gas && \
9153 $(MAKE) $(FLAGS_TO_PASS) check)
9155 @endif gas
9157 .PHONY: install-gas maybe-install-gas
9158 maybe-install-gas:
9159 @if gas
9160 maybe-install-gas: install-gas
9162 install-gas: installdirs
9163 @: $(MAKE); $(unstage)
9164 @r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 (cd $(HOST_SUBDIR)/gas && \
9168 $(MAKE) $(FLAGS_TO_PASS) install)
9170 @endif gas
9172 .PHONY: install-strip-gas maybe-install-strip-gas
9173 maybe-install-strip-gas:
9174 @if gas
9175 maybe-install-strip-gas: install-strip-gas
9177 install-strip-gas: installdirs
9178 @: $(MAKE); $(unstage)
9179 @r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181 $(HOST_EXPORTS) \
9182 (cd $(HOST_SUBDIR)/gas && \
9183 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9185 @endif gas
9187 # Other targets (info, dvi, pdf, etc.)
9189 .PHONY: maybe-info-gas info-gas
9190 maybe-info-gas:
9191 @if gas
9192 maybe-info-gas: info-gas
9194 info-gas: \
9195 configure-gas
9196 @[ -f ./gas/Makefile ] || exit 0; \
9197 r=`${PWD_COMMAND}`; export r; \
9198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9199 $(HOST_EXPORTS) \
9200 for flag in $(EXTRA_HOST_FLAGS) ; do \
9201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9202 done; \
9203 echo "Doing info in gas" ; \
9204 (cd $(HOST_SUBDIR)/gas && \
9205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9207 "RANLIB=$${RANLIB}" \
9208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9209 info) \
9210 || exit 1
9212 @endif gas
9214 .PHONY: maybe-dvi-gas dvi-gas
9215 maybe-dvi-gas:
9216 @if gas
9217 maybe-dvi-gas: dvi-gas
9219 dvi-gas: \
9220 configure-gas
9221 @[ -f ./gas/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(HOST_EXPORTS) \
9225 for flag in $(EXTRA_HOST_FLAGS) ; do \
9226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9227 done; \
9228 echo "Doing dvi in gas" ; \
9229 (cd $(HOST_SUBDIR)/gas && \
9230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9232 "RANLIB=$${RANLIB}" \
9233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9234 dvi) \
9235 || exit 1
9237 @endif gas
9239 .PHONY: maybe-pdf-gas pdf-gas
9240 maybe-pdf-gas:
9241 @if gas
9242 maybe-pdf-gas: pdf-gas
9244 pdf-gas: \
9245 configure-gas
9246 @[ -f ./gas/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(HOST_EXPORTS) \
9250 for flag in $(EXTRA_HOST_FLAGS) ; do \
9251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9252 done; \
9253 echo "Doing pdf in gas" ; \
9254 (cd $(HOST_SUBDIR)/gas && \
9255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9257 "RANLIB=$${RANLIB}" \
9258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9259 pdf) \
9260 || exit 1
9262 @endif gas
9264 .PHONY: maybe-html-gas html-gas
9265 maybe-html-gas:
9266 @if gas
9267 maybe-html-gas: html-gas
9269 html-gas: \
9270 configure-gas
9271 @[ -f ./gas/Makefile ] || exit 0; \
9272 r=`${PWD_COMMAND}`; export r; \
9273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9274 $(HOST_EXPORTS) \
9275 for flag in $(EXTRA_HOST_FLAGS) ; do \
9276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9277 done; \
9278 echo "Doing html in gas" ; \
9279 (cd $(HOST_SUBDIR)/gas && \
9280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9282 "RANLIB=$${RANLIB}" \
9283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9284 html) \
9285 || exit 1
9287 @endif gas
9289 .PHONY: maybe-TAGS-gas TAGS-gas
9290 maybe-TAGS-gas:
9291 @if gas
9292 maybe-TAGS-gas: TAGS-gas
9294 TAGS-gas: \
9295 configure-gas
9296 @[ -f ./gas/Makefile ] || exit 0; \
9297 r=`${PWD_COMMAND}`; export r; \
9298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9299 $(HOST_EXPORTS) \
9300 for flag in $(EXTRA_HOST_FLAGS) ; do \
9301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9302 done; \
9303 echo "Doing TAGS in gas" ; \
9304 (cd $(HOST_SUBDIR)/gas && \
9305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9307 "RANLIB=$${RANLIB}" \
9308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9309 TAGS) \
9310 || exit 1
9312 @endif gas
9314 .PHONY: maybe-install-info-gas install-info-gas
9315 maybe-install-info-gas:
9316 @if gas
9317 maybe-install-info-gas: install-info-gas
9319 install-info-gas: \
9320 configure-gas \
9321 info-gas
9322 @[ -f ./gas/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(HOST_EXPORTS) \
9326 for flag in $(EXTRA_HOST_FLAGS) ; do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9328 done; \
9329 echo "Doing install-info in gas" ; \
9330 (cd $(HOST_SUBDIR)/gas && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9335 install-info) \
9336 || exit 1
9338 @endif gas
9340 .PHONY: maybe-install-pdf-gas install-pdf-gas
9341 maybe-install-pdf-gas:
9342 @if gas
9343 maybe-install-pdf-gas: install-pdf-gas
9345 install-pdf-gas: \
9346 configure-gas \
9347 pdf-gas
9348 @[ -f ./gas/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 $(HOST_EXPORTS) \
9352 for flag in $(EXTRA_HOST_FLAGS) ; do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9354 done; \
9355 echo "Doing install-pdf in gas" ; \
9356 (cd $(HOST_SUBDIR)/gas && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9361 install-pdf) \
9362 || exit 1
9364 @endif gas
9366 .PHONY: maybe-install-html-gas install-html-gas
9367 maybe-install-html-gas:
9368 @if gas
9369 maybe-install-html-gas: install-html-gas
9371 install-html-gas: \
9372 configure-gas \
9373 html-gas
9374 @[ -f ./gas/Makefile ] || exit 0; \
9375 r=`${PWD_COMMAND}`; export r; \
9376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9377 $(HOST_EXPORTS) \
9378 for flag in $(EXTRA_HOST_FLAGS) ; do \
9379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9380 done; \
9381 echo "Doing install-html in gas" ; \
9382 (cd $(HOST_SUBDIR)/gas && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9385 "RANLIB=$${RANLIB}" \
9386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9387 install-html) \
9388 || exit 1
9390 @endif gas
9392 .PHONY: maybe-installcheck-gas installcheck-gas
9393 maybe-installcheck-gas:
9394 @if gas
9395 maybe-installcheck-gas: installcheck-gas
9397 installcheck-gas: \
9398 configure-gas
9399 @[ -f ./gas/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9402 $(HOST_EXPORTS) \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9405 done; \
9406 echo "Doing installcheck in gas" ; \
9407 (cd $(HOST_SUBDIR)/gas && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9412 installcheck) \
9413 || exit 1
9415 @endif gas
9417 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9418 maybe-mostlyclean-gas:
9419 @if gas
9420 maybe-mostlyclean-gas: mostlyclean-gas
9422 mostlyclean-gas:
9423 @[ -f ./gas/Makefile ] || exit 0; \
9424 r=`${PWD_COMMAND}`; export r; \
9425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9426 $(HOST_EXPORTS) \
9427 for flag in $(EXTRA_HOST_FLAGS) ; do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9429 done; \
9430 echo "Doing mostlyclean in gas" ; \
9431 (cd $(HOST_SUBDIR)/gas && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9436 mostlyclean) \
9437 || exit 1
9439 @endif gas
9441 .PHONY: maybe-clean-gas clean-gas
9442 maybe-clean-gas:
9443 @if gas
9444 maybe-clean-gas: clean-gas
9446 clean-gas:
9447 @[ -f ./gas/Makefile ] || exit 0; \
9448 r=`${PWD_COMMAND}`; export r; \
9449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9450 $(HOST_EXPORTS) \
9451 for flag in $(EXTRA_HOST_FLAGS) ; do \
9452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9453 done; \
9454 echo "Doing clean in gas" ; \
9455 (cd $(HOST_SUBDIR)/gas && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9458 "RANLIB=$${RANLIB}" \
9459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9460 clean) \
9461 || exit 1
9463 @endif gas
9465 .PHONY: maybe-distclean-gas distclean-gas
9466 maybe-distclean-gas:
9467 @if gas
9468 maybe-distclean-gas: distclean-gas
9470 distclean-gas:
9471 @[ -f ./gas/Makefile ] || exit 0; \
9472 r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(HOST_EXPORTS) \
9475 for flag in $(EXTRA_HOST_FLAGS) ; do \
9476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9477 done; \
9478 echo "Doing distclean in gas" ; \
9479 (cd $(HOST_SUBDIR)/gas && \
9480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9482 "RANLIB=$${RANLIB}" \
9483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9484 distclean) \
9485 || exit 1
9487 @endif gas
9489 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9490 maybe-maintainer-clean-gas:
9491 @if gas
9492 maybe-maintainer-clean-gas: maintainer-clean-gas
9494 maintainer-clean-gas:
9495 @[ -f ./gas/Makefile ] || exit 0; \
9496 r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9498 $(HOST_EXPORTS) \
9499 for flag in $(EXTRA_HOST_FLAGS) ; do \
9500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9501 done; \
9502 echo "Doing maintainer-clean in gas" ; \
9503 (cd $(HOST_SUBDIR)/gas && \
9504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9506 "RANLIB=$${RANLIB}" \
9507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9508 maintainer-clean) \
9509 || exit 1
9511 @endif gas
9515 .PHONY: configure-gcc maybe-configure-gcc
9516 maybe-configure-gcc:
9517 @if gcc-bootstrap
9518 configure-gcc: stage_current
9519 @endif gcc-bootstrap
9520 @if gcc
9521 maybe-configure-gcc: configure-gcc
9522 configure-gcc:
9523 @r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9527 $(HOST_EXPORTS) \
9528 echo Configuring in $(HOST_SUBDIR)/gcc; \
9529 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9530 case $(srcdir) in \
9531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9532 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9534 esac; \
9535 srcdiroption="--srcdir=$${topdir}/gcc"; \
9536 libsrcdir="$$s/gcc"; \
9537 $(SHELL) $${libsrcdir}/configure \
9538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9539 --target=${target_alias} $${srcdiroption} \
9540 || exit 1
9541 @endif gcc
9545 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9546 maybe-configure-stage1-gcc:
9547 @if gcc-bootstrap
9548 maybe-configure-stage1-gcc: configure-stage1-gcc
9549 configure-stage1-gcc:
9550 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9552 @r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 TFLAGS="$(STAGE1_TFLAGS)"; \
9555 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9556 $(HOST_EXPORTS) \
9557 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9558 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9559 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9560 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9562 cd $(HOST_SUBDIR)/gcc || exit 1; \
9563 case $(srcdir) in \
9564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9565 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9567 esac; \
9568 srcdiroption="--srcdir=$${topdir}/gcc"; \
9569 libsrcdir="$$s/gcc"; \
9570 $(SHELL) $${libsrcdir}/configure \
9571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9572 --target=${target_alias} $${srcdiroption} \
9573 $(STAGE1_CONFIGURE_FLAGS)
9574 @endif gcc-bootstrap
9576 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9577 maybe-configure-stage2-gcc:
9578 @if gcc-bootstrap
9579 maybe-configure-stage2-gcc: configure-stage2-gcc
9580 configure-stage2-gcc:
9581 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9583 @r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 TFLAGS="$(STAGE2_TFLAGS)"; \
9586 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9587 $(HOST_EXPORTS) \
9588 $(POSTSTAGE1_HOST_EXPORTS) \
9589 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9590 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9591 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9592 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9594 cd $(HOST_SUBDIR)/gcc || exit 1; \
9595 case $(srcdir) in \
9596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9597 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9599 esac; \
9600 srcdiroption="--srcdir=$${topdir}/gcc"; \
9601 libsrcdir="$$s/gcc"; \
9602 $(SHELL) $${libsrcdir}/configure \
9603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9604 --target=${target_alias} $${srcdiroption} \
9605 --with-build-libsubdir=$(HOST_SUBDIR) \
9606 $(STAGE2_CONFIGURE_FLAGS)
9607 @endif gcc-bootstrap
9609 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9610 maybe-configure-stage3-gcc:
9611 @if gcc-bootstrap
9612 maybe-configure-stage3-gcc: configure-stage3-gcc
9613 configure-stage3-gcc:
9614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9616 @r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 TFLAGS="$(STAGE3_TFLAGS)"; \
9619 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9620 $(HOST_EXPORTS) \
9621 $(POSTSTAGE1_HOST_EXPORTS) \
9622 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9623 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9624 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9625 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9627 cd $(HOST_SUBDIR)/gcc || exit 1; \
9628 case $(srcdir) in \
9629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9630 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9632 esac; \
9633 srcdiroption="--srcdir=$${topdir}/gcc"; \
9634 libsrcdir="$$s/gcc"; \
9635 $(SHELL) $${libsrcdir}/configure \
9636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9637 --target=${target_alias} $${srcdiroption} \
9638 --with-build-libsubdir=$(HOST_SUBDIR) \
9639 $(STAGE3_CONFIGURE_FLAGS)
9640 @endif gcc-bootstrap
9642 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9643 maybe-configure-stage4-gcc:
9644 @if gcc-bootstrap
9645 maybe-configure-stage4-gcc: configure-stage4-gcc
9646 configure-stage4-gcc:
9647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9649 @r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 TFLAGS="$(STAGE4_TFLAGS)"; \
9652 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9653 $(HOST_EXPORTS) \
9654 $(POSTSTAGE1_HOST_EXPORTS) \
9655 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9656 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9657 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9658 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9660 cd $(HOST_SUBDIR)/gcc || exit 1; \
9661 case $(srcdir) in \
9662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9663 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9665 esac; \
9666 srcdiroption="--srcdir=$${topdir}/gcc"; \
9667 libsrcdir="$$s/gcc"; \
9668 $(SHELL) $${libsrcdir}/configure \
9669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9670 --target=${target_alias} $${srcdiroption} \
9671 --with-build-libsubdir=$(HOST_SUBDIR) \
9672 $(STAGE4_CONFIGURE_FLAGS)
9673 @endif gcc-bootstrap
9675 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9676 maybe-configure-stageprofile-gcc:
9677 @if gcc-bootstrap
9678 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9679 configure-stageprofile-gcc:
9680 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9682 @r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9685 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9686 $(HOST_EXPORTS) \
9687 $(POSTSTAGE1_HOST_EXPORTS) \
9688 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9689 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9690 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9691 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9693 cd $(HOST_SUBDIR)/gcc || exit 1; \
9694 case $(srcdir) in \
9695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9696 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9698 esac; \
9699 srcdiroption="--srcdir=$${topdir}/gcc"; \
9700 libsrcdir="$$s/gcc"; \
9701 $(SHELL) $${libsrcdir}/configure \
9702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9703 --target=${target_alias} $${srcdiroption} \
9704 --with-build-libsubdir=$(HOST_SUBDIR) \
9705 $(STAGEprofile_CONFIGURE_FLAGS)
9706 @endif gcc-bootstrap
9708 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9709 maybe-configure-stagefeedback-gcc:
9710 @if gcc-bootstrap
9711 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9712 configure-stagefeedback-gcc:
9713 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9715 @r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9718 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9719 $(HOST_EXPORTS) \
9720 $(POSTSTAGE1_HOST_EXPORTS) \
9721 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9722 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9723 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9724 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9726 cd $(HOST_SUBDIR)/gcc || exit 1; \
9727 case $(srcdir) in \
9728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9729 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9731 esac; \
9732 srcdiroption="--srcdir=$${topdir}/gcc"; \
9733 libsrcdir="$$s/gcc"; \
9734 $(SHELL) $${libsrcdir}/configure \
9735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9736 --target=${target_alias} $${srcdiroption} \
9737 --with-build-libsubdir=$(HOST_SUBDIR) \
9738 $(STAGEfeedback_CONFIGURE_FLAGS)
9739 @endif gcc-bootstrap
9745 .PHONY: all-gcc maybe-all-gcc
9746 maybe-all-gcc:
9747 @if gcc-bootstrap
9748 all-gcc: stage_current
9749 @endif gcc-bootstrap
9750 @if gcc
9751 TARGET-gcc=all
9752 maybe-all-gcc: all-gcc
9753 all-gcc: configure-gcc
9754 @r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756 $(HOST_EXPORTS) \
9757 (cd $(HOST_SUBDIR)/gcc && \
9758 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9759 $(TARGET-gcc))
9760 @endif gcc
9764 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9765 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9766 maybe-all-stage1-gcc:
9767 maybe-clean-stage1-gcc:
9768 @if gcc-bootstrap
9769 maybe-all-stage1-gcc: all-stage1-gcc
9770 all-stage1: all-stage1-gcc
9771 TARGET-stage1-gcc = $(TARGET-gcc)
9772 all-stage1-gcc: configure-stage1-gcc
9773 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9774 @r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 TFLAGS="$(STAGE1_TFLAGS)"; \
9777 $(HOST_EXPORTS) \
9778 cd $(HOST_SUBDIR)/gcc && \
9779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9780 CFLAGS="$(STAGE1_CFLAGS)" \
9781 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9782 LIBCFLAGS="$(LIBCFLAGS)" \
9783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9786 $(EXTRA_HOST_FLAGS) \
9787 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9788 TFLAGS="$(STAGE1_TFLAGS)" \
9789 $(TARGET-stage1-gcc)
9791 maybe-clean-stage1-gcc: clean-stage1-gcc
9792 clean-stage1: clean-stage1-gcc
9793 clean-stage1-gcc:
9794 @if [ $(current_stage) = stage1 ]; then \
9795 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9796 else \
9797 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9798 $(MAKE) stage1-start; \
9799 fi; \
9800 cd $(HOST_SUBDIR)/gcc && \
9801 $(MAKE) $(EXTRA_HOST_FLAGS) \
9802 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9803 @endif gcc-bootstrap
9806 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9807 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9808 maybe-all-stage2-gcc:
9809 maybe-clean-stage2-gcc:
9810 @if gcc-bootstrap
9811 maybe-all-stage2-gcc: all-stage2-gcc
9812 all-stage2: all-stage2-gcc
9813 TARGET-stage2-gcc = $(TARGET-gcc)
9814 all-stage2-gcc: configure-stage2-gcc
9815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9816 @r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 TFLAGS="$(STAGE2_TFLAGS)"; \
9819 $(HOST_EXPORTS) \
9820 $(POSTSTAGE1_HOST_EXPORTS) \
9821 cd $(HOST_SUBDIR)/gcc && \
9822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9823 CFLAGS="$(STAGE2_CFLAGS)" \
9824 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9825 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9830 TFLAGS="$(STAGE2_TFLAGS)" \
9831 $(TARGET-stage2-gcc)
9833 maybe-clean-stage2-gcc: clean-stage2-gcc
9834 clean-stage2: clean-stage2-gcc
9835 clean-stage2-gcc:
9836 @if [ $(current_stage) = stage2 ]; then \
9837 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9838 else \
9839 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9840 $(MAKE) stage2-start; \
9841 fi; \
9842 cd $(HOST_SUBDIR)/gcc && \
9843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9844 @endif gcc-bootstrap
9847 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9848 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9849 maybe-all-stage3-gcc:
9850 maybe-clean-stage3-gcc:
9851 @if gcc-bootstrap
9852 maybe-all-stage3-gcc: all-stage3-gcc
9853 all-stage3: all-stage3-gcc
9854 TARGET-stage3-gcc = $(TARGET-gcc)
9855 all-stage3-gcc: configure-stage3-gcc
9856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9857 @r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 TFLAGS="$(STAGE3_TFLAGS)"; \
9860 $(HOST_EXPORTS) \
9861 $(POSTSTAGE1_HOST_EXPORTS) \
9862 cd $(HOST_SUBDIR)/gcc && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9864 CFLAGS="$(STAGE3_CFLAGS)" \
9865 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9866 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9871 TFLAGS="$(STAGE3_TFLAGS)" \
9872 $(TARGET-stage3-gcc)
9874 maybe-clean-stage3-gcc: clean-stage3-gcc
9875 clean-stage3: clean-stage3-gcc
9876 clean-stage3-gcc:
9877 @if [ $(current_stage) = stage3 ]; then \
9878 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9879 else \
9880 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9881 $(MAKE) stage3-start; \
9882 fi; \
9883 cd $(HOST_SUBDIR)/gcc && \
9884 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9885 @endif gcc-bootstrap
9888 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9889 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9890 maybe-all-stage4-gcc:
9891 maybe-clean-stage4-gcc:
9892 @if gcc-bootstrap
9893 maybe-all-stage4-gcc: all-stage4-gcc
9894 all-stage4: all-stage4-gcc
9895 TARGET-stage4-gcc = $(TARGET-gcc)
9896 all-stage4-gcc: configure-stage4-gcc
9897 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9898 @r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 TFLAGS="$(STAGE4_TFLAGS)"; \
9901 $(HOST_EXPORTS) \
9902 $(POSTSTAGE1_HOST_EXPORTS) \
9903 cd $(HOST_SUBDIR)/gcc && \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9905 CFLAGS="$(STAGE4_CFLAGS)" \
9906 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9907 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9912 TFLAGS="$(STAGE4_TFLAGS)" \
9913 $(TARGET-stage4-gcc)
9915 maybe-clean-stage4-gcc: clean-stage4-gcc
9916 clean-stage4: clean-stage4-gcc
9917 clean-stage4-gcc:
9918 @if [ $(current_stage) = stage4 ]; then \
9919 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9920 else \
9921 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9922 $(MAKE) stage4-start; \
9923 fi; \
9924 cd $(HOST_SUBDIR)/gcc && \
9925 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9926 @endif gcc-bootstrap
9929 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9930 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9931 maybe-all-stageprofile-gcc:
9932 maybe-clean-stageprofile-gcc:
9933 @if gcc-bootstrap
9934 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9935 all-stageprofile: all-stageprofile-gcc
9936 TARGET-stageprofile-gcc = $(TARGET-gcc)
9937 all-stageprofile-gcc: configure-stageprofile-gcc
9938 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9939 @r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9942 $(HOST_EXPORTS) \
9943 $(POSTSTAGE1_HOST_EXPORTS) \
9944 cd $(HOST_SUBDIR)/gcc && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9946 CFLAGS="$(STAGEprofile_CFLAGS)" \
9947 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9948 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9952 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9953 TFLAGS="$(STAGEprofile_TFLAGS)" \
9954 $(TARGET-stageprofile-gcc)
9956 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9957 clean-stageprofile: clean-stageprofile-gcc
9958 clean-stageprofile-gcc:
9959 @if [ $(current_stage) = stageprofile ]; then \
9960 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9961 else \
9962 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9963 $(MAKE) stageprofile-start; \
9964 fi; \
9965 cd $(HOST_SUBDIR)/gcc && \
9966 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9967 @endif gcc-bootstrap
9970 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9971 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9972 maybe-all-stagefeedback-gcc:
9973 maybe-clean-stagefeedback-gcc:
9974 @if gcc-bootstrap
9975 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9976 all-stagefeedback: all-stagefeedback-gcc
9977 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9978 all-stagefeedback-gcc: configure-stagefeedback-gcc
9979 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9980 @r=`${PWD_COMMAND}`; export r; \
9981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9982 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9983 $(HOST_EXPORTS) \
9984 $(POSTSTAGE1_HOST_EXPORTS) \
9985 cd $(HOST_SUBDIR)/gcc && \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9987 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9988 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9989 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9993 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9994 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9995 $(TARGET-stagefeedback-gcc)
9997 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9998 clean-stagefeedback: clean-stagefeedback-gcc
9999 clean-stagefeedback-gcc:
10000 @if [ $(current_stage) = stagefeedback ]; then \
10001 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10002 else \
10003 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10004 $(MAKE) stagefeedback-start; \
10005 fi; \
10006 cd $(HOST_SUBDIR)/gcc && \
10007 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10008 @endif gcc-bootstrap
10014 .PHONY: check-gcc maybe-check-gcc
10015 maybe-check-gcc:
10016 @if gcc
10017 maybe-check-gcc: check-gcc
10019 check-gcc:
10020 @: $(MAKE); $(unstage)
10021 @r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 $(HOST_EXPORTS) \
10024 (cd $(HOST_SUBDIR)/gcc && \
10025 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10027 @endif gcc
10029 .PHONY: install-gcc maybe-install-gcc
10030 maybe-install-gcc:
10031 @if gcc
10032 maybe-install-gcc: install-gcc
10034 install-gcc: installdirs
10035 @: $(MAKE); $(unstage)
10036 @r=`${PWD_COMMAND}`; export r; \
10037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10038 $(HOST_EXPORTS) \
10039 (cd $(HOST_SUBDIR)/gcc && \
10040 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10042 @endif gcc
10044 .PHONY: install-strip-gcc maybe-install-strip-gcc
10045 maybe-install-strip-gcc:
10046 @if gcc
10047 maybe-install-strip-gcc: install-strip-gcc
10049 install-strip-gcc: installdirs
10050 @: $(MAKE); $(unstage)
10051 @r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 (cd $(HOST_SUBDIR)/gcc && \
10055 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10057 @endif gcc
10059 # Other targets (info, dvi, pdf, etc.)
10061 .PHONY: maybe-info-gcc info-gcc
10062 maybe-info-gcc:
10063 @if gcc
10064 maybe-info-gcc: info-gcc
10066 info-gcc: \
10067 configure-gcc
10068 @[ -f ./gcc/Makefile ] || exit 0; \
10069 r=`${PWD_COMMAND}`; export r; \
10070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10071 $(HOST_EXPORTS) \
10072 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10074 done; \
10075 echo "Doing info in gcc" ; \
10076 (cd $(HOST_SUBDIR)/gcc && \
10077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10079 "RANLIB=$${RANLIB}" \
10080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10081 info) \
10082 || exit 1
10084 @endif gcc
10086 .PHONY: maybe-dvi-gcc dvi-gcc
10087 maybe-dvi-gcc:
10088 @if gcc
10089 maybe-dvi-gcc: dvi-gcc
10091 dvi-gcc: \
10092 configure-gcc
10093 @[ -f ./gcc/Makefile ] || exit 0; \
10094 r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10096 $(HOST_EXPORTS) \
10097 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10099 done; \
10100 echo "Doing dvi in gcc" ; \
10101 (cd $(HOST_SUBDIR)/gcc && \
10102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10104 "RANLIB=$${RANLIB}" \
10105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10106 dvi) \
10107 || exit 1
10109 @endif gcc
10111 .PHONY: maybe-pdf-gcc pdf-gcc
10112 maybe-pdf-gcc:
10113 @if gcc
10114 maybe-pdf-gcc: pdf-gcc
10116 pdf-gcc: \
10117 configure-gcc
10118 @[ -f ./gcc/Makefile ] || exit 0; \
10119 r=`${PWD_COMMAND}`; export r; \
10120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10121 $(HOST_EXPORTS) \
10122 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10124 done; \
10125 echo "Doing pdf in gcc" ; \
10126 (cd $(HOST_SUBDIR)/gcc && \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10131 pdf) \
10132 || exit 1
10134 @endif gcc
10136 .PHONY: maybe-html-gcc html-gcc
10137 maybe-html-gcc:
10138 @if gcc
10139 maybe-html-gcc: html-gcc
10141 html-gcc: \
10142 configure-gcc
10143 @[ -f ./gcc/Makefile ] || exit 0; \
10144 r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10146 $(HOST_EXPORTS) \
10147 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10149 done; \
10150 echo "Doing html in gcc" ; \
10151 (cd $(HOST_SUBDIR)/gcc && \
10152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10154 "RANLIB=$${RANLIB}" \
10155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10156 html) \
10157 || exit 1
10159 @endif gcc
10161 .PHONY: maybe-TAGS-gcc TAGS-gcc
10162 maybe-TAGS-gcc:
10163 @if gcc
10164 maybe-TAGS-gcc: TAGS-gcc
10166 TAGS-gcc: \
10167 configure-gcc
10168 @[ -f ./gcc/Makefile ] || exit 0; \
10169 r=`${PWD_COMMAND}`; export r; \
10170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10171 $(HOST_EXPORTS) \
10172 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10174 done; \
10175 echo "Doing TAGS in gcc" ; \
10176 (cd $(HOST_SUBDIR)/gcc && \
10177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10179 "RANLIB=$${RANLIB}" \
10180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10181 TAGS) \
10182 || exit 1
10184 @endif gcc
10186 .PHONY: maybe-install-info-gcc install-info-gcc
10187 maybe-install-info-gcc:
10188 @if gcc
10189 maybe-install-info-gcc: install-info-gcc
10191 install-info-gcc: \
10192 configure-gcc \
10193 info-gcc
10194 @[ -f ./gcc/Makefile ] || exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing install-info in gcc" ; \
10202 (cd $(HOST_SUBDIR)/gcc && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10207 install-info) \
10208 || exit 1
10210 @endif gcc
10212 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10213 maybe-install-pdf-gcc:
10214 @if gcc
10215 maybe-install-pdf-gcc: install-pdf-gcc
10217 install-pdf-gcc: \
10218 configure-gcc \
10219 pdf-gcc
10220 @[ -f ./gcc/Makefile ] || exit 0; \
10221 r=`${PWD_COMMAND}`; export r; \
10222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10223 $(HOST_EXPORTS) \
10224 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10226 done; \
10227 echo "Doing install-pdf in gcc" ; \
10228 (cd $(HOST_SUBDIR)/gcc && \
10229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10231 "RANLIB=$${RANLIB}" \
10232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10233 install-pdf) \
10234 || exit 1
10236 @endif gcc
10238 .PHONY: maybe-install-html-gcc install-html-gcc
10239 maybe-install-html-gcc:
10240 @if gcc
10241 maybe-install-html-gcc: install-html-gcc
10243 install-html-gcc: \
10244 configure-gcc \
10245 html-gcc
10246 @[ -f ./gcc/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 $(HOST_EXPORTS) \
10250 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10252 done; \
10253 echo "Doing install-html in gcc" ; \
10254 (cd $(HOST_SUBDIR)/gcc && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10259 install-html) \
10260 || exit 1
10262 @endif gcc
10264 .PHONY: maybe-installcheck-gcc installcheck-gcc
10265 maybe-installcheck-gcc:
10266 @if gcc
10267 maybe-installcheck-gcc: installcheck-gcc
10269 installcheck-gcc: \
10270 configure-gcc
10271 @[ -f ./gcc/Makefile ] || exit 0; \
10272 r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 $(HOST_EXPORTS) \
10275 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10277 done; \
10278 echo "Doing installcheck in gcc" ; \
10279 (cd $(HOST_SUBDIR)/gcc && \
10280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10282 "RANLIB=$${RANLIB}" \
10283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10284 installcheck) \
10285 || exit 1
10287 @endif gcc
10289 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10290 maybe-mostlyclean-gcc:
10291 @if gcc
10292 maybe-mostlyclean-gcc: mostlyclean-gcc
10294 mostlyclean-gcc:
10295 @[ -f ./gcc/Makefile ] || exit 0; \
10296 r=`${PWD_COMMAND}`; export r; \
10297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10298 $(HOST_EXPORTS) \
10299 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10301 done; \
10302 echo "Doing mostlyclean in gcc" ; \
10303 (cd $(HOST_SUBDIR)/gcc && \
10304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306 "RANLIB=$${RANLIB}" \
10307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10308 mostlyclean) \
10309 || exit 1
10311 @endif gcc
10313 .PHONY: maybe-clean-gcc clean-gcc
10314 maybe-clean-gcc:
10315 @if gcc
10316 maybe-clean-gcc: clean-gcc
10318 clean-gcc:
10319 @[ -f ./gcc/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing clean in gcc" ; \
10327 (cd $(HOST_SUBDIR)/gcc && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10332 clean) \
10333 || exit 1
10335 @endif gcc
10337 .PHONY: maybe-distclean-gcc distclean-gcc
10338 maybe-distclean-gcc:
10339 @if gcc
10340 maybe-distclean-gcc: distclean-gcc
10342 distclean-gcc:
10343 @[ -f ./gcc/Makefile ] || exit 0; \
10344 r=`${PWD_COMMAND}`; export r; \
10345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10346 $(HOST_EXPORTS) \
10347 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10349 done; \
10350 echo "Doing distclean in gcc" ; \
10351 (cd $(HOST_SUBDIR)/gcc && \
10352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10354 "RANLIB=$${RANLIB}" \
10355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10356 distclean) \
10357 || exit 1
10359 @endif gcc
10361 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10362 maybe-maintainer-clean-gcc:
10363 @if gcc
10364 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10366 maintainer-clean-gcc:
10367 @[ -f ./gcc/Makefile ] || exit 0; \
10368 r=`${PWD_COMMAND}`; export r; \
10369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10370 $(HOST_EXPORTS) \
10371 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10373 done; \
10374 echo "Doing maintainer-clean in gcc" ; \
10375 (cd $(HOST_SUBDIR)/gcc && \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10380 maintainer-clean) \
10381 || exit 1
10383 @endif gcc
10387 .PHONY: configure-gmp maybe-configure-gmp
10388 maybe-configure-gmp:
10389 @if gcc-bootstrap
10390 configure-gmp: stage_current
10391 @endif gcc-bootstrap
10392 @if gmp
10393 maybe-configure-gmp: configure-gmp
10394 configure-gmp:
10395 @r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10399 $(HOST_EXPORTS) \
10400 echo Configuring in $(HOST_SUBDIR)/gmp; \
10401 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10402 case $(srcdir) in \
10403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10404 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10406 esac; \
10407 srcdiroption="--srcdir=$${topdir}/gmp"; \
10408 libsrcdir="$$s/gmp"; \
10409 $(SHELL) $${libsrcdir}/configure \
10410 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10411 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10412 || exit 1
10413 @endif gmp
10417 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10418 maybe-configure-stage1-gmp:
10419 @if gmp-bootstrap
10420 maybe-configure-stage1-gmp: configure-stage1-gmp
10421 configure-stage1-gmp:
10422 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10424 @r=`${PWD_COMMAND}`; export r; \
10425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426 TFLAGS="$(STAGE1_TFLAGS)"; \
10427 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10428 $(HOST_EXPORTS) \
10429 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10430 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10431 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10432 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10434 cd $(HOST_SUBDIR)/gmp || exit 1; \
10435 case $(srcdir) in \
10436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10437 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10439 esac; \
10440 srcdiroption="--srcdir=$${topdir}/gmp"; \
10441 libsrcdir="$$s/gmp"; \
10442 $(SHELL) $${libsrcdir}/configure \
10443 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10444 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10445 $(STAGE1_CONFIGURE_FLAGS) \
10446 --disable-shared
10447 @endif gmp-bootstrap
10449 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10450 maybe-configure-stage2-gmp:
10451 @if gmp-bootstrap
10452 maybe-configure-stage2-gmp: configure-stage2-gmp
10453 configure-stage2-gmp:
10454 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10456 @r=`${PWD_COMMAND}`; export r; \
10457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10458 TFLAGS="$(STAGE2_TFLAGS)"; \
10459 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10460 $(HOST_EXPORTS) \
10461 $(POSTSTAGE1_HOST_EXPORTS) \
10462 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10463 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10464 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10465 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10467 cd $(HOST_SUBDIR)/gmp || exit 1; \
10468 case $(srcdir) in \
10469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10470 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10472 esac; \
10473 srcdiroption="--srcdir=$${topdir}/gmp"; \
10474 libsrcdir="$$s/gmp"; \
10475 $(SHELL) $${libsrcdir}/configure \
10476 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10477 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10478 --with-build-libsubdir=$(HOST_SUBDIR) \
10479 $(STAGE2_CONFIGURE_FLAGS) \
10480 --disable-shared
10481 @endif gmp-bootstrap
10483 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10484 maybe-configure-stage3-gmp:
10485 @if gmp-bootstrap
10486 maybe-configure-stage3-gmp: configure-stage3-gmp
10487 configure-stage3-gmp:
10488 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10490 @r=`${PWD_COMMAND}`; export r; \
10491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 TFLAGS="$(STAGE3_TFLAGS)"; \
10493 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10494 $(HOST_EXPORTS) \
10495 $(POSTSTAGE1_HOST_EXPORTS) \
10496 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10497 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10498 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10499 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10501 cd $(HOST_SUBDIR)/gmp || exit 1; \
10502 case $(srcdir) in \
10503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10504 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10506 esac; \
10507 srcdiroption="--srcdir=$${topdir}/gmp"; \
10508 libsrcdir="$$s/gmp"; \
10509 $(SHELL) $${libsrcdir}/configure \
10510 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10511 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10512 --with-build-libsubdir=$(HOST_SUBDIR) \
10513 $(STAGE3_CONFIGURE_FLAGS) \
10514 --disable-shared
10515 @endif gmp-bootstrap
10517 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10518 maybe-configure-stage4-gmp:
10519 @if gmp-bootstrap
10520 maybe-configure-stage4-gmp: configure-stage4-gmp
10521 configure-stage4-gmp:
10522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10524 @r=`${PWD_COMMAND}`; export r; \
10525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10526 TFLAGS="$(STAGE4_TFLAGS)"; \
10527 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10528 $(HOST_EXPORTS) \
10529 $(POSTSTAGE1_HOST_EXPORTS) \
10530 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10531 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10532 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10533 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10535 cd $(HOST_SUBDIR)/gmp || exit 1; \
10536 case $(srcdir) in \
10537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10538 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10540 esac; \
10541 srcdiroption="--srcdir=$${topdir}/gmp"; \
10542 libsrcdir="$$s/gmp"; \
10543 $(SHELL) $${libsrcdir}/configure \
10544 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10545 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10546 --with-build-libsubdir=$(HOST_SUBDIR) \
10547 $(STAGE4_CONFIGURE_FLAGS) \
10548 --disable-shared
10549 @endif gmp-bootstrap
10551 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10552 maybe-configure-stageprofile-gmp:
10553 @if gmp-bootstrap
10554 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10555 configure-stageprofile-gmp:
10556 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10558 @r=`${PWD_COMMAND}`; export r; \
10559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10561 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10562 $(HOST_EXPORTS) \
10563 $(POSTSTAGE1_HOST_EXPORTS) \
10564 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10565 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10566 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10567 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10569 cd $(HOST_SUBDIR)/gmp || exit 1; \
10570 case $(srcdir) in \
10571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10572 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10574 esac; \
10575 srcdiroption="--srcdir=$${topdir}/gmp"; \
10576 libsrcdir="$$s/gmp"; \
10577 $(SHELL) $${libsrcdir}/configure \
10578 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10579 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10580 --with-build-libsubdir=$(HOST_SUBDIR) \
10581 $(STAGEprofile_CONFIGURE_FLAGS) \
10582 --disable-shared
10583 @endif gmp-bootstrap
10585 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10586 maybe-configure-stagefeedback-gmp:
10587 @if gmp-bootstrap
10588 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10589 configure-stagefeedback-gmp:
10590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10592 @r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10595 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10596 $(HOST_EXPORTS) \
10597 $(POSTSTAGE1_HOST_EXPORTS) \
10598 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10601 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10603 cd $(HOST_SUBDIR)/gmp || exit 1; \
10604 case $(srcdir) in \
10605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10606 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10608 esac; \
10609 srcdiroption="--srcdir=$${topdir}/gmp"; \
10610 libsrcdir="$$s/gmp"; \
10611 $(SHELL) $${libsrcdir}/configure \
10612 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10613 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10614 --with-build-libsubdir=$(HOST_SUBDIR) \
10615 $(STAGEfeedback_CONFIGURE_FLAGS) \
10616 --disable-shared
10617 @endif gmp-bootstrap
10623 .PHONY: all-gmp maybe-all-gmp
10624 maybe-all-gmp:
10625 @if gcc-bootstrap
10626 all-gmp: stage_current
10627 @endif gcc-bootstrap
10628 @if gmp
10629 TARGET-gmp=all
10630 maybe-all-gmp: all-gmp
10631 all-gmp: configure-gmp
10632 @r=`${PWD_COMMAND}`; export r; \
10633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10634 $(HOST_EXPORTS) \
10635 (cd $(HOST_SUBDIR)/gmp && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10637 $(TARGET-gmp))
10638 @endif gmp
10642 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10643 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10644 maybe-all-stage1-gmp:
10645 maybe-clean-stage1-gmp:
10646 @if gmp-bootstrap
10647 maybe-all-stage1-gmp: all-stage1-gmp
10648 all-stage1: all-stage1-gmp
10649 TARGET-stage1-gmp = $(TARGET-gmp)
10650 all-stage1-gmp: configure-stage1-gmp
10651 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10652 @r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 TFLAGS="$(STAGE1_TFLAGS)"; \
10655 $(HOST_EXPORTS) \
10656 cd $(HOST_SUBDIR)/gmp && \
10657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10658 CFLAGS="$(STAGE1_CFLAGS)" \
10659 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10660 LIBCFLAGS="$(LIBCFLAGS)" \
10661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10664 $(EXTRA_HOST_FLAGS) \
10665 $(STAGE1_FLAGS_TO_PASS) \
10666 TFLAGS="$(STAGE1_TFLAGS)" \
10667 $(TARGET-stage1-gmp)
10669 maybe-clean-stage1-gmp: clean-stage1-gmp
10670 clean-stage1: clean-stage1-gmp
10671 clean-stage1-gmp:
10672 @if [ $(current_stage) = stage1 ]; then \
10673 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10674 else \
10675 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10676 $(MAKE) stage1-start; \
10677 fi; \
10678 cd $(HOST_SUBDIR)/gmp && \
10679 $(MAKE) $(EXTRA_HOST_FLAGS) \
10680 $(STAGE1_FLAGS_TO_PASS) clean
10681 @endif gmp-bootstrap
10684 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10685 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10686 maybe-all-stage2-gmp:
10687 maybe-clean-stage2-gmp:
10688 @if gmp-bootstrap
10689 maybe-all-stage2-gmp: all-stage2-gmp
10690 all-stage2: all-stage2-gmp
10691 TARGET-stage2-gmp = $(TARGET-gmp)
10692 all-stage2-gmp: configure-stage2-gmp
10693 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 TFLAGS="$(STAGE2_TFLAGS)"; \
10697 $(HOST_EXPORTS) \
10698 $(POSTSTAGE1_HOST_EXPORTS) \
10699 cd $(HOST_SUBDIR)/gmp && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10701 CFLAGS="$(STAGE2_CFLAGS)" \
10702 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10703 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10708 TFLAGS="$(STAGE2_TFLAGS)" \
10709 $(TARGET-stage2-gmp)
10711 maybe-clean-stage2-gmp: clean-stage2-gmp
10712 clean-stage2: clean-stage2-gmp
10713 clean-stage2-gmp:
10714 @if [ $(current_stage) = stage2 ]; then \
10715 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10716 else \
10717 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10718 $(MAKE) stage2-start; \
10719 fi; \
10720 cd $(HOST_SUBDIR)/gmp && \
10721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10722 @endif gmp-bootstrap
10725 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10726 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10727 maybe-all-stage3-gmp:
10728 maybe-clean-stage3-gmp:
10729 @if gmp-bootstrap
10730 maybe-all-stage3-gmp: all-stage3-gmp
10731 all-stage3: all-stage3-gmp
10732 TARGET-stage3-gmp = $(TARGET-gmp)
10733 all-stage3-gmp: configure-stage3-gmp
10734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10735 @r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 TFLAGS="$(STAGE3_TFLAGS)"; \
10738 $(HOST_EXPORTS) \
10739 $(POSTSTAGE1_HOST_EXPORTS) \
10740 cd $(HOST_SUBDIR)/gmp && \
10741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10742 CFLAGS="$(STAGE3_CFLAGS)" \
10743 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10744 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10748 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10749 TFLAGS="$(STAGE3_TFLAGS)" \
10750 $(TARGET-stage3-gmp)
10752 maybe-clean-stage3-gmp: clean-stage3-gmp
10753 clean-stage3: clean-stage3-gmp
10754 clean-stage3-gmp:
10755 @if [ $(current_stage) = stage3 ]; then \
10756 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10757 else \
10758 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10759 $(MAKE) stage3-start; \
10760 fi; \
10761 cd $(HOST_SUBDIR)/gmp && \
10762 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10763 @endif gmp-bootstrap
10766 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10767 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10768 maybe-all-stage4-gmp:
10769 maybe-clean-stage4-gmp:
10770 @if gmp-bootstrap
10771 maybe-all-stage4-gmp: all-stage4-gmp
10772 all-stage4: all-stage4-gmp
10773 TARGET-stage4-gmp = $(TARGET-gmp)
10774 all-stage4-gmp: configure-stage4-gmp
10775 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10776 @r=`${PWD_COMMAND}`; export r; \
10777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 TFLAGS="$(STAGE4_TFLAGS)"; \
10779 $(HOST_EXPORTS) \
10780 $(POSTSTAGE1_HOST_EXPORTS) \
10781 cd $(HOST_SUBDIR)/gmp && \
10782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10783 CFLAGS="$(STAGE4_CFLAGS)" \
10784 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10785 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10790 TFLAGS="$(STAGE4_TFLAGS)" \
10791 $(TARGET-stage4-gmp)
10793 maybe-clean-stage4-gmp: clean-stage4-gmp
10794 clean-stage4: clean-stage4-gmp
10795 clean-stage4-gmp:
10796 @if [ $(current_stage) = stage4 ]; then \
10797 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10798 else \
10799 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10800 $(MAKE) stage4-start; \
10801 fi; \
10802 cd $(HOST_SUBDIR)/gmp && \
10803 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10804 @endif gmp-bootstrap
10807 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10808 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10809 maybe-all-stageprofile-gmp:
10810 maybe-clean-stageprofile-gmp:
10811 @if gmp-bootstrap
10812 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10813 all-stageprofile: all-stageprofile-gmp
10814 TARGET-stageprofile-gmp = $(TARGET-gmp)
10815 all-stageprofile-gmp: configure-stageprofile-gmp
10816 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10817 @r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10820 $(HOST_EXPORTS) \
10821 $(POSTSTAGE1_HOST_EXPORTS) \
10822 cd $(HOST_SUBDIR)/gmp && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10824 CFLAGS="$(STAGEprofile_CFLAGS)" \
10825 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10826 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10831 TFLAGS="$(STAGEprofile_TFLAGS)" \
10832 $(TARGET-stageprofile-gmp)
10834 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10835 clean-stageprofile: clean-stageprofile-gmp
10836 clean-stageprofile-gmp:
10837 @if [ $(current_stage) = stageprofile ]; then \
10838 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10839 else \
10840 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10841 $(MAKE) stageprofile-start; \
10842 fi; \
10843 cd $(HOST_SUBDIR)/gmp && \
10844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10845 @endif gmp-bootstrap
10848 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10849 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10850 maybe-all-stagefeedback-gmp:
10851 maybe-clean-stagefeedback-gmp:
10852 @if gmp-bootstrap
10853 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10854 all-stagefeedback: all-stagefeedback-gmp
10855 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10856 all-stagefeedback-gmp: configure-stagefeedback-gmp
10857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10861 $(HOST_EXPORTS) \
10862 $(POSTSTAGE1_HOST_EXPORTS) \
10863 cd $(HOST_SUBDIR)/gmp && \
10864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10865 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10866 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10867 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10872 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10873 $(TARGET-stagefeedback-gmp)
10875 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10876 clean-stagefeedback: clean-stagefeedback-gmp
10877 clean-stagefeedback-gmp:
10878 @if [ $(current_stage) = stagefeedback ]; then \
10879 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10880 else \
10881 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10882 $(MAKE) stagefeedback-start; \
10883 fi; \
10884 cd $(HOST_SUBDIR)/gmp && \
10885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10886 @endif gmp-bootstrap
10892 .PHONY: check-gmp maybe-check-gmp
10893 maybe-check-gmp:
10894 @if gmp
10895 maybe-check-gmp: check-gmp
10897 check-gmp:
10898 @: $(MAKE); $(unstage)
10899 @r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901 $(HOST_EXPORTS) \
10902 (cd $(HOST_SUBDIR)/gmp && \
10903 $(MAKE) $(FLAGS_TO_PASS) check)
10905 @endif gmp
10907 .PHONY: install-gmp maybe-install-gmp
10908 maybe-install-gmp:
10909 @if gmp
10910 maybe-install-gmp: install-gmp
10912 install-gmp:
10914 @endif gmp
10916 .PHONY: install-strip-gmp maybe-install-strip-gmp
10917 maybe-install-strip-gmp:
10918 @if gmp
10919 maybe-install-strip-gmp: install-strip-gmp
10921 install-strip-gmp:
10923 @endif gmp
10925 # Other targets (info, dvi, pdf, etc.)
10927 .PHONY: maybe-info-gmp info-gmp
10928 maybe-info-gmp:
10929 @if gmp
10930 maybe-info-gmp: info-gmp
10932 info-gmp: \
10933 configure-gmp
10934 @[ -f ./gmp/Makefile ] || exit 0; \
10935 r=`${PWD_COMMAND}`; export r; \
10936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10937 $(HOST_EXPORTS) \
10938 for flag in $(EXTRA_HOST_FLAGS) ; do \
10939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10940 done; \
10941 echo "Doing info in gmp" ; \
10942 (cd $(HOST_SUBDIR)/gmp && \
10943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10945 "RANLIB=$${RANLIB}" \
10946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10947 info) \
10948 || exit 1
10950 @endif gmp
10952 .PHONY: maybe-dvi-gmp dvi-gmp
10953 maybe-dvi-gmp:
10954 @if gmp
10955 maybe-dvi-gmp: dvi-gmp
10957 dvi-gmp: \
10958 configure-gmp
10959 @[ -f ./gmp/Makefile ] || exit 0; \
10960 r=`${PWD_COMMAND}`; export r; \
10961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10962 $(HOST_EXPORTS) \
10963 for flag in $(EXTRA_HOST_FLAGS) ; do \
10964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10965 done; \
10966 echo "Doing dvi in gmp" ; \
10967 (cd $(HOST_SUBDIR)/gmp && \
10968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10970 "RANLIB=$${RANLIB}" \
10971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10972 dvi) \
10973 || exit 1
10975 @endif gmp
10977 .PHONY: maybe-pdf-gmp pdf-gmp
10978 maybe-pdf-gmp:
10979 @if gmp
10980 maybe-pdf-gmp: pdf-gmp
10982 pdf-gmp: \
10983 configure-gmp
10984 @[ -f ./gmp/Makefile ] || exit 0; \
10985 r=`${PWD_COMMAND}`; export r; \
10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10987 $(HOST_EXPORTS) \
10988 for flag in $(EXTRA_HOST_FLAGS) ; do \
10989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10990 done; \
10991 echo "Doing pdf in gmp" ; \
10992 (cd $(HOST_SUBDIR)/gmp && \
10993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10995 "RANLIB=$${RANLIB}" \
10996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10997 pdf) \
10998 || exit 1
11000 @endif gmp
11002 .PHONY: maybe-html-gmp html-gmp
11003 maybe-html-gmp:
11004 @if gmp
11005 maybe-html-gmp: html-gmp
11007 html-gmp: \
11008 configure-gmp
11009 @[ -f ./gmp/Makefile ] || exit 0; \
11010 r=`${PWD_COMMAND}`; export r; \
11011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11012 $(HOST_EXPORTS) \
11013 for flag in $(EXTRA_HOST_FLAGS) ; do \
11014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11015 done; \
11016 echo "Doing html in gmp" ; \
11017 (cd $(HOST_SUBDIR)/gmp && \
11018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11020 "RANLIB=$${RANLIB}" \
11021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11022 html) \
11023 || exit 1
11025 @endif gmp
11027 .PHONY: maybe-TAGS-gmp TAGS-gmp
11028 maybe-TAGS-gmp:
11029 @if gmp
11030 maybe-TAGS-gmp: TAGS-gmp
11032 TAGS-gmp: \
11033 configure-gmp
11034 @[ -f ./gmp/Makefile ] || exit 0; \
11035 r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 $(HOST_EXPORTS) \
11038 for flag in $(EXTRA_HOST_FLAGS) ; do \
11039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11040 done; \
11041 echo "Doing TAGS in gmp" ; \
11042 (cd $(HOST_SUBDIR)/gmp && \
11043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11045 "RANLIB=$${RANLIB}" \
11046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11047 TAGS) \
11048 || exit 1
11050 @endif gmp
11052 .PHONY: maybe-install-info-gmp install-info-gmp
11053 maybe-install-info-gmp:
11054 @if gmp
11055 maybe-install-info-gmp: install-info-gmp
11057 install-info-gmp: \
11058 configure-gmp \
11059 info-gmp
11060 @[ -f ./gmp/Makefile ] || exit 0; \
11061 r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11063 $(HOST_EXPORTS) \
11064 for flag in $(EXTRA_HOST_FLAGS) ; do \
11065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11066 done; \
11067 echo "Doing install-info in gmp" ; \
11068 (cd $(HOST_SUBDIR)/gmp && \
11069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11071 "RANLIB=$${RANLIB}" \
11072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11073 install-info) \
11074 || exit 1
11076 @endif gmp
11078 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11079 maybe-install-pdf-gmp:
11080 @if gmp
11081 maybe-install-pdf-gmp: install-pdf-gmp
11083 install-pdf-gmp: \
11084 configure-gmp \
11085 pdf-gmp
11086 @[ -f ./gmp/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11089 $(HOST_EXPORTS) \
11090 for flag in $(EXTRA_HOST_FLAGS) ; do \
11091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11092 done; \
11093 echo "Doing install-pdf in gmp" ; \
11094 (cd $(HOST_SUBDIR)/gmp && \
11095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11097 "RANLIB=$${RANLIB}" \
11098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11099 install-pdf) \
11100 || exit 1
11102 @endif gmp
11104 .PHONY: maybe-install-html-gmp install-html-gmp
11105 maybe-install-html-gmp:
11106 @if gmp
11107 maybe-install-html-gmp: install-html-gmp
11109 install-html-gmp: \
11110 configure-gmp \
11111 html-gmp
11112 @[ -f ./gmp/Makefile ] || exit 0; \
11113 r=`${PWD_COMMAND}`; export r; \
11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11115 $(HOST_EXPORTS) \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11118 done; \
11119 echo "Doing install-html in gmp" ; \
11120 (cd $(HOST_SUBDIR)/gmp && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11125 install-html) \
11126 || exit 1
11128 @endif gmp
11130 .PHONY: maybe-installcheck-gmp installcheck-gmp
11131 maybe-installcheck-gmp:
11132 @if gmp
11133 maybe-installcheck-gmp: installcheck-gmp
11135 installcheck-gmp: \
11136 configure-gmp
11137 @[ -f ./gmp/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11140 $(HOST_EXPORTS) \
11141 for flag in $(EXTRA_HOST_FLAGS) ; do \
11142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11143 done; \
11144 echo "Doing installcheck in gmp" ; \
11145 (cd $(HOST_SUBDIR)/gmp && \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148 "RANLIB=$${RANLIB}" \
11149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11150 installcheck) \
11151 || exit 1
11153 @endif gmp
11155 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11156 maybe-mostlyclean-gmp:
11157 @if gmp
11158 maybe-mostlyclean-gmp: mostlyclean-gmp
11160 mostlyclean-gmp:
11161 @[ -f ./gmp/Makefile ] || exit 0; \
11162 r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 $(HOST_EXPORTS) \
11165 for flag in $(EXTRA_HOST_FLAGS) ; do \
11166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11167 done; \
11168 echo "Doing mostlyclean in gmp" ; \
11169 (cd $(HOST_SUBDIR)/gmp && \
11170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11172 "RANLIB=$${RANLIB}" \
11173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11174 mostlyclean) \
11175 || exit 1
11177 @endif gmp
11179 .PHONY: maybe-clean-gmp clean-gmp
11180 maybe-clean-gmp:
11181 @if gmp
11182 maybe-clean-gmp: clean-gmp
11184 clean-gmp:
11185 @[ -f ./gmp/Makefile ] || exit 0; \
11186 r=`${PWD_COMMAND}`; export r; \
11187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11188 $(HOST_EXPORTS) \
11189 for flag in $(EXTRA_HOST_FLAGS) ; do \
11190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11191 done; \
11192 echo "Doing clean in gmp" ; \
11193 (cd $(HOST_SUBDIR)/gmp && \
11194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11196 "RANLIB=$${RANLIB}" \
11197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11198 clean) \
11199 || exit 1
11201 @endif gmp
11203 .PHONY: maybe-distclean-gmp distclean-gmp
11204 maybe-distclean-gmp:
11205 @if gmp
11206 maybe-distclean-gmp: distclean-gmp
11208 distclean-gmp:
11209 @[ -f ./gmp/Makefile ] || exit 0; \
11210 r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11212 $(HOST_EXPORTS) \
11213 for flag in $(EXTRA_HOST_FLAGS) ; do \
11214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11215 done; \
11216 echo "Doing distclean in gmp" ; \
11217 (cd $(HOST_SUBDIR)/gmp && \
11218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11220 "RANLIB=$${RANLIB}" \
11221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11222 distclean) \
11223 || exit 1
11225 @endif gmp
11227 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11228 maybe-maintainer-clean-gmp:
11229 @if gmp
11230 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11232 maintainer-clean-gmp:
11233 @[ -f ./gmp/Makefile ] || exit 0; \
11234 r=`${PWD_COMMAND}`; export r; \
11235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11236 $(HOST_EXPORTS) \
11237 for flag in $(EXTRA_HOST_FLAGS) ; do \
11238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11239 done; \
11240 echo "Doing maintainer-clean in gmp" ; \
11241 (cd $(HOST_SUBDIR)/gmp && \
11242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11244 "RANLIB=$${RANLIB}" \
11245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11246 maintainer-clean) \
11247 || exit 1
11249 @endif gmp
11253 .PHONY: configure-mpfr maybe-configure-mpfr
11254 maybe-configure-mpfr:
11255 @if gcc-bootstrap
11256 configure-mpfr: stage_current
11257 @endif gcc-bootstrap
11258 @if mpfr
11259 maybe-configure-mpfr: configure-mpfr
11260 configure-mpfr:
11261 @r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11265 $(HOST_EXPORTS) \
11266 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11267 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11268 case $(srcdir) in \
11269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11270 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11272 esac; \
11273 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11274 libsrcdir="$$s/mpfr"; \
11275 $(SHELL) $${libsrcdir}/configure \
11276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11277 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11278 || exit 1
11279 @endif mpfr
11283 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11284 maybe-configure-stage1-mpfr:
11285 @if mpfr-bootstrap
11286 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11287 configure-stage1-mpfr:
11288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11290 @r=`${PWD_COMMAND}`; export r; \
11291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11292 TFLAGS="$(STAGE1_TFLAGS)"; \
11293 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11294 $(HOST_EXPORTS) \
11295 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11296 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11297 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11298 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11300 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11301 case $(srcdir) in \
11302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11303 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11305 esac; \
11306 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11307 libsrcdir="$$s/mpfr"; \
11308 $(SHELL) $${libsrcdir}/configure \
11309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11310 --target=${target_alias} $${srcdiroption} \
11311 $(STAGE1_CONFIGURE_FLAGS) \
11312 --disable-shared @extra_mpfr_configure_flags@
11313 @endif mpfr-bootstrap
11315 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11316 maybe-configure-stage2-mpfr:
11317 @if mpfr-bootstrap
11318 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11319 configure-stage2-mpfr:
11320 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11322 @r=`${PWD_COMMAND}`; export r; \
11323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11324 TFLAGS="$(STAGE2_TFLAGS)"; \
11325 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11326 $(HOST_EXPORTS) \
11327 $(POSTSTAGE1_HOST_EXPORTS) \
11328 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11329 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11330 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11331 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11333 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11334 case $(srcdir) in \
11335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11336 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11338 esac; \
11339 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11340 libsrcdir="$$s/mpfr"; \
11341 $(SHELL) $${libsrcdir}/configure \
11342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11343 --target=${target_alias} $${srcdiroption} \
11344 --with-build-libsubdir=$(HOST_SUBDIR) \
11345 $(STAGE2_CONFIGURE_FLAGS) \
11346 --disable-shared @extra_mpfr_configure_flags@
11347 @endif mpfr-bootstrap
11349 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11350 maybe-configure-stage3-mpfr:
11351 @if mpfr-bootstrap
11352 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11353 configure-stage3-mpfr:
11354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11356 @r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 TFLAGS="$(STAGE3_TFLAGS)"; \
11359 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11360 $(HOST_EXPORTS) \
11361 $(POSTSTAGE1_HOST_EXPORTS) \
11362 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11363 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11364 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11365 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11367 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11368 case $(srcdir) in \
11369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11370 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11372 esac; \
11373 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11374 libsrcdir="$$s/mpfr"; \
11375 $(SHELL) $${libsrcdir}/configure \
11376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11377 --target=${target_alias} $${srcdiroption} \
11378 --with-build-libsubdir=$(HOST_SUBDIR) \
11379 $(STAGE3_CONFIGURE_FLAGS) \
11380 --disable-shared @extra_mpfr_configure_flags@
11381 @endif mpfr-bootstrap
11383 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11384 maybe-configure-stage4-mpfr:
11385 @if mpfr-bootstrap
11386 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11387 configure-stage4-mpfr:
11388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11390 @r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 TFLAGS="$(STAGE4_TFLAGS)"; \
11393 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11394 $(HOST_EXPORTS) \
11395 $(POSTSTAGE1_HOST_EXPORTS) \
11396 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11397 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11398 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11399 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11401 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11402 case $(srcdir) in \
11403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11404 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11406 esac; \
11407 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11408 libsrcdir="$$s/mpfr"; \
11409 $(SHELL) $${libsrcdir}/configure \
11410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11411 --target=${target_alias} $${srcdiroption} \
11412 --with-build-libsubdir=$(HOST_SUBDIR) \
11413 $(STAGE4_CONFIGURE_FLAGS) \
11414 --disable-shared @extra_mpfr_configure_flags@
11415 @endif mpfr-bootstrap
11417 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11418 maybe-configure-stageprofile-mpfr:
11419 @if mpfr-bootstrap
11420 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11421 configure-stageprofile-mpfr:
11422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11424 @r=`${PWD_COMMAND}`; export r; \
11425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11426 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11427 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11428 $(HOST_EXPORTS) \
11429 $(POSTSTAGE1_HOST_EXPORTS) \
11430 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11431 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11432 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11433 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11435 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11436 case $(srcdir) in \
11437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11438 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11440 esac; \
11441 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11442 libsrcdir="$$s/mpfr"; \
11443 $(SHELL) $${libsrcdir}/configure \
11444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11445 --target=${target_alias} $${srcdiroption} \
11446 --with-build-libsubdir=$(HOST_SUBDIR) \
11447 $(STAGEprofile_CONFIGURE_FLAGS) \
11448 --disable-shared @extra_mpfr_configure_flags@
11449 @endif mpfr-bootstrap
11451 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11452 maybe-configure-stagefeedback-mpfr:
11453 @if mpfr-bootstrap
11454 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11455 configure-stagefeedback-mpfr:
11456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11458 @r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11461 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11462 $(HOST_EXPORTS) \
11463 $(POSTSTAGE1_HOST_EXPORTS) \
11464 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11465 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11466 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11467 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11469 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11470 case $(srcdir) in \
11471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11472 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11474 esac; \
11475 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11476 libsrcdir="$$s/mpfr"; \
11477 $(SHELL) $${libsrcdir}/configure \
11478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11479 --target=${target_alias} $${srcdiroption} \
11480 --with-build-libsubdir=$(HOST_SUBDIR) \
11481 $(STAGEfeedback_CONFIGURE_FLAGS) \
11482 --disable-shared @extra_mpfr_configure_flags@
11483 @endif mpfr-bootstrap
11489 .PHONY: all-mpfr maybe-all-mpfr
11490 maybe-all-mpfr:
11491 @if gcc-bootstrap
11492 all-mpfr: stage_current
11493 @endif gcc-bootstrap
11494 @if mpfr
11495 TARGET-mpfr=all
11496 maybe-all-mpfr: all-mpfr
11497 all-mpfr: configure-mpfr
11498 @r=`${PWD_COMMAND}`; export r; \
11499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11500 $(HOST_EXPORTS) \
11501 (cd $(HOST_SUBDIR)/mpfr && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11503 $(TARGET-mpfr))
11504 @endif mpfr
11508 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11509 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11510 maybe-all-stage1-mpfr:
11511 maybe-clean-stage1-mpfr:
11512 @if mpfr-bootstrap
11513 maybe-all-stage1-mpfr: all-stage1-mpfr
11514 all-stage1: all-stage1-mpfr
11515 TARGET-stage1-mpfr = $(TARGET-mpfr)
11516 all-stage1-mpfr: configure-stage1-mpfr
11517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 TFLAGS="$(STAGE1_TFLAGS)"; \
11521 $(HOST_EXPORTS) \
11522 cd $(HOST_SUBDIR)/mpfr && \
11523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11524 CFLAGS="$(STAGE1_CFLAGS)" \
11525 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11526 LIBCFLAGS="$(LIBCFLAGS)" \
11527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11530 $(EXTRA_HOST_FLAGS) \
11531 $(STAGE1_FLAGS_TO_PASS) \
11532 TFLAGS="$(STAGE1_TFLAGS)" \
11533 $(TARGET-stage1-mpfr)
11535 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11536 clean-stage1: clean-stage1-mpfr
11537 clean-stage1-mpfr:
11538 @if [ $(current_stage) = stage1 ]; then \
11539 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11540 else \
11541 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11542 $(MAKE) stage1-start; \
11543 fi; \
11544 cd $(HOST_SUBDIR)/mpfr && \
11545 $(MAKE) $(EXTRA_HOST_FLAGS) \
11546 $(STAGE1_FLAGS_TO_PASS) clean
11547 @endif mpfr-bootstrap
11550 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11551 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11552 maybe-all-stage2-mpfr:
11553 maybe-clean-stage2-mpfr:
11554 @if mpfr-bootstrap
11555 maybe-all-stage2-mpfr: all-stage2-mpfr
11556 all-stage2: all-stage2-mpfr
11557 TARGET-stage2-mpfr = $(TARGET-mpfr)
11558 all-stage2-mpfr: configure-stage2-mpfr
11559 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11560 @r=`${PWD_COMMAND}`; export r; \
11561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11562 TFLAGS="$(STAGE2_TFLAGS)"; \
11563 $(HOST_EXPORTS) \
11564 $(POSTSTAGE1_HOST_EXPORTS) \
11565 cd $(HOST_SUBDIR)/mpfr && \
11566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11567 CFLAGS="$(STAGE2_CFLAGS)" \
11568 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11569 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11574 TFLAGS="$(STAGE2_TFLAGS)" \
11575 $(TARGET-stage2-mpfr)
11577 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11578 clean-stage2: clean-stage2-mpfr
11579 clean-stage2-mpfr:
11580 @if [ $(current_stage) = stage2 ]; then \
11581 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11582 else \
11583 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11584 $(MAKE) stage2-start; \
11585 fi; \
11586 cd $(HOST_SUBDIR)/mpfr && \
11587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11588 @endif mpfr-bootstrap
11591 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11592 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11593 maybe-all-stage3-mpfr:
11594 maybe-clean-stage3-mpfr:
11595 @if mpfr-bootstrap
11596 maybe-all-stage3-mpfr: all-stage3-mpfr
11597 all-stage3: all-stage3-mpfr
11598 TARGET-stage3-mpfr = $(TARGET-mpfr)
11599 all-stage3-mpfr: configure-stage3-mpfr
11600 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11601 @r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 TFLAGS="$(STAGE3_TFLAGS)"; \
11604 $(HOST_EXPORTS) \
11605 $(POSTSTAGE1_HOST_EXPORTS) \
11606 cd $(HOST_SUBDIR)/mpfr && \
11607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11608 CFLAGS="$(STAGE3_CFLAGS)" \
11609 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11610 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11615 TFLAGS="$(STAGE3_TFLAGS)" \
11616 $(TARGET-stage3-mpfr)
11618 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11619 clean-stage3: clean-stage3-mpfr
11620 clean-stage3-mpfr:
11621 @if [ $(current_stage) = stage3 ]; then \
11622 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11623 else \
11624 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11625 $(MAKE) stage3-start; \
11626 fi; \
11627 cd $(HOST_SUBDIR)/mpfr && \
11628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11629 @endif mpfr-bootstrap
11632 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11633 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11634 maybe-all-stage4-mpfr:
11635 maybe-clean-stage4-mpfr:
11636 @if mpfr-bootstrap
11637 maybe-all-stage4-mpfr: all-stage4-mpfr
11638 all-stage4: all-stage4-mpfr
11639 TARGET-stage4-mpfr = $(TARGET-mpfr)
11640 all-stage4-mpfr: configure-stage4-mpfr
11641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11642 @r=`${PWD_COMMAND}`; export r; \
11643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11644 TFLAGS="$(STAGE4_TFLAGS)"; \
11645 $(HOST_EXPORTS) \
11646 $(POSTSTAGE1_HOST_EXPORTS) \
11647 cd $(HOST_SUBDIR)/mpfr && \
11648 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11649 CFLAGS="$(STAGE4_CFLAGS)" \
11650 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11651 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11652 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11653 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11654 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11655 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11656 TFLAGS="$(STAGE4_TFLAGS)" \
11657 $(TARGET-stage4-mpfr)
11659 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11660 clean-stage4: clean-stage4-mpfr
11661 clean-stage4-mpfr:
11662 @if [ $(current_stage) = stage4 ]; then \
11663 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11664 else \
11665 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11666 $(MAKE) stage4-start; \
11667 fi; \
11668 cd $(HOST_SUBDIR)/mpfr && \
11669 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11670 @endif mpfr-bootstrap
11673 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11674 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11675 maybe-all-stageprofile-mpfr:
11676 maybe-clean-stageprofile-mpfr:
11677 @if mpfr-bootstrap
11678 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11679 all-stageprofile: all-stageprofile-mpfr
11680 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11681 all-stageprofile-mpfr: configure-stageprofile-mpfr
11682 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11683 @r=`${PWD_COMMAND}`; export r; \
11684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11686 $(HOST_EXPORTS) \
11687 $(POSTSTAGE1_HOST_EXPORTS) \
11688 cd $(HOST_SUBDIR)/mpfr && \
11689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11690 CFLAGS="$(STAGEprofile_CFLAGS)" \
11691 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11692 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11697 TFLAGS="$(STAGEprofile_TFLAGS)" \
11698 $(TARGET-stageprofile-mpfr)
11700 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11701 clean-stageprofile: clean-stageprofile-mpfr
11702 clean-stageprofile-mpfr:
11703 @if [ $(current_stage) = stageprofile ]; then \
11704 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11705 else \
11706 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11707 $(MAKE) stageprofile-start; \
11708 fi; \
11709 cd $(HOST_SUBDIR)/mpfr && \
11710 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11711 @endif mpfr-bootstrap
11714 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11715 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11716 maybe-all-stagefeedback-mpfr:
11717 maybe-clean-stagefeedback-mpfr:
11718 @if mpfr-bootstrap
11719 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11720 all-stagefeedback: all-stagefeedback-mpfr
11721 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11722 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11723 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11724 @r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11727 $(HOST_EXPORTS) \
11728 $(POSTSTAGE1_HOST_EXPORTS) \
11729 cd $(HOST_SUBDIR)/mpfr && \
11730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11731 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11738 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11739 $(TARGET-stagefeedback-mpfr)
11741 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11742 clean-stagefeedback: clean-stagefeedback-mpfr
11743 clean-stagefeedback-mpfr:
11744 @if [ $(current_stage) = stagefeedback ]; then \
11745 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11746 else \
11747 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11748 $(MAKE) stagefeedback-start; \
11749 fi; \
11750 cd $(HOST_SUBDIR)/mpfr && \
11751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11752 @endif mpfr-bootstrap
11758 .PHONY: check-mpfr maybe-check-mpfr
11759 maybe-check-mpfr:
11760 @if mpfr
11761 maybe-check-mpfr: check-mpfr
11763 check-mpfr:
11764 @: $(MAKE); $(unstage)
11765 @r=`${PWD_COMMAND}`; export r; \
11766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11767 $(HOST_EXPORTS) \
11768 (cd $(HOST_SUBDIR)/mpfr && \
11769 $(MAKE) $(FLAGS_TO_PASS) check)
11771 @endif mpfr
11773 .PHONY: install-mpfr maybe-install-mpfr
11774 maybe-install-mpfr:
11775 @if mpfr
11776 maybe-install-mpfr: install-mpfr
11778 install-mpfr:
11780 @endif mpfr
11782 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11783 maybe-install-strip-mpfr:
11784 @if mpfr
11785 maybe-install-strip-mpfr: install-strip-mpfr
11787 install-strip-mpfr:
11789 @endif mpfr
11791 # Other targets (info, dvi, pdf, etc.)
11793 .PHONY: maybe-info-mpfr info-mpfr
11794 maybe-info-mpfr:
11795 @if mpfr
11796 maybe-info-mpfr: info-mpfr
11798 info-mpfr: \
11799 configure-mpfr
11800 @[ -f ./mpfr/Makefile ] || exit 0; \
11801 r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11803 $(HOST_EXPORTS) \
11804 for flag in $(EXTRA_HOST_FLAGS) ; do \
11805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11806 done; \
11807 echo "Doing info in mpfr" ; \
11808 (cd $(HOST_SUBDIR)/mpfr && \
11809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11811 "RANLIB=$${RANLIB}" \
11812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11813 info) \
11814 || exit 1
11816 @endif mpfr
11818 .PHONY: maybe-dvi-mpfr dvi-mpfr
11819 maybe-dvi-mpfr:
11820 @if mpfr
11821 maybe-dvi-mpfr: dvi-mpfr
11823 dvi-mpfr: \
11824 configure-mpfr
11825 @[ -f ./mpfr/Makefile ] || exit 0; \
11826 r=`${PWD_COMMAND}`; export r; \
11827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11828 $(HOST_EXPORTS) \
11829 for flag in $(EXTRA_HOST_FLAGS) ; do \
11830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11831 done; \
11832 echo "Doing dvi in mpfr" ; \
11833 (cd $(HOST_SUBDIR)/mpfr && \
11834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11836 "RANLIB=$${RANLIB}" \
11837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11838 dvi) \
11839 || exit 1
11841 @endif mpfr
11843 .PHONY: maybe-pdf-mpfr pdf-mpfr
11844 maybe-pdf-mpfr:
11845 @if mpfr
11846 maybe-pdf-mpfr: pdf-mpfr
11848 pdf-mpfr: \
11849 configure-mpfr
11850 @[ -f ./mpfr/Makefile ] || exit 0; \
11851 r=`${PWD_COMMAND}`; export r; \
11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 $(HOST_EXPORTS) \
11854 for flag in $(EXTRA_HOST_FLAGS) ; do \
11855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11856 done; \
11857 echo "Doing pdf in mpfr" ; \
11858 (cd $(HOST_SUBDIR)/mpfr && \
11859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11861 "RANLIB=$${RANLIB}" \
11862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11863 pdf) \
11864 || exit 1
11866 @endif mpfr
11868 .PHONY: maybe-html-mpfr html-mpfr
11869 maybe-html-mpfr:
11870 @if mpfr
11871 maybe-html-mpfr: html-mpfr
11873 html-mpfr: \
11874 configure-mpfr
11875 @[ -f ./mpfr/Makefile ] || exit 0; \
11876 r=`${PWD_COMMAND}`; export r; \
11877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11878 $(HOST_EXPORTS) \
11879 for flag in $(EXTRA_HOST_FLAGS) ; do \
11880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11881 done; \
11882 echo "Doing html in mpfr" ; \
11883 (cd $(HOST_SUBDIR)/mpfr && \
11884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11886 "RANLIB=$${RANLIB}" \
11887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11888 html) \
11889 || exit 1
11891 @endif mpfr
11893 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11894 maybe-TAGS-mpfr:
11895 @if mpfr
11896 maybe-TAGS-mpfr: TAGS-mpfr
11898 TAGS-mpfr: \
11899 configure-mpfr
11900 @[ -f ./mpfr/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(HOST_EXPORTS) \
11904 for flag in $(EXTRA_HOST_FLAGS) ; do \
11905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11906 done; \
11907 echo "Doing TAGS in mpfr" ; \
11908 (cd $(HOST_SUBDIR)/mpfr && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11911 "RANLIB=$${RANLIB}" \
11912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11913 TAGS) \
11914 || exit 1
11916 @endif mpfr
11918 .PHONY: maybe-install-info-mpfr install-info-mpfr
11919 maybe-install-info-mpfr:
11920 @if mpfr
11921 maybe-install-info-mpfr: install-info-mpfr
11923 install-info-mpfr: \
11924 configure-mpfr \
11925 info-mpfr
11926 @[ -f ./mpfr/Makefile ] || exit 0; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 for flag in $(EXTRA_HOST_FLAGS) ; do \
11931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11932 done; \
11933 echo "Doing install-info in mpfr" ; \
11934 (cd $(HOST_SUBDIR)/mpfr && \
11935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11937 "RANLIB=$${RANLIB}" \
11938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11939 install-info) \
11940 || exit 1
11942 @endif mpfr
11944 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11945 maybe-install-pdf-mpfr:
11946 @if mpfr
11947 maybe-install-pdf-mpfr: install-pdf-mpfr
11949 install-pdf-mpfr: \
11950 configure-mpfr \
11951 pdf-mpfr
11952 @[ -f ./mpfr/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(HOST_EXPORTS) \
11956 for flag in $(EXTRA_HOST_FLAGS) ; do \
11957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11958 done; \
11959 echo "Doing install-pdf in mpfr" ; \
11960 (cd $(HOST_SUBDIR)/mpfr && \
11961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11963 "RANLIB=$${RANLIB}" \
11964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11965 install-pdf) \
11966 || exit 1
11968 @endif mpfr
11970 .PHONY: maybe-install-html-mpfr install-html-mpfr
11971 maybe-install-html-mpfr:
11972 @if mpfr
11973 maybe-install-html-mpfr: install-html-mpfr
11975 install-html-mpfr: \
11976 configure-mpfr \
11977 html-mpfr
11978 @[ -f ./mpfr/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing install-html in mpfr" ; \
11986 (cd $(HOST_SUBDIR)/mpfr && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11991 install-html) \
11992 || exit 1
11994 @endif mpfr
11996 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11997 maybe-installcheck-mpfr:
11998 @if mpfr
11999 maybe-installcheck-mpfr: installcheck-mpfr
12001 installcheck-mpfr: \
12002 configure-mpfr
12003 @[ -f ./mpfr/Makefile ] || exit 0; \
12004 r=`${PWD_COMMAND}`; export r; \
12005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12006 $(HOST_EXPORTS) \
12007 for flag in $(EXTRA_HOST_FLAGS) ; do \
12008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12009 done; \
12010 echo "Doing installcheck in mpfr" ; \
12011 (cd $(HOST_SUBDIR)/mpfr && \
12012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12014 "RANLIB=$${RANLIB}" \
12015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12016 installcheck) \
12017 || exit 1
12019 @endif mpfr
12021 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12022 maybe-mostlyclean-mpfr:
12023 @if mpfr
12024 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12026 mostlyclean-mpfr:
12027 @[ -f ./mpfr/Makefile ] || exit 0; \
12028 r=`${PWD_COMMAND}`; export r; \
12029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12030 $(HOST_EXPORTS) \
12031 for flag in $(EXTRA_HOST_FLAGS) ; do \
12032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12033 done; \
12034 echo "Doing mostlyclean in mpfr" ; \
12035 (cd $(HOST_SUBDIR)/mpfr && \
12036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12038 "RANLIB=$${RANLIB}" \
12039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12040 mostlyclean) \
12041 || exit 1
12043 @endif mpfr
12045 .PHONY: maybe-clean-mpfr clean-mpfr
12046 maybe-clean-mpfr:
12047 @if mpfr
12048 maybe-clean-mpfr: clean-mpfr
12050 clean-mpfr:
12051 @[ -f ./mpfr/Makefile ] || exit 0; \
12052 r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12054 $(HOST_EXPORTS) \
12055 for flag in $(EXTRA_HOST_FLAGS) ; do \
12056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12057 done; \
12058 echo "Doing clean in mpfr" ; \
12059 (cd $(HOST_SUBDIR)/mpfr && \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062 "RANLIB=$${RANLIB}" \
12063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12064 clean) \
12065 || exit 1
12067 @endif mpfr
12069 .PHONY: maybe-distclean-mpfr distclean-mpfr
12070 maybe-distclean-mpfr:
12071 @if mpfr
12072 maybe-distclean-mpfr: distclean-mpfr
12074 distclean-mpfr:
12075 @[ -f ./mpfr/Makefile ] || exit 0; \
12076 r=`${PWD_COMMAND}`; export r; \
12077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12078 $(HOST_EXPORTS) \
12079 for flag in $(EXTRA_HOST_FLAGS) ; do \
12080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12081 done; \
12082 echo "Doing distclean in mpfr" ; \
12083 (cd $(HOST_SUBDIR)/mpfr && \
12084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12086 "RANLIB=$${RANLIB}" \
12087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12088 distclean) \
12089 || exit 1
12091 @endif mpfr
12093 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12094 maybe-maintainer-clean-mpfr:
12095 @if mpfr
12096 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12098 maintainer-clean-mpfr:
12099 @[ -f ./mpfr/Makefile ] || exit 0; \
12100 r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12102 $(HOST_EXPORTS) \
12103 for flag in $(EXTRA_HOST_FLAGS) ; do \
12104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12105 done; \
12106 echo "Doing maintainer-clean in mpfr" ; \
12107 (cd $(HOST_SUBDIR)/mpfr && \
12108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12110 "RANLIB=$${RANLIB}" \
12111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12112 maintainer-clean) \
12113 || exit 1
12115 @endif mpfr
12119 .PHONY: configure-mpc maybe-configure-mpc
12120 maybe-configure-mpc:
12121 @if gcc-bootstrap
12122 configure-mpc: stage_current
12123 @endif gcc-bootstrap
12124 @if mpc
12125 maybe-configure-mpc: configure-mpc
12126 configure-mpc:
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12131 $(HOST_EXPORTS) \
12132 echo Configuring in $(HOST_SUBDIR)/mpc; \
12133 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12134 case $(srcdir) in \
12135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12136 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12138 esac; \
12139 srcdiroption="--srcdir=$${topdir}/mpc"; \
12140 libsrcdir="$$s/mpc"; \
12141 $(SHELL) $${libsrcdir}/configure \
12142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12143 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12144 || exit 1
12145 @endif mpc
12149 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12150 maybe-configure-stage1-mpc:
12151 @if mpc-bootstrap
12152 maybe-configure-stage1-mpc: configure-stage1-mpc
12153 configure-stage1-mpc:
12154 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12156 @r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 TFLAGS="$(STAGE1_TFLAGS)"; \
12159 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12160 $(HOST_EXPORTS) \
12161 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12162 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12163 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12164 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12166 cd $(HOST_SUBDIR)/mpc || exit 1; \
12167 case $(srcdir) in \
12168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12169 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12171 esac; \
12172 srcdiroption="--srcdir=$${topdir}/mpc"; \
12173 libsrcdir="$$s/mpc"; \
12174 $(SHELL) $${libsrcdir}/configure \
12175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12176 --target=${target_alias} $${srcdiroption} \
12177 $(STAGE1_CONFIGURE_FLAGS) \
12178 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12179 @endif mpc-bootstrap
12181 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12182 maybe-configure-stage2-mpc:
12183 @if mpc-bootstrap
12184 maybe-configure-stage2-mpc: configure-stage2-mpc
12185 configure-stage2-mpc:
12186 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12188 @r=`${PWD_COMMAND}`; export r; \
12189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12190 TFLAGS="$(STAGE2_TFLAGS)"; \
12191 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12192 $(HOST_EXPORTS) \
12193 $(POSTSTAGE1_HOST_EXPORTS) \
12194 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12195 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12196 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12197 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12199 cd $(HOST_SUBDIR)/mpc || exit 1; \
12200 case $(srcdir) in \
12201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12202 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12204 esac; \
12205 srcdiroption="--srcdir=$${topdir}/mpc"; \
12206 libsrcdir="$$s/mpc"; \
12207 $(SHELL) $${libsrcdir}/configure \
12208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12209 --target=${target_alias} $${srcdiroption} \
12210 --with-build-libsubdir=$(HOST_SUBDIR) \
12211 $(STAGE2_CONFIGURE_FLAGS) \
12212 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12213 @endif mpc-bootstrap
12215 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12216 maybe-configure-stage3-mpc:
12217 @if mpc-bootstrap
12218 maybe-configure-stage3-mpc: configure-stage3-mpc
12219 configure-stage3-mpc:
12220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 TFLAGS="$(STAGE3_TFLAGS)"; \
12225 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12226 $(HOST_EXPORTS) \
12227 $(POSTSTAGE1_HOST_EXPORTS) \
12228 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12229 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12230 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12231 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12233 cd $(HOST_SUBDIR)/mpc || exit 1; \
12234 case $(srcdir) in \
12235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12236 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12238 esac; \
12239 srcdiroption="--srcdir=$${topdir}/mpc"; \
12240 libsrcdir="$$s/mpc"; \
12241 $(SHELL) $${libsrcdir}/configure \
12242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12243 --target=${target_alias} $${srcdiroption} \
12244 --with-build-libsubdir=$(HOST_SUBDIR) \
12245 $(STAGE3_CONFIGURE_FLAGS) \
12246 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12247 @endif mpc-bootstrap
12249 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12250 maybe-configure-stage4-mpc:
12251 @if mpc-bootstrap
12252 maybe-configure-stage4-mpc: configure-stage4-mpc
12253 configure-stage4-mpc:
12254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12256 @r=`${PWD_COMMAND}`; export r; \
12257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12258 TFLAGS="$(STAGE4_TFLAGS)"; \
12259 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12260 $(HOST_EXPORTS) \
12261 $(POSTSTAGE1_HOST_EXPORTS) \
12262 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12263 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12264 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12265 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12267 cd $(HOST_SUBDIR)/mpc || exit 1; \
12268 case $(srcdir) in \
12269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12270 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12272 esac; \
12273 srcdiroption="--srcdir=$${topdir}/mpc"; \
12274 libsrcdir="$$s/mpc"; \
12275 $(SHELL) $${libsrcdir}/configure \
12276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12277 --target=${target_alias} $${srcdiroption} \
12278 --with-build-libsubdir=$(HOST_SUBDIR) \
12279 $(STAGE4_CONFIGURE_FLAGS) \
12280 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12281 @endif mpc-bootstrap
12283 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12284 maybe-configure-stageprofile-mpc:
12285 @if mpc-bootstrap
12286 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12287 configure-stageprofile-mpc:
12288 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12290 @r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12293 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12294 $(HOST_EXPORTS) \
12295 $(POSTSTAGE1_HOST_EXPORTS) \
12296 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12297 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12298 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12299 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12301 cd $(HOST_SUBDIR)/mpc || exit 1; \
12302 case $(srcdir) in \
12303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12304 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12306 esac; \
12307 srcdiroption="--srcdir=$${topdir}/mpc"; \
12308 libsrcdir="$$s/mpc"; \
12309 $(SHELL) $${libsrcdir}/configure \
12310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12311 --target=${target_alias} $${srcdiroption} \
12312 --with-build-libsubdir=$(HOST_SUBDIR) \
12313 $(STAGEprofile_CONFIGURE_FLAGS) \
12314 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12315 @endif mpc-bootstrap
12317 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12318 maybe-configure-stagefeedback-mpc:
12319 @if mpc-bootstrap
12320 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12321 configure-stagefeedback-mpc:
12322 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12324 @r=`${PWD_COMMAND}`; export r; \
12325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12326 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12327 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12328 $(HOST_EXPORTS) \
12329 $(POSTSTAGE1_HOST_EXPORTS) \
12330 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12331 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12332 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12333 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12335 cd $(HOST_SUBDIR)/mpc || exit 1; \
12336 case $(srcdir) in \
12337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12338 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12340 esac; \
12341 srcdiroption="--srcdir=$${topdir}/mpc"; \
12342 libsrcdir="$$s/mpc"; \
12343 $(SHELL) $${libsrcdir}/configure \
12344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12345 --target=${target_alias} $${srcdiroption} \
12346 --with-build-libsubdir=$(HOST_SUBDIR) \
12347 $(STAGEfeedback_CONFIGURE_FLAGS) \
12348 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12349 @endif mpc-bootstrap
12355 .PHONY: all-mpc maybe-all-mpc
12356 maybe-all-mpc:
12357 @if gcc-bootstrap
12358 all-mpc: stage_current
12359 @endif gcc-bootstrap
12360 @if mpc
12361 TARGET-mpc=all
12362 maybe-all-mpc: all-mpc
12363 all-mpc: configure-mpc
12364 @r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12366 $(HOST_EXPORTS) \
12367 (cd $(HOST_SUBDIR)/mpc && \
12368 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12369 $(TARGET-mpc))
12370 @endif mpc
12374 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12375 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12376 maybe-all-stage1-mpc:
12377 maybe-clean-stage1-mpc:
12378 @if mpc-bootstrap
12379 maybe-all-stage1-mpc: all-stage1-mpc
12380 all-stage1: all-stage1-mpc
12381 TARGET-stage1-mpc = $(TARGET-mpc)
12382 all-stage1-mpc: configure-stage1-mpc
12383 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12384 @r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 TFLAGS="$(STAGE1_TFLAGS)"; \
12387 $(HOST_EXPORTS) \
12388 cd $(HOST_SUBDIR)/mpc && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12390 CFLAGS="$(STAGE1_CFLAGS)" \
12391 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12392 LIBCFLAGS="$(LIBCFLAGS)" \
12393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12396 $(EXTRA_HOST_FLAGS) \
12397 $(STAGE1_FLAGS_TO_PASS) \
12398 TFLAGS="$(STAGE1_TFLAGS)" \
12399 $(TARGET-stage1-mpc)
12401 maybe-clean-stage1-mpc: clean-stage1-mpc
12402 clean-stage1: clean-stage1-mpc
12403 clean-stage1-mpc:
12404 @if [ $(current_stage) = stage1 ]; then \
12405 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12406 else \
12407 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12408 $(MAKE) stage1-start; \
12409 fi; \
12410 cd $(HOST_SUBDIR)/mpc && \
12411 $(MAKE) $(EXTRA_HOST_FLAGS) \
12412 $(STAGE1_FLAGS_TO_PASS) clean
12413 @endif mpc-bootstrap
12416 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12417 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12418 maybe-all-stage2-mpc:
12419 maybe-clean-stage2-mpc:
12420 @if mpc-bootstrap
12421 maybe-all-stage2-mpc: all-stage2-mpc
12422 all-stage2: all-stage2-mpc
12423 TARGET-stage2-mpc = $(TARGET-mpc)
12424 all-stage2-mpc: configure-stage2-mpc
12425 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12426 @r=`${PWD_COMMAND}`; export r; \
12427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12428 TFLAGS="$(STAGE2_TFLAGS)"; \
12429 $(HOST_EXPORTS) \
12430 $(POSTSTAGE1_HOST_EXPORTS) \
12431 cd $(HOST_SUBDIR)/mpc && \
12432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12433 CFLAGS="$(STAGE2_CFLAGS)" \
12434 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12435 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12440 TFLAGS="$(STAGE2_TFLAGS)" \
12441 $(TARGET-stage2-mpc)
12443 maybe-clean-stage2-mpc: clean-stage2-mpc
12444 clean-stage2: clean-stage2-mpc
12445 clean-stage2-mpc:
12446 @if [ $(current_stage) = stage2 ]; then \
12447 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12448 else \
12449 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12450 $(MAKE) stage2-start; \
12451 fi; \
12452 cd $(HOST_SUBDIR)/mpc && \
12453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12454 @endif mpc-bootstrap
12457 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12458 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12459 maybe-all-stage3-mpc:
12460 maybe-clean-stage3-mpc:
12461 @if mpc-bootstrap
12462 maybe-all-stage3-mpc: all-stage3-mpc
12463 all-stage3: all-stage3-mpc
12464 TARGET-stage3-mpc = $(TARGET-mpc)
12465 all-stage3-mpc: configure-stage3-mpc
12466 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12467 @r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 TFLAGS="$(STAGE3_TFLAGS)"; \
12470 $(HOST_EXPORTS) \
12471 $(POSTSTAGE1_HOST_EXPORTS) \
12472 cd $(HOST_SUBDIR)/mpc && \
12473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12474 CFLAGS="$(STAGE3_CFLAGS)" \
12475 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12476 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12481 TFLAGS="$(STAGE3_TFLAGS)" \
12482 $(TARGET-stage3-mpc)
12484 maybe-clean-stage3-mpc: clean-stage3-mpc
12485 clean-stage3: clean-stage3-mpc
12486 clean-stage3-mpc:
12487 @if [ $(current_stage) = stage3 ]; then \
12488 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12489 else \
12490 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12491 $(MAKE) stage3-start; \
12492 fi; \
12493 cd $(HOST_SUBDIR)/mpc && \
12494 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12495 @endif mpc-bootstrap
12498 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12499 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12500 maybe-all-stage4-mpc:
12501 maybe-clean-stage4-mpc:
12502 @if mpc-bootstrap
12503 maybe-all-stage4-mpc: all-stage4-mpc
12504 all-stage4: all-stage4-mpc
12505 TARGET-stage4-mpc = $(TARGET-mpc)
12506 all-stage4-mpc: configure-stage4-mpc
12507 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12508 @r=`${PWD_COMMAND}`; export r; \
12509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12510 TFLAGS="$(STAGE4_TFLAGS)"; \
12511 $(HOST_EXPORTS) \
12512 $(POSTSTAGE1_HOST_EXPORTS) \
12513 cd $(HOST_SUBDIR)/mpc && \
12514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12515 CFLAGS="$(STAGE4_CFLAGS)" \
12516 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12517 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12518 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12522 TFLAGS="$(STAGE4_TFLAGS)" \
12523 $(TARGET-stage4-mpc)
12525 maybe-clean-stage4-mpc: clean-stage4-mpc
12526 clean-stage4: clean-stage4-mpc
12527 clean-stage4-mpc:
12528 @if [ $(current_stage) = stage4 ]; then \
12529 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12530 else \
12531 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12532 $(MAKE) stage4-start; \
12533 fi; \
12534 cd $(HOST_SUBDIR)/mpc && \
12535 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12536 @endif mpc-bootstrap
12539 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12540 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12541 maybe-all-stageprofile-mpc:
12542 maybe-clean-stageprofile-mpc:
12543 @if mpc-bootstrap
12544 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12545 all-stageprofile: all-stageprofile-mpc
12546 TARGET-stageprofile-mpc = $(TARGET-mpc)
12547 all-stageprofile-mpc: configure-stageprofile-mpc
12548 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12549 @r=`${PWD_COMMAND}`; export r; \
12550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12551 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12552 $(HOST_EXPORTS) \
12553 $(POSTSTAGE1_HOST_EXPORTS) \
12554 cd $(HOST_SUBDIR)/mpc && \
12555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12556 CFLAGS="$(STAGEprofile_CFLAGS)" \
12557 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12558 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12563 TFLAGS="$(STAGEprofile_TFLAGS)" \
12564 $(TARGET-stageprofile-mpc)
12566 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12567 clean-stageprofile: clean-stageprofile-mpc
12568 clean-stageprofile-mpc:
12569 @if [ $(current_stage) = stageprofile ]; then \
12570 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12571 else \
12572 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12573 $(MAKE) stageprofile-start; \
12574 fi; \
12575 cd $(HOST_SUBDIR)/mpc && \
12576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12577 @endif mpc-bootstrap
12580 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12581 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12582 maybe-all-stagefeedback-mpc:
12583 maybe-clean-stagefeedback-mpc:
12584 @if mpc-bootstrap
12585 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12586 all-stagefeedback: all-stagefeedback-mpc
12587 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12588 all-stagefeedback-mpc: configure-stagefeedback-mpc
12589 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12593 $(HOST_EXPORTS) \
12594 $(POSTSTAGE1_HOST_EXPORTS) \
12595 cd $(HOST_SUBDIR)/mpc && \
12596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12597 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12598 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12599 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12604 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12605 $(TARGET-stagefeedback-mpc)
12607 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12608 clean-stagefeedback: clean-stagefeedback-mpc
12609 clean-stagefeedback-mpc:
12610 @if [ $(current_stage) = stagefeedback ]; then \
12611 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12612 else \
12613 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12614 $(MAKE) stagefeedback-start; \
12615 fi; \
12616 cd $(HOST_SUBDIR)/mpc && \
12617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12618 @endif mpc-bootstrap
12624 .PHONY: check-mpc maybe-check-mpc
12625 maybe-check-mpc:
12626 @if mpc
12627 maybe-check-mpc: check-mpc
12629 check-mpc:
12630 @: $(MAKE); $(unstage)
12631 @r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633 $(HOST_EXPORTS) \
12634 (cd $(HOST_SUBDIR)/mpc && \
12635 $(MAKE) $(FLAGS_TO_PASS) check)
12637 @endif mpc
12639 .PHONY: install-mpc maybe-install-mpc
12640 maybe-install-mpc:
12641 @if mpc
12642 maybe-install-mpc: install-mpc
12644 install-mpc:
12646 @endif mpc
12648 .PHONY: install-strip-mpc maybe-install-strip-mpc
12649 maybe-install-strip-mpc:
12650 @if mpc
12651 maybe-install-strip-mpc: install-strip-mpc
12653 install-strip-mpc:
12655 @endif mpc
12657 # Other targets (info, dvi, pdf, etc.)
12659 .PHONY: maybe-info-mpc info-mpc
12660 maybe-info-mpc:
12661 @if mpc
12662 maybe-info-mpc: info-mpc
12664 info-mpc: \
12665 configure-mpc
12666 @[ -f ./mpc/Makefile ] || exit 0; \
12667 r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12669 $(HOST_EXPORTS) \
12670 for flag in $(EXTRA_HOST_FLAGS) ; do \
12671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12672 done; \
12673 echo "Doing info in mpc" ; \
12674 (cd $(HOST_SUBDIR)/mpc && \
12675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12677 "RANLIB=$${RANLIB}" \
12678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12679 info) \
12680 || exit 1
12682 @endif mpc
12684 .PHONY: maybe-dvi-mpc dvi-mpc
12685 maybe-dvi-mpc:
12686 @if mpc
12687 maybe-dvi-mpc: dvi-mpc
12689 dvi-mpc: \
12690 configure-mpc
12691 @[ -f ./mpc/Makefile ] || exit 0; \
12692 r=`${PWD_COMMAND}`; export r; \
12693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12694 $(HOST_EXPORTS) \
12695 for flag in $(EXTRA_HOST_FLAGS) ; do \
12696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12697 done; \
12698 echo "Doing dvi in mpc" ; \
12699 (cd $(HOST_SUBDIR)/mpc && \
12700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12702 "RANLIB=$${RANLIB}" \
12703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12704 dvi) \
12705 || exit 1
12707 @endif mpc
12709 .PHONY: maybe-pdf-mpc pdf-mpc
12710 maybe-pdf-mpc:
12711 @if mpc
12712 maybe-pdf-mpc: pdf-mpc
12714 pdf-mpc: \
12715 configure-mpc
12716 @[ -f ./mpc/Makefile ] || exit 0; \
12717 r=`${PWD_COMMAND}`; export r; \
12718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12719 $(HOST_EXPORTS) \
12720 for flag in $(EXTRA_HOST_FLAGS) ; do \
12721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12722 done; \
12723 echo "Doing pdf in mpc" ; \
12724 (cd $(HOST_SUBDIR)/mpc && \
12725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12727 "RANLIB=$${RANLIB}" \
12728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12729 pdf) \
12730 || exit 1
12732 @endif mpc
12734 .PHONY: maybe-html-mpc html-mpc
12735 maybe-html-mpc:
12736 @if mpc
12737 maybe-html-mpc: html-mpc
12739 html-mpc: \
12740 configure-mpc
12741 @[ -f ./mpc/Makefile ] || exit 0; \
12742 r=`${PWD_COMMAND}`; export r; \
12743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12744 $(HOST_EXPORTS) \
12745 for flag in $(EXTRA_HOST_FLAGS) ; do \
12746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12747 done; \
12748 echo "Doing html in mpc" ; \
12749 (cd $(HOST_SUBDIR)/mpc && \
12750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12752 "RANLIB=$${RANLIB}" \
12753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12754 html) \
12755 || exit 1
12757 @endif mpc
12759 .PHONY: maybe-TAGS-mpc TAGS-mpc
12760 maybe-TAGS-mpc:
12761 @if mpc
12762 maybe-TAGS-mpc: TAGS-mpc
12764 TAGS-mpc: \
12765 configure-mpc
12766 @[ -f ./mpc/Makefile ] || exit 0; \
12767 r=`${PWD_COMMAND}`; export r; \
12768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12769 $(HOST_EXPORTS) \
12770 for flag in $(EXTRA_HOST_FLAGS) ; do \
12771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12772 done; \
12773 echo "Doing TAGS in mpc" ; \
12774 (cd $(HOST_SUBDIR)/mpc && \
12775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12777 "RANLIB=$${RANLIB}" \
12778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12779 TAGS) \
12780 || exit 1
12782 @endif mpc
12784 .PHONY: maybe-install-info-mpc install-info-mpc
12785 maybe-install-info-mpc:
12786 @if mpc
12787 maybe-install-info-mpc: install-info-mpc
12789 install-info-mpc: \
12790 configure-mpc \
12791 info-mpc
12792 @[ -f ./mpc/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 $(HOST_EXPORTS) \
12796 for flag in $(EXTRA_HOST_FLAGS) ; do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12798 done; \
12799 echo "Doing install-info in mpc" ; \
12800 (cd $(HOST_SUBDIR)/mpc && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12805 install-info) \
12806 || exit 1
12808 @endif mpc
12810 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12811 maybe-install-pdf-mpc:
12812 @if mpc
12813 maybe-install-pdf-mpc: install-pdf-mpc
12815 install-pdf-mpc: \
12816 configure-mpc \
12817 pdf-mpc
12818 @[ -f ./mpc/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 $(HOST_EXPORTS) \
12822 for flag in $(EXTRA_HOST_FLAGS) ; do \
12823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12824 done; \
12825 echo "Doing install-pdf in mpc" ; \
12826 (cd $(HOST_SUBDIR)/mpc && \
12827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12829 "RANLIB=$${RANLIB}" \
12830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12831 install-pdf) \
12832 || exit 1
12834 @endif mpc
12836 .PHONY: maybe-install-html-mpc install-html-mpc
12837 maybe-install-html-mpc:
12838 @if mpc
12839 maybe-install-html-mpc: install-html-mpc
12841 install-html-mpc: \
12842 configure-mpc \
12843 html-mpc
12844 @[ -f ./mpc/Makefile ] || exit 0; \
12845 r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 $(HOST_EXPORTS) \
12848 for flag in $(EXTRA_HOST_FLAGS) ; do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 done; \
12851 echo "Doing install-html in mpc" ; \
12852 (cd $(HOST_SUBDIR)/mpc && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12857 install-html) \
12858 || exit 1
12860 @endif mpc
12862 .PHONY: maybe-installcheck-mpc installcheck-mpc
12863 maybe-installcheck-mpc:
12864 @if mpc
12865 maybe-installcheck-mpc: installcheck-mpc
12867 installcheck-mpc: \
12868 configure-mpc
12869 @[ -f ./mpc/Makefile ] || exit 0; \
12870 r=`${PWD_COMMAND}`; export r; \
12871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12872 $(HOST_EXPORTS) \
12873 for flag in $(EXTRA_HOST_FLAGS) ; do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12875 done; \
12876 echo "Doing installcheck in mpc" ; \
12877 (cd $(HOST_SUBDIR)/mpc && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12882 installcheck) \
12883 || exit 1
12885 @endif mpc
12887 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12888 maybe-mostlyclean-mpc:
12889 @if mpc
12890 maybe-mostlyclean-mpc: mostlyclean-mpc
12892 mostlyclean-mpc:
12893 @[ -f ./mpc/Makefile ] || exit 0; \
12894 r=`${PWD_COMMAND}`; export r; \
12895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12896 $(HOST_EXPORTS) \
12897 for flag in $(EXTRA_HOST_FLAGS) ; do \
12898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12899 done; \
12900 echo "Doing mostlyclean in mpc" ; \
12901 (cd $(HOST_SUBDIR)/mpc && \
12902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12904 "RANLIB=$${RANLIB}" \
12905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12906 mostlyclean) \
12907 || exit 1
12909 @endif mpc
12911 .PHONY: maybe-clean-mpc clean-mpc
12912 maybe-clean-mpc:
12913 @if mpc
12914 maybe-clean-mpc: clean-mpc
12916 clean-mpc:
12917 @[ -f ./mpc/Makefile ] || exit 0; \
12918 r=`${PWD_COMMAND}`; export r; \
12919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12920 $(HOST_EXPORTS) \
12921 for flag in $(EXTRA_HOST_FLAGS) ; do \
12922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12923 done; \
12924 echo "Doing clean in mpc" ; \
12925 (cd $(HOST_SUBDIR)/mpc && \
12926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12928 "RANLIB=$${RANLIB}" \
12929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12930 clean) \
12931 || exit 1
12933 @endif mpc
12935 .PHONY: maybe-distclean-mpc distclean-mpc
12936 maybe-distclean-mpc:
12937 @if mpc
12938 maybe-distclean-mpc: distclean-mpc
12940 distclean-mpc:
12941 @[ -f ./mpc/Makefile ] || exit 0; \
12942 r=`${PWD_COMMAND}`; export r; \
12943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12944 $(HOST_EXPORTS) \
12945 for flag in $(EXTRA_HOST_FLAGS) ; do \
12946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12947 done; \
12948 echo "Doing distclean in mpc" ; \
12949 (cd $(HOST_SUBDIR)/mpc && \
12950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12952 "RANLIB=$${RANLIB}" \
12953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12954 distclean) \
12955 || exit 1
12957 @endif mpc
12959 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12960 maybe-maintainer-clean-mpc:
12961 @if mpc
12962 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12964 maintainer-clean-mpc:
12965 @[ -f ./mpc/Makefile ] || exit 0; \
12966 r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 for flag in $(EXTRA_HOST_FLAGS) ; do \
12970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12971 done; \
12972 echo "Doing maintainer-clean in mpc" ; \
12973 (cd $(HOST_SUBDIR)/mpc && \
12974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12976 "RANLIB=$${RANLIB}" \
12977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12978 maintainer-clean) \
12979 || exit 1
12981 @endif mpc
12985 .PHONY: configure-isl maybe-configure-isl
12986 maybe-configure-isl:
12987 @if gcc-bootstrap
12988 configure-isl: stage_current
12989 @endif gcc-bootstrap
12990 @if isl
12991 maybe-configure-isl: configure-isl
12992 configure-isl:
12993 @r=`${PWD_COMMAND}`; export r; \
12994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12995 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
12996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
12997 $(HOST_EXPORTS) \
12998 echo Configuring in $(HOST_SUBDIR)/isl; \
12999 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13000 case $(srcdir) in \
13001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13002 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13004 esac; \
13005 srcdiroption="--srcdir=$${topdir}/isl"; \
13006 libsrcdir="$$s/isl"; \
13007 $(SHELL) $${libsrcdir}/configure \
13008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13009 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13010 || exit 1
13011 @endif isl
13015 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13016 maybe-configure-stage1-isl:
13017 @if isl-bootstrap
13018 maybe-configure-stage1-isl: configure-stage1-isl
13019 configure-stage1-isl:
13020 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13022 @r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 TFLAGS="$(STAGE1_TFLAGS)"; \
13025 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13026 $(HOST_EXPORTS) \
13027 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13028 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13029 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13030 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13032 cd $(HOST_SUBDIR)/isl || exit 1; \
13033 case $(srcdir) in \
13034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13035 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13037 esac; \
13038 srcdiroption="--srcdir=$${topdir}/isl"; \
13039 libsrcdir="$$s/isl"; \
13040 $(SHELL) $${libsrcdir}/configure \
13041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13042 --target=${target_alias} $${srcdiroption} \
13043 $(STAGE1_CONFIGURE_FLAGS) \
13044 --disable-shared @extra_isl_gmp_configure_flags@
13045 @endif isl-bootstrap
13047 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13048 maybe-configure-stage2-isl:
13049 @if isl-bootstrap
13050 maybe-configure-stage2-isl: configure-stage2-isl
13051 configure-stage2-isl:
13052 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13054 @r=`${PWD_COMMAND}`; export r; \
13055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13056 TFLAGS="$(STAGE2_TFLAGS)"; \
13057 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13058 $(HOST_EXPORTS) \
13059 $(POSTSTAGE1_HOST_EXPORTS) \
13060 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13061 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13062 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13063 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13065 cd $(HOST_SUBDIR)/isl || exit 1; \
13066 case $(srcdir) in \
13067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13068 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13070 esac; \
13071 srcdiroption="--srcdir=$${topdir}/isl"; \
13072 libsrcdir="$$s/isl"; \
13073 $(SHELL) $${libsrcdir}/configure \
13074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13075 --target=${target_alias} $${srcdiroption} \
13076 --with-build-libsubdir=$(HOST_SUBDIR) \
13077 $(STAGE2_CONFIGURE_FLAGS) \
13078 --disable-shared @extra_isl_gmp_configure_flags@
13079 @endif isl-bootstrap
13081 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13082 maybe-configure-stage3-isl:
13083 @if isl-bootstrap
13084 maybe-configure-stage3-isl: configure-stage3-isl
13085 configure-stage3-isl:
13086 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13088 @r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 TFLAGS="$(STAGE3_TFLAGS)"; \
13091 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13092 $(HOST_EXPORTS) \
13093 $(POSTSTAGE1_HOST_EXPORTS) \
13094 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13095 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13096 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13097 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13099 cd $(HOST_SUBDIR)/isl || exit 1; \
13100 case $(srcdir) in \
13101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13102 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13104 esac; \
13105 srcdiroption="--srcdir=$${topdir}/isl"; \
13106 libsrcdir="$$s/isl"; \
13107 $(SHELL) $${libsrcdir}/configure \
13108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13109 --target=${target_alias} $${srcdiroption} \
13110 --with-build-libsubdir=$(HOST_SUBDIR) \
13111 $(STAGE3_CONFIGURE_FLAGS) \
13112 --disable-shared @extra_isl_gmp_configure_flags@
13113 @endif isl-bootstrap
13115 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13116 maybe-configure-stage4-isl:
13117 @if isl-bootstrap
13118 maybe-configure-stage4-isl: configure-stage4-isl
13119 configure-stage4-isl:
13120 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13122 @r=`${PWD_COMMAND}`; export r; \
13123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13124 TFLAGS="$(STAGE4_TFLAGS)"; \
13125 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13126 $(HOST_EXPORTS) \
13127 $(POSTSTAGE1_HOST_EXPORTS) \
13128 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13129 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13130 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13131 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13133 cd $(HOST_SUBDIR)/isl || exit 1; \
13134 case $(srcdir) in \
13135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13136 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13138 esac; \
13139 srcdiroption="--srcdir=$${topdir}/isl"; \
13140 libsrcdir="$$s/isl"; \
13141 $(SHELL) $${libsrcdir}/configure \
13142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13143 --target=${target_alias} $${srcdiroption} \
13144 --with-build-libsubdir=$(HOST_SUBDIR) \
13145 $(STAGE4_CONFIGURE_FLAGS) \
13146 --disable-shared @extra_isl_gmp_configure_flags@
13147 @endif isl-bootstrap
13149 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13150 maybe-configure-stageprofile-isl:
13151 @if isl-bootstrap
13152 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13153 configure-stageprofile-isl:
13154 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13159 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13160 $(HOST_EXPORTS) \
13161 $(POSTSTAGE1_HOST_EXPORTS) \
13162 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13163 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13164 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13165 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13167 cd $(HOST_SUBDIR)/isl || exit 1; \
13168 case $(srcdir) in \
13169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13170 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13172 esac; \
13173 srcdiroption="--srcdir=$${topdir}/isl"; \
13174 libsrcdir="$$s/isl"; \
13175 $(SHELL) $${libsrcdir}/configure \
13176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13177 --target=${target_alias} $${srcdiroption} \
13178 --with-build-libsubdir=$(HOST_SUBDIR) \
13179 $(STAGEprofile_CONFIGURE_FLAGS) \
13180 --disable-shared @extra_isl_gmp_configure_flags@
13181 @endif isl-bootstrap
13183 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13184 maybe-configure-stagefeedback-isl:
13185 @if isl-bootstrap
13186 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13187 configure-stagefeedback-isl:
13188 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13193 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13194 $(HOST_EXPORTS) \
13195 $(POSTSTAGE1_HOST_EXPORTS) \
13196 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13199 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13201 cd $(HOST_SUBDIR)/isl || exit 1; \
13202 case $(srcdir) in \
13203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13204 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13206 esac; \
13207 srcdiroption="--srcdir=$${topdir}/isl"; \
13208 libsrcdir="$$s/isl"; \
13209 $(SHELL) $${libsrcdir}/configure \
13210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13211 --target=${target_alias} $${srcdiroption} \
13212 --with-build-libsubdir=$(HOST_SUBDIR) \
13213 $(STAGEfeedback_CONFIGURE_FLAGS) \
13214 --disable-shared @extra_isl_gmp_configure_flags@
13215 @endif isl-bootstrap
13221 .PHONY: all-isl maybe-all-isl
13222 maybe-all-isl:
13223 @if gcc-bootstrap
13224 all-isl: stage_current
13225 @endif gcc-bootstrap
13226 @if isl
13227 TARGET-isl=all
13228 maybe-all-isl: all-isl
13229 all-isl: configure-isl
13230 @r=`${PWD_COMMAND}`; export r; \
13231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13232 $(HOST_EXPORTS) \
13233 (cd $(HOST_SUBDIR)/isl && \
13234 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13235 $(TARGET-isl))
13236 @endif isl
13240 .PHONY: all-stage1-isl maybe-all-stage1-isl
13241 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13242 maybe-all-stage1-isl:
13243 maybe-clean-stage1-isl:
13244 @if isl-bootstrap
13245 maybe-all-stage1-isl: all-stage1-isl
13246 all-stage1: all-stage1-isl
13247 TARGET-stage1-isl = $(TARGET-isl)
13248 all-stage1-isl: configure-stage1-isl
13249 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13250 @r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 TFLAGS="$(STAGE1_TFLAGS)"; \
13253 $(HOST_EXPORTS) \
13254 cd $(HOST_SUBDIR)/isl && \
13255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13256 CFLAGS="$(STAGE1_CFLAGS)" \
13257 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13258 LIBCFLAGS="$(LIBCFLAGS)" \
13259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13262 $(EXTRA_HOST_FLAGS) \
13263 $(STAGE1_FLAGS_TO_PASS) V=1 \
13264 TFLAGS="$(STAGE1_TFLAGS)" \
13265 $(TARGET-stage1-isl)
13267 maybe-clean-stage1-isl: clean-stage1-isl
13268 clean-stage1: clean-stage1-isl
13269 clean-stage1-isl:
13270 @if [ $(current_stage) = stage1 ]; then \
13271 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13272 else \
13273 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13274 $(MAKE) stage1-start; \
13275 fi; \
13276 cd $(HOST_SUBDIR)/isl && \
13277 $(MAKE) $(EXTRA_HOST_FLAGS) \
13278 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13279 @endif isl-bootstrap
13282 .PHONY: all-stage2-isl maybe-all-stage2-isl
13283 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13284 maybe-all-stage2-isl:
13285 maybe-clean-stage2-isl:
13286 @if isl-bootstrap
13287 maybe-all-stage2-isl: all-stage2-isl
13288 all-stage2: all-stage2-isl
13289 TARGET-stage2-isl = $(TARGET-isl)
13290 all-stage2-isl: configure-stage2-isl
13291 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13292 @r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 TFLAGS="$(STAGE2_TFLAGS)"; \
13295 $(HOST_EXPORTS) \
13296 $(POSTSTAGE1_HOST_EXPORTS) \
13297 cd $(HOST_SUBDIR)/isl && \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13299 CFLAGS="$(STAGE2_CFLAGS)" \
13300 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13301 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13306 TFLAGS="$(STAGE2_TFLAGS)" \
13307 $(TARGET-stage2-isl)
13309 maybe-clean-stage2-isl: clean-stage2-isl
13310 clean-stage2: clean-stage2-isl
13311 clean-stage2-isl:
13312 @if [ $(current_stage) = stage2 ]; then \
13313 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13314 else \
13315 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13316 $(MAKE) stage2-start; \
13317 fi; \
13318 cd $(HOST_SUBDIR)/isl && \
13319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13320 @endif isl-bootstrap
13323 .PHONY: all-stage3-isl maybe-all-stage3-isl
13324 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13325 maybe-all-stage3-isl:
13326 maybe-clean-stage3-isl:
13327 @if isl-bootstrap
13328 maybe-all-stage3-isl: all-stage3-isl
13329 all-stage3: all-stage3-isl
13330 TARGET-stage3-isl = $(TARGET-isl)
13331 all-stage3-isl: configure-stage3-isl
13332 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13333 @r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 TFLAGS="$(STAGE3_TFLAGS)"; \
13336 $(HOST_EXPORTS) \
13337 $(POSTSTAGE1_HOST_EXPORTS) \
13338 cd $(HOST_SUBDIR)/isl && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13340 CFLAGS="$(STAGE3_CFLAGS)" \
13341 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13342 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13346 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13347 TFLAGS="$(STAGE3_TFLAGS)" \
13348 $(TARGET-stage3-isl)
13350 maybe-clean-stage3-isl: clean-stage3-isl
13351 clean-stage3: clean-stage3-isl
13352 clean-stage3-isl:
13353 @if [ $(current_stage) = stage3 ]; then \
13354 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13355 else \
13356 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13357 $(MAKE) stage3-start; \
13358 fi; \
13359 cd $(HOST_SUBDIR)/isl && \
13360 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13361 @endif isl-bootstrap
13364 .PHONY: all-stage4-isl maybe-all-stage4-isl
13365 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13366 maybe-all-stage4-isl:
13367 maybe-clean-stage4-isl:
13368 @if isl-bootstrap
13369 maybe-all-stage4-isl: all-stage4-isl
13370 all-stage4: all-stage4-isl
13371 TARGET-stage4-isl = $(TARGET-isl)
13372 all-stage4-isl: configure-stage4-isl
13373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13374 @r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 TFLAGS="$(STAGE4_TFLAGS)"; \
13377 $(HOST_EXPORTS) \
13378 $(POSTSTAGE1_HOST_EXPORTS) \
13379 cd $(HOST_SUBDIR)/isl && \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13381 CFLAGS="$(STAGE4_CFLAGS)" \
13382 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13383 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13388 TFLAGS="$(STAGE4_TFLAGS)" \
13389 $(TARGET-stage4-isl)
13391 maybe-clean-stage4-isl: clean-stage4-isl
13392 clean-stage4: clean-stage4-isl
13393 clean-stage4-isl:
13394 @if [ $(current_stage) = stage4 ]; then \
13395 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13396 else \
13397 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13398 $(MAKE) stage4-start; \
13399 fi; \
13400 cd $(HOST_SUBDIR)/isl && \
13401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13402 @endif isl-bootstrap
13405 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13406 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13407 maybe-all-stageprofile-isl:
13408 maybe-clean-stageprofile-isl:
13409 @if isl-bootstrap
13410 maybe-all-stageprofile-isl: all-stageprofile-isl
13411 all-stageprofile: all-stageprofile-isl
13412 TARGET-stageprofile-isl = $(TARGET-isl)
13413 all-stageprofile-isl: configure-stageprofile-isl
13414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13415 @r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13418 $(HOST_EXPORTS) \
13419 $(POSTSTAGE1_HOST_EXPORTS) \
13420 cd $(HOST_SUBDIR)/isl && \
13421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13422 CFLAGS="$(STAGEprofile_CFLAGS)" \
13423 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13424 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13428 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13429 TFLAGS="$(STAGEprofile_TFLAGS)" \
13430 $(TARGET-stageprofile-isl)
13432 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13433 clean-stageprofile: clean-stageprofile-isl
13434 clean-stageprofile-isl:
13435 @if [ $(current_stage) = stageprofile ]; then \
13436 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13437 else \
13438 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13439 $(MAKE) stageprofile-start; \
13440 fi; \
13441 cd $(HOST_SUBDIR)/isl && \
13442 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13443 @endif isl-bootstrap
13446 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13447 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13448 maybe-all-stagefeedback-isl:
13449 maybe-clean-stagefeedback-isl:
13450 @if isl-bootstrap
13451 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13452 all-stagefeedback: all-stagefeedback-isl
13453 TARGET-stagefeedback-isl = $(TARGET-isl)
13454 all-stagefeedback-isl: configure-stagefeedback-isl
13455 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13456 @r=`${PWD_COMMAND}`; export r; \
13457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13458 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13459 $(HOST_EXPORTS) \
13460 $(POSTSTAGE1_HOST_EXPORTS) \
13461 cd $(HOST_SUBDIR)/isl && \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13463 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13464 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13465 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13470 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13471 $(TARGET-stagefeedback-isl)
13473 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13474 clean-stagefeedback: clean-stagefeedback-isl
13475 clean-stagefeedback-isl:
13476 @if [ $(current_stage) = stagefeedback ]; then \
13477 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13478 else \
13479 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13480 $(MAKE) stagefeedback-start; \
13481 fi; \
13482 cd $(HOST_SUBDIR)/isl && \
13483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13484 @endif isl-bootstrap
13490 .PHONY: check-isl maybe-check-isl
13491 maybe-check-isl:
13492 @if isl
13493 maybe-check-isl: check-isl
13495 check-isl:
13496 @: $(MAKE); $(unstage)
13497 @r=`${PWD_COMMAND}`; export r; \
13498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13499 $(HOST_EXPORTS) \
13500 (cd $(HOST_SUBDIR)/isl && \
13501 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13503 @endif isl
13505 .PHONY: install-isl maybe-install-isl
13506 maybe-install-isl:
13507 @if isl
13508 maybe-install-isl: install-isl
13510 install-isl:
13512 @endif isl
13514 .PHONY: install-strip-isl maybe-install-strip-isl
13515 maybe-install-strip-isl:
13516 @if isl
13517 maybe-install-strip-isl: install-strip-isl
13519 install-strip-isl:
13521 @endif isl
13523 # Other targets (info, dvi, pdf, etc.)
13525 .PHONY: maybe-info-isl info-isl
13526 maybe-info-isl:
13527 @if isl
13528 maybe-info-isl: info-isl
13530 info-isl: \
13531 configure-isl
13532 @[ -f ./isl/Makefile ] || exit 0; \
13533 r=`${PWD_COMMAND}`; export r; \
13534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535 $(HOST_EXPORTS) \
13536 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13538 done; \
13539 echo "Doing info in isl" ; \
13540 (cd $(HOST_SUBDIR)/isl && \
13541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543 "RANLIB=$${RANLIB}" \
13544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13545 info) \
13546 || exit 1
13548 @endif isl
13550 .PHONY: maybe-dvi-isl dvi-isl
13551 maybe-dvi-isl:
13552 @if isl
13553 maybe-dvi-isl: dvi-isl
13555 dvi-isl: \
13556 configure-isl
13557 @[ -f ./isl/Makefile ] || exit 0; \
13558 r=`${PWD_COMMAND}`; export r; \
13559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13560 $(HOST_EXPORTS) \
13561 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13563 done; \
13564 echo "Doing dvi in isl" ; \
13565 (cd $(HOST_SUBDIR)/isl && \
13566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568 "RANLIB=$${RANLIB}" \
13569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13570 dvi) \
13571 || exit 1
13573 @endif isl
13575 .PHONY: maybe-pdf-isl pdf-isl
13576 maybe-pdf-isl:
13577 @if isl
13578 maybe-pdf-isl: pdf-isl
13580 pdf-isl: \
13581 configure-isl
13582 @[ -f ./isl/Makefile ] || exit 0; \
13583 r=`${PWD_COMMAND}`; export r; \
13584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13585 $(HOST_EXPORTS) \
13586 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13588 done; \
13589 echo "Doing pdf in isl" ; \
13590 (cd $(HOST_SUBDIR)/isl && \
13591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13593 "RANLIB=$${RANLIB}" \
13594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13595 pdf) \
13596 || exit 1
13598 @endif isl
13600 .PHONY: maybe-html-isl html-isl
13601 maybe-html-isl:
13602 @if isl
13603 maybe-html-isl: html-isl
13605 html-isl: \
13606 configure-isl
13607 @[ -f ./isl/Makefile ] || exit 0; \
13608 r=`${PWD_COMMAND}`; export r; \
13609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13610 $(HOST_EXPORTS) \
13611 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13613 done; \
13614 echo "Doing html in isl" ; \
13615 (cd $(HOST_SUBDIR)/isl && \
13616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13618 "RANLIB=$${RANLIB}" \
13619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13620 html) \
13621 || exit 1
13623 @endif isl
13625 .PHONY: maybe-TAGS-isl TAGS-isl
13626 maybe-TAGS-isl:
13627 @if isl
13628 maybe-TAGS-isl: TAGS-isl
13630 TAGS-isl: \
13631 configure-isl
13632 @[ -f ./isl/Makefile ] || exit 0; \
13633 r=`${PWD_COMMAND}`; export r; \
13634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13635 $(HOST_EXPORTS) \
13636 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13638 done; \
13639 echo "Doing TAGS in isl" ; \
13640 (cd $(HOST_SUBDIR)/isl && \
13641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13643 "RANLIB=$${RANLIB}" \
13644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13645 TAGS) \
13646 || exit 1
13648 @endif isl
13650 .PHONY: maybe-install-info-isl install-info-isl
13651 maybe-install-info-isl:
13652 @if isl
13653 maybe-install-info-isl: install-info-isl
13655 install-info-isl: \
13656 configure-isl \
13657 info-isl
13658 @[ -f ./isl/Makefile ] || exit 0; \
13659 r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13664 done; \
13665 echo "Doing install-info in isl" ; \
13666 (cd $(HOST_SUBDIR)/isl && \
13667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13669 "RANLIB=$${RANLIB}" \
13670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13671 install-info) \
13672 || exit 1
13674 @endif isl
13676 .PHONY: maybe-install-pdf-isl install-pdf-isl
13677 maybe-install-pdf-isl:
13678 @if isl
13679 maybe-install-pdf-isl: install-pdf-isl
13681 install-pdf-isl: \
13682 configure-isl \
13683 pdf-isl
13684 @[ -f ./isl/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(HOST_EXPORTS) \
13688 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 echo "Doing install-pdf in isl" ; \
13692 (cd $(HOST_SUBDIR)/isl && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13697 install-pdf) \
13698 || exit 1
13700 @endif isl
13702 .PHONY: maybe-install-html-isl install-html-isl
13703 maybe-install-html-isl:
13704 @if isl
13705 maybe-install-html-isl: install-html-isl
13707 install-html-isl: \
13708 configure-isl \
13709 html-isl
13710 @[ -f ./isl/Makefile ] || exit 0; \
13711 r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 $(HOST_EXPORTS) \
13714 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13716 done; \
13717 echo "Doing install-html in isl" ; \
13718 (cd $(HOST_SUBDIR)/isl && \
13719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13721 "RANLIB=$${RANLIB}" \
13722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13723 install-html) \
13724 || exit 1
13726 @endif isl
13728 .PHONY: maybe-installcheck-isl installcheck-isl
13729 maybe-installcheck-isl:
13730 @if isl
13731 maybe-installcheck-isl: installcheck-isl
13733 installcheck-isl: \
13734 configure-isl
13735 @[ -f ./isl/Makefile ] || exit 0; \
13736 r=`${PWD_COMMAND}`; export r; \
13737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13738 $(HOST_EXPORTS) \
13739 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13741 done; \
13742 echo "Doing installcheck in isl" ; \
13743 (cd $(HOST_SUBDIR)/isl && \
13744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13746 "RANLIB=$${RANLIB}" \
13747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13748 installcheck) \
13749 || exit 1
13751 @endif isl
13753 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13754 maybe-mostlyclean-isl:
13755 @if isl
13756 maybe-mostlyclean-isl: mostlyclean-isl
13758 mostlyclean-isl:
13759 @[ -f ./isl/Makefile ] || exit 0; \
13760 r=`${PWD_COMMAND}`; export r; \
13761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13762 $(HOST_EXPORTS) \
13763 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13765 done; \
13766 echo "Doing mostlyclean in isl" ; \
13767 (cd $(HOST_SUBDIR)/isl && \
13768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13770 "RANLIB=$${RANLIB}" \
13771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13772 mostlyclean) \
13773 || exit 1
13775 @endif isl
13777 .PHONY: maybe-clean-isl clean-isl
13778 maybe-clean-isl:
13779 @if isl
13780 maybe-clean-isl: clean-isl
13782 clean-isl:
13783 @[ -f ./isl/Makefile ] || exit 0; \
13784 r=`${PWD_COMMAND}`; export r; \
13785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13786 $(HOST_EXPORTS) \
13787 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13789 done; \
13790 echo "Doing clean in isl" ; \
13791 (cd $(HOST_SUBDIR)/isl && \
13792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13794 "RANLIB=$${RANLIB}" \
13795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13796 clean) \
13797 || exit 1
13799 @endif isl
13801 .PHONY: maybe-distclean-isl distclean-isl
13802 maybe-distclean-isl:
13803 @if isl
13804 maybe-distclean-isl: distclean-isl
13806 distclean-isl:
13807 @[ -f ./isl/Makefile ] || exit 0; \
13808 r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 $(HOST_EXPORTS) \
13811 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13813 done; \
13814 echo "Doing distclean in isl" ; \
13815 (cd $(HOST_SUBDIR)/isl && \
13816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13818 "RANLIB=$${RANLIB}" \
13819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13820 distclean) \
13821 || exit 1
13823 @endif isl
13825 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13826 maybe-maintainer-clean-isl:
13827 @if isl
13828 maybe-maintainer-clean-isl: maintainer-clean-isl
13830 maintainer-clean-isl:
13831 @[ -f ./isl/Makefile ] || exit 0; \
13832 r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 $(HOST_EXPORTS) \
13835 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13837 done; \
13838 echo "Doing maintainer-clean in isl" ; \
13839 (cd $(HOST_SUBDIR)/isl && \
13840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13842 "RANLIB=$${RANLIB}" \
13843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13844 maintainer-clean) \
13845 || exit 1
13847 @endif isl
13851 .PHONY: configure-cloog maybe-configure-cloog
13852 maybe-configure-cloog:
13853 @if gcc-bootstrap
13854 configure-cloog: stage_current
13855 @endif gcc-bootstrap
13856 @if cloog
13857 maybe-configure-cloog: configure-cloog
13858 configure-cloog:
13859 @r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13863 $(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; \
13864 echo Configuring in $(HOST_SUBDIR)/cloog; \
13865 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13866 case $(srcdir) in \
13867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13868 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13870 esac; \
13871 srcdiroption="--srcdir=$${topdir}/cloog"; \
13872 libsrcdir="$$s/cloog"; \
13873 $(SHELL) $${libsrcdir}/configure \
13874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13875 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13876 || exit 1
13877 @endif cloog
13881 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13882 maybe-configure-stage1-cloog:
13883 @if cloog-bootstrap
13884 maybe-configure-stage1-cloog: configure-stage1-cloog
13885 configure-stage1-cloog:
13886 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13888 @r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 TFLAGS="$(STAGE1_TFLAGS)"; \
13891 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13892 $(HOST_EXPORTS) \
13893 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13894 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13895 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; \
13896 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13898 cd $(HOST_SUBDIR)/cloog || exit 1; \
13899 case $(srcdir) in \
13900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13901 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13903 esac; \
13904 srcdiroption="--srcdir=$${topdir}/cloog"; \
13905 libsrcdir="$$s/cloog"; \
13906 $(SHELL) $${libsrcdir}/configure \
13907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13908 --target=${target_alias} $${srcdiroption} \
13909 $(STAGE1_CONFIGURE_FLAGS) \
13910 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13911 @endif cloog-bootstrap
13913 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13914 maybe-configure-stage2-cloog:
13915 @if cloog-bootstrap
13916 maybe-configure-stage2-cloog: configure-stage2-cloog
13917 configure-stage2-cloog:
13918 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13920 @r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 TFLAGS="$(STAGE2_TFLAGS)"; \
13923 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13924 $(HOST_EXPORTS) \
13925 $(POSTSTAGE1_HOST_EXPORTS) \
13926 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13927 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13928 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; \
13929 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13931 cd $(HOST_SUBDIR)/cloog || exit 1; \
13932 case $(srcdir) in \
13933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13934 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13936 esac; \
13937 srcdiroption="--srcdir=$${topdir}/cloog"; \
13938 libsrcdir="$$s/cloog"; \
13939 $(SHELL) $${libsrcdir}/configure \
13940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13941 --target=${target_alias} $${srcdiroption} \
13942 --with-build-libsubdir=$(HOST_SUBDIR) \
13943 $(STAGE2_CONFIGURE_FLAGS) \
13944 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13945 @endif cloog-bootstrap
13947 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13948 maybe-configure-stage3-cloog:
13949 @if cloog-bootstrap
13950 maybe-configure-stage3-cloog: configure-stage3-cloog
13951 configure-stage3-cloog:
13952 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13954 @r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13956 TFLAGS="$(STAGE3_TFLAGS)"; \
13957 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13958 $(HOST_EXPORTS) \
13959 $(POSTSTAGE1_HOST_EXPORTS) \
13960 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13961 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13962 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; \
13963 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13965 cd $(HOST_SUBDIR)/cloog || exit 1; \
13966 case $(srcdir) in \
13967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13968 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13970 esac; \
13971 srcdiroption="--srcdir=$${topdir}/cloog"; \
13972 libsrcdir="$$s/cloog"; \
13973 $(SHELL) $${libsrcdir}/configure \
13974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13975 --target=${target_alias} $${srcdiroption} \
13976 --with-build-libsubdir=$(HOST_SUBDIR) \
13977 $(STAGE3_CONFIGURE_FLAGS) \
13978 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13979 @endif cloog-bootstrap
13981 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13982 maybe-configure-stage4-cloog:
13983 @if cloog-bootstrap
13984 maybe-configure-stage4-cloog: configure-stage4-cloog
13985 configure-stage4-cloog:
13986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13988 @r=`${PWD_COMMAND}`; export r; \
13989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13990 TFLAGS="$(STAGE4_TFLAGS)"; \
13991 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13992 $(HOST_EXPORTS) \
13993 $(POSTSTAGE1_HOST_EXPORTS) \
13994 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13995 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13996 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; \
13997 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13999 cd $(HOST_SUBDIR)/cloog || exit 1; \
14000 case $(srcdir) in \
14001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14002 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14004 esac; \
14005 srcdiroption="--srcdir=$${topdir}/cloog"; \
14006 libsrcdir="$$s/cloog"; \
14007 $(SHELL) $${libsrcdir}/configure \
14008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14009 --target=${target_alias} $${srcdiroption} \
14010 --with-build-libsubdir=$(HOST_SUBDIR) \
14011 $(STAGE4_CONFIGURE_FLAGS) \
14012 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14013 @endif cloog-bootstrap
14015 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14016 maybe-configure-stageprofile-cloog:
14017 @if cloog-bootstrap
14018 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14019 configure-stageprofile-cloog:
14020 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14022 @r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14025 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14026 $(HOST_EXPORTS) \
14027 $(POSTSTAGE1_HOST_EXPORTS) \
14028 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14029 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14030 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; \
14031 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14033 cd $(HOST_SUBDIR)/cloog || exit 1; \
14034 case $(srcdir) in \
14035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14036 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14038 esac; \
14039 srcdiroption="--srcdir=$${topdir}/cloog"; \
14040 libsrcdir="$$s/cloog"; \
14041 $(SHELL) $${libsrcdir}/configure \
14042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14043 --target=${target_alias} $${srcdiroption} \
14044 --with-build-libsubdir=$(HOST_SUBDIR) \
14045 $(STAGEprofile_CONFIGURE_FLAGS) \
14046 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14047 @endif cloog-bootstrap
14049 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14050 maybe-configure-stagefeedback-cloog:
14051 @if cloog-bootstrap
14052 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14053 configure-stagefeedback-cloog:
14054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14056 @r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14059 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14060 $(HOST_EXPORTS) \
14061 $(POSTSTAGE1_HOST_EXPORTS) \
14062 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14063 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14064 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; \
14065 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14067 cd $(HOST_SUBDIR)/cloog || exit 1; \
14068 case $(srcdir) in \
14069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14070 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14072 esac; \
14073 srcdiroption="--srcdir=$${topdir}/cloog"; \
14074 libsrcdir="$$s/cloog"; \
14075 $(SHELL) $${libsrcdir}/configure \
14076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14077 --target=${target_alias} $${srcdiroption} \
14078 --with-build-libsubdir=$(HOST_SUBDIR) \
14079 $(STAGEfeedback_CONFIGURE_FLAGS) \
14080 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14081 @endif cloog-bootstrap
14087 .PHONY: all-cloog maybe-all-cloog
14088 maybe-all-cloog:
14089 @if gcc-bootstrap
14090 all-cloog: stage_current
14091 @endif gcc-bootstrap
14092 @if cloog
14093 TARGET-cloog=all
14094 maybe-all-cloog: all-cloog
14095 all-cloog: configure-cloog
14096 @r=`${PWD_COMMAND}`; export r; \
14097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14098 $(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; \
14099 (cd $(HOST_SUBDIR)/cloog && \
14100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14101 $(TARGET-cloog))
14102 @endif cloog
14106 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14107 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14108 maybe-all-stage1-cloog:
14109 maybe-clean-stage1-cloog:
14110 @if cloog-bootstrap
14111 maybe-all-stage1-cloog: all-stage1-cloog
14112 all-stage1: all-stage1-cloog
14113 TARGET-stage1-cloog = $(TARGET-cloog)
14114 all-stage1-cloog: configure-stage1-cloog
14115 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14116 @r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 TFLAGS="$(STAGE1_TFLAGS)"; \
14119 $(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; \
14120 cd $(HOST_SUBDIR)/cloog && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14122 CFLAGS="$(STAGE1_CFLAGS)" \
14123 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14124 LIBCFLAGS="$(LIBCFLAGS)" \
14125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14128 $(EXTRA_HOST_FLAGS) \
14129 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14130 TFLAGS="$(STAGE1_TFLAGS)" \
14131 $(TARGET-stage1-cloog)
14133 maybe-clean-stage1-cloog: clean-stage1-cloog
14134 clean-stage1: clean-stage1-cloog
14135 clean-stage1-cloog:
14136 @if [ $(current_stage) = stage1 ]; then \
14137 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14138 else \
14139 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14140 $(MAKE) stage1-start; \
14141 fi; \
14142 cd $(HOST_SUBDIR)/cloog && \
14143 $(MAKE) $(EXTRA_HOST_FLAGS) \
14144 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14145 @endif cloog-bootstrap
14148 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14149 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14150 maybe-all-stage2-cloog:
14151 maybe-clean-stage2-cloog:
14152 @if cloog-bootstrap
14153 maybe-all-stage2-cloog: all-stage2-cloog
14154 all-stage2: all-stage2-cloog
14155 TARGET-stage2-cloog = $(TARGET-cloog)
14156 all-stage2-cloog: configure-stage2-cloog
14157 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14158 @r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 TFLAGS="$(STAGE2_TFLAGS)"; \
14161 $(HOST_EXPORTS) \
14162 $(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; \
14163 cd $(HOST_SUBDIR)/cloog && \
14164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14165 CFLAGS="$(STAGE2_CFLAGS)" \
14166 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14167 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14171 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14172 TFLAGS="$(STAGE2_TFLAGS)" \
14173 $(TARGET-stage2-cloog)
14175 maybe-clean-stage2-cloog: clean-stage2-cloog
14176 clean-stage2: clean-stage2-cloog
14177 clean-stage2-cloog:
14178 @if [ $(current_stage) = stage2 ]; then \
14179 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14180 else \
14181 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14182 $(MAKE) stage2-start; \
14183 fi; \
14184 cd $(HOST_SUBDIR)/cloog && \
14185 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14186 @endif cloog-bootstrap
14189 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14190 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14191 maybe-all-stage3-cloog:
14192 maybe-clean-stage3-cloog:
14193 @if cloog-bootstrap
14194 maybe-all-stage3-cloog: all-stage3-cloog
14195 all-stage3: all-stage3-cloog
14196 TARGET-stage3-cloog = $(TARGET-cloog)
14197 all-stage3-cloog: configure-stage3-cloog
14198 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14199 @r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 TFLAGS="$(STAGE3_TFLAGS)"; \
14202 $(HOST_EXPORTS) \
14203 $(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; \
14204 cd $(HOST_SUBDIR)/cloog && \
14205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14206 CFLAGS="$(STAGE3_CFLAGS)" \
14207 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14208 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14213 TFLAGS="$(STAGE3_TFLAGS)" \
14214 $(TARGET-stage3-cloog)
14216 maybe-clean-stage3-cloog: clean-stage3-cloog
14217 clean-stage3: clean-stage3-cloog
14218 clean-stage3-cloog:
14219 @if [ $(current_stage) = stage3 ]; then \
14220 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14221 else \
14222 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14223 $(MAKE) stage3-start; \
14224 fi; \
14225 cd $(HOST_SUBDIR)/cloog && \
14226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14227 @endif cloog-bootstrap
14230 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14231 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14232 maybe-all-stage4-cloog:
14233 maybe-clean-stage4-cloog:
14234 @if cloog-bootstrap
14235 maybe-all-stage4-cloog: all-stage4-cloog
14236 all-stage4: all-stage4-cloog
14237 TARGET-stage4-cloog = $(TARGET-cloog)
14238 all-stage4-cloog: configure-stage4-cloog
14239 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14240 @r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 TFLAGS="$(STAGE4_TFLAGS)"; \
14243 $(HOST_EXPORTS) \
14244 $(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; \
14245 cd $(HOST_SUBDIR)/cloog && \
14246 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14247 CFLAGS="$(STAGE4_CFLAGS)" \
14248 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14249 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14254 TFLAGS="$(STAGE4_TFLAGS)" \
14255 $(TARGET-stage4-cloog)
14257 maybe-clean-stage4-cloog: clean-stage4-cloog
14258 clean-stage4: clean-stage4-cloog
14259 clean-stage4-cloog:
14260 @if [ $(current_stage) = stage4 ]; then \
14261 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14262 else \
14263 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14264 $(MAKE) stage4-start; \
14265 fi; \
14266 cd $(HOST_SUBDIR)/cloog && \
14267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14268 @endif cloog-bootstrap
14271 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14272 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14273 maybe-all-stageprofile-cloog:
14274 maybe-clean-stageprofile-cloog:
14275 @if cloog-bootstrap
14276 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14277 all-stageprofile: all-stageprofile-cloog
14278 TARGET-stageprofile-cloog = $(TARGET-cloog)
14279 all-stageprofile-cloog: configure-stageprofile-cloog
14280 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14281 @r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14284 $(HOST_EXPORTS) \
14285 $(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; \
14286 cd $(HOST_SUBDIR)/cloog && \
14287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14288 CFLAGS="$(STAGEprofile_CFLAGS)" \
14289 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14290 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14295 TFLAGS="$(STAGEprofile_TFLAGS)" \
14296 $(TARGET-stageprofile-cloog)
14298 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14299 clean-stageprofile: clean-stageprofile-cloog
14300 clean-stageprofile-cloog:
14301 @if [ $(current_stage) = stageprofile ]; then \
14302 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14303 else \
14304 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14305 $(MAKE) stageprofile-start; \
14306 fi; \
14307 cd $(HOST_SUBDIR)/cloog && \
14308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14309 @endif cloog-bootstrap
14312 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14313 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14314 maybe-all-stagefeedback-cloog:
14315 maybe-clean-stagefeedback-cloog:
14316 @if cloog-bootstrap
14317 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14318 all-stagefeedback: all-stagefeedback-cloog
14319 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14320 all-stagefeedback-cloog: configure-stagefeedback-cloog
14321 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14322 @r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14325 $(HOST_EXPORTS) \
14326 $(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; \
14327 cd $(HOST_SUBDIR)/cloog && \
14328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14329 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14330 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14331 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14336 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14337 $(TARGET-stagefeedback-cloog)
14339 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14340 clean-stagefeedback: clean-stagefeedback-cloog
14341 clean-stagefeedback-cloog:
14342 @if [ $(current_stage) = stagefeedback ]; then \
14343 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14344 else \
14345 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14346 $(MAKE) stagefeedback-start; \
14347 fi; \
14348 cd $(HOST_SUBDIR)/cloog && \
14349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14350 @endif cloog-bootstrap
14356 .PHONY: check-cloog maybe-check-cloog
14357 maybe-check-cloog:
14358 @if cloog
14359 maybe-check-cloog: check-cloog
14361 check-cloog:
14362 @: $(MAKE); $(unstage)
14363 @r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 $(HOST_EXPORTS) \
14366 (cd $(HOST_SUBDIR)/cloog && \
14367 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14369 @endif cloog
14371 .PHONY: install-cloog maybe-install-cloog
14372 maybe-install-cloog:
14373 @if cloog
14374 maybe-install-cloog: install-cloog
14376 install-cloog:
14378 @endif cloog
14380 .PHONY: install-strip-cloog maybe-install-strip-cloog
14381 maybe-install-strip-cloog:
14382 @if cloog
14383 maybe-install-strip-cloog: install-strip-cloog
14385 install-strip-cloog:
14387 @endif cloog
14389 # Other targets (info, dvi, pdf, etc.)
14391 .PHONY: maybe-info-cloog info-cloog
14392 maybe-info-cloog:
14393 @if cloog
14394 maybe-info-cloog: info-cloog
14396 info-cloog: \
14397 configure-cloog
14398 @[ -f ./cloog/Makefile ] || exit 0; \
14399 r=`${PWD_COMMAND}`; export r; \
14400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14401 $(HOST_EXPORTS) \
14402 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14404 done; \
14405 echo "Doing info in cloog" ; \
14406 (cd $(HOST_SUBDIR)/cloog && \
14407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14409 "RANLIB=$${RANLIB}" \
14410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14411 info) \
14412 || exit 1
14414 @endif cloog
14416 .PHONY: maybe-dvi-cloog dvi-cloog
14417 maybe-dvi-cloog:
14418 @if cloog
14419 maybe-dvi-cloog: dvi-cloog
14421 dvi-cloog: \
14422 configure-cloog
14423 @[ -f ./cloog/Makefile ] || exit 0; \
14424 r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14426 $(HOST_EXPORTS) \
14427 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14429 done; \
14430 echo "Doing dvi in cloog" ; \
14431 (cd $(HOST_SUBDIR)/cloog && \
14432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14434 "RANLIB=$${RANLIB}" \
14435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14436 dvi) \
14437 || exit 1
14439 @endif cloog
14441 .PHONY: maybe-pdf-cloog pdf-cloog
14442 maybe-pdf-cloog:
14443 @if cloog
14444 maybe-pdf-cloog: pdf-cloog
14446 pdf-cloog: \
14447 configure-cloog
14448 @[ -f ./cloog/Makefile ] || exit 0; \
14449 r=`${PWD_COMMAND}`; export r; \
14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451 $(HOST_EXPORTS) \
14452 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14454 done; \
14455 echo "Doing pdf in cloog" ; \
14456 (cd $(HOST_SUBDIR)/cloog && \
14457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14459 "RANLIB=$${RANLIB}" \
14460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14461 pdf) \
14462 || exit 1
14464 @endif cloog
14466 .PHONY: maybe-html-cloog html-cloog
14467 maybe-html-cloog:
14468 @if cloog
14469 maybe-html-cloog: html-cloog
14471 html-cloog: \
14472 configure-cloog
14473 @[ -f ./cloog/Makefile ] || exit 0; \
14474 r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 $(HOST_EXPORTS) \
14477 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14479 done; \
14480 echo "Doing html in cloog" ; \
14481 (cd $(HOST_SUBDIR)/cloog && \
14482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14484 "RANLIB=$${RANLIB}" \
14485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14486 html) \
14487 || exit 1
14489 @endif cloog
14491 .PHONY: maybe-TAGS-cloog TAGS-cloog
14492 maybe-TAGS-cloog:
14493 @if cloog
14494 maybe-TAGS-cloog: TAGS-cloog
14496 TAGS-cloog: \
14497 configure-cloog
14498 @[ -f ./cloog/Makefile ] || exit 0; \
14499 r=`${PWD_COMMAND}`; export r; \
14500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14501 $(HOST_EXPORTS) \
14502 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14504 done; \
14505 echo "Doing TAGS in cloog" ; \
14506 (cd $(HOST_SUBDIR)/cloog && \
14507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14509 "RANLIB=$${RANLIB}" \
14510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14511 TAGS) \
14512 || exit 1
14514 @endif cloog
14516 .PHONY: maybe-install-info-cloog install-info-cloog
14517 maybe-install-info-cloog:
14518 @if cloog
14519 maybe-install-info-cloog: install-info-cloog
14521 install-info-cloog: \
14522 configure-cloog \
14523 info-cloog
14524 @[ -f ./cloog/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14527 $(HOST_EXPORTS) \
14528 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14530 done; \
14531 echo "Doing install-info in cloog" ; \
14532 (cd $(HOST_SUBDIR)/cloog && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14537 install-info) \
14538 || exit 1
14540 @endif cloog
14542 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14543 maybe-install-pdf-cloog:
14544 @if cloog
14545 maybe-install-pdf-cloog: install-pdf-cloog
14547 install-pdf-cloog: \
14548 configure-cloog \
14549 pdf-cloog
14550 @[ -f ./cloog/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(HOST_EXPORTS) \
14554 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556 done; \
14557 echo "Doing install-pdf in cloog" ; \
14558 (cd $(HOST_SUBDIR)/cloog && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14563 install-pdf) \
14564 || exit 1
14566 @endif cloog
14568 .PHONY: maybe-install-html-cloog install-html-cloog
14569 maybe-install-html-cloog:
14570 @if cloog
14571 maybe-install-html-cloog: install-html-cloog
14573 install-html-cloog: \
14574 configure-cloog \
14575 html-cloog
14576 @[ -f ./cloog/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(HOST_EXPORTS) \
14580 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 done; \
14583 echo "Doing install-html in cloog" ; \
14584 (cd $(HOST_SUBDIR)/cloog && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14589 install-html) \
14590 || exit 1
14592 @endif cloog
14594 .PHONY: maybe-installcheck-cloog installcheck-cloog
14595 maybe-installcheck-cloog:
14596 @if cloog
14597 maybe-installcheck-cloog: installcheck-cloog
14599 installcheck-cloog: \
14600 configure-cloog
14601 @[ -f ./cloog/Makefile ] || exit 0; \
14602 r=`${PWD_COMMAND}`; export r; \
14603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14604 $(HOST_EXPORTS) \
14605 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14607 done; \
14608 echo "Doing installcheck in cloog" ; \
14609 (cd $(HOST_SUBDIR)/cloog && \
14610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14612 "RANLIB=$${RANLIB}" \
14613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14614 installcheck) \
14615 || exit 1
14617 @endif cloog
14619 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14620 maybe-mostlyclean-cloog:
14621 @if cloog
14622 maybe-mostlyclean-cloog: mostlyclean-cloog
14624 mostlyclean-cloog:
14625 @[ -f ./cloog/Makefile ] || exit 0; \
14626 r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 $(HOST_EXPORTS) \
14629 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 done; \
14632 echo "Doing mostlyclean in cloog" ; \
14633 (cd $(HOST_SUBDIR)/cloog && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14638 mostlyclean) \
14639 || exit 1
14641 @endif cloog
14643 .PHONY: maybe-clean-cloog clean-cloog
14644 maybe-clean-cloog:
14645 @if cloog
14646 maybe-clean-cloog: clean-cloog
14648 clean-cloog:
14649 @[ -f ./cloog/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing clean in cloog" ; \
14657 (cd $(HOST_SUBDIR)/cloog && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14662 clean) \
14663 || exit 1
14665 @endif cloog
14667 .PHONY: maybe-distclean-cloog distclean-cloog
14668 maybe-distclean-cloog:
14669 @if cloog
14670 maybe-distclean-cloog: distclean-cloog
14672 distclean-cloog:
14673 @[ -f ./cloog/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing distclean in cloog" ; \
14681 (cd $(HOST_SUBDIR)/cloog && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14686 distclean) \
14687 || exit 1
14689 @endif cloog
14691 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14692 maybe-maintainer-clean-cloog:
14693 @if cloog
14694 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14696 maintainer-clean-cloog:
14697 @[ -f ./cloog/Makefile ] || exit 0; \
14698 r=`${PWD_COMMAND}`; export r; \
14699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700 $(HOST_EXPORTS) \
14701 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14703 done; \
14704 echo "Doing maintainer-clean in cloog" ; \
14705 (cd $(HOST_SUBDIR)/cloog && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14710 maintainer-clean) \
14711 || exit 1
14713 @endif cloog
14717 .PHONY: configure-libelf maybe-configure-libelf
14718 maybe-configure-libelf:
14719 @if gcc-bootstrap
14720 configure-libelf: stage_current
14721 @endif gcc-bootstrap
14722 @if libelf
14723 maybe-configure-libelf: configure-libelf
14724 configure-libelf:
14725 @r=`${PWD_COMMAND}`; export r; \
14726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14727 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14729 $(HOST_EXPORTS) \
14730 echo Configuring in $(HOST_SUBDIR)/libelf; \
14731 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14732 case $(srcdir) in \
14733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14734 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14736 esac; \
14737 srcdiroption="--srcdir=$${topdir}/libelf"; \
14738 libsrcdir="$$s/libelf"; \
14739 $(SHELL) $${libsrcdir}/configure \
14740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14741 --target=${target_alias} $${srcdiroption} --disable-shared \
14742 || exit 1
14743 @endif libelf
14747 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14748 maybe-configure-stage1-libelf:
14749 @if libelf-bootstrap
14750 maybe-configure-stage1-libelf: configure-stage1-libelf
14751 configure-stage1-libelf:
14752 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14754 @r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 TFLAGS="$(STAGE1_TFLAGS)"; \
14757 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14758 $(HOST_EXPORTS) \
14759 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14760 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14761 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14762 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14764 cd $(HOST_SUBDIR)/libelf || exit 1; \
14765 case $(srcdir) in \
14766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14767 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14769 esac; \
14770 srcdiroption="--srcdir=$${topdir}/libelf"; \
14771 libsrcdir="$$s/libelf"; \
14772 $(SHELL) $${libsrcdir}/configure \
14773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14774 --target=${target_alias} $${srcdiroption} \
14775 $(STAGE1_CONFIGURE_FLAGS) \
14776 --disable-shared
14777 @endif libelf-bootstrap
14779 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14780 maybe-configure-stage2-libelf:
14781 @if libelf-bootstrap
14782 maybe-configure-stage2-libelf: configure-stage2-libelf
14783 configure-stage2-libelf:
14784 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14786 @r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 TFLAGS="$(STAGE2_TFLAGS)"; \
14789 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14790 $(HOST_EXPORTS) \
14791 $(POSTSTAGE1_HOST_EXPORTS) \
14792 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14793 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14794 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14795 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14797 cd $(HOST_SUBDIR)/libelf || exit 1; \
14798 case $(srcdir) in \
14799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14800 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14802 esac; \
14803 srcdiroption="--srcdir=$${topdir}/libelf"; \
14804 libsrcdir="$$s/libelf"; \
14805 $(SHELL) $${libsrcdir}/configure \
14806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14807 --target=${target_alias} $${srcdiroption} \
14808 --with-build-libsubdir=$(HOST_SUBDIR) \
14809 $(STAGE2_CONFIGURE_FLAGS) \
14810 --disable-shared
14811 @endif libelf-bootstrap
14813 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14814 maybe-configure-stage3-libelf:
14815 @if libelf-bootstrap
14816 maybe-configure-stage3-libelf: configure-stage3-libelf
14817 configure-stage3-libelf:
14818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14819 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14820 @r=`${PWD_COMMAND}`; export r; \
14821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14822 TFLAGS="$(STAGE3_TFLAGS)"; \
14823 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14824 $(HOST_EXPORTS) \
14825 $(POSTSTAGE1_HOST_EXPORTS) \
14826 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14827 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14828 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14829 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14831 cd $(HOST_SUBDIR)/libelf || exit 1; \
14832 case $(srcdir) in \
14833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14834 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14836 esac; \
14837 srcdiroption="--srcdir=$${topdir}/libelf"; \
14838 libsrcdir="$$s/libelf"; \
14839 $(SHELL) $${libsrcdir}/configure \
14840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14841 --target=${target_alias} $${srcdiroption} \
14842 --with-build-libsubdir=$(HOST_SUBDIR) \
14843 $(STAGE3_CONFIGURE_FLAGS) \
14844 --disable-shared
14845 @endif libelf-bootstrap
14847 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14848 maybe-configure-stage4-libelf:
14849 @if libelf-bootstrap
14850 maybe-configure-stage4-libelf: configure-stage4-libelf
14851 configure-stage4-libelf:
14852 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14854 @r=`${PWD_COMMAND}`; export r; \
14855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14856 TFLAGS="$(STAGE4_TFLAGS)"; \
14857 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14858 $(HOST_EXPORTS) \
14859 $(POSTSTAGE1_HOST_EXPORTS) \
14860 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14861 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14862 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14863 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14865 cd $(HOST_SUBDIR)/libelf || exit 1; \
14866 case $(srcdir) in \
14867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14868 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14870 esac; \
14871 srcdiroption="--srcdir=$${topdir}/libelf"; \
14872 libsrcdir="$$s/libelf"; \
14873 $(SHELL) $${libsrcdir}/configure \
14874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14875 --target=${target_alias} $${srcdiroption} \
14876 --with-build-libsubdir=$(HOST_SUBDIR) \
14877 $(STAGE4_CONFIGURE_FLAGS) \
14878 --disable-shared
14879 @endif libelf-bootstrap
14881 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14882 maybe-configure-stageprofile-libelf:
14883 @if libelf-bootstrap
14884 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14885 configure-stageprofile-libelf:
14886 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14888 @r=`${PWD_COMMAND}`; export r; \
14889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14890 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14891 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14892 $(HOST_EXPORTS) \
14893 $(POSTSTAGE1_HOST_EXPORTS) \
14894 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14895 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14896 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14897 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14899 cd $(HOST_SUBDIR)/libelf || exit 1; \
14900 case $(srcdir) in \
14901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14902 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14904 esac; \
14905 srcdiroption="--srcdir=$${topdir}/libelf"; \
14906 libsrcdir="$$s/libelf"; \
14907 $(SHELL) $${libsrcdir}/configure \
14908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14909 --target=${target_alias} $${srcdiroption} \
14910 --with-build-libsubdir=$(HOST_SUBDIR) \
14911 $(STAGEprofile_CONFIGURE_FLAGS) \
14912 --disable-shared
14913 @endif libelf-bootstrap
14915 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14916 maybe-configure-stagefeedback-libelf:
14917 @if libelf-bootstrap
14918 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14919 configure-stagefeedback-libelf:
14920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14922 @r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14925 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14926 $(HOST_EXPORTS) \
14927 $(POSTSTAGE1_HOST_EXPORTS) \
14928 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14931 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14933 cd $(HOST_SUBDIR)/libelf || exit 1; \
14934 case $(srcdir) in \
14935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14936 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14938 esac; \
14939 srcdiroption="--srcdir=$${topdir}/libelf"; \
14940 libsrcdir="$$s/libelf"; \
14941 $(SHELL) $${libsrcdir}/configure \
14942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14943 --target=${target_alias} $${srcdiroption} \
14944 --with-build-libsubdir=$(HOST_SUBDIR) \
14945 $(STAGEfeedback_CONFIGURE_FLAGS) \
14946 --disable-shared
14947 @endif libelf-bootstrap
14953 .PHONY: all-libelf maybe-all-libelf
14954 maybe-all-libelf:
14955 @if gcc-bootstrap
14956 all-libelf: stage_current
14957 @endif gcc-bootstrap
14958 @if libelf
14959 TARGET-libelf=all
14960 maybe-all-libelf: all-libelf
14961 all-libelf: configure-libelf
14962 @r=`${PWD_COMMAND}`; export r; \
14963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14964 $(HOST_EXPORTS) \
14965 (cd $(HOST_SUBDIR)/libelf && \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14967 $(TARGET-libelf))
14968 @endif libelf
14972 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14973 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14974 maybe-all-stage1-libelf:
14975 maybe-clean-stage1-libelf:
14976 @if libelf-bootstrap
14977 maybe-all-stage1-libelf: all-stage1-libelf
14978 all-stage1: all-stage1-libelf
14979 TARGET-stage1-libelf = $(TARGET-libelf)
14980 all-stage1-libelf: configure-stage1-libelf
14981 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14982 @r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 TFLAGS="$(STAGE1_TFLAGS)"; \
14985 $(HOST_EXPORTS) \
14986 cd $(HOST_SUBDIR)/libelf && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14988 CFLAGS="$(STAGE1_CFLAGS)" \
14989 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14990 LIBCFLAGS="$(LIBCFLAGS)" \
14991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14994 $(EXTRA_HOST_FLAGS) \
14995 $(STAGE1_FLAGS_TO_PASS) \
14996 TFLAGS="$(STAGE1_TFLAGS)" \
14997 $(TARGET-stage1-libelf)
14999 maybe-clean-stage1-libelf: clean-stage1-libelf
15000 clean-stage1: clean-stage1-libelf
15001 clean-stage1-libelf:
15002 @if [ $(current_stage) = stage1 ]; then \
15003 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15004 else \
15005 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15006 $(MAKE) stage1-start; \
15007 fi; \
15008 cd $(HOST_SUBDIR)/libelf && \
15009 $(MAKE) $(EXTRA_HOST_FLAGS) \
15010 $(STAGE1_FLAGS_TO_PASS) clean
15011 @endif libelf-bootstrap
15014 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15015 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15016 maybe-all-stage2-libelf:
15017 maybe-clean-stage2-libelf:
15018 @if libelf-bootstrap
15019 maybe-all-stage2-libelf: all-stage2-libelf
15020 all-stage2: all-stage2-libelf
15021 TARGET-stage2-libelf = $(TARGET-libelf)
15022 all-stage2-libelf: configure-stage2-libelf
15023 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15024 @r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 TFLAGS="$(STAGE2_TFLAGS)"; \
15027 $(HOST_EXPORTS) \
15028 $(POSTSTAGE1_HOST_EXPORTS) \
15029 cd $(HOST_SUBDIR)/libelf && \
15030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15031 CFLAGS="$(STAGE2_CFLAGS)" \
15032 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15033 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15038 TFLAGS="$(STAGE2_TFLAGS)" \
15039 $(TARGET-stage2-libelf)
15041 maybe-clean-stage2-libelf: clean-stage2-libelf
15042 clean-stage2: clean-stage2-libelf
15043 clean-stage2-libelf:
15044 @if [ $(current_stage) = stage2 ]; then \
15045 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15046 else \
15047 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15048 $(MAKE) stage2-start; \
15049 fi; \
15050 cd $(HOST_SUBDIR)/libelf && \
15051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15052 @endif libelf-bootstrap
15055 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15056 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15057 maybe-all-stage3-libelf:
15058 maybe-clean-stage3-libelf:
15059 @if libelf-bootstrap
15060 maybe-all-stage3-libelf: all-stage3-libelf
15061 all-stage3: all-stage3-libelf
15062 TARGET-stage3-libelf = $(TARGET-libelf)
15063 all-stage3-libelf: configure-stage3-libelf
15064 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15065 @r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 TFLAGS="$(STAGE3_TFLAGS)"; \
15068 $(HOST_EXPORTS) \
15069 $(POSTSTAGE1_HOST_EXPORTS) \
15070 cd $(HOST_SUBDIR)/libelf && \
15071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15072 CFLAGS="$(STAGE3_CFLAGS)" \
15073 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15074 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15079 TFLAGS="$(STAGE3_TFLAGS)" \
15080 $(TARGET-stage3-libelf)
15082 maybe-clean-stage3-libelf: clean-stage3-libelf
15083 clean-stage3: clean-stage3-libelf
15084 clean-stage3-libelf:
15085 @if [ $(current_stage) = stage3 ]; then \
15086 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15087 else \
15088 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15089 $(MAKE) stage3-start; \
15090 fi; \
15091 cd $(HOST_SUBDIR)/libelf && \
15092 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15093 @endif libelf-bootstrap
15096 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15097 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15098 maybe-all-stage4-libelf:
15099 maybe-clean-stage4-libelf:
15100 @if libelf-bootstrap
15101 maybe-all-stage4-libelf: all-stage4-libelf
15102 all-stage4: all-stage4-libelf
15103 TARGET-stage4-libelf = $(TARGET-libelf)
15104 all-stage4-libelf: configure-stage4-libelf
15105 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15106 @r=`${PWD_COMMAND}`; export r; \
15107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108 TFLAGS="$(STAGE4_TFLAGS)"; \
15109 $(HOST_EXPORTS) \
15110 $(POSTSTAGE1_HOST_EXPORTS) \
15111 cd $(HOST_SUBDIR)/libelf && \
15112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15113 CFLAGS="$(STAGE4_CFLAGS)" \
15114 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15115 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15120 TFLAGS="$(STAGE4_TFLAGS)" \
15121 $(TARGET-stage4-libelf)
15123 maybe-clean-stage4-libelf: clean-stage4-libelf
15124 clean-stage4: clean-stage4-libelf
15125 clean-stage4-libelf:
15126 @if [ $(current_stage) = stage4 ]; then \
15127 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15128 else \
15129 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15130 $(MAKE) stage4-start; \
15131 fi; \
15132 cd $(HOST_SUBDIR)/libelf && \
15133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15134 @endif libelf-bootstrap
15137 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15138 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15139 maybe-all-stageprofile-libelf:
15140 maybe-clean-stageprofile-libelf:
15141 @if libelf-bootstrap
15142 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15143 all-stageprofile: all-stageprofile-libelf
15144 TARGET-stageprofile-libelf = $(TARGET-libelf)
15145 all-stageprofile-libelf: configure-stageprofile-libelf
15146 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15147 @r=`${PWD_COMMAND}`; export r; \
15148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15149 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15150 $(HOST_EXPORTS) \
15151 $(POSTSTAGE1_HOST_EXPORTS) \
15152 cd $(HOST_SUBDIR)/libelf && \
15153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15154 CFLAGS="$(STAGEprofile_CFLAGS)" \
15155 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15156 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15160 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15161 TFLAGS="$(STAGEprofile_TFLAGS)" \
15162 $(TARGET-stageprofile-libelf)
15164 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15165 clean-stageprofile: clean-stageprofile-libelf
15166 clean-stageprofile-libelf:
15167 @if [ $(current_stage) = stageprofile ]; then \
15168 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15169 else \
15170 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15171 $(MAKE) stageprofile-start; \
15172 fi; \
15173 cd $(HOST_SUBDIR)/libelf && \
15174 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15175 @endif libelf-bootstrap
15178 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15179 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15180 maybe-all-stagefeedback-libelf:
15181 maybe-clean-stagefeedback-libelf:
15182 @if libelf-bootstrap
15183 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15184 all-stagefeedback: all-stagefeedback-libelf
15185 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15186 all-stagefeedback-libelf: configure-stagefeedback-libelf
15187 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15188 @r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15191 $(HOST_EXPORTS) \
15192 $(POSTSTAGE1_HOST_EXPORTS) \
15193 cd $(HOST_SUBDIR)/libelf && \
15194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15195 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15196 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15197 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15202 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15203 $(TARGET-stagefeedback-libelf)
15205 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15206 clean-stagefeedback: clean-stagefeedback-libelf
15207 clean-stagefeedback-libelf:
15208 @if [ $(current_stage) = stagefeedback ]; then \
15209 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15210 else \
15211 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15212 $(MAKE) stagefeedback-start; \
15213 fi; \
15214 cd $(HOST_SUBDIR)/libelf && \
15215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15216 @endif libelf-bootstrap
15222 .PHONY: check-libelf maybe-check-libelf
15223 maybe-check-libelf:
15224 @if libelf
15225 maybe-check-libelf: check-libelf
15227 check-libelf:
15228 @: $(MAKE); $(unstage)
15229 @r=`${PWD_COMMAND}`; export r; \
15230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15231 $(HOST_EXPORTS) \
15232 (cd $(HOST_SUBDIR)/libelf && \
15233 $(MAKE) $(FLAGS_TO_PASS) check)
15235 @endif libelf
15237 .PHONY: install-libelf maybe-install-libelf
15238 maybe-install-libelf:
15239 @if libelf
15240 maybe-install-libelf: install-libelf
15242 install-libelf:
15244 @endif libelf
15246 .PHONY: install-strip-libelf maybe-install-strip-libelf
15247 maybe-install-strip-libelf:
15248 @if libelf
15249 maybe-install-strip-libelf: install-strip-libelf
15251 install-strip-libelf:
15253 @endif libelf
15255 # Other targets (info, dvi, pdf, etc.)
15257 .PHONY: maybe-info-libelf info-libelf
15258 maybe-info-libelf:
15259 @if libelf
15260 maybe-info-libelf: info-libelf
15262 info-libelf: \
15263 configure-libelf
15264 @[ -f ./libelf/Makefile ] || exit 0; \
15265 r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15267 $(HOST_EXPORTS) \
15268 for flag in $(EXTRA_HOST_FLAGS) ; do \
15269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15270 done; \
15271 echo "Doing info in libelf" ; \
15272 (cd $(HOST_SUBDIR)/libelf && \
15273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15275 "RANLIB=$${RANLIB}" \
15276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15277 info) \
15278 || exit 1
15280 @endif libelf
15282 .PHONY: maybe-dvi-libelf dvi-libelf
15283 maybe-dvi-libelf:
15284 @if libelf
15285 maybe-dvi-libelf: dvi-libelf
15287 dvi-libelf: \
15288 configure-libelf
15289 @[ -f ./libelf/Makefile ] || exit 0; \
15290 r=`${PWD_COMMAND}`; export r; \
15291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15292 $(HOST_EXPORTS) \
15293 for flag in $(EXTRA_HOST_FLAGS) ; do \
15294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15295 done; \
15296 echo "Doing dvi in libelf" ; \
15297 (cd $(HOST_SUBDIR)/libelf && \
15298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15300 "RANLIB=$${RANLIB}" \
15301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15302 dvi) \
15303 || exit 1
15305 @endif libelf
15307 .PHONY: maybe-pdf-libelf pdf-libelf
15308 maybe-pdf-libelf:
15309 @if libelf
15310 maybe-pdf-libelf: pdf-libelf
15312 pdf-libelf: \
15313 configure-libelf
15314 @[ -f ./libelf/Makefile ] || exit 0; \
15315 r=`${PWD_COMMAND}`; export r; \
15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15317 $(HOST_EXPORTS) \
15318 for flag in $(EXTRA_HOST_FLAGS) ; do \
15319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15320 done; \
15321 echo "Doing pdf in libelf" ; \
15322 (cd $(HOST_SUBDIR)/libelf && \
15323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15325 "RANLIB=$${RANLIB}" \
15326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15327 pdf) \
15328 || exit 1
15330 @endif libelf
15332 .PHONY: maybe-html-libelf html-libelf
15333 maybe-html-libelf:
15334 @if libelf
15335 maybe-html-libelf: html-libelf
15337 html-libelf: \
15338 configure-libelf
15339 @[ -f ./libelf/Makefile ] || exit 0; \
15340 r=`${PWD_COMMAND}`; export r; \
15341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15342 $(HOST_EXPORTS) \
15343 for flag in $(EXTRA_HOST_FLAGS) ; do \
15344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15345 done; \
15346 echo "Doing html in libelf" ; \
15347 (cd $(HOST_SUBDIR)/libelf && \
15348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15350 "RANLIB=$${RANLIB}" \
15351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15352 html) \
15353 || exit 1
15355 @endif libelf
15357 .PHONY: maybe-TAGS-libelf TAGS-libelf
15358 maybe-TAGS-libelf:
15359 @if libelf
15360 maybe-TAGS-libelf: TAGS-libelf
15362 TAGS-libelf: \
15363 configure-libelf
15364 @[ -f ./libelf/Makefile ] || exit 0; \
15365 r=`${PWD_COMMAND}`; export r; \
15366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15367 $(HOST_EXPORTS) \
15368 for flag in $(EXTRA_HOST_FLAGS) ; do \
15369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15370 done; \
15371 echo "Doing TAGS in libelf" ; \
15372 (cd $(HOST_SUBDIR)/libelf && \
15373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15375 "RANLIB=$${RANLIB}" \
15376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15377 TAGS) \
15378 || exit 1
15380 @endif libelf
15382 .PHONY: maybe-install-info-libelf install-info-libelf
15383 maybe-install-info-libelf:
15384 @if libelf
15385 maybe-install-info-libelf: install-info-libelf
15387 install-info-libelf: \
15388 configure-libelf \
15389 info-libelf
15390 @[ -f ./libelf/Makefile ] || exit 0; \
15391 r=`${PWD_COMMAND}`; export r; \
15392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15393 $(HOST_EXPORTS) \
15394 for flag in $(EXTRA_HOST_FLAGS) ; do \
15395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15396 done; \
15397 echo "Doing install-info in libelf" ; \
15398 (cd $(HOST_SUBDIR)/libelf && \
15399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15401 "RANLIB=$${RANLIB}" \
15402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15403 install-info) \
15404 || exit 1
15406 @endif libelf
15408 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15409 maybe-install-pdf-libelf:
15410 @if libelf
15411 maybe-install-pdf-libelf: install-pdf-libelf
15413 install-pdf-libelf: \
15414 configure-libelf \
15415 pdf-libelf
15416 @[ -f ./libelf/Makefile ] || exit 0; \
15417 r=`${PWD_COMMAND}`; export r; \
15418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15419 $(HOST_EXPORTS) \
15420 for flag in $(EXTRA_HOST_FLAGS) ; do \
15421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15422 done; \
15423 echo "Doing install-pdf in libelf" ; \
15424 (cd $(HOST_SUBDIR)/libelf && \
15425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15427 "RANLIB=$${RANLIB}" \
15428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15429 install-pdf) \
15430 || exit 1
15432 @endif libelf
15434 .PHONY: maybe-install-html-libelf install-html-libelf
15435 maybe-install-html-libelf:
15436 @if libelf
15437 maybe-install-html-libelf: install-html-libelf
15439 install-html-libelf: \
15440 configure-libelf \
15441 html-libelf
15442 @[ -f ./libelf/Makefile ] || exit 0; \
15443 r=`${PWD_COMMAND}`; export r; \
15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15445 $(HOST_EXPORTS) \
15446 for flag in $(EXTRA_HOST_FLAGS) ; do \
15447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15448 done; \
15449 echo "Doing install-html in libelf" ; \
15450 (cd $(HOST_SUBDIR)/libelf && \
15451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15453 "RANLIB=$${RANLIB}" \
15454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15455 install-html) \
15456 || exit 1
15458 @endif libelf
15460 .PHONY: maybe-installcheck-libelf installcheck-libelf
15461 maybe-installcheck-libelf:
15462 @if libelf
15463 maybe-installcheck-libelf: installcheck-libelf
15465 installcheck-libelf: \
15466 configure-libelf
15467 @[ -f ./libelf/Makefile ] || exit 0; \
15468 r=`${PWD_COMMAND}`; export r; \
15469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15470 $(HOST_EXPORTS) \
15471 for flag in $(EXTRA_HOST_FLAGS) ; do \
15472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15473 done; \
15474 echo "Doing installcheck in libelf" ; \
15475 (cd $(HOST_SUBDIR)/libelf && \
15476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15478 "RANLIB=$${RANLIB}" \
15479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15480 installcheck) \
15481 || exit 1
15483 @endif libelf
15485 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15486 maybe-mostlyclean-libelf:
15487 @if libelf
15488 maybe-mostlyclean-libelf: mostlyclean-libelf
15490 mostlyclean-libelf:
15491 @[ -f ./libelf/Makefile ] || exit 0; \
15492 r=`${PWD_COMMAND}`; export r; \
15493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15494 $(HOST_EXPORTS) \
15495 for flag in $(EXTRA_HOST_FLAGS) ; do \
15496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15497 done; \
15498 echo "Doing mostlyclean in libelf" ; \
15499 (cd $(HOST_SUBDIR)/libelf && \
15500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15502 "RANLIB=$${RANLIB}" \
15503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15504 mostlyclean) \
15505 || exit 1
15507 @endif libelf
15509 .PHONY: maybe-clean-libelf clean-libelf
15510 maybe-clean-libelf:
15511 @if libelf
15512 maybe-clean-libelf: clean-libelf
15514 clean-libelf:
15515 @[ -f ./libelf/Makefile ] || exit 0; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 $(HOST_EXPORTS) \
15519 for flag in $(EXTRA_HOST_FLAGS) ; do \
15520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15521 done; \
15522 echo "Doing clean in libelf" ; \
15523 (cd $(HOST_SUBDIR)/libelf && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526 "RANLIB=$${RANLIB}" \
15527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15528 clean) \
15529 || exit 1
15531 @endif libelf
15533 .PHONY: maybe-distclean-libelf distclean-libelf
15534 maybe-distclean-libelf:
15535 @if libelf
15536 maybe-distclean-libelf: distclean-libelf
15538 distclean-libelf:
15539 @[ -f ./libelf/Makefile ] || exit 0; \
15540 r=`${PWD_COMMAND}`; export r; \
15541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15542 $(HOST_EXPORTS) \
15543 for flag in $(EXTRA_HOST_FLAGS) ; do \
15544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15545 done; \
15546 echo "Doing distclean in libelf" ; \
15547 (cd $(HOST_SUBDIR)/libelf && \
15548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15550 "RANLIB=$${RANLIB}" \
15551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15552 distclean) \
15553 || exit 1
15555 @endif libelf
15557 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15558 maybe-maintainer-clean-libelf:
15559 @if libelf
15560 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15562 maintainer-clean-libelf:
15563 @[ -f ./libelf/Makefile ] || exit 0; \
15564 r=`${PWD_COMMAND}`; export r; \
15565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15566 $(HOST_EXPORTS) \
15567 for flag in $(EXTRA_HOST_FLAGS) ; do \
15568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15569 done; \
15570 echo "Doing maintainer-clean in libelf" ; \
15571 (cd $(HOST_SUBDIR)/libelf && \
15572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15574 "RANLIB=$${RANLIB}" \
15575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15576 maintainer-clean) \
15577 || exit 1
15579 @endif libelf
15583 .PHONY: configure-gold maybe-configure-gold
15584 maybe-configure-gold:
15585 @if gcc-bootstrap
15586 configure-gold: stage_current
15587 @endif gcc-bootstrap
15588 @if gold
15589 maybe-configure-gold: configure-gold
15590 configure-gold:
15591 @r=`${PWD_COMMAND}`; export r; \
15592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15593 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15595 $(HOST_EXPORTS) \
15596 echo Configuring in $(HOST_SUBDIR)/gold; \
15597 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15598 case $(srcdir) in \
15599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15600 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15602 esac; \
15603 srcdiroption="--srcdir=$${topdir}/gold"; \
15604 libsrcdir="$$s/gold"; \
15605 $(SHELL) $${libsrcdir}/configure \
15606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15607 --target=${target_alias} $${srcdiroption} \
15608 || exit 1
15609 @endif gold
15613 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15614 maybe-configure-stage1-gold:
15615 @if gold-bootstrap
15616 maybe-configure-stage1-gold: configure-stage1-gold
15617 configure-stage1-gold:
15618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15620 @r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 TFLAGS="$(STAGE1_TFLAGS)"; \
15623 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15624 $(HOST_EXPORTS) \
15625 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15626 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15627 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15628 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15630 cd $(HOST_SUBDIR)/gold || exit 1; \
15631 case $(srcdir) in \
15632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15633 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15635 esac; \
15636 srcdiroption="--srcdir=$${topdir}/gold"; \
15637 libsrcdir="$$s/gold"; \
15638 $(SHELL) $${libsrcdir}/configure \
15639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15640 --target=${target_alias} $${srcdiroption} \
15641 $(STAGE1_CONFIGURE_FLAGS)
15642 @endif gold-bootstrap
15644 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15645 maybe-configure-stage2-gold:
15646 @if gold-bootstrap
15647 maybe-configure-stage2-gold: configure-stage2-gold
15648 configure-stage2-gold:
15649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15651 @r=`${PWD_COMMAND}`; export r; \
15652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15653 TFLAGS="$(STAGE2_TFLAGS)"; \
15654 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15655 $(HOST_EXPORTS) \
15656 $(POSTSTAGE1_HOST_EXPORTS) \
15657 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15658 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15659 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15660 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15662 cd $(HOST_SUBDIR)/gold || exit 1; \
15663 case $(srcdir) in \
15664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15665 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15667 esac; \
15668 srcdiroption="--srcdir=$${topdir}/gold"; \
15669 libsrcdir="$$s/gold"; \
15670 $(SHELL) $${libsrcdir}/configure \
15671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15672 --target=${target_alias} $${srcdiroption} \
15673 --with-build-libsubdir=$(HOST_SUBDIR) \
15674 $(STAGE2_CONFIGURE_FLAGS)
15675 @endif gold-bootstrap
15677 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15678 maybe-configure-stage3-gold:
15679 @if gold-bootstrap
15680 maybe-configure-stage3-gold: configure-stage3-gold
15681 configure-stage3-gold:
15682 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15684 @r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 TFLAGS="$(STAGE3_TFLAGS)"; \
15687 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15688 $(HOST_EXPORTS) \
15689 $(POSTSTAGE1_HOST_EXPORTS) \
15690 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15691 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15692 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15693 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15695 cd $(HOST_SUBDIR)/gold || exit 1; \
15696 case $(srcdir) in \
15697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15698 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15700 esac; \
15701 srcdiroption="--srcdir=$${topdir}/gold"; \
15702 libsrcdir="$$s/gold"; \
15703 $(SHELL) $${libsrcdir}/configure \
15704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15705 --target=${target_alias} $${srcdiroption} \
15706 --with-build-libsubdir=$(HOST_SUBDIR) \
15707 $(STAGE3_CONFIGURE_FLAGS)
15708 @endif gold-bootstrap
15710 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15711 maybe-configure-stage4-gold:
15712 @if gold-bootstrap
15713 maybe-configure-stage4-gold: configure-stage4-gold
15714 configure-stage4-gold:
15715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15717 @r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 TFLAGS="$(STAGE4_TFLAGS)"; \
15720 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15721 $(HOST_EXPORTS) \
15722 $(POSTSTAGE1_HOST_EXPORTS) \
15723 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15724 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15725 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15726 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15728 cd $(HOST_SUBDIR)/gold || exit 1; \
15729 case $(srcdir) in \
15730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15731 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15733 esac; \
15734 srcdiroption="--srcdir=$${topdir}/gold"; \
15735 libsrcdir="$$s/gold"; \
15736 $(SHELL) $${libsrcdir}/configure \
15737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15738 --target=${target_alias} $${srcdiroption} \
15739 --with-build-libsubdir=$(HOST_SUBDIR) \
15740 $(STAGE4_CONFIGURE_FLAGS)
15741 @endif gold-bootstrap
15743 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15744 maybe-configure-stageprofile-gold:
15745 @if gold-bootstrap
15746 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15747 configure-stageprofile-gold:
15748 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15750 @r=`${PWD_COMMAND}`; export r; \
15751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15752 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15753 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15754 $(HOST_EXPORTS) \
15755 $(POSTSTAGE1_HOST_EXPORTS) \
15756 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15757 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15758 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15759 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15761 cd $(HOST_SUBDIR)/gold || exit 1; \
15762 case $(srcdir) in \
15763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15764 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15766 esac; \
15767 srcdiroption="--srcdir=$${topdir}/gold"; \
15768 libsrcdir="$$s/gold"; \
15769 $(SHELL) $${libsrcdir}/configure \
15770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15771 --target=${target_alias} $${srcdiroption} \
15772 --with-build-libsubdir=$(HOST_SUBDIR) \
15773 $(STAGEprofile_CONFIGURE_FLAGS)
15774 @endif gold-bootstrap
15776 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15777 maybe-configure-stagefeedback-gold:
15778 @if gold-bootstrap
15779 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15780 configure-stagefeedback-gold:
15781 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15786 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15787 $(HOST_EXPORTS) \
15788 $(POSTSTAGE1_HOST_EXPORTS) \
15789 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15790 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15791 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15792 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15794 cd $(HOST_SUBDIR)/gold || exit 1; \
15795 case $(srcdir) in \
15796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15797 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15799 esac; \
15800 srcdiroption="--srcdir=$${topdir}/gold"; \
15801 libsrcdir="$$s/gold"; \
15802 $(SHELL) $${libsrcdir}/configure \
15803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15804 --target=${target_alias} $${srcdiroption} \
15805 --with-build-libsubdir=$(HOST_SUBDIR) \
15806 $(STAGEfeedback_CONFIGURE_FLAGS)
15807 @endif gold-bootstrap
15813 .PHONY: all-gold maybe-all-gold
15814 maybe-all-gold:
15815 @if gcc-bootstrap
15816 all-gold: stage_current
15817 @endif gcc-bootstrap
15818 @if gold
15819 TARGET-gold=all
15820 maybe-all-gold: all-gold
15821 all-gold: configure-gold
15822 @r=`${PWD_COMMAND}`; export r; \
15823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15824 $(HOST_EXPORTS) \
15825 (cd $(HOST_SUBDIR)/gold && \
15826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15827 $(TARGET-gold))
15828 @endif gold
15832 .PHONY: all-stage1-gold maybe-all-stage1-gold
15833 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15834 maybe-all-stage1-gold:
15835 maybe-clean-stage1-gold:
15836 @if gold-bootstrap
15837 maybe-all-stage1-gold: all-stage1-gold
15838 all-stage1: all-stage1-gold
15839 TARGET-stage1-gold = $(TARGET-gold)
15840 all-stage1-gold: configure-stage1-gold
15841 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15842 @r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844 TFLAGS="$(STAGE1_TFLAGS)"; \
15845 $(HOST_EXPORTS) \
15846 cd $(HOST_SUBDIR)/gold && \
15847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15848 CFLAGS="$(STAGE1_CFLAGS)" \
15849 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15850 LIBCFLAGS="$(LIBCFLAGS)" \
15851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15854 $(EXTRA_HOST_FLAGS) \
15855 $(STAGE1_FLAGS_TO_PASS) \
15856 TFLAGS="$(STAGE1_TFLAGS)" \
15857 $(TARGET-stage1-gold)
15859 maybe-clean-stage1-gold: clean-stage1-gold
15860 clean-stage1: clean-stage1-gold
15861 clean-stage1-gold:
15862 @if [ $(current_stage) = stage1 ]; then \
15863 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15864 else \
15865 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15866 $(MAKE) stage1-start; \
15867 fi; \
15868 cd $(HOST_SUBDIR)/gold && \
15869 $(MAKE) $(EXTRA_HOST_FLAGS) \
15870 $(STAGE1_FLAGS_TO_PASS) clean
15871 @endif gold-bootstrap
15874 .PHONY: all-stage2-gold maybe-all-stage2-gold
15875 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15876 maybe-all-stage2-gold:
15877 maybe-clean-stage2-gold:
15878 @if gold-bootstrap
15879 maybe-all-stage2-gold: all-stage2-gold
15880 all-stage2: all-stage2-gold
15881 TARGET-stage2-gold = $(TARGET-gold)
15882 all-stage2-gold: configure-stage2-gold
15883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15884 @r=`${PWD_COMMAND}`; export r; \
15885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15886 TFLAGS="$(STAGE2_TFLAGS)"; \
15887 $(HOST_EXPORTS) \
15888 $(POSTSTAGE1_HOST_EXPORTS) \
15889 cd $(HOST_SUBDIR)/gold && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15891 CFLAGS="$(STAGE2_CFLAGS)" \
15892 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15893 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15898 TFLAGS="$(STAGE2_TFLAGS)" \
15899 $(TARGET-stage2-gold)
15901 maybe-clean-stage2-gold: clean-stage2-gold
15902 clean-stage2: clean-stage2-gold
15903 clean-stage2-gold:
15904 @if [ $(current_stage) = stage2 ]; then \
15905 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15906 else \
15907 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15908 $(MAKE) stage2-start; \
15909 fi; \
15910 cd $(HOST_SUBDIR)/gold && \
15911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15912 @endif gold-bootstrap
15915 .PHONY: all-stage3-gold maybe-all-stage3-gold
15916 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15917 maybe-all-stage3-gold:
15918 maybe-clean-stage3-gold:
15919 @if gold-bootstrap
15920 maybe-all-stage3-gold: all-stage3-gold
15921 all-stage3: all-stage3-gold
15922 TARGET-stage3-gold = $(TARGET-gold)
15923 all-stage3-gold: configure-stage3-gold
15924 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15925 @r=`${PWD_COMMAND}`; export r; \
15926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15927 TFLAGS="$(STAGE3_TFLAGS)"; \
15928 $(HOST_EXPORTS) \
15929 $(POSTSTAGE1_HOST_EXPORTS) \
15930 cd $(HOST_SUBDIR)/gold && \
15931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15932 CFLAGS="$(STAGE3_CFLAGS)" \
15933 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15934 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15939 TFLAGS="$(STAGE3_TFLAGS)" \
15940 $(TARGET-stage3-gold)
15942 maybe-clean-stage3-gold: clean-stage3-gold
15943 clean-stage3: clean-stage3-gold
15944 clean-stage3-gold:
15945 @if [ $(current_stage) = stage3 ]; then \
15946 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15947 else \
15948 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15949 $(MAKE) stage3-start; \
15950 fi; \
15951 cd $(HOST_SUBDIR)/gold && \
15952 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15953 @endif gold-bootstrap
15956 .PHONY: all-stage4-gold maybe-all-stage4-gold
15957 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15958 maybe-all-stage4-gold:
15959 maybe-clean-stage4-gold:
15960 @if gold-bootstrap
15961 maybe-all-stage4-gold: all-stage4-gold
15962 all-stage4: all-stage4-gold
15963 TARGET-stage4-gold = $(TARGET-gold)
15964 all-stage4-gold: configure-stage4-gold
15965 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15966 @r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 TFLAGS="$(STAGE4_TFLAGS)"; \
15969 $(HOST_EXPORTS) \
15970 $(POSTSTAGE1_HOST_EXPORTS) \
15971 cd $(HOST_SUBDIR)/gold && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15973 CFLAGS="$(STAGE4_CFLAGS)" \
15974 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15975 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15980 TFLAGS="$(STAGE4_TFLAGS)" \
15981 $(TARGET-stage4-gold)
15983 maybe-clean-stage4-gold: clean-stage4-gold
15984 clean-stage4: clean-stage4-gold
15985 clean-stage4-gold:
15986 @if [ $(current_stage) = stage4 ]; then \
15987 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15988 else \
15989 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15990 $(MAKE) stage4-start; \
15991 fi; \
15992 cd $(HOST_SUBDIR)/gold && \
15993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15994 @endif gold-bootstrap
15997 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15998 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15999 maybe-all-stageprofile-gold:
16000 maybe-clean-stageprofile-gold:
16001 @if gold-bootstrap
16002 maybe-all-stageprofile-gold: all-stageprofile-gold
16003 all-stageprofile: all-stageprofile-gold
16004 TARGET-stageprofile-gold = $(TARGET-gold)
16005 all-stageprofile-gold: configure-stageprofile-gold
16006 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16007 @r=`${PWD_COMMAND}`; export r; \
16008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16009 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16010 $(HOST_EXPORTS) \
16011 $(POSTSTAGE1_HOST_EXPORTS) \
16012 cd $(HOST_SUBDIR)/gold && \
16013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16014 CFLAGS="$(STAGEprofile_CFLAGS)" \
16015 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16016 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16021 TFLAGS="$(STAGEprofile_TFLAGS)" \
16022 $(TARGET-stageprofile-gold)
16024 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16025 clean-stageprofile: clean-stageprofile-gold
16026 clean-stageprofile-gold:
16027 @if [ $(current_stage) = stageprofile ]; then \
16028 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16029 else \
16030 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16031 $(MAKE) stageprofile-start; \
16032 fi; \
16033 cd $(HOST_SUBDIR)/gold && \
16034 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16035 @endif gold-bootstrap
16038 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16039 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16040 maybe-all-stagefeedback-gold:
16041 maybe-clean-stagefeedback-gold:
16042 @if gold-bootstrap
16043 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16044 all-stagefeedback: all-stagefeedback-gold
16045 TARGET-stagefeedback-gold = $(TARGET-gold)
16046 all-stagefeedback-gold: configure-stagefeedback-gold
16047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16048 @r=`${PWD_COMMAND}`; export r; \
16049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16051 $(HOST_EXPORTS) \
16052 $(POSTSTAGE1_HOST_EXPORTS) \
16053 cd $(HOST_SUBDIR)/gold && \
16054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16055 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16056 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16057 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16062 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16063 $(TARGET-stagefeedback-gold)
16065 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16066 clean-stagefeedback: clean-stagefeedback-gold
16067 clean-stagefeedback-gold:
16068 @if [ $(current_stage) = stagefeedback ]; then \
16069 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16070 else \
16071 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16072 $(MAKE) stagefeedback-start; \
16073 fi; \
16074 cd $(HOST_SUBDIR)/gold && \
16075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16076 @endif gold-bootstrap
16082 .PHONY: check-gold maybe-check-gold
16083 maybe-check-gold:
16084 @if gold
16085 maybe-check-gold: check-gold
16087 check-gold:
16088 @: $(MAKE); $(unstage)
16089 @r=`${PWD_COMMAND}`; export r; \
16090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16091 $(HOST_EXPORTS) \
16092 (cd $(HOST_SUBDIR)/gold && \
16093 $(MAKE) $(FLAGS_TO_PASS) check)
16095 @endif gold
16097 .PHONY: install-gold maybe-install-gold
16098 maybe-install-gold:
16099 @if gold
16100 maybe-install-gold: install-gold
16102 install-gold: installdirs
16103 @: $(MAKE); $(unstage)
16104 @r=`${PWD_COMMAND}`; export r; \
16105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16106 $(HOST_EXPORTS) \
16107 (cd $(HOST_SUBDIR)/gold && \
16108 $(MAKE) $(FLAGS_TO_PASS) install)
16110 @endif gold
16112 .PHONY: install-strip-gold maybe-install-strip-gold
16113 maybe-install-strip-gold:
16114 @if gold
16115 maybe-install-strip-gold: install-strip-gold
16117 install-strip-gold: installdirs
16118 @: $(MAKE); $(unstage)
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 $(HOST_EXPORTS) \
16122 (cd $(HOST_SUBDIR)/gold && \
16123 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16125 @endif gold
16127 # Other targets (info, dvi, pdf, etc.)
16129 .PHONY: maybe-info-gold info-gold
16130 maybe-info-gold:
16131 @if gold
16132 maybe-info-gold: info-gold
16134 info-gold: \
16135 configure-gold
16136 @[ -f ./gold/Makefile ] || exit 0; \
16137 r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 $(HOST_EXPORTS) \
16140 for flag in $(EXTRA_HOST_FLAGS) ; do \
16141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16142 done; \
16143 echo "Doing info in gold" ; \
16144 (cd $(HOST_SUBDIR)/gold && \
16145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16147 "RANLIB=$${RANLIB}" \
16148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16149 info) \
16150 || exit 1
16152 @endif gold
16154 .PHONY: maybe-dvi-gold dvi-gold
16155 maybe-dvi-gold:
16156 @if gold
16157 maybe-dvi-gold: dvi-gold
16159 dvi-gold: \
16160 configure-gold
16161 @[ -f ./gold/Makefile ] || exit 0; \
16162 r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 $(HOST_EXPORTS) \
16165 for flag in $(EXTRA_HOST_FLAGS) ; do \
16166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16167 done; \
16168 echo "Doing dvi in gold" ; \
16169 (cd $(HOST_SUBDIR)/gold && \
16170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16172 "RANLIB=$${RANLIB}" \
16173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16174 dvi) \
16175 || exit 1
16177 @endif gold
16179 .PHONY: maybe-pdf-gold pdf-gold
16180 maybe-pdf-gold:
16181 @if gold
16182 maybe-pdf-gold: pdf-gold
16184 pdf-gold: \
16185 configure-gold
16186 @[ -f ./gold/Makefile ] || exit 0; \
16187 r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 $(HOST_EXPORTS) \
16190 for flag in $(EXTRA_HOST_FLAGS) ; do \
16191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16192 done; \
16193 echo "Doing pdf in gold" ; \
16194 (cd $(HOST_SUBDIR)/gold && \
16195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16197 "RANLIB=$${RANLIB}" \
16198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16199 pdf) \
16200 || exit 1
16202 @endif gold
16204 .PHONY: maybe-html-gold html-gold
16205 maybe-html-gold:
16206 @if gold
16207 maybe-html-gold: html-gold
16209 html-gold: \
16210 configure-gold
16211 @[ -f ./gold/Makefile ] || exit 0; \
16212 r=`${PWD_COMMAND}`; export r; \
16213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16214 $(HOST_EXPORTS) \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16217 done; \
16218 echo "Doing html in gold" ; \
16219 (cd $(HOST_SUBDIR)/gold && \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16224 html) \
16225 || exit 1
16227 @endif gold
16229 .PHONY: maybe-TAGS-gold TAGS-gold
16230 maybe-TAGS-gold:
16231 @if gold
16232 maybe-TAGS-gold: TAGS-gold
16234 TAGS-gold: \
16235 configure-gold
16236 @[ -f ./gold/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 $(HOST_EXPORTS) \
16240 for flag in $(EXTRA_HOST_FLAGS) ; do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16242 done; \
16243 echo "Doing TAGS in gold" ; \
16244 (cd $(HOST_SUBDIR)/gold && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16249 TAGS) \
16250 || exit 1
16252 @endif gold
16254 .PHONY: maybe-install-info-gold install-info-gold
16255 maybe-install-info-gold:
16256 @if gold
16257 maybe-install-info-gold: install-info-gold
16259 install-info-gold: \
16260 configure-gold \
16261 info-gold
16262 @[ -f ./gold/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(HOST_EXPORTS) \
16266 for flag in $(EXTRA_HOST_FLAGS) ; do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16268 done; \
16269 echo "Doing install-info in gold" ; \
16270 (cd $(HOST_SUBDIR)/gold && \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16275 install-info) \
16276 || exit 1
16278 @endif gold
16280 .PHONY: maybe-install-pdf-gold install-pdf-gold
16281 maybe-install-pdf-gold:
16282 @if gold
16283 maybe-install-pdf-gold: install-pdf-gold
16285 install-pdf-gold: \
16286 configure-gold \
16287 pdf-gold
16288 @[ -f ./gold/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing install-pdf in gold" ; \
16296 (cd $(HOST_SUBDIR)/gold && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16301 install-pdf) \
16302 || exit 1
16304 @endif gold
16306 .PHONY: maybe-install-html-gold install-html-gold
16307 maybe-install-html-gold:
16308 @if gold
16309 maybe-install-html-gold: install-html-gold
16311 install-html-gold: \
16312 configure-gold \
16313 html-gold
16314 @[ -f ./gold/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(HOST_EXPORTS) \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16320 done; \
16321 echo "Doing install-html in gold" ; \
16322 (cd $(HOST_SUBDIR)/gold && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16327 install-html) \
16328 || exit 1
16330 @endif gold
16332 .PHONY: maybe-installcheck-gold installcheck-gold
16333 maybe-installcheck-gold:
16334 @if gold
16335 maybe-installcheck-gold: installcheck-gold
16337 installcheck-gold: \
16338 configure-gold
16339 @[ -f ./gold/Makefile ] || exit 0; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(HOST_EXPORTS) \
16343 for flag in $(EXTRA_HOST_FLAGS) ; do \
16344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16345 done; \
16346 echo "Doing installcheck in gold" ; \
16347 (cd $(HOST_SUBDIR)/gold && \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16350 "RANLIB=$${RANLIB}" \
16351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16352 installcheck) \
16353 || exit 1
16355 @endif gold
16357 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16358 maybe-mostlyclean-gold:
16359 @if gold
16360 maybe-mostlyclean-gold: mostlyclean-gold
16362 mostlyclean-gold:
16363 @[ -f ./gold/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing mostlyclean in gold" ; \
16371 (cd $(HOST_SUBDIR)/gold && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16376 mostlyclean) \
16377 || exit 1
16379 @endif gold
16381 .PHONY: maybe-clean-gold clean-gold
16382 maybe-clean-gold:
16383 @if gold
16384 maybe-clean-gold: clean-gold
16386 clean-gold:
16387 @[ -f ./gold/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 $(HOST_EXPORTS) \
16391 for flag in $(EXTRA_HOST_FLAGS) ; do \
16392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16393 done; \
16394 echo "Doing clean in gold" ; \
16395 (cd $(HOST_SUBDIR)/gold && \
16396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16398 "RANLIB=$${RANLIB}" \
16399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16400 clean) \
16401 || exit 1
16403 @endif gold
16405 .PHONY: maybe-distclean-gold distclean-gold
16406 maybe-distclean-gold:
16407 @if gold
16408 maybe-distclean-gold: distclean-gold
16410 distclean-gold:
16411 @[ -f ./gold/Makefile ] || exit 0; \
16412 r=`${PWD_COMMAND}`; export r; \
16413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16414 $(HOST_EXPORTS) \
16415 for flag in $(EXTRA_HOST_FLAGS) ; do \
16416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16417 done; \
16418 echo "Doing distclean in gold" ; \
16419 (cd $(HOST_SUBDIR)/gold && \
16420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16422 "RANLIB=$${RANLIB}" \
16423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16424 distclean) \
16425 || exit 1
16427 @endif gold
16429 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16430 maybe-maintainer-clean-gold:
16431 @if gold
16432 maybe-maintainer-clean-gold: maintainer-clean-gold
16434 maintainer-clean-gold:
16435 @[ -f ./gold/Makefile ] || exit 0; \
16436 r=`${PWD_COMMAND}`; export r; \
16437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16438 $(HOST_EXPORTS) \
16439 for flag in $(EXTRA_HOST_FLAGS) ; do \
16440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16441 done; \
16442 echo "Doing maintainer-clean in gold" ; \
16443 (cd $(HOST_SUBDIR)/gold && \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16446 "RANLIB=$${RANLIB}" \
16447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16448 maintainer-clean) \
16449 || exit 1
16451 @endif gold
16455 .PHONY: configure-gprof maybe-configure-gprof
16456 maybe-configure-gprof:
16457 @if gcc-bootstrap
16458 configure-gprof: stage_current
16459 @endif gcc-bootstrap
16460 @if gprof
16461 maybe-configure-gprof: configure-gprof
16462 configure-gprof:
16463 @: $(MAKE); $(unstage)
16464 @r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16468 $(HOST_EXPORTS) \
16469 echo Configuring in $(HOST_SUBDIR)/gprof; \
16470 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16471 case $(srcdir) in \
16472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16473 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16475 esac; \
16476 srcdiroption="--srcdir=$${topdir}/gprof"; \
16477 libsrcdir="$$s/gprof"; \
16478 $(SHELL) $${libsrcdir}/configure \
16479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16480 --target=${target_alias} $${srcdiroption} \
16481 || exit 1
16482 @endif gprof
16488 .PHONY: all-gprof maybe-all-gprof
16489 maybe-all-gprof:
16490 @if gcc-bootstrap
16491 all-gprof: stage_current
16492 @endif gcc-bootstrap
16493 @if gprof
16494 TARGET-gprof=all
16495 maybe-all-gprof: all-gprof
16496 all-gprof: configure-gprof
16497 @: $(MAKE); $(unstage)
16498 @r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500 $(HOST_EXPORTS) \
16501 (cd $(HOST_SUBDIR)/gprof && \
16502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16503 $(TARGET-gprof))
16504 @endif gprof
16509 .PHONY: check-gprof maybe-check-gprof
16510 maybe-check-gprof:
16511 @if gprof
16512 maybe-check-gprof: check-gprof
16514 check-gprof:
16515 @: $(MAKE); $(unstage)
16516 @r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 $(HOST_EXPORTS) \
16519 (cd $(HOST_SUBDIR)/gprof && \
16520 $(MAKE) $(FLAGS_TO_PASS) check)
16522 @endif gprof
16524 .PHONY: install-gprof maybe-install-gprof
16525 maybe-install-gprof:
16526 @if gprof
16527 maybe-install-gprof: install-gprof
16529 install-gprof: installdirs
16530 @: $(MAKE); $(unstage)
16531 @r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16533 $(HOST_EXPORTS) \
16534 (cd $(HOST_SUBDIR)/gprof && \
16535 $(MAKE) $(FLAGS_TO_PASS) install)
16537 @endif gprof
16539 .PHONY: install-strip-gprof maybe-install-strip-gprof
16540 maybe-install-strip-gprof:
16541 @if gprof
16542 maybe-install-strip-gprof: install-strip-gprof
16544 install-strip-gprof: installdirs
16545 @: $(MAKE); $(unstage)
16546 @r=`${PWD_COMMAND}`; export r; \
16547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16548 $(HOST_EXPORTS) \
16549 (cd $(HOST_SUBDIR)/gprof && \
16550 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16552 @endif gprof
16554 # Other targets (info, dvi, pdf, etc.)
16556 .PHONY: maybe-info-gprof info-gprof
16557 maybe-info-gprof:
16558 @if gprof
16559 maybe-info-gprof: info-gprof
16561 info-gprof: \
16562 configure-gprof
16563 @: $(MAKE); $(unstage)
16564 @[ -f ./gprof/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 for flag in $(EXTRA_HOST_FLAGS) ; do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16570 done; \
16571 echo "Doing info in gprof" ; \
16572 (cd $(HOST_SUBDIR)/gprof && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16577 info) \
16578 || exit 1
16580 @endif gprof
16582 .PHONY: maybe-dvi-gprof dvi-gprof
16583 maybe-dvi-gprof:
16584 @if gprof
16585 maybe-dvi-gprof: dvi-gprof
16587 dvi-gprof: \
16588 configure-gprof
16589 @: $(MAKE); $(unstage)
16590 @[ -f ./gprof/Makefile ] || exit 0; \
16591 r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16593 $(HOST_EXPORTS) \
16594 for flag in $(EXTRA_HOST_FLAGS) ; do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16596 done; \
16597 echo "Doing dvi in gprof" ; \
16598 (cd $(HOST_SUBDIR)/gprof && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16603 dvi) \
16604 || exit 1
16606 @endif gprof
16608 .PHONY: maybe-pdf-gprof pdf-gprof
16609 maybe-pdf-gprof:
16610 @if gprof
16611 maybe-pdf-gprof: pdf-gprof
16613 pdf-gprof: \
16614 configure-gprof
16615 @: $(MAKE); $(unstage)
16616 @[ -f ./gprof/Makefile ] || exit 0; \
16617 r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16619 $(HOST_EXPORTS) \
16620 for flag in $(EXTRA_HOST_FLAGS) ; do \
16621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16622 done; \
16623 echo "Doing pdf in gprof" ; \
16624 (cd $(HOST_SUBDIR)/gprof && \
16625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16627 "RANLIB=$${RANLIB}" \
16628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16629 pdf) \
16630 || exit 1
16632 @endif gprof
16634 .PHONY: maybe-html-gprof html-gprof
16635 maybe-html-gprof:
16636 @if gprof
16637 maybe-html-gprof: html-gprof
16639 html-gprof: \
16640 configure-gprof
16641 @: $(MAKE); $(unstage)
16642 @[ -f ./gprof/Makefile ] || exit 0; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(HOST_EXPORTS) \
16646 for flag in $(EXTRA_HOST_FLAGS) ; do \
16647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16648 done; \
16649 echo "Doing html in gprof" ; \
16650 (cd $(HOST_SUBDIR)/gprof && \
16651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16653 "RANLIB=$${RANLIB}" \
16654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16655 html) \
16656 || exit 1
16658 @endif gprof
16660 .PHONY: maybe-TAGS-gprof TAGS-gprof
16661 maybe-TAGS-gprof:
16662 @if gprof
16663 maybe-TAGS-gprof: TAGS-gprof
16665 TAGS-gprof: \
16666 configure-gprof
16667 @: $(MAKE); $(unstage)
16668 @[ -f ./gprof/Makefile ] || exit 0; \
16669 r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 $(HOST_EXPORTS) \
16672 for flag in $(EXTRA_HOST_FLAGS) ; do \
16673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16674 done; \
16675 echo "Doing TAGS in gprof" ; \
16676 (cd $(HOST_SUBDIR)/gprof && \
16677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16679 "RANLIB=$${RANLIB}" \
16680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16681 TAGS) \
16682 || exit 1
16684 @endif gprof
16686 .PHONY: maybe-install-info-gprof install-info-gprof
16687 maybe-install-info-gprof:
16688 @if gprof
16689 maybe-install-info-gprof: install-info-gprof
16691 install-info-gprof: \
16692 configure-gprof \
16693 info-gprof
16694 @: $(MAKE); $(unstage)
16695 @[ -f ./gprof/Makefile ] || exit 0; \
16696 r=`${PWD_COMMAND}`; export r; \
16697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16698 $(HOST_EXPORTS) \
16699 for flag in $(EXTRA_HOST_FLAGS) ; do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701 done; \
16702 echo "Doing install-info in gprof" ; \
16703 (cd $(HOST_SUBDIR)/gprof && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16708 install-info) \
16709 || exit 1
16711 @endif gprof
16713 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16714 maybe-install-pdf-gprof:
16715 @if gprof
16716 maybe-install-pdf-gprof: install-pdf-gprof
16718 install-pdf-gprof: \
16719 configure-gprof \
16720 pdf-gprof
16721 @: $(MAKE); $(unstage)
16722 @[ -f ./gprof/Makefile ] || exit 0; \
16723 r=`${PWD_COMMAND}`; export r; \
16724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16725 $(HOST_EXPORTS) \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16728 done; \
16729 echo "Doing install-pdf in gprof" ; \
16730 (cd $(HOST_SUBDIR)/gprof && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16735 install-pdf) \
16736 || exit 1
16738 @endif gprof
16740 .PHONY: maybe-install-html-gprof install-html-gprof
16741 maybe-install-html-gprof:
16742 @if gprof
16743 maybe-install-html-gprof: install-html-gprof
16745 install-html-gprof: \
16746 configure-gprof \
16747 html-gprof
16748 @: $(MAKE); $(unstage)
16749 @[ -f ./gprof/Makefile ] || exit 0; \
16750 r=`${PWD_COMMAND}`; export r; \
16751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16752 $(HOST_EXPORTS) \
16753 for flag in $(EXTRA_HOST_FLAGS) ; do \
16754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16755 done; \
16756 echo "Doing install-html in gprof" ; \
16757 (cd $(HOST_SUBDIR)/gprof && \
16758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16760 "RANLIB=$${RANLIB}" \
16761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16762 install-html) \
16763 || exit 1
16765 @endif gprof
16767 .PHONY: maybe-installcheck-gprof installcheck-gprof
16768 maybe-installcheck-gprof:
16769 @if gprof
16770 maybe-installcheck-gprof: installcheck-gprof
16772 installcheck-gprof: \
16773 configure-gprof
16774 @: $(MAKE); $(unstage)
16775 @[ -f ./gprof/Makefile ] || exit 0; \
16776 r=`${PWD_COMMAND}`; export r; \
16777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16778 $(HOST_EXPORTS) \
16779 for flag in $(EXTRA_HOST_FLAGS) ; do \
16780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16781 done; \
16782 echo "Doing installcheck in gprof" ; \
16783 (cd $(HOST_SUBDIR)/gprof && \
16784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16786 "RANLIB=$${RANLIB}" \
16787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16788 installcheck) \
16789 || exit 1
16791 @endif gprof
16793 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16794 maybe-mostlyclean-gprof:
16795 @if gprof
16796 maybe-mostlyclean-gprof: mostlyclean-gprof
16798 mostlyclean-gprof:
16799 @: $(MAKE); $(unstage)
16800 @[ -f ./gprof/Makefile ] || exit 0; \
16801 r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16803 $(HOST_EXPORTS) \
16804 for flag in $(EXTRA_HOST_FLAGS) ; do \
16805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16806 done; \
16807 echo "Doing mostlyclean in gprof" ; \
16808 (cd $(HOST_SUBDIR)/gprof && \
16809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16811 "RANLIB=$${RANLIB}" \
16812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16813 mostlyclean) \
16814 || exit 1
16816 @endif gprof
16818 .PHONY: maybe-clean-gprof clean-gprof
16819 maybe-clean-gprof:
16820 @if gprof
16821 maybe-clean-gprof: clean-gprof
16823 clean-gprof:
16824 @: $(MAKE); $(unstage)
16825 @[ -f ./gprof/Makefile ] || exit 0; \
16826 r=`${PWD_COMMAND}`; export r; \
16827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16828 $(HOST_EXPORTS) \
16829 for flag in $(EXTRA_HOST_FLAGS) ; do \
16830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16831 done; \
16832 echo "Doing clean in gprof" ; \
16833 (cd $(HOST_SUBDIR)/gprof && \
16834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16836 "RANLIB=$${RANLIB}" \
16837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16838 clean) \
16839 || exit 1
16841 @endif gprof
16843 .PHONY: maybe-distclean-gprof distclean-gprof
16844 maybe-distclean-gprof:
16845 @if gprof
16846 maybe-distclean-gprof: distclean-gprof
16848 distclean-gprof:
16849 @: $(MAKE); $(unstage)
16850 @[ -f ./gprof/Makefile ] || exit 0; \
16851 r=`${PWD_COMMAND}`; export r; \
16852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16853 $(HOST_EXPORTS) \
16854 for flag in $(EXTRA_HOST_FLAGS) ; do \
16855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16856 done; \
16857 echo "Doing distclean in gprof" ; \
16858 (cd $(HOST_SUBDIR)/gprof && \
16859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16861 "RANLIB=$${RANLIB}" \
16862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16863 distclean) \
16864 || exit 1
16866 @endif gprof
16868 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16869 maybe-maintainer-clean-gprof:
16870 @if gprof
16871 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16873 maintainer-clean-gprof:
16874 @: $(MAKE); $(unstage)
16875 @[ -f ./gprof/Makefile ] || exit 0; \
16876 r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 $(HOST_EXPORTS) \
16879 for flag in $(EXTRA_HOST_FLAGS) ; do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16881 done; \
16882 echo "Doing maintainer-clean in gprof" ; \
16883 (cd $(HOST_SUBDIR)/gprof && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16888 maintainer-clean) \
16889 || exit 1
16891 @endif gprof
16895 .PHONY: configure-intl maybe-configure-intl
16896 maybe-configure-intl:
16897 @if gcc-bootstrap
16898 configure-intl: stage_current
16899 @endif gcc-bootstrap
16900 @if intl
16901 maybe-configure-intl: configure-intl
16902 configure-intl:
16903 @r=`${PWD_COMMAND}`; export r; \
16904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16905 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16907 $(HOST_EXPORTS) \
16908 echo Configuring in $(HOST_SUBDIR)/intl; \
16909 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16910 case $(srcdir) in \
16911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16912 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16914 esac; \
16915 srcdiroption="--srcdir=$${topdir}/intl"; \
16916 libsrcdir="$$s/intl"; \
16917 $(SHELL) $${libsrcdir}/configure \
16918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16919 --target=${target_alias} $${srcdiroption} \
16920 || exit 1
16921 @endif intl
16925 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16926 maybe-configure-stage1-intl:
16927 @if intl-bootstrap
16928 maybe-configure-stage1-intl: configure-stage1-intl
16929 configure-stage1-intl:
16930 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16932 @r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 TFLAGS="$(STAGE1_TFLAGS)"; \
16935 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16936 $(HOST_EXPORTS) \
16937 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16938 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16939 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16940 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16942 cd $(HOST_SUBDIR)/intl || exit 1; \
16943 case $(srcdir) in \
16944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16945 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16947 esac; \
16948 srcdiroption="--srcdir=$${topdir}/intl"; \
16949 libsrcdir="$$s/intl"; \
16950 $(SHELL) $${libsrcdir}/configure \
16951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16952 --target=${target_alias} $${srcdiroption} \
16953 $(STAGE1_CONFIGURE_FLAGS)
16954 @endif intl-bootstrap
16956 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16957 maybe-configure-stage2-intl:
16958 @if intl-bootstrap
16959 maybe-configure-stage2-intl: configure-stage2-intl
16960 configure-stage2-intl:
16961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16963 @r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 TFLAGS="$(STAGE2_TFLAGS)"; \
16966 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16967 $(HOST_EXPORTS) \
16968 $(POSTSTAGE1_HOST_EXPORTS) \
16969 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16970 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16971 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16972 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16974 cd $(HOST_SUBDIR)/intl || exit 1; \
16975 case $(srcdir) in \
16976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16977 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16979 esac; \
16980 srcdiroption="--srcdir=$${topdir}/intl"; \
16981 libsrcdir="$$s/intl"; \
16982 $(SHELL) $${libsrcdir}/configure \
16983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16984 --target=${target_alias} $${srcdiroption} \
16985 --with-build-libsubdir=$(HOST_SUBDIR) \
16986 $(STAGE2_CONFIGURE_FLAGS)
16987 @endif intl-bootstrap
16989 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16990 maybe-configure-stage3-intl:
16991 @if intl-bootstrap
16992 maybe-configure-stage3-intl: configure-stage3-intl
16993 configure-stage3-intl:
16994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16996 @r=`${PWD_COMMAND}`; export r; \
16997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16998 TFLAGS="$(STAGE3_TFLAGS)"; \
16999 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17000 $(HOST_EXPORTS) \
17001 $(POSTSTAGE1_HOST_EXPORTS) \
17002 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17003 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17004 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17005 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17007 cd $(HOST_SUBDIR)/intl || exit 1; \
17008 case $(srcdir) in \
17009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17010 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17012 esac; \
17013 srcdiroption="--srcdir=$${topdir}/intl"; \
17014 libsrcdir="$$s/intl"; \
17015 $(SHELL) $${libsrcdir}/configure \
17016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17017 --target=${target_alias} $${srcdiroption} \
17018 --with-build-libsubdir=$(HOST_SUBDIR) \
17019 $(STAGE3_CONFIGURE_FLAGS)
17020 @endif intl-bootstrap
17022 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17023 maybe-configure-stage4-intl:
17024 @if intl-bootstrap
17025 maybe-configure-stage4-intl: configure-stage4-intl
17026 configure-stage4-intl:
17027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17029 @r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 TFLAGS="$(STAGE4_TFLAGS)"; \
17032 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17033 $(HOST_EXPORTS) \
17034 $(POSTSTAGE1_HOST_EXPORTS) \
17035 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17036 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17037 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17038 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17040 cd $(HOST_SUBDIR)/intl || exit 1; \
17041 case $(srcdir) in \
17042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17043 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17045 esac; \
17046 srcdiroption="--srcdir=$${topdir}/intl"; \
17047 libsrcdir="$$s/intl"; \
17048 $(SHELL) $${libsrcdir}/configure \
17049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17050 --target=${target_alias} $${srcdiroption} \
17051 --with-build-libsubdir=$(HOST_SUBDIR) \
17052 $(STAGE4_CONFIGURE_FLAGS)
17053 @endif intl-bootstrap
17055 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17056 maybe-configure-stageprofile-intl:
17057 @if intl-bootstrap
17058 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17059 configure-stageprofile-intl:
17060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17062 @r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17066 $(HOST_EXPORTS) \
17067 $(POSTSTAGE1_HOST_EXPORTS) \
17068 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17070 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17071 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17073 cd $(HOST_SUBDIR)/intl || exit 1; \
17074 case $(srcdir) in \
17075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17076 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17078 esac; \
17079 srcdiroption="--srcdir=$${topdir}/intl"; \
17080 libsrcdir="$$s/intl"; \
17081 $(SHELL) $${libsrcdir}/configure \
17082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17083 --target=${target_alias} $${srcdiroption} \
17084 --with-build-libsubdir=$(HOST_SUBDIR) \
17085 $(STAGEprofile_CONFIGURE_FLAGS)
17086 @endif intl-bootstrap
17088 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17089 maybe-configure-stagefeedback-intl:
17090 @if intl-bootstrap
17091 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17092 configure-stagefeedback-intl:
17093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17095 @r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17098 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17099 $(HOST_EXPORTS) \
17100 $(POSTSTAGE1_HOST_EXPORTS) \
17101 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17104 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17106 cd $(HOST_SUBDIR)/intl || exit 1; \
17107 case $(srcdir) in \
17108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17109 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17111 esac; \
17112 srcdiroption="--srcdir=$${topdir}/intl"; \
17113 libsrcdir="$$s/intl"; \
17114 $(SHELL) $${libsrcdir}/configure \
17115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17116 --target=${target_alias} $${srcdiroption} \
17117 --with-build-libsubdir=$(HOST_SUBDIR) \
17118 $(STAGEfeedback_CONFIGURE_FLAGS)
17119 @endif intl-bootstrap
17125 .PHONY: all-intl maybe-all-intl
17126 maybe-all-intl:
17127 @if gcc-bootstrap
17128 all-intl: stage_current
17129 @endif gcc-bootstrap
17130 @if intl
17131 TARGET-intl=all
17132 maybe-all-intl: all-intl
17133 all-intl: configure-intl
17134 @r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 $(HOST_EXPORTS) \
17137 (cd $(HOST_SUBDIR)/intl && \
17138 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17139 $(TARGET-intl))
17140 @endif intl
17144 .PHONY: all-stage1-intl maybe-all-stage1-intl
17145 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17146 maybe-all-stage1-intl:
17147 maybe-clean-stage1-intl:
17148 @if intl-bootstrap
17149 maybe-all-stage1-intl: all-stage1-intl
17150 all-stage1: all-stage1-intl
17151 TARGET-stage1-intl = $(TARGET-intl)
17152 all-stage1-intl: configure-stage1-intl
17153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 TFLAGS="$(STAGE1_TFLAGS)"; \
17157 $(HOST_EXPORTS) \
17158 cd $(HOST_SUBDIR)/intl && \
17159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17160 CFLAGS="$(STAGE1_CFLAGS)" \
17161 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17162 LIBCFLAGS="$(LIBCFLAGS)" \
17163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17166 $(EXTRA_HOST_FLAGS) \
17167 $(STAGE1_FLAGS_TO_PASS) \
17168 TFLAGS="$(STAGE1_TFLAGS)" \
17169 $(TARGET-stage1-intl)
17171 maybe-clean-stage1-intl: clean-stage1-intl
17172 clean-stage1: clean-stage1-intl
17173 clean-stage1-intl:
17174 @if [ $(current_stage) = stage1 ]; then \
17175 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17176 else \
17177 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17178 $(MAKE) stage1-start; \
17179 fi; \
17180 cd $(HOST_SUBDIR)/intl && \
17181 $(MAKE) $(EXTRA_HOST_FLAGS) \
17182 $(STAGE1_FLAGS_TO_PASS) clean
17183 @endif intl-bootstrap
17186 .PHONY: all-stage2-intl maybe-all-stage2-intl
17187 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17188 maybe-all-stage2-intl:
17189 maybe-clean-stage2-intl:
17190 @if intl-bootstrap
17191 maybe-all-stage2-intl: all-stage2-intl
17192 all-stage2: all-stage2-intl
17193 TARGET-stage2-intl = $(TARGET-intl)
17194 all-stage2-intl: configure-stage2-intl
17195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17196 @r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 TFLAGS="$(STAGE2_TFLAGS)"; \
17199 $(HOST_EXPORTS) \
17200 $(POSTSTAGE1_HOST_EXPORTS) \
17201 cd $(HOST_SUBDIR)/intl && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17203 CFLAGS="$(STAGE2_CFLAGS)" \
17204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17210 TFLAGS="$(STAGE2_TFLAGS)" \
17211 $(TARGET-stage2-intl)
17213 maybe-clean-stage2-intl: clean-stage2-intl
17214 clean-stage2: clean-stage2-intl
17215 clean-stage2-intl:
17216 @if [ $(current_stage) = stage2 ]; then \
17217 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17218 else \
17219 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17220 $(MAKE) stage2-start; \
17221 fi; \
17222 cd $(HOST_SUBDIR)/intl && \
17223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17224 @endif intl-bootstrap
17227 .PHONY: all-stage3-intl maybe-all-stage3-intl
17228 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17229 maybe-all-stage3-intl:
17230 maybe-clean-stage3-intl:
17231 @if intl-bootstrap
17232 maybe-all-stage3-intl: all-stage3-intl
17233 all-stage3: all-stage3-intl
17234 TARGET-stage3-intl = $(TARGET-intl)
17235 all-stage3-intl: configure-stage3-intl
17236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 TFLAGS="$(STAGE3_TFLAGS)"; \
17240 $(HOST_EXPORTS) \
17241 $(POSTSTAGE1_HOST_EXPORTS) \
17242 cd $(HOST_SUBDIR)/intl && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17244 CFLAGS="$(STAGE3_CFLAGS)" \
17245 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17246 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17251 TFLAGS="$(STAGE3_TFLAGS)" \
17252 $(TARGET-stage3-intl)
17254 maybe-clean-stage3-intl: clean-stage3-intl
17255 clean-stage3: clean-stage3-intl
17256 clean-stage3-intl:
17257 @if [ $(current_stage) = stage3 ]; then \
17258 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17259 else \
17260 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17261 $(MAKE) stage3-start; \
17262 fi; \
17263 cd $(HOST_SUBDIR)/intl && \
17264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17265 @endif intl-bootstrap
17268 .PHONY: all-stage4-intl maybe-all-stage4-intl
17269 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17270 maybe-all-stage4-intl:
17271 maybe-clean-stage4-intl:
17272 @if intl-bootstrap
17273 maybe-all-stage4-intl: all-stage4-intl
17274 all-stage4: all-stage4-intl
17275 TARGET-stage4-intl = $(TARGET-intl)
17276 all-stage4-intl: configure-stage4-intl
17277 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17278 @r=`${PWD_COMMAND}`; export r; \
17279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17280 TFLAGS="$(STAGE4_TFLAGS)"; \
17281 $(HOST_EXPORTS) \
17282 $(POSTSTAGE1_HOST_EXPORTS) \
17283 cd $(HOST_SUBDIR)/intl && \
17284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17285 CFLAGS="$(STAGE4_CFLAGS)" \
17286 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17287 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17292 TFLAGS="$(STAGE4_TFLAGS)" \
17293 $(TARGET-stage4-intl)
17295 maybe-clean-stage4-intl: clean-stage4-intl
17296 clean-stage4: clean-stage4-intl
17297 clean-stage4-intl:
17298 @if [ $(current_stage) = stage4 ]; then \
17299 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17300 else \
17301 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17302 $(MAKE) stage4-start; \
17303 fi; \
17304 cd $(HOST_SUBDIR)/intl && \
17305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17306 @endif intl-bootstrap
17309 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17310 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17311 maybe-all-stageprofile-intl:
17312 maybe-clean-stageprofile-intl:
17313 @if intl-bootstrap
17314 maybe-all-stageprofile-intl: all-stageprofile-intl
17315 all-stageprofile: all-stageprofile-intl
17316 TARGET-stageprofile-intl = $(TARGET-intl)
17317 all-stageprofile-intl: configure-stageprofile-intl
17318 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17319 @r=`${PWD_COMMAND}`; export r; \
17320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17321 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17322 $(HOST_EXPORTS) \
17323 $(POSTSTAGE1_HOST_EXPORTS) \
17324 cd $(HOST_SUBDIR)/intl && \
17325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17326 CFLAGS="$(STAGEprofile_CFLAGS)" \
17327 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17328 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17333 TFLAGS="$(STAGEprofile_TFLAGS)" \
17334 $(TARGET-stageprofile-intl)
17336 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17337 clean-stageprofile: clean-stageprofile-intl
17338 clean-stageprofile-intl:
17339 @if [ $(current_stage) = stageprofile ]; then \
17340 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17341 else \
17342 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17343 $(MAKE) stageprofile-start; \
17344 fi; \
17345 cd $(HOST_SUBDIR)/intl && \
17346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17347 @endif intl-bootstrap
17350 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17351 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17352 maybe-all-stagefeedback-intl:
17353 maybe-clean-stagefeedback-intl:
17354 @if intl-bootstrap
17355 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17356 all-stagefeedback: all-stagefeedback-intl
17357 TARGET-stagefeedback-intl = $(TARGET-intl)
17358 all-stagefeedback-intl: configure-stagefeedback-intl
17359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17360 @r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17363 $(HOST_EXPORTS) \
17364 $(POSTSTAGE1_HOST_EXPORTS) \
17365 cd $(HOST_SUBDIR)/intl && \
17366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17367 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17368 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17369 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17374 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17375 $(TARGET-stagefeedback-intl)
17377 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17378 clean-stagefeedback: clean-stagefeedback-intl
17379 clean-stagefeedback-intl:
17380 @if [ $(current_stage) = stagefeedback ]; then \
17381 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17382 else \
17383 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17384 $(MAKE) stagefeedback-start; \
17385 fi; \
17386 cd $(HOST_SUBDIR)/intl && \
17387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17388 @endif intl-bootstrap
17394 .PHONY: check-intl maybe-check-intl
17395 maybe-check-intl:
17396 @if intl
17397 maybe-check-intl: check-intl
17399 check-intl:
17400 @: $(MAKE); $(unstage)
17401 @r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17403 $(HOST_EXPORTS) \
17404 (cd $(HOST_SUBDIR)/intl && \
17405 $(MAKE) $(FLAGS_TO_PASS) check)
17407 @endif intl
17409 .PHONY: install-intl maybe-install-intl
17410 maybe-install-intl:
17411 @if intl
17412 maybe-install-intl: install-intl
17414 install-intl: installdirs
17415 @: $(MAKE); $(unstage)
17416 @r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17418 $(HOST_EXPORTS) \
17419 (cd $(HOST_SUBDIR)/intl && \
17420 $(MAKE) $(FLAGS_TO_PASS) install)
17422 @endif intl
17424 .PHONY: install-strip-intl maybe-install-strip-intl
17425 maybe-install-strip-intl:
17426 @if intl
17427 maybe-install-strip-intl: install-strip-intl
17429 install-strip-intl: installdirs
17430 @: $(MAKE); $(unstage)
17431 @r=`${PWD_COMMAND}`; export r; \
17432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17433 $(HOST_EXPORTS) \
17434 (cd $(HOST_SUBDIR)/intl && \
17435 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17437 @endif intl
17439 # Other targets (info, dvi, pdf, etc.)
17441 .PHONY: maybe-info-intl info-intl
17442 maybe-info-intl:
17443 @if intl
17444 maybe-info-intl: info-intl
17446 info-intl: \
17447 configure-intl
17448 @[ -f ./intl/Makefile ] || exit 0; \
17449 r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 $(HOST_EXPORTS) \
17452 for flag in $(EXTRA_HOST_FLAGS) ; do \
17453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17454 done; \
17455 echo "Doing info in intl" ; \
17456 (cd $(HOST_SUBDIR)/intl && \
17457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17459 "RANLIB=$${RANLIB}" \
17460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17461 info) \
17462 || exit 1
17464 @endif intl
17466 .PHONY: maybe-dvi-intl dvi-intl
17467 maybe-dvi-intl:
17468 @if intl
17469 maybe-dvi-intl: dvi-intl
17471 dvi-intl: \
17472 configure-intl
17473 @[ -f ./intl/Makefile ] || exit 0; \
17474 r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17476 $(HOST_EXPORTS) \
17477 for flag in $(EXTRA_HOST_FLAGS) ; do \
17478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17479 done; \
17480 echo "Doing dvi in intl" ; \
17481 (cd $(HOST_SUBDIR)/intl && \
17482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17484 "RANLIB=$${RANLIB}" \
17485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17486 dvi) \
17487 || exit 1
17489 @endif intl
17491 .PHONY: maybe-pdf-intl pdf-intl
17492 maybe-pdf-intl:
17493 @if intl
17494 maybe-pdf-intl: pdf-intl
17496 pdf-intl: \
17497 configure-intl
17498 @[ -f ./intl/Makefile ] || exit 0; \
17499 r=`${PWD_COMMAND}`; export r; \
17500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17501 $(HOST_EXPORTS) \
17502 for flag in $(EXTRA_HOST_FLAGS) ; do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17504 done; \
17505 echo "Doing pdf in intl" ; \
17506 (cd $(HOST_SUBDIR)/intl && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17511 pdf) \
17512 || exit 1
17514 @endif intl
17516 .PHONY: maybe-html-intl html-intl
17517 maybe-html-intl:
17518 @if intl
17519 maybe-html-intl: html-intl
17521 html-intl: \
17522 configure-intl
17523 @[ -f ./intl/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing html in intl" ; \
17531 (cd $(HOST_SUBDIR)/intl && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17536 html) \
17537 || exit 1
17539 @endif intl
17541 .PHONY: maybe-TAGS-intl TAGS-intl
17542 maybe-TAGS-intl:
17543 @if intl
17544 maybe-TAGS-intl: TAGS-intl
17546 TAGS-intl: \
17547 configure-intl
17548 @[ -f ./intl/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(HOST_EXPORTS) \
17552 for flag in $(EXTRA_HOST_FLAGS) ; do \
17553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17554 done; \
17555 echo "Doing TAGS in intl" ; \
17556 (cd $(HOST_SUBDIR)/intl && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17559 "RANLIB=$${RANLIB}" \
17560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17561 TAGS) \
17562 || exit 1
17564 @endif intl
17566 .PHONY: maybe-install-info-intl install-info-intl
17567 maybe-install-info-intl:
17568 @if intl
17569 maybe-install-info-intl: install-info-intl
17571 install-info-intl: \
17572 configure-intl \
17573 info-intl
17574 @[ -f ./intl/Makefile ] || exit 0; \
17575 r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 $(HOST_EXPORTS) \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 done; \
17581 echo "Doing install-info in intl" ; \
17582 (cd $(HOST_SUBDIR)/intl && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17587 install-info) \
17588 || exit 1
17590 @endif intl
17592 .PHONY: maybe-install-pdf-intl install-pdf-intl
17593 maybe-install-pdf-intl:
17594 @if intl
17595 maybe-install-pdf-intl: install-pdf-intl
17597 install-pdf-intl: \
17598 configure-intl \
17599 pdf-intl
17600 @[ -f ./intl/Makefile ] || exit 0; \
17601 r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(HOST_EXPORTS) \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606 done; \
17607 echo "Doing install-pdf in intl" ; \
17608 (cd $(HOST_SUBDIR)/intl && \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17613 install-pdf) \
17614 || exit 1
17616 @endif intl
17618 .PHONY: maybe-install-html-intl install-html-intl
17619 maybe-install-html-intl:
17620 @if intl
17621 maybe-install-html-intl: install-html-intl
17623 install-html-intl: \
17624 configure-intl \
17625 html-intl
17626 @[ -f ./intl/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 done; \
17633 echo "Doing install-html in intl" ; \
17634 (cd $(HOST_SUBDIR)/intl && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17639 install-html) \
17640 || exit 1
17642 @endif intl
17644 .PHONY: maybe-installcheck-intl installcheck-intl
17645 maybe-installcheck-intl:
17646 @if intl
17647 maybe-installcheck-intl: installcheck-intl
17649 installcheck-intl: \
17650 configure-intl
17651 @[ -f ./intl/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 $(HOST_EXPORTS) \
17655 for flag in $(EXTRA_HOST_FLAGS) ; do \
17656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17657 done; \
17658 echo "Doing installcheck in intl" ; \
17659 (cd $(HOST_SUBDIR)/intl && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17662 "RANLIB=$${RANLIB}" \
17663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17664 installcheck) \
17665 || exit 1
17667 @endif intl
17669 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17670 maybe-mostlyclean-intl:
17671 @if intl
17672 maybe-mostlyclean-intl: mostlyclean-intl
17674 mostlyclean-intl:
17675 @[ -f ./intl/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing mostlyclean in intl" ; \
17683 (cd $(HOST_SUBDIR)/intl && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17688 mostlyclean) \
17689 || exit 1
17691 @endif intl
17693 .PHONY: maybe-clean-intl clean-intl
17694 maybe-clean-intl:
17695 @if intl
17696 maybe-clean-intl: clean-intl
17698 clean-intl:
17699 @[ -f ./intl/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing clean in intl" ; \
17707 (cd $(HOST_SUBDIR)/intl && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17712 clean) \
17713 || exit 1
17715 @endif intl
17717 .PHONY: maybe-distclean-intl distclean-intl
17718 maybe-distclean-intl:
17719 @if intl
17720 maybe-distclean-intl: distclean-intl
17722 distclean-intl:
17723 @[ -f ./intl/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(HOST_EXPORTS) \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 done; \
17730 echo "Doing distclean in intl" ; \
17731 (cd $(HOST_SUBDIR)/intl && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17736 distclean) \
17737 || exit 1
17739 @endif intl
17741 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17742 maybe-maintainer-clean-intl:
17743 @if intl
17744 maybe-maintainer-clean-intl: maintainer-clean-intl
17746 maintainer-clean-intl:
17747 @[ -f ./intl/Makefile ] || exit 0; \
17748 r=`${PWD_COMMAND}`; export r; \
17749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing maintainer-clean in intl" ; \
17755 (cd $(HOST_SUBDIR)/intl && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17760 maintainer-clean) \
17761 || exit 1
17763 @endif intl
17767 .PHONY: configure-tcl maybe-configure-tcl
17768 maybe-configure-tcl:
17769 @if gcc-bootstrap
17770 configure-tcl: stage_current
17771 @endif gcc-bootstrap
17772 @if tcl
17773 maybe-configure-tcl: configure-tcl
17774 configure-tcl:
17775 @: $(MAKE); $(unstage)
17776 @r=`${PWD_COMMAND}`; export r; \
17777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17778 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17780 $(HOST_EXPORTS) \
17781 echo Configuring in $(HOST_SUBDIR)/tcl; \
17782 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17783 case $(srcdir) in \
17784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17785 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17787 esac; \
17788 srcdiroption="--srcdir=$${topdir}/tcl"; \
17789 libsrcdir="$$s/tcl"; \
17790 $(SHELL) $${libsrcdir}/configure \
17791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17792 --target=${target_alias} $${srcdiroption} \
17793 || exit 1
17794 @endif tcl
17800 .PHONY: all-tcl maybe-all-tcl
17801 maybe-all-tcl:
17802 @if gcc-bootstrap
17803 all-tcl: stage_current
17804 @endif gcc-bootstrap
17805 @if tcl
17806 TARGET-tcl=all
17807 maybe-all-tcl: all-tcl
17808 all-tcl: configure-tcl
17809 @: $(MAKE); $(unstage)
17810 @r=`${PWD_COMMAND}`; export r; \
17811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17812 $(HOST_EXPORTS) \
17813 (cd $(HOST_SUBDIR)/tcl && \
17814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17815 $(TARGET-tcl))
17816 @endif tcl
17821 .PHONY: check-tcl maybe-check-tcl
17822 maybe-check-tcl:
17823 @if tcl
17824 maybe-check-tcl: check-tcl
17826 check-tcl:
17827 @: $(MAKE); $(unstage)
17828 @r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(HOST_EXPORTS) \
17831 (cd $(HOST_SUBDIR)/tcl && \
17832 $(MAKE) $(FLAGS_TO_PASS) check)
17834 @endif tcl
17836 .PHONY: install-tcl maybe-install-tcl
17837 maybe-install-tcl:
17838 @if tcl
17839 maybe-install-tcl: install-tcl
17841 install-tcl: installdirs
17842 @: $(MAKE); $(unstage)
17843 @r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 (cd $(HOST_SUBDIR)/tcl && \
17847 $(MAKE) $(FLAGS_TO_PASS) install)
17849 @endif tcl
17851 .PHONY: install-strip-tcl maybe-install-strip-tcl
17852 maybe-install-strip-tcl:
17853 @if tcl
17854 maybe-install-strip-tcl: install-strip-tcl
17856 install-strip-tcl: installdirs
17857 @: $(MAKE); $(unstage)
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 $(HOST_EXPORTS) \
17861 (cd $(HOST_SUBDIR)/tcl && \
17862 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17864 @endif tcl
17866 # Other targets (info, dvi, pdf, etc.)
17868 .PHONY: maybe-info-tcl info-tcl
17869 maybe-info-tcl:
17870 @if tcl
17871 maybe-info-tcl: info-tcl
17873 info-tcl: \
17874 configure-tcl
17875 @: $(MAKE); $(unstage)
17876 @[ -f ./tcl/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(HOST_EXPORTS) \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17882 done; \
17883 echo "Doing info in tcl" ; \
17884 (cd $(HOST_SUBDIR)/tcl && \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17889 info) \
17890 || exit 1
17892 @endif tcl
17894 .PHONY: maybe-dvi-tcl dvi-tcl
17895 maybe-dvi-tcl:
17896 @if tcl
17897 maybe-dvi-tcl: dvi-tcl
17899 dvi-tcl: \
17900 configure-tcl
17901 @: $(MAKE); $(unstage)
17902 @[ -f ./tcl/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17908 done; \
17909 echo "Doing dvi in tcl" ; \
17910 (cd $(HOST_SUBDIR)/tcl && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17915 dvi) \
17916 || exit 1
17918 @endif tcl
17920 .PHONY: maybe-pdf-tcl pdf-tcl
17921 maybe-pdf-tcl:
17922 @if tcl
17923 maybe-pdf-tcl: pdf-tcl
17925 pdf-tcl: \
17926 configure-tcl
17927 @: $(MAKE); $(unstage)
17928 @[ -f ./tcl/Makefile ] || exit 0; \
17929 r=`${PWD_COMMAND}`; export r; \
17930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17931 $(HOST_EXPORTS) \
17932 for flag in $(EXTRA_HOST_FLAGS) ; do \
17933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17934 done; \
17935 echo "Doing pdf in tcl" ; \
17936 (cd $(HOST_SUBDIR)/tcl && \
17937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17939 "RANLIB=$${RANLIB}" \
17940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17941 pdf) \
17942 || exit 1
17944 @endif tcl
17946 .PHONY: maybe-html-tcl html-tcl
17947 maybe-html-tcl:
17948 @if tcl
17949 maybe-html-tcl: html-tcl
17951 html-tcl: \
17952 configure-tcl
17953 @: $(MAKE); $(unstage)
17954 @[ -f ./tcl/Makefile ] || exit 0; \
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 $(HOST_EXPORTS) \
17958 for flag in $(EXTRA_HOST_FLAGS) ; do \
17959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17960 done; \
17961 echo "Doing html in tcl" ; \
17962 (cd $(HOST_SUBDIR)/tcl && \
17963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17965 "RANLIB=$${RANLIB}" \
17966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17967 html) \
17968 || exit 1
17970 @endif tcl
17972 .PHONY: maybe-TAGS-tcl TAGS-tcl
17973 maybe-TAGS-tcl:
17974 @if tcl
17975 maybe-TAGS-tcl: TAGS-tcl
17977 TAGS-tcl: \
17978 configure-tcl
17979 @: $(MAKE); $(unstage)
17980 @[ -f ./tcl/Makefile ] || exit 0; \
17981 r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 $(HOST_EXPORTS) \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17986 done; \
17987 echo "Doing TAGS in tcl" ; \
17988 (cd $(HOST_SUBDIR)/tcl && \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17993 TAGS) \
17994 || exit 1
17996 @endif tcl
17998 .PHONY: maybe-install-info-tcl install-info-tcl
17999 maybe-install-info-tcl:
18000 @if tcl
18001 maybe-install-info-tcl: install-info-tcl
18003 install-info-tcl: \
18004 configure-tcl \
18005 info-tcl
18006 @: $(MAKE); $(unstage)
18007 @[ -f ./tcl/Makefile ] || exit 0; \
18008 r=`${PWD_COMMAND}`; export r; \
18009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18010 $(HOST_EXPORTS) \
18011 for flag in $(EXTRA_HOST_FLAGS) ; do \
18012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18013 done; \
18014 echo "Doing install-info in tcl" ; \
18015 (cd $(HOST_SUBDIR)/tcl && \
18016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18018 "RANLIB=$${RANLIB}" \
18019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18020 install-info) \
18021 || exit 1
18023 @endif tcl
18025 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18026 maybe-install-pdf-tcl:
18027 @if tcl
18028 maybe-install-pdf-tcl: install-pdf-tcl
18030 install-pdf-tcl: \
18031 configure-tcl \
18032 pdf-tcl
18033 @: $(MAKE); $(unstage)
18034 @[ -f ./tcl/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18037 $(HOST_EXPORTS) \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18040 done; \
18041 echo "Doing install-pdf in tcl" ; \
18042 (cd $(HOST_SUBDIR)/tcl && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18047 install-pdf) \
18048 || exit 1
18050 @endif tcl
18052 .PHONY: maybe-install-html-tcl install-html-tcl
18053 maybe-install-html-tcl:
18054 @if tcl
18055 maybe-install-html-tcl: install-html-tcl
18057 install-html-tcl: \
18058 configure-tcl \
18059 html-tcl
18060 @: $(MAKE); $(unstage)
18061 @[ -f ./tcl/Makefile ] || exit 0; \
18062 r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 $(HOST_EXPORTS) \
18065 for flag in $(EXTRA_HOST_FLAGS) ; do \
18066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18067 done; \
18068 echo "Doing install-html in tcl" ; \
18069 (cd $(HOST_SUBDIR)/tcl && \
18070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18072 "RANLIB=$${RANLIB}" \
18073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18074 install-html) \
18075 || exit 1
18077 @endif tcl
18079 .PHONY: maybe-installcheck-tcl installcheck-tcl
18080 maybe-installcheck-tcl:
18081 @if tcl
18082 maybe-installcheck-tcl: installcheck-tcl
18084 installcheck-tcl: \
18085 configure-tcl
18086 @: $(MAKE); $(unstage)
18087 @[ -f ./tcl/Makefile ] || exit 0; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 $(HOST_EXPORTS) \
18091 for flag in $(EXTRA_HOST_FLAGS) ; do \
18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18093 done; \
18094 echo "Doing installcheck in tcl" ; \
18095 (cd $(HOST_SUBDIR)/tcl && \
18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18098 "RANLIB=$${RANLIB}" \
18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18100 installcheck) \
18101 || exit 1
18103 @endif tcl
18105 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18106 maybe-mostlyclean-tcl:
18107 @if tcl
18108 maybe-mostlyclean-tcl: mostlyclean-tcl
18110 # tcl doesn't support mostlyclean.
18111 mostlyclean-tcl:
18113 @endif tcl
18115 .PHONY: maybe-clean-tcl clean-tcl
18116 maybe-clean-tcl:
18117 @if tcl
18118 maybe-clean-tcl: clean-tcl
18120 clean-tcl:
18121 @: $(MAKE); $(unstage)
18122 @[ -f ./tcl/Makefile ] || exit 0; \
18123 r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 $(HOST_EXPORTS) \
18126 for flag in $(EXTRA_HOST_FLAGS) ; do \
18127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18128 done; \
18129 echo "Doing clean in tcl" ; \
18130 (cd $(HOST_SUBDIR)/tcl && \
18131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18133 "RANLIB=$${RANLIB}" \
18134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18135 clean) \
18136 || exit 1
18138 @endif tcl
18140 .PHONY: maybe-distclean-tcl distclean-tcl
18141 maybe-distclean-tcl:
18142 @if tcl
18143 maybe-distclean-tcl: distclean-tcl
18145 distclean-tcl:
18146 @: $(MAKE); $(unstage)
18147 @[ -f ./tcl/Makefile ] || exit 0; \
18148 r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 $(HOST_EXPORTS) \
18151 for flag in $(EXTRA_HOST_FLAGS) ; do \
18152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18153 done; \
18154 echo "Doing distclean in tcl" ; \
18155 (cd $(HOST_SUBDIR)/tcl && \
18156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18158 "RANLIB=$${RANLIB}" \
18159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18160 distclean) \
18161 || exit 1
18163 @endif tcl
18165 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18166 maybe-maintainer-clean-tcl:
18167 @if tcl
18168 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18170 maintainer-clean-tcl:
18171 @: $(MAKE); $(unstage)
18172 @[ -f ./tcl/Makefile ] || exit 0; \
18173 r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175 $(HOST_EXPORTS) \
18176 for flag in $(EXTRA_HOST_FLAGS) ; do \
18177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18178 done; \
18179 echo "Doing maintainer-clean in tcl" ; \
18180 (cd $(HOST_SUBDIR)/tcl && \
18181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18183 "RANLIB=$${RANLIB}" \
18184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18185 maintainer-clean) \
18186 || exit 1
18188 @endif tcl
18192 .PHONY: configure-itcl maybe-configure-itcl
18193 maybe-configure-itcl:
18194 @if gcc-bootstrap
18195 configure-itcl: stage_current
18196 @endif gcc-bootstrap
18197 @if itcl
18198 maybe-configure-itcl: configure-itcl
18199 configure-itcl:
18200 @: $(MAKE); $(unstage)
18201 @r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18205 $(HOST_EXPORTS) \
18206 echo Configuring in $(HOST_SUBDIR)/itcl; \
18207 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18208 case $(srcdir) in \
18209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18210 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18212 esac; \
18213 srcdiroption="--srcdir=$${topdir}/itcl"; \
18214 libsrcdir="$$s/itcl"; \
18215 $(SHELL) $${libsrcdir}/configure \
18216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18217 --target=${target_alias} $${srcdiroption} \
18218 || exit 1
18219 @endif itcl
18225 .PHONY: all-itcl maybe-all-itcl
18226 maybe-all-itcl:
18227 @if gcc-bootstrap
18228 all-itcl: stage_current
18229 @endif gcc-bootstrap
18230 @if itcl
18231 TARGET-itcl=all
18232 maybe-all-itcl: all-itcl
18233 all-itcl: configure-itcl
18234 @: $(MAKE); $(unstage)
18235 @r=`${PWD_COMMAND}`; export r; \
18236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18237 $(HOST_EXPORTS) \
18238 (cd $(HOST_SUBDIR)/itcl && \
18239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18240 $(TARGET-itcl))
18241 @endif itcl
18246 .PHONY: check-itcl maybe-check-itcl
18247 maybe-check-itcl:
18248 @if itcl
18249 maybe-check-itcl: check-itcl
18251 check-itcl:
18252 @: $(MAKE); $(unstage)
18253 @r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18255 $(HOST_EXPORTS) \
18256 (cd $(HOST_SUBDIR)/itcl && \
18257 $(MAKE) $(FLAGS_TO_PASS) check)
18259 @endif itcl
18261 .PHONY: install-itcl maybe-install-itcl
18262 maybe-install-itcl:
18263 @if itcl
18264 maybe-install-itcl: install-itcl
18266 install-itcl: installdirs
18267 @: $(MAKE); $(unstage)
18268 @r=`${PWD_COMMAND}`; export r; \
18269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270 $(HOST_EXPORTS) \
18271 (cd $(HOST_SUBDIR)/itcl && \
18272 $(MAKE) $(FLAGS_TO_PASS) install)
18274 @endif itcl
18276 .PHONY: install-strip-itcl maybe-install-strip-itcl
18277 maybe-install-strip-itcl:
18278 @if itcl
18279 maybe-install-strip-itcl: install-strip-itcl
18281 install-strip-itcl: installdirs
18282 @: $(MAKE); $(unstage)
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(HOST_EXPORTS) \
18286 (cd $(HOST_SUBDIR)/itcl && \
18287 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18289 @endif itcl
18291 # Other targets (info, dvi, pdf, etc.)
18293 .PHONY: maybe-info-itcl info-itcl
18294 maybe-info-itcl:
18295 @if itcl
18296 maybe-info-itcl: info-itcl
18298 info-itcl: \
18299 configure-itcl
18300 @: $(MAKE); $(unstage)
18301 @[ -f ./itcl/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing info in itcl" ; \
18309 (cd $(HOST_SUBDIR)/itcl && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18314 info) \
18315 || exit 1
18317 @endif itcl
18319 .PHONY: maybe-dvi-itcl dvi-itcl
18320 maybe-dvi-itcl:
18321 @if itcl
18322 maybe-dvi-itcl: dvi-itcl
18324 dvi-itcl: \
18325 configure-itcl
18326 @: $(MAKE); $(unstage)
18327 @[ -f ./itcl/Makefile ] || exit 0; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing dvi in itcl" ; \
18335 (cd $(HOST_SUBDIR)/itcl && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18340 dvi) \
18341 || exit 1
18343 @endif itcl
18345 .PHONY: maybe-pdf-itcl pdf-itcl
18346 maybe-pdf-itcl:
18347 @if itcl
18348 maybe-pdf-itcl: pdf-itcl
18350 pdf-itcl: \
18351 configure-itcl
18352 @: $(MAKE); $(unstage)
18353 @[ -f ./itcl/Makefile ] || exit 0; \
18354 r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18356 $(HOST_EXPORTS) \
18357 for flag in $(EXTRA_HOST_FLAGS) ; do \
18358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18359 done; \
18360 echo "Doing pdf in itcl" ; \
18361 (cd $(HOST_SUBDIR)/itcl && \
18362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18364 "RANLIB=$${RANLIB}" \
18365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18366 pdf) \
18367 || exit 1
18369 @endif itcl
18371 .PHONY: maybe-html-itcl html-itcl
18372 maybe-html-itcl:
18373 @if itcl
18374 maybe-html-itcl: html-itcl
18376 html-itcl: \
18377 configure-itcl
18378 @: $(MAKE); $(unstage)
18379 @[ -f ./itcl/Makefile ] || exit 0; \
18380 r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18382 $(HOST_EXPORTS) \
18383 for flag in $(EXTRA_HOST_FLAGS) ; do \
18384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18385 done; \
18386 echo "Doing html in itcl" ; \
18387 (cd $(HOST_SUBDIR)/itcl && \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18390 "RANLIB=$${RANLIB}" \
18391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18392 html) \
18393 || exit 1
18395 @endif itcl
18397 .PHONY: maybe-TAGS-itcl TAGS-itcl
18398 maybe-TAGS-itcl:
18399 @if itcl
18400 maybe-TAGS-itcl: TAGS-itcl
18402 TAGS-itcl: \
18403 configure-itcl
18404 @: $(MAKE); $(unstage)
18405 @[ -f ./itcl/Makefile ] || exit 0; \
18406 r=`${PWD_COMMAND}`; export r; \
18407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18408 $(HOST_EXPORTS) \
18409 for flag in $(EXTRA_HOST_FLAGS) ; do \
18410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18411 done; \
18412 echo "Doing TAGS in itcl" ; \
18413 (cd $(HOST_SUBDIR)/itcl && \
18414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18416 "RANLIB=$${RANLIB}" \
18417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18418 TAGS) \
18419 || exit 1
18421 @endif itcl
18423 .PHONY: maybe-install-info-itcl install-info-itcl
18424 maybe-install-info-itcl:
18425 @if itcl
18426 maybe-install-info-itcl: install-info-itcl
18428 install-info-itcl: \
18429 configure-itcl \
18430 info-itcl
18431 @: $(MAKE); $(unstage)
18432 @[ -f ./itcl/Makefile ] || exit 0; \
18433 r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 $(HOST_EXPORTS) \
18436 for flag in $(EXTRA_HOST_FLAGS) ; do \
18437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18438 done; \
18439 echo "Doing install-info in itcl" ; \
18440 (cd $(HOST_SUBDIR)/itcl && \
18441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18443 "RANLIB=$${RANLIB}" \
18444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18445 install-info) \
18446 || exit 1
18448 @endif itcl
18450 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18451 maybe-install-pdf-itcl:
18452 @if itcl
18453 maybe-install-pdf-itcl: install-pdf-itcl
18455 install-pdf-itcl: \
18456 configure-itcl \
18457 pdf-itcl
18458 @: $(MAKE); $(unstage)
18459 @[ -f ./itcl/Makefile ] || exit 0; \
18460 r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18462 $(HOST_EXPORTS) \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18465 done; \
18466 echo "Doing install-pdf in itcl" ; \
18467 (cd $(HOST_SUBDIR)/itcl && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18472 install-pdf) \
18473 || exit 1
18475 @endif itcl
18477 .PHONY: maybe-install-html-itcl install-html-itcl
18478 maybe-install-html-itcl:
18479 @if itcl
18480 maybe-install-html-itcl: install-html-itcl
18482 install-html-itcl: \
18483 configure-itcl \
18484 html-itcl
18485 @: $(MAKE); $(unstage)
18486 @[ -f ./itcl/Makefile ] || exit 0; \
18487 r=`${PWD_COMMAND}`; export r; \
18488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18489 $(HOST_EXPORTS) \
18490 for flag in $(EXTRA_HOST_FLAGS) ; do \
18491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18492 done; \
18493 echo "Doing install-html in itcl" ; \
18494 (cd $(HOST_SUBDIR)/itcl && \
18495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18497 "RANLIB=$${RANLIB}" \
18498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18499 install-html) \
18500 || exit 1
18502 @endif itcl
18504 .PHONY: maybe-installcheck-itcl installcheck-itcl
18505 maybe-installcheck-itcl:
18506 @if itcl
18507 maybe-installcheck-itcl: installcheck-itcl
18509 installcheck-itcl: \
18510 configure-itcl
18511 @: $(MAKE); $(unstage)
18512 @[ -f ./itcl/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 $(HOST_EXPORTS) \
18516 for flag in $(EXTRA_HOST_FLAGS) ; do \
18517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18518 done; \
18519 echo "Doing installcheck in itcl" ; \
18520 (cd $(HOST_SUBDIR)/itcl && \
18521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18523 "RANLIB=$${RANLIB}" \
18524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18525 installcheck) \
18526 || exit 1
18528 @endif itcl
18530 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18531 maybe-mostlyclean-itcl:
18532 @if itcl
18533 maybe-mostlyclean-itcl: mostlyclean-itcl
18535 mostlyclean-itcl:
18536 @: $(MAKE); $(unstage)
18537 @[ -f ./itcl/Makefile ] || exit 0; \
18538 r=`${PWD_COMMAND}`; export r; \
18539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18540 $(HOST_EXPORTS) \
18541 for flag in $(EXTRA_HOST_FLAGS) ; do \
18542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18543 done; \
18544 echo "Doing mostlyclean in itcl" ; \
18545 (cd $(HOST_SUBDIR)/itcl && \
18546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18548 "RANLIB=$${RANLIB}" \
18549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18550 mostlyclean) \
18551 || exit 1
18553 @endif itcl
18555 .PHONY: maybe-clean-itcl clean-itcl
18556 maybe-clean-itcl:
18557 @if itcl
18558 maybe-clean-itcl: clean-itcl
18560 clean-itcl:
18561 @: $(MAKE); $(unstage)
18562 @[ -f ./itcl/Makefile ] || exit 0; \
18563 r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 $(HOST_EXPORTS) \
18566 for flag in $(EXTRA_HOST_FLAGS) ; do \
18567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18568 done; \
18569 echo "Doing clean in itcl" ; \
18570 (cd $(HOST_SUBDIR)/itcl && \
18571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18573 "RANLIB=$${RANLIB}" \
18574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18575 clean) \
18576 || exit 1
18578 @endif itcl
18580 .PHONY: maybe-distclean-itcl distclean-itcl
18581 maybe-distclean-itcl:
18582 @if itcl
18583 maybe-distclean-itcl: distclean-itcl
18585 distclean-itcl:
18586 @: $(MAKE); $(unstage)
18587 @[ -f ./itcl/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590 $(HOST_EXPORTS) \
18591 for flag in $(EXTRA_HOST_FLAGS) ; do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18593 done; \
18594 echo "Doing distclean in itcl" ; \
18595 (cd $(HOST_SUBDIR)/itcl && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18600 distclean) \
18601 || exit 1
18603 @endif itcl
18605 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18606 maybe-maintainer-clean-itcl:
18607 @if itcl
18608 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18610 maintainer-clean-itcl:
18611 @: $(MAKE); $(unstage)
18612 @[ -f ./itcl/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(HOST_EXPORTS) \
18616 for flag in $(EXTRA_HOST_FLAGS) ; do \
18617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18618 done; \
18619 echo "Doing maintainer-clean in itcl" ; \
18620 (cd $(HOST_SUBDIR)/itcl && \
18621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18623 "RANLIB=$${RANLIB}" \
18624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18625 maintainer-clean) \
18626 || exit 1
18628 @endif itcl
18632 .PHONY: configure-ld maybe-configure-ld
18633 maybe-configure-ld:
18634 @if gcc-bootstrap
18635 configure-ld: stage_current
18636 @endif gcc-bootstrap
18637 @if ld
18638 maybe-configure-ld: configure-ld
18639 configure-ld:
18640 @r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18642 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18644 $(HOST_EXPORTS) \
18645 echo Configuring in $(HOST_SUBDIR)/ld; \
18646 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18647 case $(srcdir) in \
18648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18649 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18651 esac; \
18652 srcdiroption="--srcdir=$${topdir}/ld"; \
18653 libsrcdir="$$s/ld"; \
18654 $(SHELL) $${libsrcdir}/configure \
18655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18656 --target=${target_alias} $${srcdiroption} \
18657 || exit 1
18658 @endif ld
18662 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18663 maybe-configure-stage1-ld:
18664 @if ld-bootstrap
18665 maybe-configure-stage1-ld: configure-stage1-ld
18666 configure-stage1-ld:
18667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18669 @r=`${PWD_COMMAND}`; export r; \
18670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18671 TFLAGS="$(STAGE1_TFLAGS)"; \
18672 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18673 $(HOST_EXPORTS) \
18674 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18675 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18676 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18677 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18679 cd $(HOST_SUBDIR)/ld || exit 1; \
18680 case $(srcdir) in \
18681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18682 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18684 esac; \
18685 srcdiroption="--srcdir=$${topdir}/ld"; \
18686 libsrcdir="$$s/ld"; \
18687 $(SHELL) $${libsrcdir}/configure \
18688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18689 --target=${target_alias} $${srcdiroption} \
18690 $(STAGE1_CONFIGURE_FLAGS)
18691 @endif ld-bootstrap
18693 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18694 maybe-configure-stage2-ld:
18695 @if ld-bootstrap
18696 maybe-configure-stage2-ld: configure-stage2-ld
18697 configure-stage2-ld:
18698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18700 @r=`${PWD_COMMAND}`; export r; \
18701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18702 TFLAGS="$(STAGE2_TFLAGS)"; \
18703 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18704 $(HOST_EXPORTS) \
18705 $(POSTSTAGE1_HOST_EXPORTS) \
18706 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18707 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18708 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18709 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18711 cd $(HOST_SUBDIR)/ld || exit 1; \
18712 case $(srcdir) in \
18713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18714 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18716 esac; \
18717 srcdiroption="--srcdir=$${topdir}/ld"; \
18718 libsrcdir="$$s/ld"; \
18719 $(SHELL) $${libsrcdir}/configure \
18720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18721 --target=${target_alias} $${srcdiroption} \
18722 --with-build-libsubdir=$(HOST_SUBDIR) \
18723 $(STAGE2_CONFIGURE_FLAGS)
18724 @endif ld-bootstrap
18726 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18727 maybe-configure-stage3-ld:
18728 @if ld-bootstrap
18729 maybe-configure-stage3-ld: configure-stage3-ld
18730 configure-stage3-ld:
18731 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18733 @r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 TFLAGS="$(STAGE3_TFLAGS)"; \
18736 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18737 $(HOST_EXPORTS) \
18738 $(POSTSTAGE1_HOST_EXPORTS) \
18739 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18740 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18741 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18742 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18744 cd $(HOST_SUBDIR)/ld || exit 1; \
18745 case $(srcdir) in \
18746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18747 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18749 esac; \
18750 srcdiroption="--srcdir=$${topdir}/ld"; \
18751 libsrcdir="$$s/ld"; \
18752 $(SHELL) $${libsrcdir}/configure \
18753 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18754 --target=${target_alias} $${srcdiroption} \
18755 --with-build-libsubdir=$(HOST_SUBDIR) \
18756 $(STAGE3_CONFIGURE_FLAGS)
18757 @endif ld-bootstrap
18759 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18760 maybe-configure-stage4-ld:
18761 @if ld-bootstrap
18762 maybe-configure-stage4-ld: configure-stage4-ld
18763 configure-stage4-ld:
18764 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18766 @r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 TFLAGS="$(STAGE4_TFLAGS)"; \
18769 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18770 $(HOST_EXPORTS) \
18771 $(POSTSTAGE1_HOST_EXPORTS) \
18772 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18773 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18774 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18775 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18777 cd $(HOST_SUBDIR)/ld || exit 1; \
18778 case $(srcdir) in \
18779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18780 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18782 esac; \
18783 srcdiroption="--srcdir=$${topdir}/ld"; \
18784 libsrcdir="$$s/ld"; \
18785 $(SHELL) $${libsrcdir}/configure \
18786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18787 --target=${target_alias} $${srcdiroption} \
18788 --with-build-libsubdir=$(HOST_SUBDIR) \
18789 $(STAGE4_CONFIGURE_FLAGS)
18790 @endif ld-bootstrap
18792 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18793 maybe-configure-stageprofile-ld:
18794 @if ld-bootstrap
18795 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18796 configure-stageprofile-ld:
18797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18799 @r=`${PWD_COMMAND}`; export r; \
18800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18801 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18802 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18803 $(HOST_EXPORTS) \
18804 $(POSTSTAGE1_HOST_EXPORTS) \
18805 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18807 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18808 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18810 cd $(HOST_SUBDIR)/ld || exit 1; \
18811 case $(srcdir) in \
18812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18813 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18815 esac; \
18816 srcdiroption="--srcdir=$${topdir}/ld"; \
18817 libsrcdir="$$s/ld"; \
18818 $(SHELL) $${libsrcdir}/configure \
18819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18820 --target=${target_alias} $${srcdiroption} \
18821 --with-build-libsubdir=$(HOST_SUBDIR) \
18822 $(STAGEprofile_CONFIGURE_FLAGS)
18823 @endif ld-bootstrap
18825 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18826 maybe-configure-stagefeedback-ld:
18827 @if ld-bootstrap
18828 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18829 configure-stagefeedback-ld:
18830 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18832 @r=`${PWD_COMMAND}`; export r; \
18833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18834 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18835 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18836 $(HOST_EXPORTS) \
18837 $(POSTSTAGE1_HOST_EXPORTS) \
18838 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18839 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18840 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18841 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18843 cd $(HOST_SUBDIR)/ld || exit 1; \
18844 case $(srcdir) in \
18845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18846 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18848 esac; \
18849 srcdiroption="--srcdir=$${topdir}/ld"; \
18850 libsrcdir="$$s/ld"; \
18851 $(SHELL) $${libsrcdir}/configure \
18852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18853 --target=${target_alias} $${srcdiroption} \
18854 --with-build-libsubdir=$(HOST_SUBDIR) \
18855 $(STAGEfeedback_CONFIGURE_FLAGS)
18856 @endif ld-bootstrap
18862 .PHONY: all-ld maybe-all-ld
18863 maybe-all-ld:
18864 @if gcc-bootstrap
18865 all-ld: stage_current
18866 @endif gcc-bootstrap
18867 @if ld
18868 TARGET-ld=all
18869 maybe-all-ld: all-ld
18870 all-ld: configure-ld
18871 @r=`${PWD_COMMAND}`; export r; \
18872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18873 $(HOST_EXPORTS) \
18874 (cd $(HOST_SUBDIR)/ld && \
18875 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18876 $(TARGET-ld))
18877 @endif ld
18881 .PHONY: all-stage1-ld maybe-all-stage1-ld
18882 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18883 maybe-all-stage1-ld:
18884 maybe-clean-stage1-ld:
18885 @if ld-bootstrap
18886 maybe-all-stage1-ld: all-stage1-ld
18887 all-stage1: all-stage1-ld
18888 TARGET-stage1-ld = $(TARGET-ld)
18889 all-stage1-ld: configure-stage1-ld
18890 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18891 @r=`${PWD_COMMAND}`; export r; \
18892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18893 TFLAGS="$(STAGE1_TFLAGS)"; \
18894 $(HOST_EXPORTS) \
18895 cd $(HOST_SUBDIR)/ld && \
18896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18897 CFLAGS="$(STAGE1_CFLAGS)" \
18898 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18899 LIBCFLAGS="$(LIBCFLAGS)" \
18900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18903 $(EXTRA_HOST_FLAGS) \
18904 $(STAGE1_FLAGS_TO_PASS) \
18905 TFLAGS="$(STAGE1_TFLAGS)" \
18906 $(TARGET-stage1-ld)
18908 maybe-clean-stage1-ld: clean-stage1-ld
18909 clean-stage1: clean-stage1-ld
18910 clean-stage1-ld:
18911 @if [ $(current_stage) = stage1 ]; then \
18912 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18913 else \
18914 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18915 $(MAKE) stage1-start; \
18916 fi; \
18917 cd $(HOST_SUBDIR)/ld && \
18918 $(MAKE) $(EXTRA_HOST_FLAGS) \
18919 $(STAGE1_FLAGS_TO_PASS) clean
18920 @endif ld-bootstrap
18923 .PHONY: all-stage2-ld maybe-all-stage2-ld
18924 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18925 maybe-all-stage2-ld:
18926 maybe-clean-stage2-ld:
18927 @if ld-bootstrap
18928 maybe-all-stage2-ld: all-stage2-ld
18929 all-stage2: all-stage2-ld
18930 TARGET-stage2-ld = $(TARGET-ld)
18931 all-stage2-ld: configure-stage2-ld
18932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18933 @r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 TFLAGS="$(STAGE2_TFLAGS)"; \
18936 $(HOST_EXPORTS) \
18937 $(POSTSTAGE1_HOST_EXPORTS) \
18938 cd $(HOST_SUBDIR)/ld && \
18939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18940 CFLAGS="$(STAGE2_CFLAGS)" \
18941 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18942 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18947 TFLAGS="$(STAGE2_TFLAGS)" \
18948 $(TARGET-stage2-ld)
18950 maybe-clean-stage2-ld: clean-stage2-ld
18951 clean-stage2: clean-stage2-ld
18952 clean-stage2-ld:
18953 @if [ $(current_stage) = stage2 ]; then \
18954 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18955 else \
18956 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18957 $(MAKE) stage2-start; \
18958 fi; \
18959 cd $(HOST_SUBDIR)/ld && \
18960 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18961 @endif ld-bootstrap
18964 .PHONY: all-stage3-ld maybe-all-stage3-ld
18965 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18966 maybe-all-stage3-ld:
18967 maybe-clean-stage3-ld:
18968 @if ld-bootstrap
18969 maybe-all-stage3-ld: all-stage3-ld
18970 all-stage3: all-stage3-ld
18971 TARGET-stage3-ld = $(TARGET-ld)
18972 all-stage3-ld: configure-stage3-ld
18973 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18974 @r=`${PWD_COMMAND}`; export r; \
18975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18976 TFLAGS="$(STAGE3_TFLAGS)"; \
18977 $(HOST_EXPORTS) \
18978 $(POSTSTAGE1_HOST_EXPORTS) \
18979 cd $(HOST_SUBDIR)/ld && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18981 CFLAGS="$(STAGE3_CFLAGS)" \
18982 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18983 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18988 TFLAGS="$(STAGE3_TFLAGS)" \
18989 $(TARGET-stage3-ld)
18991 maybe-clean-stage3-ld: clean-stage3-ld
18992 clean-stage3: clean-stage3-ld
18993 clean-stage3-ld:
18994 @if [ $(current_stage) = stage3 ]; then \
18995 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18996 else \
18997 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18998 $(MAKE) stage3-start; \
18999 fi; \
19000 cd $(HOST_SUBDIR)/ld && \
19001 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19002 @endif ld-bootstrap
19005 .PHONY: all-stage4-ld maybe-all-stage4-ld
19006 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19007 maybe-all-stage4-ld:
19008 maybe-clean-stage4-ld:
19009 @if ld-bootstrap
19010 maybe-all-stage4-ld: all-stage4-ld
19011 all-stage4: all-stage4-ld
19012 TARGET-stage4-ld = $(TARGET-ld)
19013 all-stage4-ld: configure-stage4-ld
19014 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19015 @r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017 TFLAGS="$(STAGE4_TFLAGS)"; \
19018 $(HOST_EXPORTS) \
19019 $(POSTSTAGE1_HOST_EXPORTS) \
19020 cd $(HOST_SUBDIR)/ld && \
19021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19022 CFLAGS="$(STAGE4_CFLAGS)" \
19023 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19024 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19029 TFLAGS="$(STAGE4_TFLAGS)" \
19030 $(TARGET-stage4-ld)
19032 maybe-clean-stage4-ld: clean-stage4-ld
19033 clean-stage4: clean-stage4-ld
19034 clean-stage4-ld:
19035 @if [ $(current_stage) = stage4 ]; then \
19036 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19037 else \
19038 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19039 $(MAKE) stage4-start; \
19040 fi; \
19041 cd $(HOST_SUBDIR)/ld && \
19042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19043 @endif ld-bootstrap
19046 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19047 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19048 maybe-all-stageprofile-ld:
19049 maybe-clean-stageprofile-ld:
19050 @if ld-bootstrap
19051 maybe-all-stageprofile-ld: all-stageprofile-ld
19052 all-stageprofile: all-stageprofile-ld
19053 TARGET-stageprofile-ld = $(TARGET-ld)
19054 all-stageprofile-ld: configure-stageprofile-ld
19055 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19056 @r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19059 $(HOST_EXPORTS) \
19060 $(POSTSTAGE1_HOST_EXPORTS) \
19061 cd $(HOST_SUBDIR)/ld && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19063 CFLAGS="$(STAGEprofile_CFLAGS)" \
19064 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19065 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19069 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19070 TFLAGS="$(STAGEprofile_TFLAGS)" \
19071 $(TARGET-stageprofile-ld)
19073 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19074 clean-stageprofile: clean-stageprofile-ld
19075 clean-stageprofile-ld:
19076 @if [ $(current_stage) = stageprofile ]; then \
19077 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19078 else \
19079 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19080 $(MAKE) stageprofile-start; \
19081 fi; \
19082 cd $(HOST_SUBDIR)/ld && \
19083 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19084 @endif ld-bootstrap
19087 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19088 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19089 maybe-all-stagefeedback-ld:
19090 maybe-clean-stagefeedback-ld:
19091 @if ld-bootstrap
19092 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19093 all-stagefeedback: all-stagefeedback-ld
19094 TARGET-stagefeedback-ld = $(TARGET-ld)
19095 all-stagefeedback-ld: configure-stagefeedback-ld
19096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19097 @r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19100 $(HOST_EXPORTS) \
19101 $(POSTSTAGE1_HOST_EXPORTS) \
19102 cd $(HOST_SUBDIR)/ld && \
19103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19104 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19105 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19106 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19111 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19112 $(TARGET-stagefeedback-ld)
19114 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19115 clean-stagefeedback: clean-stagefeedback-ld
19116 clean-stagefeedback-ld:
19117 @if [ $(current_stage) = stagefeedback ]; then \
19118 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19119 else \
19120 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19121 $(MAKE) stagefeedback-start; \
19122 fi; \
19123 cd $(HOST_SUBDIR)/ld && \
19124 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19125 @endif ld-bootstrap
19131 .PHONY: check-ld maybe-check-ld
19132 maybe-check-ld:
19133 @if ld
19134 maybe-check-ld: check-ld
19136 check-ld:
19137 @: $(MAKE); $(unstage)
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(HOST_EXPORTS) \
19141 (cd $(HOST_SUBDIR)/ld && \
19142 $(MAKE) $(FLAGS_TO_PASS) check)
19144 @endif ld
19146 .PHONY: install-ld maybe-install-ld
19147 maybe-install-ld:
19148 @if ld
19149 maybe-install-ld: install-ld
19151 install-ld: installdirs
19152 @: $(MAKE); $(unstage)
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(HOST_EXPORTS) \
19156 (cd $(HOST_SUBDIR)/ld && \
19157 $(MAKE) $(FLAGS_TO_PASS) install)
19159 @endif ld
19161 .PHONY: install-strip-ld maybe-install-strip-ld
19162 maybe-install-strip-ld:
19163 @if ld
19164 maybe-install-strip-ld: install-strip-ld
19166 install-strip-ld: installdirs
19167 @: $(MAKE); $(unstage)
19168 @r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19170 $(HOST_EXPORTS) \
19171 (cd $(HOST_SUBDIR)/ld && \
19172 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19174 @endif ld
19176 # Other targets (info, dvi, pdf, etc.)
19178 .PHONY: maybe-info-ld info-ld
19179 maybe-info-ld:
19180 @if ld
19181 maybe-info-ld: info-ld
19183 info-ld: \
19184 configure-ld
19185 @[ -f ./ld/Makefile ] || exit 0; \
19186 r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 $(HOST_EXPORTS) \
19189 for flag in $(EXTRA_HOST_FLAGS) ; do \
19190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19191 done; \
19192 echo "Doing info in ld" ; \
19193 (cd $(HOST_SUBDIR)/ld && \
19194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19196 "RANLIB=$${RANLIB}" \
19197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19198 info) \
19199 || exit 1
19201 @endif ld
19203 .PHONY: maybe-dvi-ld dvi-ld
19204 maybe-dvi-ld:
19205 @if ld
19206 maybe-dvi-ld: dvi-ld
19208 dvi-ld: \
19209 configure-ld
19210 @[ -f ./ld/Makefile ] || exit 0; \
19211 r=`${PWD_COMMAND}`; export r; \
19212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19213 $(HOST_EXPORTS) \
19214 for flag in $(EXTRA_HOST_FLAGS) ; do \
19215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19216 done; \
19217 echo "Doing dvi in ld" ; \
19218 (cd $(HOST_SUBDIR)/ld && \
19219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19221 "RANLIB=$${RANLIB}" \
19222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19223 dvi) \
19224 || exit 1
19226 @endif ld
19228 .PHONY: maybe-pdf-ld pdf-ld
19229 maybe-pdf-ld:
19230 @if ld
19231 maybe-pdf-ld: pdf-ld
19233 pdf-ld: \
19234 configure-ld
19235 @[ -f ./ld/Makefile ] || exit 0; \
19236 r=`${PWD_COMMAND}`; export r; \
19237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19238 $(HOST_EXPORTS) \
19239 for flag in $(EXTRA_HOST_FLAGS) ; do \
19240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19241 done; \
19242 echo "Doing pdf in ld" ; \
19243 (cd $(HOST_SUBDIR)/ld && \
19244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19246 "RANLIB=$${RANLIB}" \
19247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19248 pdf) \
19249 || exit 1
19251 @endif ld
19253 .PHONY: maybe-html-ld html-ld
19254 maybe-html-ld:
19255 @if ld
19256 maybe-html-ld: html-ld
19258 html-ld: \
19259 configure-ld
19260 @[ -f ./ld/Makefile ] || exit 0; \
19261 r=`${PWD_COMMAND}`; export r; \
19262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19263 $(HOST_EXPORTS) \
19264 for flag in $(EXTRA_HOST_FLAGS) ; do \
19265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19266 done; \
19267 echo "Doing html in ld" ; \
19268 (cd $(HOST_SUBDIR)/ld && \
19269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19271 "RANLIB=$${RANLIB}" \
19272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19273 html) \
19274 || exit 1
19276 @endif ld
19278 .PHONY: maybe-TAGS-ld TAGS-ld
19279 maybe-TAGS-ld:
19280 @if ld
19281 maybe-TAGS-ld: TAGS-ld
19283 TAGS-ld: \
19284 configure-ld
19285 @[ -f ./ld/Makefile ] || exit 0; \
19286 r=`${PWD_COMMAND}`; export r; \
19287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19288 $(HOST_EXPORTS) \
19289 for flag in $(EXTRA_HOST_FLAGS) ; do \
19290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19291 done; \
19292 echo "Doing TAGS in ld" ; \
19293 (cd $(HOST_SUBDIR)/ld && \
19294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19296 "RANLIB=$${RANLIB}" \
19297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19298 TAGS) \
19299 || exit 1
19301 @endif ld
19303 .PHONY: maybe-install-info-ld install-info-ld
19304 maybe-install-info-ld:
19305 @if ld
19306 maybe-install-info-ld: install-info-ld
19308 install-info-ld: \
19309 configure-ld \
19310 info-ld
19311 @[ -f ./ld/Makefile ] || exit 0; \
19312 r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 $(HOST_EXPORTS) \
19315 for flag in $(EXTRA_HOST_FLAGS) ; do \
19316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19317 done; \
19318 echo "Doing install-info in ld" ; \
19319 (cd $(HOST_SUBDIR)/ld && \
19320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19322 "RANLIB=$${RANLIB}" \
19323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19324 install-info) \
19325 || exit 1
19327 @endif ld
19329 .PHONY: maybe-install-pdf-ld install-pdf-ld
19330 maybe-install-pdf-ld:
19331 @if ld
19332 maybe-install-pdf-ld: install-pdf-ld
19334 install-pdf-ld: \
19335 configure-ld \
19336 pdf-ld
19337 @[ -f ./ld/Makefile ] || exit 0; \
19338 r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19340 $(HOST_EXPORTS) \
19341 for flag in $(EXTRA_HOST_FLAGS) ; do \
19342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19343 done; \
19344 echo "Doing install-pdf in ld" ; \
19345 (cd $(HOST_SUBDIR)/ld && \
19346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19348 "RANLIB=$${RANLIB}" \
19349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19350 install-pdf) \
19351 || exit 1
19353 @endif ld
19355 .PHONY: maybe-install-html-ld install-html-ld
19356 maybe-install-html-ld:
19357 @if ld
19358 maybe-install-html-ld: install-html-ld
19360 install-html-ld: \
19361 configure-ld \
19362 html-ld
19363 @[ -f ./ld/Makefile ] || exit 0; \
19364 r=`${PWD_COMMAND}`; export r; \
19365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19366 $(HOST_EXPORTS) \
19367 for flag in $(EXTRA_HOST_FLAGS) ; do \
19368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19369 done; \
19370 echo "Doing install-html in ld" ; \
19371 (cd $(HOST_SUBDIR)/ld && \
19372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19374 "RANLIB=$${RANLIB}" \
19375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19376 install-html) \
19377 || exit 1
19379 @endif ld
19381 .PHONY: maybe-installcheck-ld installcheck-ld
19382 maybe-installcheck-ld:
19383 @if ld
19384 maybe-installcheck-ld: installcheck-ld
19386 installcheck-ld: \
19387 configure-ld
19388 @[ -f ./ld/Makefile ] || exit 0; \
19389 r=`${PWD_COMMAND}`; export r; \
19390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19391 $(HOST_EXPORTS) \
19392 for flag in $(EXTRA_HOST_FLAGS) ; do \
19393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19394 done; \
19395 echo "Doing installcheck in ld" ; \
19396 (cd $(HOST_SUBDIR)/ld && \
19397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19399 "RANLIB=$${RANLIB}" \
19400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19401 installcheck) \
19402 || exit 1
19404 @endif ld
19406 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19407 maybe-mostlyclean-ld:
19408 @if ld
19409 maybe-mostlyclean-ld: mostlyclean-ld
19411 mostlyclean-ld:
19412 @[ -f ./ld/Makefile ] || exit 0; \
19413 r=`${PWD_COMMAND}`; export r; \
19414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19415 $(HOST_EXPORTS) \
19416 for flag in $(EXTRA_HOST_FLAGS) ; do \
19417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19418 done; \
19419 echo "Doing mostlyclean in ld" ; \
19420 (cd $(HOST_SUBDIR)/ld && \
19421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19423 "RANLIB=$${RANLIB}" \
19424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19425 mostlyclean) \
19426 || exit 1
19428 @endif ld
19430 .PHONY: maybe-clean-ld clean-ld
19431 maybe-clean-ld:
19432 @if ld
19433 maybe-clean-ld: clean-ld
19435 clean-ld:
19436 @[ -f ./ld/Makefile ] || exit 0; \
19437 r=`${PWD_COMMAND}`; export r; \
19438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19439 $(HOST_EXPORTS) \
19440 for flag in $(EXTRA_HOST_FLAGS) ; do \
19441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19442 done; \
19443 echo "Doing clean in ld" ; \
19444 (cd $(HOST_SUBDIR)/ld && \
19445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19447 "RANLIB=$${RANLIB}" \
19448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19449 clean) \
19450 || exit 1
19452 @endif ld
19454 .PHONY: maybe-distclean-ld distclean-ld
19455 maybe-distclean-ld:
19456 @if ld
19457 maybe-distclean-ld: distclean-ld
19459 distclean-ld:
19460 @[ -f ./ld/Makefile ] || exit 0; \
19461 r=`${PWD_COMMAND}`; export r; \
19462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19463 $(HOST_EXPORTS) \
19464 for flag in $(EXTRA_HOST_FLAGS) ; do \
19465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19466 done; \
19467 echo "Doing distclean in ld" ; \
19468 (cd $(HOST_SUBDIR)/ld && \
19469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19471 "RANLIB=$${RANLIB}" \
19472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19473 distclean) \
19474 || exit 1
19476 @endif ld
19478 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19479 maybe-maintainer-clean-ld:
19480 @if ld
19481 maybe-maintainer-clean-ld: maintainer-clean-ld
19483 maintainer-clean-ld:
19484 @[ -f ./ld/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 $(HOST_EXPORTS) \
19488 for flag in $(EXTRA_HOST_FLAGS) ; do \
19489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19490 done; \
19491 echo "Doing maintainer-clean in ld" ; \
19492 (cd $(HOST_SUBDIR)/ld && \
19493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19495 "RANLIB=$${RANLIB}" \
19496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19497 maintainer-clean) \
19498 || exit 1
19500 @endif ld
19504 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19505 maybe-configure-libbacktrace:
19506 @if gcc-bootstrap
19507 configure-libbacktrace: stage_current
19508 @endif gcc-bootstrap
19509 @if libbacktrace
19510 maybe-configure-libbacktrace: configure-libbacktrace
19511 configure-libbacktrace:
19512 @r=`${PWD_COMMAND}`; export r; \
19513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19514 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19516 $(HOST_EXPORTS) \
19517 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19518 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19519 case $(srcdir) in \
19520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19521 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19523 esac; \
19524 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19525 libsrcdir="$$s/libbacktrace"; \
19526 $(SHELL) $${libsrcdir}/configure \
19527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19528 --target=${target_alias} $${srcdiroption} \
19529 || exit 1
19530 @endif libbacktrace
19534 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19535 maybe-configure-stage1-libbacktrace:
19536 @if libbacktrace-bootstrap
19537 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19538 configure-stage1-libbacktrace:
19539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19541 @r=`${PWD_COMMAND}`; export r; \
19542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543 TFLAGS="$(STAGE1_TFLAGS)"; \
19544 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19545 $(HOST_EXPORTS) \
19546 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19547 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19548 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19549 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19551 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19552 case $(srcdir) in \
19553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19554 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19556 esac; \
19557 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19558 libsrcdir="$$s/libbacktrace"; \
19559 $(SHELL) $${libsrcdir}/configure \
19560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19561 --target=${target_alias} $${srcdiroption} \
19562 $(STAGE1_CONFIGURE_FLAGS)
19563 @endif libbacktrace-bootstrap
19565 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19566 maybe-configure-stage2-libbacktrace:
19567 @if libbacktrace-bootstrap
19568 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19569 configure-stage2-libbacktrace:
19570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19572 @r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 TFLAGS="$(STAGE2_TFLAGS)"; \
19575 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19576 $(HOST_EXPORTS) \
19577 $(POSTSTAGE1_HOST_EXPORTS) \
19578 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19579 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19580 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19581 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19583 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19584 case $(srcdir) in \
19585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19586 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19588 esac; \
19589 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19590 libsrcdir="$$s/libbacktrace"; \
19591 $(SHELL) $${libsrcdir}/configure \
19592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19593 --target=${target_alias} $${srcdiroption} \
19594 --with-build-libsubdir=$(HOST_SUBDIR) \
19595 $(STAGE2_CONFIGURE_FLAGS)
19596 @endif libbacktrace-bootstrap
19598 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19599 maybe-configure-stage3-libbacktrace:
19600 @if libbacktrace-bootstrap
19601 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19602 configure-stage3-libbacktrace:
19603 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19605 @r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 TFLAGS="$(STAGE3_TFLAGS)"; \
19608 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19609 $(HOST_EXPORTS) \
19610 $(POSTSTAGE1_HOST_EXPORTS) \
19611 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19612 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19613 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19614 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19616 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19617 case $(srcdir) in \
19618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19619 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19621 esac; \
19622 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19623 libsrcdir="$$s/libbacktrace"; \
19624 $(SHELL) $${libsrcdir}/configure \
19625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19626 --target=${target_alias} $${srcdiroption} \
19627 --with-build-libsubdir=$(HOST_SUBDIR) \
19628 $(STAGE3_CONFIGURE_FLAGS)
19629 @endif libbacktrace-bootstrap
19631 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19632 maybe-configure-stage4-libbacktrace:
19633 @if libbacktrace-bootstrap
19634 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19635 configure-stage4-libbacktrace:
19636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19638 @r=`${PWD_COMMAND}`; export r; \
19639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19640 TFLAGS="$(STAGE4_TFLAGS)"; \
19641 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19642 $(HOST_EXPORTS) \
19643 $(POSTSTAGE1_HOST_EXPORTS) \
19644 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19645 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19646 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19647 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19649 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19650 case $(srcdir) in \
19651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19652 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19654 esac; \
19655 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19656 libsrcdir="$$s/libbacktrace"; \
19657 $(SHELL) $${libsrcdir}/configure \
19658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19659 --target=${target_alias} $${srcdiroption} \
19660 --with-build-libsubdir=$(HOST_SUBDIR) \
19661 $(STAGE4_CONFIGURE_FLAGS)
19662 @endif libbacktrace-bootstrap
19664 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19665 maybe-configure-stageprofile-libbacktrace:
19666 @if libbacktrace-bootstrap
19667 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19668 configure-stageprofile-libbacktrace:
19669 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19671 @r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19674 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19675 $(HOST_EXPORTS) \
19676 $(POSTSTAGE1_HOST_EXPORTS) \
19677 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19678 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19679 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19680 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19682 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19683 case $(srcdir) in \
19684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19685 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19687 esac; \
19688 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19689 libsrcdir="$$s/libbacktrace"; \
19690 $(SHELL) $${libsrcdir}/configure \
19691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19692 --target=${target_alias} $${srcdiroption} \
19693 --with-build-libsubdir=$(HOST_SUBDIR) \
19694 $(STAGEprofile_CONFIGURE_FLAGS)
19695 @endif libbacktrace-bootstrap
19697 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19698 maybe-configure-stagefeedback-libbacktrace:
19699 @if libbacktrace-bootstrap
19700 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19701 configure-stagefeedback-libbacktrace:
19702 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19704 @r=`${PWD_COMMAND}`; export r; \
19705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19707 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19708 $(HOST_EXPORTS) \
19709 $(POSTSTAGE1_HOST_EXPORTS) \
19710 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19711 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19712 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19713 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19715 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19716 case $(srcdir) in \
19717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19718 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19720 esac; \
19721 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19722 libsrcdir="$$s/libbacktrace"; \
19723 $(SHELL) $${libsrcdir}/configure \
19724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19725 --target=${target_alias} $${srcdiroption} \
19726 --with-build-libsubdir=$(HOST_SUBDIR) \
19727 $(STAGEfeedback_CONFIGURE_FLAGS)
19728 @endif libbacktrace-bootstrap
19734 .PHONY: all-libbacktrace maybe-all-libbacktrace
19735 maybe-all-libbacktrace:
19736 @if gcc-bootstrap
19737 all-libbacktrace: stage_current
19738 @endif gcc-bootstrap
19739 @if libbacktrace
19740 TARGET-libbacktrace=all
19741 maybe-all-libbacktrace: all-libbacktrace
19742 all-libbacktrace: configure-libbacktrace
19743 @r=`${PWD_COMMAND}`; export r; \
19744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19745 $(HOST_EXPORTS) \
19746 (cd $(HOST_SUBDIR)/libbacktrace && \
19747 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19748 $(TARGET-libbacktrace))
19749 @endif libbacktrace
19753 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19754 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19755 maybe-all-stage1-libbacktrace:
19756 maybe-clean-stage1-libbacktrace:
19757 @if libbacktrace-bootstrap
19758 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19759 all-stage1: all-stage1-libbacktrace
19760 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19761 all-stage1-libbacktrace: configure-stage1-libbacktrace
19762 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19763 @r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 TFLAGS="$(STAGE1_TFLAGS)"; \
19766 $(HOST_EXPORTS) \
19767 cd $(HOST_SUBDIR)/libbacktrace && \
19768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19769 CFLAGS="$(STAGE1_CFLAGS)" \
19770 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19771 LIBCFLAGS="$(LIBCFLAGS)" \
19772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19775 $(EXTRA_HOST_FLAGS) \
19776 $(STAGE1_FLAGS_TO_PASS) \
19777 TFLAGS="$(STAGE1_TFLAGS)" \
19778 $(TARGET-stage1-libbacktrace)
19780 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19781 clean-stage1: clean-stage1-libbacktrace
19782 clean-stage1-libbacktrace:
19783 @if [ $(current_stage) = stage1 ]; then \
19784 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19785 else \
19786 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19787 $(MAKE) stage1-start; \
19788 fi; \
19789 cd $(HOST_SUBDIR)/libbacktrace && \
19790 $(MAKE) $(EXTRA_HOST_FLAGS) \
19791 $(STAGE1_FLAGS_TO_PASS) clean
19792 @endif libbacktrace-bootstrap
19795 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19796 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19797 maybe-all-stage2-libbacktrace:
19798 maybe-clean-stage2-libbacktrace:
19799 @if libbacktrace-bootstrap
19800 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19801 all-stage2: all-stage2-libbacktrace
19802 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19803 all-stage2-libbacktrace: configure-stage2-libbacktrace
19804 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19805 @r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 TFLAGS="$(STAGE2_TFLAGS)"; \
19808 $(HOST_EXPORTS) \
19809 $(POSTSTAGE1_HOST_EXPORTS) \
19810 cd $(HOST_SUBDIR)/libbacktrace && \
19811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19812 CFLAGS="$(STAGE2_CFLAGS)" \
19813 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19814 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19819 TFLAGS="$(STAGE2_TFLAGS)" \
19820 $(TARGET-stage2-libbacktrace)
19822 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19823 clean-stage2: clean-stage2-libbacktrace
19824 clean-stage2-libbacktrace:
19825 @if [ $(current_stage) = stage2 ]; then \
19826 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19827 else \
19828 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19829 $(MAKE) stage2-start; \
19830 fi; \
19831 cd $(HOST_SUBDIR)/libbacktrace && \
19832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19833 @endif libbacktrace-bootstrap
19836 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19837 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19838 maybe-all-stage3-libbacktrace:
19839 maybe-clean-stage3-libbacktrace:
19840 @if libbacktrace-bootstrap
19841 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19842 all-stage3: all-stage3-libbacktrace
19843 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19844 all-stage3-libbacktrace: configure-stage3-libbacktrace
19845 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19846 @r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 TFLAGS="$(STAGE3_TFLAGS)"; \
19849 $(HOST_EXPORTS) \
19850 $(POSTSTAGE1_HOST_EXPORTS) \
19851 cd $(HOST_SUBDIR)/libbacktrace && \
19852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19853 CFLAGS="$(STAGE3_CFLAGS)" \
19854 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19855 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19860 TFLAGS="$(STAGE3_TFLAGS)" \
19861 $(TARGET-stage3-libbacktrace)
19863 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19864 clean-stage3: clean-stage3-libbacktrace
19865 clean-stage3-libbacktrace:
19866 @if [ $(current_stage) = stage3 ]; then \
19867 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19868 else \
19869 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19870 $(MAKE) stage3-start; \
19871 fi; \
19872 cd $(HOST_SUBDIR)/libbacktrace && \
19873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19874 @endif libbacktrace-bootstrap
19877 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19878 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19879 maybe-all-stage4-libbacktrace:
19880 maybe-clean-stage4-libbacktrace:
19881 @if libbacktrace-bootstrap
19882 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19883 all-stage4: all-stage4-libbacktrace
19884 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19885 all-stage4-libbacktrace: configure-stage4-libbacktrace
19886 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19887 @r=`${PWD_COMMAND}`; export r; \
19888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19889 TFLAGS="$(STAGE4_TFLAGS)"; \
19890 $(HOST_EXPORTS) \
19891 $(POSTSTAGE1_HOST_EXPORTS) \
19892 cd $(HOST_SUBDIR)/libbacktrace && \
19893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19894 CFLAGS="$(STAGE4_CFLAGS)" \
19895 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19896 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19901 TFLAGS="$(STAGE4_TFLAGS)" \
19902 $(TARGET-stage4-libbacktrace)
19904 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19905 clean-stage4: clean-stage4-libbacktrace
19906 clean-stage4-libbacktrace:
19907 @if [ $(current_stage) = stage4 ]; then \
19908 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19909 else \
19910 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19911 $(MAKE) stage4-start; \
19912 fi; \
19913 cd $(HOST_SUBDIR)/libbacktrace && \
19914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19915 @endif libbacktrace-bootstrap
19918 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19919 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19920 maybe-all-stageprofile-libbacktrace:
19921 maybe-clean-stageprofile-libbacktrace:
19922 @if libbacktrace-bootstrap
19923 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19924 all-stageprofile: all-stageprofile-libbacktrace
19925 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19926 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19927 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19928 @r=`${PWD_COMMAND}`; export r; \
19929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19931 $(HOST_EXPORTS) \
19932 $(POSTSTAGE1_HOST_EXPORTS) \
19933 cd $(HOST_SUBDIR)/libbacktrace && \
19934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19935 CFLAGS="$(STAGEprofile_CFLAGS)" \
19936 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19937 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19942 TFLAGS="$(STAGEprofile_TFLAGS)" \
19943 $(TARGET-stageprofile-libbacktrace)
19945 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19946 clean-stageprofile: clean-stageprofile-libbacktrace
19947 clean-stageprofile-libbacktrace:
19948 @if [ $(current_stage) = stageprofile ]; then \
19949 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19950 else \
19951 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19952 $(MAKE) stageprofile-start; \
19953 fi; \
19954 cd $(HOST_SUBDIR)/libbacktrace && \
19955 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19956 @endif libbacktrace-bootstrap
19959 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19960 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19961 maybe-all-stagefeedback-libbacktrace:
19962 maybe-clean-stagefeedback-libbacktrace:
19963 @if libbacktrace-bootstrap
19964 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19965 all-stagefeedback: all-stagefeedback-libbacktrace
19966 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19967 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19969 @r=`${PWD_COMMAND}`; export r; \
19970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19971 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19972 $(HOST_EXPORTS) \
19973 $(POSTSTAGE1_HOST_EXPORTS) \
19974 cd $(HOST_SUBDIR)/libbacktrace && \
19975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19976 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19977 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19978 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19983 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19984 $(TARGET-stagefeedback-libbacktrace)
19986 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19987 clean-stagefeedback: clean-stagefeedback-libbacktrace
19988 clean-stagefeedback-libbacktrace:
19989 @if [ $(current_stage) = stagefeedback ]; then \
19990 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19991 else \
19992 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19993 $(MAKE) stagefeedback-start; \
19994 fi; \
19995 cd $(HOST_SUBDIR)/libbacktrace && \
19996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19997 @endif libbacktrace-bootstrap
20003 .PHONY: check-libbacktrace maybe-check-libbacktrace
20004 maybe-check-libbacktrace:
20005 @if libbacktrace
20006 maybe-check-libbacktrace: check-libbacktrace
20008 check-libbacktrace:
20009 @: $(MAKE); $(unstage)
20010 @r=`${PWD_COMMAND}`; export r; \
20011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20012 $(HOST_EXPORTS) \
20013 (cd $(HOST_SUBDIR)/libbacktrace && \
20014 $(MAKE) $(FLAGS_TO_PASS) check)
20016 @endif libbacktrace
20018 .PHONY: install-libbacktrace maybe-install-libbacktrace
20019 maybe-install-libbacktrace:
20020 @if libbacktrace
20021 maybe-install-libbacktrace: install-libbacktrace
20023 install-libbacktrace: installdirs
20024 @: $(MAKE); $(unstage)
20025 @r=`${PWD_COMMAND}`; export r; \
20026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20027 $(HOST_EXPORTS) \
20028 (cd $(HOST_SUBDIR)/libbacktrace && \
20029 $(MAKE) $(FLAGS_TO_PASS) install)
20031 @endif libbacktrace
20033 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20034 maybe-install-strip-libbacktrace:
20035 @if libbacktrace
20036 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20038 install-strip-libbacktrace: installdirs
20039 @: $(MAKE); $(unstage)
20040 @r=`${PWD_COMMAND}`; export r; \
20041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20042 $(HOST_EXPORTS) \
20043 (cd $(HOST_SUBDIR)/libbacktrace && \
20044 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20046 @endif libbacktrace
20048 # Other targets (info, dvi, pdf, etc.)
20050 .PHONY: maybe-info-libbacktrace info-libbacktrace
20051 maybe-info-libbacktrace:
20052 @if libbacktrace
20053 maybe-info-libbacktrace: info-libbacktrace
20055 info-libbacktrace: \
20056 configure-libbacktrace
20057 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20058 r=`${PWD_COMMAND}`; export r; \
20059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20060 $(HOST_EXPORTS) \
20061 for flag in $(EXTRA_HOST_FLAGS) ; do \
20062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20063 done; \
20064 echo "Doing info in libbacktrace" ; \
20065 (cd $(HOST_SUBDIR)/libbacktrace && \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20068 "RANLIB=$${RANLIB}" \
20069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20070 info) \
20071 || exit 1
20073 @endif libbacktrace
20075 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20076 maybe-dvi-libbacktrace:
20077 @if libbacktrace
20078 maybe-dvi-libbacktrace: dvi-libbacktrace
20080 dvi-libbacktrace: \
20081 configure-libbacktrace
20082 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20083 r=`${PWD_COMMAND}`; export r; \
20084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20085 $(HOST_EXPORTS) \
20086 for flag in $(EXTRA_HOST_FLAGS) ; do \
20087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20088 done; \
20089 echo "Doing dvi in libbacktrace" ; \
20090 (cd $(HOST_SUBDIR)/libbacktrace && \
20091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20093 "RANLIB=$${RANLIB}" \
20094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20095 dvi) \
20096 || exit 1
20098 @endif libbacktrace
20100 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20101 maybe-pdf-libbacktrace:
20102 @if libbacktrace
20103 maybe-pdf-libbacktrace: pdf-libbacktrace
20105 pdf-libbacktrace: \
20106 configure-libbacktrace
20107 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20108 r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110 $(HOST_EXPORTS) \
20111 for flag in $(EXTRA_HOST_FLAGS) ; do \
20112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20113 done; \
20114 echo "Doing pdf in libbacktrace" ; \
20115 (cd $(HOST_SUBDIR)/libbacktrace && \
20116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20118 "RANLIB=$${RANLIB}" \
20119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20120 pdf) \
20121 || exit 1
20123 @endif libbacktrace
20125 .PHONY: maybe-html-libbacktrace html-libbacktrace
20126 maybe-html-libbacktrace:
20127 @if libbacktrace
20128 maybe-html-libbacktrace: html-libbacktrace
20130 html-libbacktrace: \
20131 configure-libbacktrace
20132 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20133 r=`${PWD_COMMAND}`; export r; \
20134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20135 $(HOST_EXPORTS) \
20136 for flag in $(EXTRA_HOST_FLAGS) ; do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20138 done; \
20139 echo "Doing html in libbacktrace" ; \
20140 (cd $(HOST_SUBDIR)/libbacktrace && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20145 html) \
20146 || exit 1
20148 @endif libbacktrace
20150 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20151 maybe-TAGS-libbacktrace:
20152 @if libbacktrace
20153 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20155 TAGS-libbacktrace: \
20156 configure-libbacktrace
20157 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing TAGS in libbacktrace" ; \
20165 (cd $(HOST_SUBDIR)/libbacktrace && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20170 TAGS) \
20171 || exit 1
20173 @endif libbacktrace
20175 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20176 maybe-install-info-libbacktrace:
20177 @if libbacktrace
20178 maybe-install-info-libbacktrace: install-info-libbacktrace
20180 install-info-libbacktrace: \
20181 configure-libbacktrace \
20182 info-libbacktrace
20183 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(HOST_EXPORTS) \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 done; \
20190 echo "Doing install-info in libbacktrace" ; \
20191 (cd $(HOST_SUBDIR)/libbacktrace && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20196 install-info) \
20197 || exit 1
20199 @endif libbacktrace
20201 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20202 maybe-install-pdf-libbacktrace:
20203 @if libbacktrace
20204 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20206 install-pdf-libbacktrace: \
20207 configure-libbacktrace \
20208 pdf-libbacktrace
20209 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing install-pdf in libbacktrace" ; \
20217 (cd $(HOST_SUBDIR)/libbacktrace && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20222 install-pdf) \
20223 || exit 1
20225 @endif libbacktrace
20227 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20228 maybe-install-html-libbacktrace:
20229 @if libbacktrace
20230 maybe-install-html-libbacktrace: install-html-libbacktrace
20232 install-html-libbacktrace: \
20233 configure-libbacktrace \
20234 html-libbacktrace
20235 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing install-html in libbacktrace" ; \
20243 (cd $(HOST_SUBDIR)/libbacktrace && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20248 install-html) \
20249 || exit 1
20251 @endif libbacktrace
20253 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20254 maybe-installcheck-libbacktrace:
20255 @if libbacktrace
20256 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20258 installcheck-libbacktrace: \
20259 configure-libbacktrace
20260 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20261 r=`${PWD_COMMAND}`; export r; \
20262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20263 $(HOST_EXPORTS) \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20266 done; \
20267 echo "Doing installcheck in libbacktrace" ; \
20268 (cd $(HOST_SUBDIR)/libbacktrace && \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20273 installcheck) \
20274 || exit 1
20276 @endif libbacktrace
20278 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20279 maybe-mostlyclean-libbacktrace:
20280 @if libbacktrace
20281 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20283 mostlyclean-libbacktrace:
20284 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 $(HOST_EXPORTS) \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20290 done; \
20291 echo "Doing mostlyclean in libbacktrace" ; \
20292 (cd $(HOST_SUBDIR)/libbacktrace && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20297 mostlyclean) \
20298 || exit 1
20300 @endif libbacktrace
20302 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20303 maybe-clean-libbacktrace:
20304 @if libbacktrace
20305 maybe-clean-libbacktrace: clean-libbacktrace
20307 clean-libbacktrace:
20308 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20309 r=`${PWD_COMMAND}`; export r; \
20310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20311 $(HOST_EXPORTS) \
20312 for flag in $(EXTRA_HOST_FLAGS) ; do \
20313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20314 done; \
20315 echo "Doing clean in libbacktrace" ; \
20316 (cd $(HOST_SUBDIR)/libbacktrace && \
20317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20319 "RANLIB=$${RANLIB}" \
20320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20321 clean) \
20322 || exit 1
20324 @endif libbacktrace
20326 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20327 maybe-distclean-libbacktrace:
20328 @if libbacktrace
20329 maybe-distclean-libbacktrace: distclean-libbacktrace
20331 distclean-libbacktrace:
20332 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20333 r=`${PWD_COMMAND}`; export r; \
20334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20335 $(HOST_EXPORTS) \
20336 for flag in $(EXTRA_HOST_FLAGS) ; do \
20337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20338 done; \
20339 echo "Doing distclean in libbacktrace" ; \
20340 (cd $(HOST_SUBDIR)/libbacktrace && \
20341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20343 "RANLIB=$${RANLIB}" \
20344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20345 distclean) \
20346 || exit 1
20348 @endif libbacktrace
20350 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20351 maybe-maintainer-clean-libbacktrace:
20352 @if libbacktrace
20353 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20355 maintainer-clean-libbacktrace:
20356 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20357 r=`${PWD_COMMAND}`; export r; \
20358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20359 $(HOST_EXPORTS) \
20360 for flag in $(EXTRA_HOST_FLAGS) ; do \
20361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20362 done; \
20363 echo "Doing maintainer-clean in libbacktrace" ; \
20364 (cd $(HOST_SUBDIR)/libbacktrace && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20367 "RANLIB=$${RANLIB}" \
20368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20369 maintainer-clean) \
20370 || exit 1
20372 @endif libbacktrace
20376 .PHONY: configure-libcpp maybe-configure-libcpp
20377 maybe-configure-libcpp:
20378 @if gcc-bootstrap
20379 configure-libcpp: stage_current
20380 @endif gcc-bootstrap
20381 @if libcpp
20382 maybe-configure-libcpp: configure-libcpp
20383 configure-libcpp:
20384 @r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20388 $(HOST_EXPORTS) \
20389 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20390 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20391 case $(srcdir) in \
20392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20393 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20395 esac; \
20396 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20397 libsrcdir="$$s/libcpp"; \
20398 $(SHELL) $${libsrcdir}/configure \
20399 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20400 --target=${target_alias} $${srcdiroption} \
20401 || exit 1
20402 @endif libcpp
20406 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20407 maybe-configure-stage1-libcpp:
20408 @if libcpp-bootstrap
20409 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20410 configure-stage1-libcpp:
20411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20413 @r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 TFLAGS="$(STAGE1_TFLAGS)"; \
20416 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20417 $(HOST_EXPORTS) \
20418 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20419 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20420 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20421 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20423 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20424 case $(srcdir) in \
20425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20426 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20428 esac; \
20429 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20430 libsrcdir="$$s/libcpp"; \
20431 $(SHELL) $${libsrcdir}/configure \
20432 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20433 --target=${target_alias} $${srcdiroption} \
20434 $(STAGE1_CONFIGURE_FLAGS)
20435 @endif libcpp-bootstrap
20437 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20438 maybe-configure-stage2-libcpp:
20439 @if libcpp-bootstrap
20440 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20441 configure-stage2-libcpp:
20442 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20443 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 TFLAGS="$(STAGE2_TFLAGS)"; \
20447 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20448 $(HOST_EXPORTS) \
20449 $(POSTSTAGE1_HOST_EXPORTS) \
20450 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20451 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20452 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20453 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20455 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20456 case $(srcdir) in \
20457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20458 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20460 esac; \
20461 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20462 libsrcdir="$$s/libcpp"; \
20463 $(SHELL) $${libsrcdir}/configure \
20464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20465 --target=${target_alias} $${srcdiroption} \
20466 --with-build-libsubdir=$(HOST_SUBDIR) \
20467 $(STAGE2_CONFIGURE_FLAGS)
20468 @endif libcpp-bootstrap
20470 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20471 maybe-configure-stage3-libcpp:
20472 @if libcpp-bootstrap
20473 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20474 configure-stage3-libcpp:
20475 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20477 @r=`${PWD_COMMAND}`; export r; \
20478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 TFLAGS="$(STAGE3_TFLAGS)"; \
20480 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20481 $(HOST_EXPORTS) \
20482 $(POSTSTAGE1_HOST_EXPORTS) \
20483 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20484 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20485 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20486 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20488 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20489 case $(srcdir) in \
20490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20491 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20493 esac; \
20494 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20495 libsrcdir="$$s/libcpp"; \
20496 $(SHELL) $${libsrcdir}/configure \
20497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20498 --target=${target_alias} $${srcdiroption} \
20499 --with-build-libsubdir=$(HOST_SUBDIR) \
20500 $(STAGE3_CONFIGURE_FLAGS)
20501 @endif libcpp-bootstrap
20503 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20504 maybe-configure-stage4-libcpp:
20505 @if libcpp-bootstrap
20506 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20507 configure-stage4-libcpp:
20508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20510 @r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 TFLAGS="$(STAGE4_TFLAGS)"; \
20513 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20514 $(HOST_EXPORTS) \
20515 $(POSTSTAGE1_HOST_EXPORTS) \
20516 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20517 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20518 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20519 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20521 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20522 case $(srcdir) in \
20523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20524 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20526 esac; \
20527 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20528 libsrcdir="$$s/libcpp"; \
20529 $(SHELL) $${libsrcdir}/configure \
20530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20531 --target=${target_alias} $${srcdiroption} \
20532 --with-build-libsubdir=$(HOST_SUBDIR) \
20533 $(STAGE4_CONFIGURE_FLAGS)
20534 @endif libcpp-bootstrap
20536 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20537 maybe-configure-stageprofile-libcpp:
20538 @if libcpp-bootstrap
20539 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20540 configure-stageprofile-libcpp:
20541 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20543 @r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20546 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20547 $(HOST_EXPORTS) \
20548 $(POSTSTAGE1_HOST_EXPORTS) \
20549 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20550 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20551 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20552 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20554 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20555 case $(srcdir) in \
20556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20557 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20559 esac; \
20560 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20561 libsrcdir="$$s/libcpp"; \
20562 $(SHELL) $${libsrcdir}/configure \
20563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20564 --target=${target_alias} $${srcdiroption} \
20565 --with-build-libsubdir=$(HOST_SUBDIR) \
20566 $(STAGEprofile_CONFIGURE_FLAGS)
20567 @endif libcpp-bootstrap
20569 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20570 maybe-configure-stagefeedback-libcpp:
20571 @if libcpp-bootstrap
20572 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20573 configure-stagefeedback-libcpp:
20574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20576 @r=`${PWD_COMMAND}`; export r; \
20577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20578 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20579 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20580 $(HOST_EXPORTS) \
20581 $(POSTSTAGE1_HOST_EXPORTS) \
20582 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20585 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20587 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20588 case $(srcdir) in \
20589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20590 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20592 esac; \
20593 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20594 libsrcdir="$$s/libcpp"; \
20595 $(SHELL) $${libsrcdir}/configure \
20596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20597 --target=${target_alias} $${srcdiroption} \
20598 --with-build-libsubdir=$(HOST_SUBDIR) \
20599 $(STAGEfeedback_CONFIGURE_FLAGS)
20600 @endif libcpp-bootstrap
20606 .PHONY: all-libcpp maybe-all-libcpp
20607 maybe-all-libcpp:
20608 @if gcc-bootstrap
20609 all-libcpp: stage_current
20610 @endif gcc-bootstrap
20611 @if libcpp
20612 TARGET-libcpp=all
20613 maybe-all-libcpp: all-libcpp
20614 all-libcpp: configure-libcpp
20615 @r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20617 $(HOST_EXPORTS) \
20618 (cd $(HOST_SUBDIR)/libcpp && \
20619 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20620 $(TARGET-libcpp))
20621 @endif libcpp
20625 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20626 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20627 maybe-all-stage1-libcpp:
20628 maybe-clean-stage1-libcpp:
20629 @if libcpp-bootstrap
20630 maybe-all-stage1-libcpp: all-stage1-libcpp
20631 all-stage1: all-stage1-libcpp
20632 TARGET-stage1-libcpp = $(TARGET-libcpp)
20633 all-stage1-libcpp: configure-stage1-libcpp
20634 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20635 @r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20637 TFLAGS="$(STAGE1_TFLAGS)"; \
20638 $(HOST_EXPORTS) \
20639 cd $(HOST_SUBDIR)/libcpp && \
20640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20641 CFLAGS="$(STAGE1_CFLAGS)" \
20642 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20643 LIBCFLAGS="$(LIBCFLAGS)" \
20644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20647 $(EXTRA_HOST_FLAGS) \
20648 $(STAGE1_FLAGS_TO_PASS) \
20649 TFLAGS="$(STAGE1_TFLAGS)" \
20650 $(TARGET-stage1-libcpp)
20652 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20653 clean-stage1: clean-stage1-libcpp
20654 clean-stage1-libcpp:
20655 @if [ $(current_stage) = stage1 ]; then \
20656 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20657 else \
20658 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20659 $(MAKE) stage1-start; \
20660 fi; \
20661 cd $(HOST_SUBDIR)/libcpp && \
20662 $(MAKE) $(EXTRA_HOST_FLAGS) \
20663 $(STAGE1_FLAGS_TO_PASS) clean
20664 @endif libcpp-bootstrap
20667 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20668 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20669 maybe-all-stage2-libcpp:
20670 maybe-clean-stage2-libcpp:
20671 @if libcpp-bootstrap
20672 maybe-all-stage2-libcpp: all-stage2-libcpp
20673 all-stage2: all-stage2-libcpp
20674 TARGET-stage2-libcpp = $(TARGET-libcpp)
20675 all-stage2-libcpp: configure-stage2-libcpp
20676 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20677 @r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 TFLAGS="$(STAGE2_TFLAGS)"; \
20680 $(HOST_EXPORTS) \
20681 $(POSTSTAGE1_HOST_EXPORTS) \
20682 cd $(HOST_SUBDIR)/libcpp && \
20683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20684 CFLAGS="$(STAGE2_CFLAGS)" \
20685 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20686 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20691 TFLAGS="$(STAGE2_TFLAGS)" \
20692 $(TARGET-stage2-libcpp)
20694 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20695 clean-stage2: clean-stage2-libcpp
20696 clean-stage2-libcpp:
20697 @if [ $(current_stage) = stage2 ]; then \
20698 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20699 else \
20700 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20701 $(MAKE) stage2-start; \
20702 fi; \
20703 cd $(HOST_SUBDIR)/libcpp && \
20704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20705 @endif libcpp-bootstrap
20708 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20709 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20710 maybe-all-stage3-libcpp:
20711 maybe-clean-stage3-libcpp:
20712 @if libcpp-bootstrap
20713 maybe-all-stage3-libcpp: all-stage3-libcpp
20714 all-stage3: all-stage3-libcpp
20715 TARGET-stage3-libcpp = $(TARGET-libcpp)
20716 all-stage3-libcpp: configure-stage3-libcpp
20717 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20718 @r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720 TFLAGS="$(STAGE3_TFLAGS)"; \
20721 $(HOST_EXPORTS) \
20722 $(POSTSTAGE1_HOST_EXPORTS) \
20723 cd $(HOST_SUBDIR)/libcpp && \
20724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20725 CFLAGS="$(STAGE3_CFLAGS)" \
20726 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20727 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20731 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20732 TFLAGS="$(STAGE3_TFLAGS)" \
20733 $(TARGET-stage3-libcpp)
20735 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20736 clean-stage3: clean-stage3-libcpp
20737 clean-stage3-libcpp:
20738 @if [ $(current_stage) = stage3 ]; then \
20739 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20740 else \
20741 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20742 $(MAKE) stage3-start; \
20743 fi; \
20744 cd $(HOST_SUBDIR)/libcpp && \
20745 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20746 @endif libcpp-bootstrap
20749 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20750 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20751 maybe-all-stage4-libcpp:
20752 maybe-clean-stage4-libcpp:
20753 @if libcpp-bootstrap
20754 maybe-all-stage4-libcpp: all-stage4-libcpp
20755 all-stage4: all-stage4-libcpp
20756 TARGET-stage4-libcpp = $(TARGET-libcpp)
20757 all-stage4-libcpp: configure-stage4-libcpp
20758 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20759 @r=`${PWD_COMMAND}`; export r; \
20760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20761 TFLAGS="$(STAGE4_TFLAGS)"; \
20762 $(HOST_EXPORTS) \
20763 $(POSTSTAGE1_HOST_EXPORTS) \
20764 cd $(HOST_SUBDIR)/libcpp && \
20765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20766 CFLAGS="$(STAGE4_CFLAGS)" \
20767 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20768 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20772 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20773 TFLAGS="$(STAGE4_TFLAGS)" \
20774 $(TARGET-stage4-libcpp)
20776 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20777 clean-stage4: clean-stage4-libcpp
20778 clean-stage4-libcpp:
20779 @if [ $(current_stage) = stage4 ]; then \
20780 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20781 else \
20782 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20783 $(MAKE) stage4-start; \
20784 fi; \
20785 cd $(HOST_SUBDIR)/libcpp && \
20786 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20787 @endif libcpp-bootstrap
20790 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20791 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20792 maybe-all-stageprofile-libcpp:
20793 maybe-clean-stageprofile-libcpp:
20794 @if libcpp-bootstrap
20795 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20796 all-stageprofile: all-stageprofile-libcpp
20797 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20798 all-stageprofile-libcpp: configure-stageprofile-libcpp
20799 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20800 @r=`${PWD_COMMAND}`; export r; \
20801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20802 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20803 $(HOST_EXPORTS) \
20804 $(POSTSTAGE1_HOST_EXPORTS) \
20805 cd $(HOST_SUBDIR)/libcpp && \
20806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20807 CFLAGS="$(STAGEprofile_CFLAGS)" \
20808 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20809 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20814 TFLAGS="$(STAGEprofile_TFLAGS)" \
20815 $(TARGET-stageprofile-libcpp)
20817 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20818 clean-stageprofile: clean-stageprofile-libcpp
20819 clean-stageprofile-libcpp:
20820 @if [ $(current_stage) = stageprofile ]; then \
20821 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20822 else \
20823 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20824 $(MAKE) stageprofile-start; \
20825 fi; \
20826 cd $(HOST_SUBDIR)/libcpp && \
20827 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20828 @endif libcpp-bootstrap
20831 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20832 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20833 maybe-all-stagefeedback-libcpp:
20834 maybe-clean-stagefeedback-libcpp:
20835 @if libcpp-bootstrap
20836 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20837 all-stagefeedback: all-stagefeedback-libcpp
20838 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20839 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20840 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20841 @r=`${PWD_COMMAND}`; export r; \
20842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20843 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20844 $(HOST_EXPORTS) \
20845 $(POSTSTAGE1_HOST_EXPORTS) \
20846 cd $(HOST_SUBDIR)/libcpp && \
20847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20848 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20849 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20850 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20855 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20856 $(TARGET-stagefeedback-libcpp)
20858 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20859 clean-stagefeedback: clean-stagefeedback-libcpp
20860 clean-stagefeedback-libcpp:
20861 @if [ $(current_stage) = stagefeedback ]; then \
20862 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20863 else \
20864 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20865 $(MAKE) stagefeedback-start; \
20866 fi; \
20867 cd $(HOST_SUBDIR)/libcpp && \
20868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20869 @endif libcpp-bootstrap
20875 .PHONY: check-libcpp maybe-check-libcpp
20876 maybe-check-libcpp:
20877 @if libcpp
20878 maybe-check-libcpp: check-libcpp
20880 check-libcpp:
20881 @: $(MAKE); $(unstage)
20882 @r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 (cd $(HOST_SUBDIR)/libcpp && \
20886 $(MAKE) $(FLAGS_TO_PASS) check)
20888 @endif libcpp
20890 .PHONY: install-libcpp maybe-install-libcpp
20891 maybe-install-libcpp:
20892 @if libcpp
20893 maybe-install-libcpp: install-libcpp
20895 install-libcpp: installdirs
20896 @: $(MAKE); $(unstage)
20897 @r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 (cd $(HOST_SUBDIR)/libcpp && \
20901 $(MAKE) $(FLAGS_TO_PASS) install)
20903 @endif libcpp
20905 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20906 maybe-install-strip-libcpp:
20907 @if libcpp
20908 maybe-install-strip-libcpp: install-strip-libcpp
20910 install-strip-libcpp: installdirs
20911 @: $(MAKE); $(unstage)
20912 @r=`${PWD_COMMAND}`; export r; \
20913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20914 $(HOST_EXPORTS) \
20915 (cd $(HOST_SUBDIR)/libcpp && \
20916 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20918 @endif libcpp
20920 # Other targets (info, dvi, pdf, etc.)
20922 .PHONY: maybe-info-libcpp info-libcpp
20923 maybe-info-libcpp:
20924 @if libcpp
20925 maybe-info-libcpp: info-libcpp
20927 info-libcpp: \
20928 configure-libcpp
20929 @[ -f ./libcpp/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 for flag in $(EXTRA_HOST_FLAGS) ; do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20935 done; \
20936 echo "Doing info in libcpp" ; \
20937 (cd $(HOST_SUBDIR)/libcpp && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20942 info) \
20943 || exit 1
20945 @endif libcpp
20947 .PHONY: maybe-dvi-libcpp dvi-libcpp
20948 maybe-dvi-libcpp:
20949 @if libcpp
20950 maybe-dvi-libcpp: dvi-libcpp
20952 dvi-libcpp: \
20953 configure-libcpp
20954 @[ -f ./libcpp/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960 done; \
20961 echo "Doing dvi in libcpp" ; \
20962 (cd $(HOST_SUBDIR)/libcpp && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20967 dvi) \
20968 || exit 1
20970 @endif libcpp
20972 .PHONY: maybe-pdf-libcpp pdf-libcpp
20973 maybe-pdf-libcpp:
20974 @if libcpp
20975 maybe-pdf-libcpp: pdf-libcpp
20977 pdf-libcpp: \
20978 configure-libcpp
20979 @[ -f ./libcpp/Makefile ] || exit 0; \
20980 r=`${PWD_COMMAND}`; export r; \
20981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20982 $(HOST_EXPORTS) \
20983 for flag in $(EXTRA_HOST_FLAGS) ; do \
20984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20985 done; \
20986 echo "Doing pdf in libcpp" ; \
20987 (cd $(HOST_SUBDIR)/libcpp && \
20988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20990 "RANLIB=$${RANLIB}" \
20991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20992 pdf) \
20993 || exit 1
20995 @endif libcpp
20997 .PHONY: maybe-html-libcpp html-libcpp
20998 maybe-html-libcpp:
20999 @if libcpp
21000 maybe-html-libcpp: html-libcpp
21002 html-libcpp: \
21003 configure-libcpp
21004 @[ -f ./libcpp/Makefile ] || exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007 $(HOST_EXPORTS) \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21010 done; \
21011 echo "Doing html in libcpp" ; \
21012 (cd $(HOST_SUBDIR)/libcpp && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21017 html) \
21018 || exit 1
21020 @endif libcpp
21022 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21023 maybe-TAGS-libcpp:
21024 @if libcpp
21025 maybe-TAGS-libcpp: TAGS-libcpp
21027 TAGS-libcpp: \
21028 configure-libcpp
21029 @[ -f ./libcpp/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(HOST_EXPORTS) \
21033 for flag in $(EXTRA_HOST_FLAGS) ; do \
21034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21035 done; \
21036 echo "Doing TAGS in libcpp" ; \
21037 (cd $(HOST_SUBDIR)/libcpp && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21040 "RANLIB=$${RANLIB}" \
21041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21042 TAGS) \
21043 || exit 1
21045 @endif libcpp
21047 .PHONY: maybe-install-info-libcpp install-info-libcpp
21048 maybe-install-info-libcpp:
21049 @if libcpp
21050 maybe-install-info-libcpp: install-info-libcpp
21052 install-info-libcpp: \
21053 configure-libcpp \
21054 info-libcpp
21055 @[ -f ./libcpp/Makefile ] || exit 0; \
21056 r=`${PWD_COMMAND}`; export r; \
21057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21058 $(HOST_EXPORTS) \
21059 for flag in $(EXTRA_HOST_FLAGS) ; do \
21060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21061 done; \
21062 echo "Doing install-info in libcpp" ; \
21063 (cd $(HOST_SUBDIR)/libcpp && \
21064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21066 "RANLIB=$${RANLIB}" \
21067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21068 install-info) \
21069 || exit 1
21071 @endif libcpp
21073 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21074 maybe-install-pdf-libcpp:
21075 @if libcpp
21076 maybe-install-pdf-libcpp: install-pdf-libcpp
21078 install-pdf-libcpp: \
21079 configure-libcpp \
21080 pdf-libcpp
21081 @[ -f ./libcpp/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21084 $(HOST_EXPORTS) \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21087 done; \
21088 echo "Doing install-pdf in libcpp" ; \
21089 (cd $(HOST_SUBDIR)/libcpp && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21094 install-pdf) \
21095 || exit 1
21097 @endif libcpp
21099 .PHONY: maybe-install-html-libcpp install-html-libcpp
21100 maybe-install-html-libcpp:
21101 @if libcpp
21102 maybe-install-html-libcpp: install-html-libcpp
21104 install-html-libcpp: \
21105 configure-libcpp \
21106 html-libcpp
21107 @[ -f ./libcpp/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(HOST_EXPORTS) \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21113 done; \
21114 echo "Doing install-html in libcpp" ; \
21115 (cd $(HOST_SUBDIR)/libcpp && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21120 install-html) \
21121 || exit 1
21123 @endif libcpp
21125 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21126 maybe-installcheck-libcpp:
21127 @if libcpp
21128 maybe-installcheck-libcpp: installcheck-libcpp
21130 installcheck-libcpp: \
21131 configure-libcpp
21132 @[ -f ./libcpp/Makefile ] || exit 0; \
21133 r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21135 $(HOST_EXPORTS) \
21136 for flag in $(EXTRA_HOST_FLAGS) ; do \
21137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21138 done; \
21139 echo "Doing installcheck in libcpp" ; \
21140 (cd $(HOST_SUBDIR)/libcpp && \
21141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21143 "RANLIB=$${RANLIB}" \
21144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21145 installcheck) \
21146 || exit 1
21148 @endif libcpp
21150 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21151 maybe-mostlyclean-libcpp:
21152 @if libcpp
21153 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21155 mostlyclean-libcpp:
21156 @[ -f ./libcpp/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21159 $(HOST_EXPORTS) \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21162 done; \
21163 echo "Doing mostlyclean in libcpp" ; \
21164 (cd $(HOST_SUBDIR)/libcpp && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21169 mostlyclean) \
21170 || exit 1
21172 @endif libcpp
21174 .PHONY: maybe-clean-libcpp clean-libcpp
21175 maybe-clean-libcpp:
21176 @if libcpp
21177 maybe-clean-libcpp: clean-libcpp
21179 clean-libcpp:
21180 @[ -f ./libcpp/Makefile ] || exit 0; \
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21183 $(HOST_EXPORTS) \
21184 for flag in $(EXTRA_HOST_FLAGS) ; do \
21185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21186 done; \
21187 echo "Doing clean in libcpp" ; \
21188 (cd $(HOST_SUBDIR)/libcpp && \
21189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21191 "RANLIB=$${RANLIB}" \
21192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21193 clean) \
21194 || exit 1
21196 @endif libcpp
21198 .PHONY: maybe-distclean-libcpp distclean-libcpp
21199 maybe-distclean-libcpp:
21200 @if libcpp
21201 maybe-distclean-libcpp: distclean-libcpp
21203 distclean-libcpp:
21204 @[ -f ./libcpp/Makefile ] || exit 0; \
21205 r=`${PWD_COMMAND}`; export r; \
21206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21207 $(HOST_EXPORTS) \
21208 for flag in $(EXTRA_HOST_FLAGS) ; do \
21209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21210 done; \
21211 echo "Doing distclean in libcpp" ; \
21212 (cd $(HOST_SUBDIR)/libcpp && \
21213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21215 "RANLIB=$${RANLIB}" \
21216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21217 distclean) \
21218 || exit 1
21220 @endif libcpp
21222 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21223 maybe-maintainer-clean-libcpp:
21224 @if libcpp
21225 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21227 maintainer-clean-libcpp:
21228 @[ -f ./libcpp/Makefile ] || exit 0; \
21229 r=`${PWD_COMMAND}`; export r; \
21230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21231 $(HOST_EXPORTS) \
21232 for flag in $(EXTRA_HOST_FLAGS) ; do \
21233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21234 done; \
21235 echo "Doing maintainer-clean in libcpp" ; \
21236 (cd $(HOST_SUBDIR)/libcpp && \
21237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21239 "RANLIB=$${RANLIB}" \
21240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21241 maintainer-clean) \
21242 || exit 1
21244 @endif libcpp
21248 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21249 maybe-configure-libdecnumber:
21250 @if gcc-bootstrap
21251 configure-libdecnumber: stage_current
21252 @endif gcc-bootstrap
21253 @if libdecnumber
21254 maybe-configure-libdecnumber: configure-libdecnumber
21255 configure-libdecnumber:
21256 @r=`${PWD_COMMAND}`; export r; \
21257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21260 $(HOST_EXPORTS) \
21261 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21262 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21263 case $(srcdir) in \
21264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21265 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21267 esac; \
21268 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21269 libsrcdir="$$s/libdecnumber"; \
21270 $(SHELL) $${libsrcdir}/configure \
21271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21272 --target=${target_alias} $${srcdiroption} \
21273 || exit 1
21274 @endif libdecnumber
21278 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21279 maybe-configure-stage1-libdecnumber:
21280 @if libdecnumber-bootstrap
21281 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21282 configure-stage1-libdecnumber:
21283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 TFLAGS="$(STAGE1_TFLAGS)"; \
21288 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21289 $(HOST_EXPORTS) \
21290 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21291 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21292 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21293 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21295 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21296 case $(srcdir) in \
21297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21298 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21300 esac; \
21301 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21302 libsrcdir="$$s/libdecnumber"; \
21303 $(SHELL) $${libsrcdir}/configure \
21304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21305 --target=${target_alias} $${srcdiroption} \
21306 $(STAGE1_CONFIGURE_FLAGS)
21307 @endif libdecnumber-bootstrap
21309 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21310 maybe-configure-stage2-libdecnumber:
21311 @if libdecnumber-bootstrap
21312 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21313 configure-stage2-libdecnumber:
21314 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21316 @r=`${PWD_COMMAND}`; export r; \
21317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21318 TFLAGS="$(STAGE2_TFLAGS)"; \
21319 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21320 $(HOST_EXPORTS) \
21321 $(POSTSTAGE1_HOST_EXPORTS) \
21322 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21323 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21324 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21325 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21327 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21328 case $(srcdir) in \
21329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21330 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21332 esac; \
21333 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21334 libsrcdir="$$s/libdecnumber"; \
21335 $(SHELL) $${libsrcdir}/configure \
21336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21337 --target=${target_alias} $${srcdiroption} \
21338 --with-build-libsubdir=$(HOST_SUBDIR) \
21339 $(STAGE2_CONFIGURE_FLAGS)
21340 @endif libdecnumber-bootstrap
21342 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21343 maybe-configure-stage3-libdecnumber:
21344 @if libdecnumber-bootstrap
21345 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21346 configure-stage3-libdecnumber:
21347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21349 @r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 TFLAGS="$(STAGE3_TFLAGS)"; \
21352 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21353 $(HOST_EXPORTS) \
21354 $(POSTSTAGE1_HOST_EXPORTS) \
21355 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21356 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21357 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21358 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21360 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21361 case $(srcdir) in \
21362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21363 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21365 esac; \
21366 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21367 libsrcdir="$$s/libdecnumber"; \
21368 $(SHELL) $${libsrcdir}/configure \
21369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21370 --target=${target_alias} $${srcdiroption} \
21371 --with-build-libsubdir=$(HOST_SUBDIR) \
21372 $(STAGE3_CONFIGURE_FLAGS)
21373 @endif libdecnumber-bootstrap
21375 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21376 maybe-configure-stage4-libdecnumber:
21377 @if libdecnumber-bootstrap
21378 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21379 configure-stage4-libdecnumber:
21380 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21382 @r=`${PWD_COMMAND}`; export r; \
21383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21384 TFLAGS="$(STAGE4_TFLAGS)"; \
21385 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21386 $(HOST_EXPORTS) \
21387 $(POSTSTAGE1_HOST_EXPORTS) \
21388 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21389 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21390 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21391 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21393 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21394 case $(srcdir) in \
21395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21396 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21398 esac; \
21399 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21400 libsrcdir="$$s/libdecnumber"; \
21401 $(SHELL) $${libsrcdir}/configure \
21402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21403 --target=${target_alias} $${srcdiroption} \
21404 --with-build-libsubdir=$(HOST_SUBDIR) \
21405 $(STAGE4_CONFIGURE_FLAGS)
21406 @endif libdecnumber-bootstrap
21408 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21409 maybe-configure-stageprofile-libdecnumber:
21410 @if libdecnumber-bootstrap
21411 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21412 configure-stageprofile-libdecnumber:
21413 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21415 @r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21418 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21419 $(HOST_EXPORTS) \
21420 $(POSTSTAGE1_HOST_EXPORTS) \
21421 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21422 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21423 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21424 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21426 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21427 case $(srcdir) in \
21428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21429 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21431 esac; \
21432 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21433 libsrcdir="$$s/libdecnumber"; \
21434 $(SHELL) $${libsrcdir}/configure \
21435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21436 --target=${target_alias} $${srcdiroption} \
21437 --with-build-libsubdir=$(HOST_SUBDIR) \
21438 $(STAGEprofile_CONFIGURE_FLAGS)
21439 @endif libdecnumber-bootstrap
21441 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21442 maybe-configure-stagefeedback-libdecnumber:
21443 @if libdecnumber-bootstrap
21444 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21445 configure-stagefeedback-libdecnumber:
21446 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21448 @r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21451 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21452 $(HOST_EXPORTS) \
21453 $(POSTSTAGE1_HOST_EXPORTS) \
21454 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21455 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21456 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21457 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21459 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21460 case $(srcdir) in \
21461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21462 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21464 esac; \
21465 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21466 libsrcdir="$$s/libdecnumber"; \
21467 $(SHELL) $${libsrcdir}/configure \
21468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21469 --target=${target_alias} $${srcdiroption} \
21470 --with-build-libsubdir=$(HOST_SUBDIR) \
21471 $(STAGEfeedback_CONFIGURE_FLAGS)
21472 @endif libdecnumber-bootstrap
21478 .PHONY: all-libdecnumber maybe-all-libdecnumber
21479 maybe-all-libdecnumber:
21480 @if gcc-bootstrap
21481 all-libdecnumber: stage_current
21482 @endif gcc-bootstrap
21483 @if libdecnumber
21484 TARGET-libdecnumber=all
21485 maybe-all-libdecnumber: all-libdecnumber
21486 all-libdecnumber: configure-libdecnumber
21487 @r=`${PWD_COMMAND}`; export r; \
21488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21489 $(HOST_EXPORTS) \
21490 (cd $(HOST_SUBDIR)/libdecnumber && \
21491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21492 $(TARGET-libdecnumber))
21493 @endif libdecnumber
21497 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21498 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21499 maybe-all-stage1-libdecnumber:
21500 maybe-clean-stage1-libdecnumber:
21501 @if libdecnumber-bootstrap
21502 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21503 all-stage1: all-stage1-libdecnumber
21504 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21505 all-stage1-libdecnumber: configure-stage1-libdecnumber
21506 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21507 @r=`${PWD_COMMAND}`; export r; \
21508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21509 TFLAGS="$(STAGE1_TFLAGS)"; \
21510 $(HOST_EXPORTS) \
21511 cd $(HOST_SUBDIR)/libdecnumber && \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21513 CFLAGS="$(STAGE1_CFLAGS)" \
21514 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21515 LIBCFLAGS="$(LIBCFLAGS)" \
21516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21519 $(EXTRA_HOST_FLAGS) \
21520 $(STAGE1_FLAGS_TO_PASS) \
21521 TFLAGS="$(STAGE1_TFLAGS)" \
21522 $(TARGET-stage1-libdecnumber)
21524 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21525 clean-stage1: clean-stage1-libdecnumber
21526 clean-stage1-libdecnumber:
21527 @if [ $(current_stage) = stage1 ]; then \
21528 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21529 else \
21530 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21531 $(MAKE) stage1-start; \
21532 fi; \
21533 cd $(HOST_SUBDIR)/libdecnumber && \
21534 $(MAKE) $(EXTRA_HOST_FLAGS) \
21535 $(STAGE1_FLAGS_TO_PASS) clean
21536 @endif libdecnumber-bootstrap
21539 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21540 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21541 maybe-all-stage2-libdecnumber:
21542 maybe-clean-stage2-libdecnumber:
21543 @if libdecnumber-bootstrap
21544 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21545 all-stage2: all-stage2-libdecnumber
21546 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21547 all-stage2-libdecnumber: configure-stage2-libdecnumber
21548 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21549 @r=`${PWD_COMMAND}`; export r; \
21550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 TFLAGS="$(STAGE2_TFLAGS)"; \
21552 $(HOST_EXPORTS) \
21553 $(POSTSTAGE1_HOST_EXPORTS) \
21554 cd $(HOST_SUBDIR)/libdecnumber && \
21555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21556 CFLAGS="$(STAGE2_CFLAGS)" \
21557 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21558 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21563 TFLAGS="$(STAGE2_TFLAGS)" \
21564 $(TARGET-stage2-libdecnumber)
21566 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21567 clean-stage2: clean-stage2-libdecnumber
21568 clean-stage2-libdecnumber:
21569 @if [ $(current_stage) = stage2 ]; then \
21570 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21571 else \
21572 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21573 $(MAKE) stage2-start; \
21574 fi; \
21575 cd $(HOST_SUBDIR)/libdecnumber && \
21576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21577 @endif libdecnumber-bootstrap
21580 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21581 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21582 maybe-all-stage3-libdecnumber:
21583 maybe-clean-stage3-libdecnumber:
21584 @if libdecnumber-bootstrap
21585 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21586 all-stage3: all-stage3-libdecnumber
21587 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21588 all-stage3-libdecnumber: configure-stage3-libdecnumber
21589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21590 @r=`${PWD_COMMAND}`; export r; \
21591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21592 TFLAGS="$(STAGE3_TFLAGS)"; \
21593 $(HOST_EXPORTS) \
21594 $(POSTSTAGE1_HOST_EXPORTS) \
21595 cd $(HOST_SUBDIR)/libdecnumber && \
21596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21597 CFLAGS="$(STAGE3_CFLAGS)" \
21598 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21599 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21604 TFLAGS="$(STAGE3_TFLAGS)" \
21605 $(TARGET-stage3-libdecnumber)
21607 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21608 clean-stage3: clean-stage3-libdecnumber
21609 clean-stage3-libdecnumber:
21610 @if [ $(current_stage) = stage3 ]; then \
21611 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21612 else \
21613 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21614 $(MAKE) stage3-start; \
21615 fi; \
21616 cd $(HOST_SUBDIR)/libdecnumber && \
21617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21618 @endif libdecnumber-bootstrap
21621 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21622 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21623 maybe-all-stage4-libdecnumber:
21624 maybe-clean-stage4-libdecnumber:
21625 @if libdecnumber-bootstrap
21626 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21627 all-stage4: all-stage4-libdecnumber
21628 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21629 all-stage4-libdecnumber: configure-stage4-libdecnumber
21630 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21631 @r=`${PWD_COMMAND}`; export r; \
21632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633 TFLAGS="$(STAGE4_TFLAGS)"; \
21634 $(HOST_EXPORTS) \
21635 $(POSTSTAGE1_HOST_EXPORTS) \
21636 cd $(HOST_SUBDIR)/libdecnumber && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21638 CFLAGS="$(STAGE4_CFLAGS)" \
21639 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21640 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21645 TFLAGS="$(STAGE4_TFLAGS)" \
21646 $(TARGET-stage4-libdecnumber)
21648 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21649 clean-stage4: clean-stage4-libdecnumber
21650 clean-stage4-libdecnumber:
21651 @if [ $(current_stage) = stage4 ]; then \
21652 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21653 else \
21654 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21655 $(MAKE) stage4-start; \
21656 fi; \
21657 cd $(HOST_SUBDIR)/libdecnumber && \
21658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21659 @endif libdecnumber-bootstrap
21662 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21663 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21664 maybe-all-stageprofile-libdecnumber:
21665 maybe-clean-stageprofile-libdecnumber:
21666 @if libdecnumber-bootstrap
21667 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21668 all-stageprofile: all-stageprofile-libdecnumber
21669 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21670 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21671 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21672 @r=`${PWD_COMMAND}`; export r; \
21673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21675 $(HOST_EXPORTS) \
21676 $(POSTSTAGE1_HOST_EXPORTS) \
21677 cd $(HOST_SUBDIR)/libdecnumber && \
21678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21679 CFLAGS="$(STAGEprofile_CFLAGS)" \
21680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21681 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21686 TFLAGS="$(STAGEprofile_TFLAGS)" \
21687 $(TARGET-stageprofile-libdecnumber)
21689 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21690 clean-stageprofile: clean-stageprofile-libdecnumber
21691 clean-stageprofile-libdecnumber:
21692 @if [ $(current_stage) = stageprofile ]; then \
21693 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21694 else \
21695 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21696 $(MAKE) stageprofile-start; \
21697 fi; \
21698 cd $(HOST_SUBDIR)/libdecnumber && \
21699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21700 @endif libdecnumber-bootstrap
21703 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21704 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21705 maybe-all-stagefeedback-libdecnumber:
21706 maybe-clean-stagefeedback-libdecnumber:
21707 @if libdecnumber-bootstrap
21708 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21709 all-stagefeedback: all-stagefeedback-libdecnumber
21710 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21711 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21712 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21713 @r=`${PWD_COMMAND}`; export r; \
21714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21716 $(HOST_EXPORTS) \
21717 $(POSTSTAGE1_HOST_EXPORTS) \
21718 cd $(HOST_SUBDIR)/libdecnumber && \
21719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21720 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21721 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21722 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21723 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21724 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21725 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21726 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21727 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21728 $(TARGET-stagefeedback-libdecnumber)
21730 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21731 clean-stagefeedback: clean-stagefeedback-libdecnumber
21732 clean-stagefeedback-libdecnumber:
21733 @if [ $(current_stage) = stagefeedback ]; then \
21734 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21735 else \
21736 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21737 $(MAKE) stagefeedback-start; \
21738 fi; \
21739 cd $(HOST_SUBDIR)/libdecnumber && \
21740 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21741 @endif libdecnumber-bootstrap
21747 .PHONY: check-libdecnumber maybe-check-libdecnumber
21748 maybe-check-libdecnumber:
21749 @if libdecnumber
21750 maybe-check-libdecnumber: check-libdecnumber
21752 check-libdecnumber:
21753 @: $(MAKE); $(unstage)
21754 @r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(HOST_EXPORTS) \
21757 (cd $(HOST_SUBDIR)/libdecnumber && \
21758 $(MAKE) $(FLAGS_TO_PASS) check)
21760 @endif libdecnumber
21762 .PHONY: install-libdecnumber maybe-install-libdecnumber
21763 maybe-install-libdecnumber:
21764 @if libdecnumber
21765 maybe-install-libdecnumber: install-libdecnumber
21767 install-libdecnumber: installdirs
21768 @: $(MAKE); $(unstage)
21769 @r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21771 $(HOST_EXPORTS) \
21772 (cd $(HOST_SUBDIR)/libdecnumber && \
21773 $(MAKE) $(FLAGS_TO_PASS) install)
21775 @endif libdecnumber
21777 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21778 maybe-install-strip-libdecnumber:
21779 @if libdecnumber
21780 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21782 install-strip-libdecnumber: installdirs
21783 @: $(MAKE); $(unstage)
21784 @r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 $(HOST_EXPORTS) \
21787 (cd $(HOST_SUBDIR)/libdecnumber && \
21788 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21790 @endif libdecnumber
21792 # Other targets (info, dvi, pdf, etc.)
21794 .PHONY: maybe-info-libdecnumber info-libdecnumber
21795 maybe-info-libdecnumber:
21796 @if libdecnumber
21797 maybe-info-libdecnumber: info-libdecnumber
21799 info-libdecnumber: \
21800 configure-libdecnumber
21801 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 $(HOST_EXPORTS) \
21805 for flag in $(EXTRA_HOST_FLAGS) ; do \
21806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21807 done; \
21808 echo "Doing info in libdecnumber" ; \
21809 (cd $(HOST_SUBDIR)/libdecnumber && \
21810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812 "RANLIB=$${RANLIB}" \
21813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21814 info) \
21815 || exit 1
21817 @endif libdecnumber
21819 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21820 maybe-dvi-libdecnumber:
21821 @if libdecnumber
21822 maybe-dvi-libdecnumber: dvi-libdecnumber
21824 dvi-libdecnumber: \
21825 configure-libdecnumber
21826 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21827 r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 $(HOST_EXPORTS) \
21830 for flag in $(EXTRA_HOST_FLAGS) ; do \
21831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832 done; \
21833 echo "Doing dvi in libdecnumber" ; \
21834 (cd $(HOST_SUBDIR)/libdecnumber && \
21835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21837 "RANLIB=$${RANLIB}" \
21838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21839 dvi) \
21840 || exit 1
21842 @endif libdecnumber
21844 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21845 maybe-pdf-libdecnumber:
21846 @if libdecnumber
21847 maybe-pdf-libdecnumber: pdf-libdecnumber
21849 pdf-libdecnumber: \
21850 configure-libdecnumber
21851 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21852 r=`${PWD_COMMAND}`; export r; \
21853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21854 $(HOST_EXPORTS) \
21855 for flag in $(EXTRA_HOST_FLAGS) ; do \
21856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21857 done; \
21858 echo "Doing pdf in libdecnumber" ; \
21859 (cd $(HOST_SUBDIR)/libdecnumber && \
21860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21862 "RANLIB=$${RANLIB}" \
21863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21864 pdf) \
21865 || exit 1
21867 @endif libdecnumber
21869 .PHONY: maybe-html-libdecnumber html-libdecnumber
21870 maybe-html-libdecnumber:
21871 @if libdecnumber
21872 maybe-html-libdecnumber: html-libdecnumber
21874 html-libdecnumber: \
21875 configure-libdecnumber
21876 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing html in libdecnumber" ; \
21884 (cd $(HOST_SUBDIR)/libdecnumber && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21889 html) \
21890 || exit 1
21892 @endif libdecnumber
21894 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21895 maybe-TAGS-libdecnumber:
21896 @if libdecnumber
21897 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21899 TAGS-libdecnumber: \
21900 configure-libdecnumber
21901 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21902 r=`${PWD_COMMAND}`; export r; \
21903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21904 $(HOST_EXPORTS) \
21905 for flag in $(EXTRA_HOST_FLAGS) ; do \
21906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21907 done; \
21908 echo "Doing TAGS in libdecnumber" ; \
21909 (cd $(HOST_SUBDIR)/libdecnumber && \
21910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21912 "RANLIB=$${RANLIB}" \
21913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21914 TAGS) \
21915 || exit 1
21917 @endif libdecnumber
21919 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21920 maybe-install-info-libdecnumber:
21921 @if libdecnumber
21922 maybe-install-info-libdecnumber: install-info-libdecnumber
21924 install-info-libdecnumber: \
21925 configure-libdecnumber \
21926 info-libdecnumber
21927 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(HOST_EXPORTS) \
21931 for flag in $(EXTRA_HOST_FLAGS) ; do \
21932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21933 done; \
21934 echo "Doing install-info in libdecnumber" ; \
21935 (cd $(HOST_SUBDIR)/libdecnumber && \
21936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21938 "RANLIB=$${RANLIB}" \
21939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21940 install-info) \
21941 || exit 1
21943 @endif libdecnumber
21945 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21946 maybe-install-pdf-libdecnumber:
21947 @if libdecnumber
21948 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21950 install-pdf-libdecnumber: \
21951 configure-libdecnumber \
21952 pdf-libdecnumber
21953 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21954 r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 $(HOST_EXPORTS) \
21957 for flag in $(EXTRA_HOST_FLAGS) ; do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959 done; \
21960 echo "Doing install-pdf in libdecnumber" ; \
21961 (cd $(HOST_SUBDIR)/libdecnumber && \
21962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21964 "RANLIB=$${RANLIB}" \
21965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21966 install-pdf) \
21967 || exit 1
21969 @endif libdecnumber
21971 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21972 maybe-install-html-libdecnumber:
21973 @if libdecnumber
21974 maybe-install-html-libdecnumber: install-html-libdecnumber
21976 install-html-libdecnumber: \
21977 configure-libdecnumber \
21978 html-libdecnumber
21979 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21980 r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982 $(HOST_EXPORTS) \
21983 for flag in $(EXTRA_HOST_FLAGS) ; do \
21984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21985 done; \
21986 echo "Doing install-html in libdecnumber" ; \
21987 (cd $(HOST_SUBDIR)/libdecnumber && \
21988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21990 "RANLIB=$${RANLIB}" \
21991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21992 install-html) \
21993 || exit 1
21995 @endif libdecnumber
21997 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21998 maybe-installcheck-libdecnumber:
21999 @if libdecnumber
22000 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22002 installcheck-libdecnumber: \
22003 configure-libdecnumber
22004 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22005 r=`${PWD_COMMAND}`; export r; \
22006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22007 $(HOST_EXPORTS) \
22008 for flag in $(EXTRA_HOST_FLAGS) ; do \
22009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22010 done; \
22011 echo "Doing installcheck in libdecnumber" ; \
22012 (cd $(HOST_SUBDIR)/libdecnumber && \
22013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22015 "RANLIB=$${RANLIB}" \
22016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22017 installcheck) \
22018 || exit 1
22020 @endif libdecnumber
22022 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22023 maybe-mostlyclean-libdecnumber:
22024 @if libdecnumber
22025 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22027 mostlyclean-libdecnumber:
22028 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22029 r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 $(HOST_EXPORTS) \
22032 for flag in $(EXTRA_HOST_FLAGS) ; do \
22033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22034 done; \
22035 echo "Doing mostlyclean in libdecnumber" ; \
22036 (cd $(HOST_SUBDIR)/libdecnumber && \
22037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22039 "RANLIB=$${RANLIB}" \
22040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22041 mostlyclean) \
22042 || exit 1
22044 @endif libdecnumber
22046 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22047 maybe-clean-libdecnumber:
22048 @if libdecnumber
22049 maybe-clean-libdecnumber: clean-libdecnumber
22051 clean-libdecnumber:
22052 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22053 r=`${PWD_COMMAND}`; export r; \
22054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22055 $(HOST_EXPORTS) \
22056 for flag in $(EXTRA_HOST_FLAGS) ; do \
22057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22058 done; \
22059 echo "Doing clean in libdecnumber" ; \
22060 (cd $(HOST_SUBDIR)/libdecnumber && \
22061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22063 "RANLIB=$${RANLIB}" \
22064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22065 clean) \
22066 || exit 1
22068 @endif libdecnumber
22070 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22071 maybe-distclean-libdecnumber:
22072 @if libdecnumber
22073 maybe-distclean-libdecnumber: distclean-libdecnumber
22075 distclean-libdecnumber:
22076 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(HOST_EXPORTS) \
22080 for flag in $(EXTRA_HOST_FLAGS) ; do \
22081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22082 done; \
22083 echo "Doing distclean in libdecnumber" ; \
22084 (cd $(HOST_SUBDIR)/libdecnumber && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22087 "RANLIB=$${RANLIB}" \
22088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22089 distclean) \
22090 || exit 1
22092 @endif libdecnumber
22094 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22095 maybe-maintainer-clean-libdecnumber:
22096 @if libdecnumber
22097 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22099 maintainer-clean-libdecnumber:
22100 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22101 r=`${PWD_COMMAND}`; export r; \
22102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22103 $(HOST_EXPORTS) \
22104 for flag in $(EXTRA_HOST_FLAGS) ; do \
22105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22106 done; \
22107 echo "Doing maintainer-clean in libdecnumber" ; \
22108 (cd $(HOST_SUBDIR)/libdecnumber && \
22109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22111 "RANLIB=$${RANLIB}" \
22112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22113 maintainer-clean) \
22114 || exit 1
22116 @endif libdecnumber
22120 .PHONY: configure-libgui maybe-configure-libgui
22121 maybe-configure-libgui:
22122 @if gcc-bootstrap
22123 configure-libgui: stage_current
22124 @endif gcc-bootstrap
22125 @if libgui
22126 maybe-configure-libgui: configure-libgui
22127 configure-libgui:
22128 @: $(MAKE); $(unstage)
22129 @r=`${PWD_COMMAND}`; export r; \
22130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22133 $(HOST_EXPORTS) \
22134 echo Configuring in $(HOST_SUBDIR)/libgui; \
22135 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22136 case $(srcdir) in \
22137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22138 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22140 esac; \
22141 srcdiroption="--srcdir=$${topdir}/libgui"; \
22142 libsrcdir="$$s/libgui"; \
22143 $(SHELL) $${libsrcdir}/configure \
22144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22145 --target=${target_alias} $${srcdiroption} \
22146 || exit 1
22147 @endif libgui
22153 .PHONY: all-libgui maybe-all-libgui
22154 maybe-all-libgui:
22155 @if gcc-bootstrap
22156 all-libgui: stage_current
22157 @endif gcc-bootstrap
22158 @if libgui
22159 TARGET-libgui=all
22160 maybe-all-libgui: all-libgui
22161 all-libgui: configure-libgui
22162 @: $(MAKE); $(unstage)
22163 @r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22165 $(HOST_EXPORTS) \
22166 (cd $(HOST_SUBDIR)/libgui && \
22167 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22168 $(TARGET-libgui))
22169 @endif libgui
22174 .PHONY: check-libgui maybe-check-libgui
22175 maybe-check-libgui:
22176 @if libgui
22177 maybe-check-libgui: check-libgui
22179 check-libgui:
22180 @: $(MAKE); $(unstage)
22181 @r=`${PWD_COMMAND}`; export r; \
22182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22183 $(HOST_EXPORTS) \
22184 (cd $(HOST_SUBDIR)/libgui && \
22185 $(MAKE) $(FLAGS_TO_PASS) check)
22187 @endif libgui
22189 .PHONY: install-libgui maybe-install-libgui
22190 maybe-install-libgui:
22191 @if libgui
22192 maybe-install-libgui: install-libgui
22194 install-libgui: installdirs
22195 @: $(MAKE); $(unstage)
22196 @r=`${PWD_COMMAND}`; export r; \
22197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22198 $(HOST_EXPORTS) \
22199 (cd $(HOST_SUBDIR)/libgui && \
22200 $(MAKE) $(FLAGS_TO_PASS) install)
22202 @endif libgui
22204 .PHONY: install-strip-libgui maybe-install-strip-libgui
22205 maybe-install-strip-libgui:
22206 @if libgui
22207 maybe-install-strip-libgui: install-strip-libgui
22209 install-strip-libgui: installdirs
22210 @: $(MAKE); $(unstage)
22211 @r=`${PWD_COMMAND}`; export r; \
22212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22213 $(HOST_EXPORTS) \
22214 (cd $(HOST_SUBDIR)/libgui && \
22215 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22217 @endif libgui
22219 # Other targets (info, dvi, pdf, etc.)
22221 .PHONY: maybe-info-libgui info-libgui
22222 maybe-info-libgui:
22223 @if libgui
22224 maybe-info-libgui: info-libgui
22226 info-libgui: \
22227 configure-libgui
22228 @: $(MAKE); $(unstage)
22229 @[ -f ./libgui/Makefile ] || exit 0; \
22230 r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 $(HOST_EXPORTS) \
22233 for flag in $(EXTRA_HOST_FLAGS) ; do \
22234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22235 done; \
22236 echo "Doing info in libgui" ; \
22237 (cd $(HOST_SUBDIR)/libgui && \
22238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22240 "RANLIB=$${RANLIB}" \
22241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22242 info) \
22243 || exit 1
22245 @endif libgui
22247 .PHONY: maybe-dvi-libgui dvi-libgui
22248 maybe-dvi-libgui:
22249 @if libgui
22250 maybe-dvi-libgui: dvi-libgui
22252 dvi-libgui: \
22253 configure-libgui
22254 @: $(MAKE); $(unstage)
22255 @[ -f ./libgui/Makefile ] || exit 0; \
22256 r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 $(HOST_EXPORTS) \
22259 for flag in $(EXTRA_HOST_FLAGS) ; do \
22260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22261 done; \
22262 echo "Doing dvi in libgui" ; \
22263 (cd $(HOST_SUBDIR)/libgui && \
22264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22266 "RANLIB=$${RANLIB}" \
22267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22268 dvi) \
22269 || exit 1
22271 @endif libgui
22273 .PHONY: maybe-pdf-libgui pdf-libgui
22274 maybe-pdf-libgui:
22275 @if libgui
22276 maybe-pdf-libgui: pdf-libgui
22278 pdf-libgui: \
22279 configure-libgui
22280 @: $(MAKE); $(unstage)
22281 @[ -f ./libgui/Makefile ] || exit 0; \
22282 r=`${PWD_COMMAND}`; export r; \
22283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22284 $(HOST_EXPORTS) \
22285 for flag in $(EXTRA_HOST_FLAGS) ; do \
22286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22287 done; \
22288 echo "Doing pdf in libgui" ; \
22289 (cd $(HOST_SUBDIR)/libgui && \
22290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22292 "RANLIB=$${RANLIB}" \
22293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22294 pdf) \
22295 || exit 1
22297 @endif libgui
22299 .PHONY: maybe-html-libgui html-libgui
22300 maybe-html-libgui:
22301 @if libgui
22302 maybe-html-libgui: html-libgui
22304 html-libgui: \
22305 configure-libgui
22306 @: $(MAKE); $(unstage)
22307 @[ -f ./libgui/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22310 $(HOST_EXPORTS) \
22311 for flag in $(EXTRA_HOST_FLAGS) ; do \
22312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22313 done; \
22314 echo "Doing html in libgui" ; \
22315 (cd $(HOST_SUBDIR)/libgui && \
22316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22318 "RANLIB=$${RANLIB}" \
22319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22320 html) \
22321 || exit 1
22323 @endif libgui
22325 .PHONY: maybe-TAGS-libgui TAGS-libgui
22326 maybe-TAGS-libgui:
22327 @if libgui
22328 maybe-TAGS-libgui: TAGS-libgui
22330 TAGS-libgui: \
22331 configure-libgui
22332 @: $(MAKE); $(unstage)
22333 @[ -f ./libgui/Makefile ] || exit 0; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(HOST_EXPORTS) \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22339 done; \
22340 echo "Doing TAGS in libgui" ; \
22341 (cd $(HOST_SUBDIR)/libgui && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22346 TAGS) \
22347 || exit 1
22349 @endif libgui
22351 .PHONY: maybe-install-info-libgui install-info-libgui
22352 maybe-install-info-libgui:
22353 @if libgui
22354 maybe-install-info-libgui: install-info-libgui
22356 install-info-libgui: \
22357 configure-libgui \
22358 info-libgui
22359 @: $(MAKE); $(unstage)
22360 @[ -f ./libgui/Makefile ] || exit 0; \
22361 r=`${PWD_COMMAND}`; export r; \
22362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22363 $(HOST_EXPORTS) \
22364 for flag in $(EXTRA_HOST_FLAGS) ; do \
22365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22366 done; \
22367 echo "Doing install-info in libgui" ; \
22368 (cd $(HOST_SUBDIR)/libgui && \
22369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22371 "RANLIB=$${RANLIB}" \
22372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22373 install-info) \
22374 || exit 1
22376 @endif libgui
22378 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22379 maybe-install-pdf-libgui:
22380 @if libgui
22381 maybe-install-pdf-libgui: install-pdf-libgui
22383 install-pdf-libgui: \
22384 configure-libgui \
22385 pdf-libgui
22386 @: $(MAKE); $(unstage)
22387 @[ -f ./libgui/Makefile ] || exit 0; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(HOST_EXPORTS) \
22391 for flag in $(EXTRA_HOST_FLAGS) ; do \
22392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22393 done; \
22394 echo "Doing install-pdf in libgui" ; \
22395 (cd $(HOST_SUBDIR)/libgui && \
22396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22398 "RANLIB=$${RANLIB}" \
22399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22400 install-pdf) \
22401 || exit 1
22403 @endif libgui
22405 .PHONY: maybe-install-html-libgui install-html-libgui
22406 maybe-install-html-libgui:
22407 @if libgui
22408 maybe-install-html-libgui: install-html-libgui
22410 install-html-libgui: \
22411 configure-libgui \
22412 html-libgui
22413 @: $(MAKE); $(unstage)
22414 @[ -f ./libgui/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing install-html in libgui" ; \
22422 (cd $(HOST_SUBDIR)/libgui && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22427 install-html) \
22428 || exit 1
22430 @endif libgui
22432 .PHONY: maybe-installcheck-libgui installcheck-libgui
22433 maybe-installcheck-libgui:
22434 @if libgui
22435 maybe-installcheck-libgui: installcheck-libgui
22437 installcheck-libgui: \
22438 configure-libgui
22439 @: $(MAKE); $(unstage)
22440 @[ -f ./libgui/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing installcheck in libgui" ; \
22448 (cd $(HOST_SUBDIR)/libgui && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22453 installcheck) \
22454 || exit 1
22456 @endif libgui
22458 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22459 maybe-mostlyclean-libgui:
22460 @if libgui
22461 maybe-mostlyclean-libgui: mostlyclean-libgui
22463 mostlyclean-libgui:
22464 @: $(MAKE); $(unstage)
22465 @[ -f ./libgui/Makefile ] || exit 0; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 $(HOST_EXPORTS) \
22469 for flag in $(EXTRA_HOST_FLAGS) ; do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 done; \
22472 echo "Doing mostlyclean in libgui" ; \
22473 (cd $(HOST_SUBDIR)/libgui && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22478 mostlyclean) \
22479 || exit 1
22481 @endif libgui
22483 .PHONY: maybe-clean-libgui clean-libgui
22484 maybe-clean-libgui:
22485 @if libgui
22486 maybe-clean-libgui: clean-libgui
22488 clean-libgui:
22489 @: $(MAKE); $(unstage)
22490 @[ -f ./libgui/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing clean in libgui" ; \
22498 (cd $(HOST_SUBDIR)/libgui && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22503 clean) \
22504 || exit 1
22506 @endif libgui
22508 .PHONY: maybe-distclean-libgui distclean-libgui
22509 maybe-distclean-libgui:
22510 @if libgui
22511 maybe-distclean-libgui: distclean-libgui
22513 distclean-libgui:
22514 @: $(MAKE); $(unstage)
22515 @[ -f ./libgui/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing distclean in libgui" ; \
22523 (cd $(HOST_SUBDIR)/libgui && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 distclean) \
22529 || exit 1
22531 @endif libgui
22533 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22534 maybe-maintainer-clean-libgui:
22535 @if libgui
22536 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22538 maintainer-clean-libgui:
22539 @: $(MAKE); $(unstage)
22540 @[ -f ./libgui/Makefile ] || exit 0; \
22541 r=`${PWD_COMMAND}`; export r; \
22542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22543 $(HOST_EXPORTS) \
22544 for flag in $(EXTRA_HOST_FLAGS) ; do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22546 done; \
22547 echo "Doing maintainer-clean in libgui" ; \
22548 (cd $(HOST_SUBDIR)/libgui && \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22553 maintainer-clean) \
22554 || exit 1
22556 @endif libgui
22560 .PHONY: configure-libiberty maybe-configure-libiberty
22561 maybe-configure-libiberty:
22562 @if gcc-bootstrap
22563 configure-libiberty: stage_current
22564 @endif gcc-bootstrap
22565 @if libiberty
22566 maybe-configure-libiberty: configure-libiberty
22567 configure-libiberty:
22568 @r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22572 $(HOST_EXPORTS) \
22573 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22574 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22575 case $(srcdir) in \
22576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22577 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22579 esac; \
22580 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22581 libsrcdir="$$s/libiberty"; \
22582 $(SHELL) $${libsrcdir}/configure \
22583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22584 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22585 || exit 1
22586 @endif libiberty
22590 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22591 maybe-configure-stage1-libiberty:
22592 @if libiberty-bootstrap
22593 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22594 configure-stage1-libiberty:
22595 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22597 @r=`${PWD_COMMAND}`; export r; \
22598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 TFLAGS="$(STAGE1_TFLAGS)"; \
22600 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22601 $(HOST_EXPORTS) \
22602 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22603 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22604 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22605 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22607 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22608 case $(srcdir) in \
22609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22610 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22612 esac; \
22613 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22614 libsrcdir="$$s/libiberty"; \
22615 $(SHELL) $${libsrcdir}/configure \
22616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22617 --target=${target_alias} $${srcdiroption} \
22618 $(STAGE1_CONFIGURE_FLAGS) \
22619 @extra_host_libiberty_configure_flags@
22620 @endif libiberty-bootstrap
22622 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22623 maybe-configure-stage2-libiberty:
22624 @if libiberty-bootstrap
22625 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22626 configure-stage2-libiberty:
22627 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22629 @r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 TFLAGS="$(STAGE2_TFLAGS)"; \
22632 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22633 $(HOST_EXPORTS) \
22634 $(POSTSTAGE1_HOST_EXPORTS) \
22635 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22636 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22637 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22638 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22640 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22641 case $(srcdir) in \
22642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22643 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22645 esac; \
22646 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22647 libsrcdir="$$s/libiberty"; \
22648 $(SHELL) $${libsrcdir}/configure \
22649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22650 --target=${target_alias} $${srcdiroption} \
22651 --with-build-libsubdir=$(HOST_SUBDIR) \
22652 $(STAGE2_CONFIGURE_FLAGS) \
22653 @extra_host_libiberty_configure_flags@
22654 @endif libiberty-bootstrap
22656 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22657 maybe-configure-stage3-libiberty:
22658 @if libiberty-bootstrap
22659 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22660 configure-stage3-libiberty:
22661 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22663 @r=`${PWD_COMMAND}`; export r; \
22664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22665 TFLAGS="$(STAGE3_TFLAGS)"; \
22666 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22667 $(HOST_EXPORTS) \
22668 $(POSTSTAGE1_HOST_EXPORTS) \
22669 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22670 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22671 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22672 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22674 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22675 case $(srcdir) in \
22676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22677 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22679 esac; \
22680 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22681 libsrcdir="$$s/libiberty"; \
22682 $(SHELL) $${libsrcdir}/configure \
22683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22684 --target=${target_alias} $${srcdiroption} \
22685 --with-build-libsubdir=$(HOST_SUBDIR) \
22686 $(STAGE3_CONFIGURE_FLAGS) \
22687 @extra_host_libiberty_configure_flags@
22688 @endif libiberty-bootstrap
22690 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22691 maybe-configure-stage4-libiberty:
22692 @if libiberty-bootstrap
22693 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22694 configure-stage4-libiberty:
22695 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22697 @r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 TFLAGS="$(STAGE4_TFLAGS)"; \
22700 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22701 $(HOST_EXPORTS) \
22702 $(POSTSTAGE1_HOST_EXPORTS) \
22703 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22704 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22705 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22706 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22708 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22709 case $(srcdir) in \
22710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22711 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22713 esac; \
22714 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22715 libsrcdir="$$s/libiberty"; \
22716 $(SHELL) $${libsrcdir}/configure \
22717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22718 --target=${target_alias} $${srcdiroption} \
22719 --with-build-libsubdir=$(HOST_SUBDIR) \
22720 $(STAGE4_CONFIGURE_FLAGS) \
22721 @extra_host_libiberty_configure_flags@
22722 @endif libiberty-bootstrap
22724 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22725 maybe-configure-stageprofile-libiberty:
22726 @if libiberty-bootstrap
22727 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22728 configure-stageprofile-libiberty:
22729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22731 @r=`${PWD_COMMAND}`; export r; \
22732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22733 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22734 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22735 $(HOST_EXPORTS) \
22736 $(POSTSTAGE1_HOST_EXPORTS) \
22737 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22739 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22740 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22742 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22743 case $(srcdir) in \
22744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22745 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22747 esac; \
22748 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22749 libsrcdir="$$s/libiberty"; \
22750 $(SHELL) $${libsrcdir}/configure \
22751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22752 --target=${target_alias} $${srcdiroption} \
22753 --with-build-libsubdir=$(HOST_SUBDIR) \
22754 $(STAGEprofile_CONFIGURE_FLAGS) \
22755 @extra_host_libiberty_configure_flags@
22756 @endif libiberty-bootstrap
22758 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22759 maybe-configure-stagefeedback-libiberty:
22760 @if libiberty-bootstrap
22761 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22762 configure-stagefeedback-libiberty:
22763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22765 @r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22768 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22769 $(HOST_EXPORTS) \
22770 $(POSTSTAGE1_HOST_EXPORTS) \
22771 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22772 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22773 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22774 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22776 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22777 case $(srcdir) in \
22778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22779 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22781 esac; \
22782 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22783 libsrcdir="$$s/libiberty"; \
22784 $(SHELL) $${libsrcdir}/configure \
22785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22786 --target=${target_alias} $${srcdiroption} \
22787 --with-build-libsubdir=$(HOST_SUBDIR) \
22788 $(STAGEfeedback_CONFIGURE_FLAGS) \
22789 @extra_host_libiberty_configure_flags@
22790 @endif libiberty-bootstrap
22796 .PHONY: all-libiberty maybe-all-libiberty
22797 maybe-all-libiberty:
22798 @if gcc-bootstrap
22799 all-libiberty: stage_current
22800 @endif gcc-bootstrap
22801 @if libiberty
22802 TARGET-libiberty=all
22803 maybe-all-libiberty: all-libiberty
22804 all-libiberty: configure-libiberty
22805 @r=`${PWD_COMMAND}`; export r; \
22806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22807 $(HOST_EXPORTS) \
22808 (cd $(HOST_SUBDIR)/libiberty && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22810 $(TARGET-libiberty))
22811 @endif libiberty
22815 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22816 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22817 maybe-all-stage1-libiberty:
22818 maybe-clean-stage1-libiberty:
22819 @if libiberty-bootstrap
22820 maybe-all-stage1-libiberty: all-stage1-libiberty
22821 all-stage1: all-stage1-libiberty
22822 TARGET-stage1-libiberty = $(TARGET-libiberty)
22823 all-stage1-libiberty: configure-stage1-libiberty
22824 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22825 @r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 TFLAGS="$(STAGE1_TFLAGS)"; \
22828 $(HOST_EXPORTS) \
22829 cd $(HOST_SUBDIR)/libiberty && \
22830 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22831 CFLAGS="$(STAGE1_CFLAGS)" \
22832 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22833 LIBCFLAGS="$(LIBCFLAGS)" \
22834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22837 $(EXTRA_HOST_FLAGS) \
22838 $(STAGE1_FLAGS_TO_PASS) \
22839 TFLAGS="$(STAGE1_TFLAGS)" \
22840 $(TARGET-stage1-libiberty)
22842 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22843 clean-stage1: clean-stage1-libiberty
22844 clean-stage1-libiberty:
22845 @if [ $(current_stage) = stage1 ]; then \
22846 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22847 else \
22848 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22849 $(MAKE) stage1-start; \
22850 fi; \
22851 cd $(HOST_SUBDIR)/libiberty && \
22852 $(MAKE) $(EXTRA_HOST_FLAGS) \
22853 $(STAGE1_FLAGS_TO_PASS) clean
22854 @endif libiberty-bootstrap
22857 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22858 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22859 maybe-all-stage2-libiberty:
22860 maybe-clean-stage2-libiberty:
22861 @if libiberty-bootstrap
22862 maybe-all-stage2-libiberty: all-stage2-libiberty
22863 all-stage2: all-stage2-libiberty
22864 TARGET-stage2-libiberty = $(TARGET-libiberty)
22865 all-stage2-libiberty: configure-stage2-libiberty
22866 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22867 @r=`${PWD_COMMAND}`; export r; \
22868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22869 TFLAGS="$(STAGE2_TFLAGS)"; \
22870 $(HOST_EXPORTS) \
22871 $(POSTSTAGE1_HOST_EXPORTS) \
22872 cd $(HOST_SUBDIR)/libiberty && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22874 CFLAGS="$(STAGE2_CFLAGS)" \
22875 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22876 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22880 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22881 TFLAGS="$(STAGE2_TFLAGS)" \
22882 $(TARGET-stage2-libiberty)
22884 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22885 clean-stage2: clean-stage2-libiberty
22886 clean-stage2-libiberty:
22887 @if [ $(current_stage) = stage2 ]; then \
22888 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22889 else \
22890 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22891 $(MAKE) stage2-start; \
22892 fi; \
22893 cd $(HOST_SUBDIR)/libiberty && \
22894 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22895 @endif libiberty-bootstrap
22898 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22899 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22900 maybe-all-stage3-libiberty:
22901 maybe-clean-stage3-libiberty:
22902 @if libiberty-bootstrap
22903 maybe-all-stage3-libiberty: all-stage3-libiberty
22904 all-stage3: all-stage3-libiberty
22905 TARGET-stage3-libiberty = $(TARGET-libiberty)
22906 all-stage3-libiberty: configure-stage3-libiberty
22907 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22908 @r=`${PWD_COMMAND}`; export r; \
22909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22910 TFLAGS="$(STAGE3_TFLAGS)"; \
22911 $(HOST_EXPORTS) \
22912 $(POSTSTAGE1_HOST_EXPORTS) \
22913 cd $(HOST_SUBDIR)/libiberty && \
22914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22915 CFLAGS="$(STAGE3_CFLAGS)" \
22916 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22917 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22921 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22922 TFLAGS="$(STAGE3_TFLAGS)" \
22923 $(TARGET-stage3-libiberty)
22925 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22926 clean-stage3: clean-stage3-libiberty
22927 clean-stage3-libiberty:
22928 @if [ $(current_stage) = stage3 ]; then \
22929 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22930 else \
22931 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22932 $(MAKE) stage3-start; \
22933 fi; \
22934 cd $(HOST_SUBDIR)/libiberty && \
22935 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22936 @endif libiberty-bootstrap
22939 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22940 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22941 maybe-all-stage4-libiberty:
22942 maybe-clean-stage4-libiberty:
22943 @if libiberty-bootstrap
22944 maybe-all-stage4-libiberty: all-stage4-libiberty
22945 all-stage4: all-stage4-libiberty
22946 TARGET-stage4-libiberty = $(TARGET-libiberty)
22947 all-stage4-libiberty: configure-stage4-libiberty
22948 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22949 @r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 TFLAGS="$(STAGE4_TFLAGS)"; \
22952 $(HOST_EXPORTS) \
22953 $(POSTSTAGE1_HOST_EXPORTS) \
22954 cd $(HOST_SUBDIR)/libiberty && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22956 CFLAGS="$(STAGE4_CFLAGS)" \
22957 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22958 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22963 TFLAGS="$(STAGE4_TFLAGS)" \
22964 $(TARGET-stage4-libiberty)
22966 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22967 clean-stage4: clean-stage4-libiberty
22968 clean-stage4-libiberty:
22969 @if [ $(current_stage) = stage4 ]; then \
22970 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22971 else \
22972 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22973 $(MAKE) stage4-start; \
22974 fi; \
22975 cd $(HOST_SUBDIR)/libiberty && \
22976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22977 @endif libiberty-bootstrap
22980 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22981 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22982 maybe-all-stageprofile-libiberty:
22983 maybe-clean-stageprofile-libiberty:
22984 @if libiberty-bootstrap
22985 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22986 all-stageprofile: all-stageprofile-libiberty
22987 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22988 all-stageprofile-libiberty: configure-stageprofile-libiberty
22989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22990 @r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22993 $(HOST_EXPORTS) \
22994 $(POSTSTAGE1_HOST_EXPORTS) \
22995 cd $(HOST_SUBDIR)/libiberty && \
22996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22997 CFLAGS="$(STAGEprofile_CFLAGS)" \
22998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22999 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23004 TFLAGS="$(STAGEprofile_TFLAGS)" \
23005 $(TARGET-stageprofile-libiberty)
23007 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23008 clean-stageprofile: clean-stageprofile-libiberty
23009 clean-stageprofile-libiberty:
23010 @if [ $(current_stage) = stageprofile ]; then \
23011 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23012 else \
23013 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23014 $(MAKE) stageprofile-start; \
23015 fi; \
23016 cd $(HOST_SUBDIR)/libiberty && \
23017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23018 @endif libiberty-bootstrap
23021 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23022 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23023 maybe-all-stagefeedback-libiberty:
23024 maybe-clean-stagefeedback-libiberty:
23025 @if libiberty-bootstrap
23026 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23027 all-stagefeedback: all-stagefeedback-libiberty
23028 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23029 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23031 @r=`${PWD_COMMAND}`; export r; \
23032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23033 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23034 $(HOST_EXPORTS) \
23035 $(POSTSTAGE1_HOST_EXPORTS) \
23036 cd $(HOST_SUBDIR)/libiberty && \
23037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23038 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23039 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23040 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23045 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23046 $(TARGET-stagefeedback-libiberty)
23048 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23049 clean-stagefeedback: clean-stagefeedback-libiberty
23050 clean-stagefeedback-libiberty:
23051 @if [ $(current_stage) = stagefeedback ]; then \
23052 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23053 else \
23054 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23055 $(MAKE) stagefeedback-start; \
23056 fi; \
23057 cd $(HOST_SUBDIR)/libiberty && \
23058 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23059 @endif libiberty-bootstrap
23065 .PHONY: check-libiberty maybe-check-libiberty
23066 maybe-check-libiberty:
23067 @if libiberty
23068 maybe-check-libiberty: check-libiberty
23070 check-libiberty:
23071 @: $(MAKE); $(unstage)
23072 @r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 $(HOST_EXPORTS) \
23075 (cd $(HOST_SUBDIR)/libiberty && \
23076 $(MAKE) $(FLAGS_TO_PASS) check)
23078 @endif libiberty
23080 .PHONY: install-libiberty maybe-install-libiberty
23081 maybe-install-libiberty:
23082 @if libiberty
23083 maybe-install-libiberty: install-libiberty
23085 install-libiberty: installdirs
23086 @: $(MAKE); $(unstage)
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 (cd $(HOST_SUBDIR)/libiberty && \
23091 $(MAKE) $(FLAGS_TO_PASS) install)
23093 @endif libiberty
23095 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23096 maybe-install-strip-libiberty:
23097 @if libiberty
23098 maybe-install-strip-libiberty: install-strip-libiberty
23100 install-strip-libiberty: installdirs
23101 @: $(MAKE); $(unstage)
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 (cd $(HOST_SUBDIR)/libiberty && \
23106 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23108 @endif libiberty
23110 # Other targets (info, dvi, pdf, etc.)
23112 .PHONY: maybe-info-libiberty info-libiberty
23113 maybe-info-libiberty:
23114 @if libiberty
23115 maybe-info-libiberty: info-libiberty
23117 info-libiberty: \
23118 configure-libiberty
23119 @[ -f ./libiberty/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(HOST_EXPORTS) \
23123 for flag in $(EXTRA_HOST_FLAGS) ; do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 echo "Doing info in libiberty" ; \
23127 (cd $(HOST_SUBDIR)/libiberty && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23132 info) \
23133 || exit 1
23135 @endif libiberty
23137 .PHONY: maybe-dvi-libiberty dvi-libiberty
23138 maybe-dvi-libiberty:
23139 @if libiberty
23140 maybe-dvi-libiberty: dvi-libiberty
23142 dvi-libiberty: \
23143 configure-libiberty
23144 @[ -f ./libiberty/Makefile ] || exit 0; \
23145 r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(HOST_EXPORTS) \
23148 for flag in $(EXTRA_HOST_FLAGS) ; do \
23149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23150 done; \
23151 echo "Doing dvi in libiberty" ; \
23152 (cd $(HOST_SUBDIR)/libiberty && \
23153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23155 "RANLIB=$${RANLIB}" \
23156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23157 dvi) \
23158 || exit 1
23160 @endif libiberty
23162 .PHONY: maybe-pdf-libiberty pdf-libiberty
23163 maybe-pdf-libiberty:
23164 @if libiberty
23165 maybe-pdf-libiberty: pdf-libiberty
23167 pdf-libiberty: \
23168 configure-libiberty
23169 @[ -f ./libiberty/Makefile ] || exit 0; \
23170 r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 $(HOST_EXPORTS) \
23173 for flag in $(EXTRA_HOST_FLAGS) ; do \
23174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23175 done; \
23176 echo "Doing pdf in libiberty" ; \
23177 (cd $(HOST_SUBDIR)/libiberty && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23180 "RANLIB=$${RANLIB}" \
23181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23182 pdf) \
23183 || exit 1
23185 @endif libiberty
23187 .PHONY: maybe-html-libiberty html-libiberty
23188 maybe-html-libiberty:
23189 @if libiberty
23190 maybe-html-libiberty: html-libiberty
23192 html-libiberty: \
23193 configure-libiberty
23194 @[ -f ./libiberty/Makefile ] || exit 0; \
23195 r=`${PWD_COMMAND}`; export r; \
23196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23197 $(HOST_EXPORTS) \
23198 for flag in $(EXTRA_HOST_FLAGS) ; do \
23199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23200 done; \
23201 echo "Doing html in libiberty" ; \
23202 (cd $(HOST_SUBDIR)/libiberty && \
23203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23205 "RANLIB=$${RANLIB}" \
23206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23207 html) \
23208 || exit 1
23210 @endif libiberty
23212 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23213 maybe-TAGS-libiberty:
23214 @if libiberty
23215 maybe-TAGS-libiberty: TAGS-libiberty
23217 TAGS-libiberty: \
23218 configure-libiberty
23219 @[ -f ./libiberty/Makefile ] || exit 0; \
23220 r=`${PWD_COMMAND}`; export r; \
23221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23222 $(HOST_EXPORTS) \
23223 for flag in $(EXTRA_HOST_FLAGS) ; do \
23224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23225 done; \
23226 echo "Doing TAGS in libiberty" ; \
23227 (cd $(HOST_SUBDIR)/libiberty && \
23228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23230 "RANLIB=$${RANLIB}" \
23231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23232 TAGS) \
23233 || exit 1
23235 @endif libiberty
23237 .PHONY: maybe-install-info-libiberty install-info-libiberty
23238 maybe-install-info-libiberty:
23239 @if libiberty
23240 maybe-install-info-libiberty: install-info-libiberty
23242 install-info-libiberty: \
23243 configure-libiberty \
23244 info-libiberty
23245 @[ -f ./libiberty/Makefile ] || exit 0; \
23246 r=`${PWD_COMMAND}`; export r; \
23247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23248 $(HOST_EXPORTS) \
23249 for flag in $(EXTRA_HOST_FLAGS) ; do \
23250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23251 done; \
23252 echo "Doing install-info in libiberty" ; \
23253 (cd $(HOST_SUBDIR)/libiberty && \
23254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23256 "RANLIB=$${RANLIB}" \
23257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23258 install-info) \
23259 || exit 1
23261 @endif libiberty
23263 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23264 maybe-install-pdf-libiberty:
23265 @if libiberty
23266 maybe-install-pdf-libiberty: install-pdf-libiberty
23268 install-pdf-libiberty: \
23269 configure-libiberty \
23270 pdf-libiberty
23271 @[ -f ./libiberty/Makefile ] || exit 0; \
23272 r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274 $(HOST_EXPORTS) \
23275 for flag in $(EXTRA_HOST_FLAGS) ; do \
23276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23277 done; \
23278 echo "Doing install-pdf in libiberty" ; \
23279 (cd $(HOST_SUBDIR)/libiberty && \
23280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23282 "RANLIB=$${RANLIB}" \
23283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23284 install-pdf) \
23285 || exit 1
23287 @endif libiberty
23289 .PHONY: maybe-install-html-libiberty install-html-libiberty
23290 maybe-install-html-libiberty:
23291 @if libiberty
23292 maybe-install-html-libiberty: install-html-libiberty
23294 install-html-libiberty: \
23295 configure-libiberty \
23296 html-libiberty
23297 @[ -f ./libiberty/Makefile ] || exit 0; \
23298 r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(HOST_EXPORTS) \
23301 for flag in $(EXTRA_HOST_FLAGS) ; do \
23302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23303 done; \
23304 echo "Doing install-html in libiberty" ; \
23305 (cd $(HOST_SUBDIR)/libiberty && \
23306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23308 "RANLIB=$${RANLIB}" \
23309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23310 install-html) \
23311 || exit 1
23313 @endif libiberty
23315 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23316 maybe-installcheck-libiberty:
23317 @if libiberty
23318 maybe-installcheck-libiberty: installcheck-libiberty
23320 installcheck-libiberty: \
23321 configure-libiberty
23322 @[ -f ./libiberty/Makefile ] || exit 0; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23325 $(HOST_EXPORTS) \
23326 for flag in $(EXTRA_HOST_FLAGS) ; do \
23327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23328 done; \
23329 echo "Doing installcheck in libiberty" ; \
23330 (cd $(HOST_SUBDIR)/libiberty && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23335 installcheck) \
23336 || exit 1
23338 @endif libiberty
23340 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23341 maybe-mostlyclean-libiberty:
23342 @if libiberty
23343 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23345 mostlyclean-libiberty:
23346 @[ -f ./libiberty/Makefile ] || exit 0; \
23347 r=`${PWD_COMMAND}`; export r; \
23348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23349 $(HOST_EXPORTS) \
23350 for flag in $(EXTRA_HOST_FLAGS) ; do \
23351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23352 done; \
23353 echo "Doing mostlyclean in libiberty" ; \
23354 (cd $(HOST_SUBDIR)/libiberty && \
23355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23357 "RANLIB=$${RANLIB}" \
23358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23359 mostlyclean) \
23360 || exit 1
23362 @endif libiberty
23364 .PHONY: maybe-clean-libiberty clean-libiberty
23365 maybe-clean-libiberty:
23366 @if libiberty
23367 maybe-clean-libiberty: clean-libiberty
23369 clean-libiberty:
23370 @[ -f ./libiberty/Makefile ] || exit 0; \
23371 r=`${PWD_COMMAND}`; export r; \
23372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23373 $(HOST_EXPORTS) \
23374 for flag in $(EXTRA_HOST_FLAGS) ; do \
23375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23376 done; \
23377 echo "Doing clean in libiberty" ; \
23378 (cd $(HOST_SUBDIR)/libiberty && \
23379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23381 "RANLIB=$${RANLIB}" \
23382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23383 clean) \
23384 || exit 1
23386 @endif libiberty
23388 .PHONY: maybe-distclean-libiberty distclean-libiberty
23389 maybe-distclean-libiberty:
23390 @if libiberty
23391 maybe-distclean-libiberty: distclean-libiberty
23393 distclean-libiberty:
23394 @[ -f ./libiberty/Makefile ] || exit 0; \
23395 r=`${PWD_COMMAND}`; export r; \
23396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23397 $(HOST_EXPORTS) \
23398 for flag in $(EXTRA_HOST_FLAGS) ; do \
23399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23400 done; \
23401 echo "Doing distclean in libiberty" ; \
23402 (cd $(HOST_SUBDIR)/libiberty && \
23403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23405 "RANLIB=$${RANLIB}" \
23406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23407 distclean) \
23408 || exit 1
23410 @endif libiberty
23412 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23413 maybe-maintainer-clean-libiberty:
23414 @if libiberty
23415 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23417 maintainer-clean-libiberty:
23418 @[ -f ./libiberty/Makefile ] || exit 0; \
23419 r=`${PWD_COMMAND}`; export r; \
23420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23421 $(HOST_EXPORTS) \
23422 for flag in $(EXTRA_HOST_FLAGS) ; do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23424 done; \
23425 echo "Doing maintainer-clean in libiberty" ; \
23426 (cd $(HOST_SUBDIR)/libiberty && \
23427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23429 "RANLIB=$${RANLIB}" \
23430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23431 maintainer-clean) \
23432 || exit 1
23434 @endif libiberty
23438 .PHONY: configure-libiconv maybe-configure-libiconv
23439 maybe-configure-libiconv:
23440 @if gcc-bootstrap
23441 configure-libiconv: stage_current
23442 @endif gcc-bootstrap
23443 @if libiconv
23444 maybe-configure-libiconv: configure-libiconv
23445 configure-libiconv:
23446 @: $(MAKE); $(unstage)
23447 @r=`${PWD_COMMAND}`; export r; \
23448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23449 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23451 $(HOST_EXPORTS) \
23452 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23453 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23454 case $(srcdir) in \
23455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23456 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23458 esac; \
23459 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23460 libsrcdir="$$s/libiconv"; \
23461 $(SHELL) $${libsrcdir}/configure \
23462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23463 --target=${target_alias} $${srcdiroption} --disable-shared \
23464 || exit 1
23465 @endif libiconv
23471 .PHONY: all-libiconv maybe-all-libiconv
23472 maybe-all-libiconv:
23473 @if gcc-bootstrap
23474 all-libiconv: stage_current
23475 @endif gcc-bootstrap
23476 @if libiconv
23477 TARGET-libiconv=all
23478 maybe-all-libiconv: all-libiconv
23479 all-libiconv: configure-libiconv
23480 @: $(MAKE); $(unstage)
23481 @r=`${PWD_COMMAND}`; export r; \
23482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23483 $(HOST_EXPORTS) \
23484 (cd $(HOST_SUBDIR)/libiconv && \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23486 $(TARGET-libiconv))
23487 @endif libiconv
23492 .PHONY: check-libiconv maybe-check-libiconv
23493 maybe-check-libiconv:
23494 @if libiconv
23495 maybe-check-libiconv: check-libiconv
23497 check-libiconv:
23498 @: $(MAKE); $(unstage)
23499 @r=`${PWD_COMMAND}`; export r; \
23500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23501 $(HOST_EXPORTS) \
23502 (cd $(HOST_SUBDIR)/libiconv && \
23503 $(MAKE) $(FLAGS_TO_PASS) check)
23505 @endif libiconv
23507 .PHONY: install-libiconv maybe-install-libiconv
23508 maybe-install-libiconv:
23509 @if libiconv
23510 maybe-install-libiconv: install-libiconv
23512 install-libiconv:
23514 @endif libiconv
23516 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23517 maybe-install-strip-libiconv:
23518 @if libiconv
23519 maybe-install-strip-libiconv: install-strip-libiconv
23521 install-strip-libiconv:
23523 @endif libiconv
23525 # Other targets (info, dvi, pdf, etc.)
23527 .PHONY: maybe-info-libiconv info-libiconv
23528 maybe-info-libiconv:
23529 @if libiconv
23530 maybe-info-libiconv: info-libiconv
23532 info-libiconv: \
23533 configure-libiconv
23534 @: $(MAKE); $(unstage)
23535 @[ -f ./libiconv/Makefile ] || exit 0; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23538 $(HOST_EXPORTS) \
23539 for flag in $(EXTRA_HOST_FLAGS) ; do \
23540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23541 done; \
23542 echo "Doing info in libiconv" ; \
23543 (cd $(HOST_SUBDIR)/libiconv && \
23544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23546 "RANLIB=$${RANLIB}" \
23547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23548 info) \
23549 || exit 1
23551 @endif libiconv
23553 .PHONY: maybe-dvi-libiconv dvi-libiconv
23554 maybe-dvi-libiconv:
23555 @if libiconv
23556 maybe-dvi-libiconv: dvi-libiconv
23558 dvi-libiconv: \
23559 configure-libiconv
23560 @: $(MAKE); $(unstage)
23561 @[ -f ./libiconv/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564 $(HOST_EXPORTS) \
23565 for flag in $(EXTRA_HOST_FLAGS) ; do \
23566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23567 done; \
23568 echo "Doing dvi in libiconv" ; \
23569 (cd $(HOST_SUBDIR)/libiconv && \
23570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23572 "RANLIB=$${RANLIB}" \
23573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23574 dvi) \
23575 || exit 1
23577 @endif libiconv
23579 .PHONY: maybe-pdf-libiconv pdf-libiconv
23580 maybe-pdf-libiconv:
23581 @if libiconv
23582 maybe-pdf-libiconv: pdf-libiconv
23584 pdf-libiconv: \
23585 configure-libiconv
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./libiconv/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing pdf in libiconv" ; \
23595 (cd $(HOST_SUBDIR)/libiconv && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23600 pdf) \
23601 || exit 1
23603 @endif libiconv
23605 .PHONY: maybe-html-libiconv html-libiconv
23606 maybe-html-libiconv:
23607 @if libiconv
23608 maybe-html-libiconv: html-libiconv
23610 html-libiconv: \
23611 configure-libiconv
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./libiconv/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23619 done; \
23620 echo "Doing html in libiconv" ; \
23621 (cd $(HOST_SUBDIR)/libiconv && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23626 html) \
23627 || exit 1
23629 @endif libiconv
23631 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23632 maybe-TAGS-libiconv:
23633 @if libiconv
23634 maybe-TAGS-libiconv: TAGS-libiconv
23636 TAGS-libiconv: \
23637 configure-libiconv
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./libiconv/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing TAGS in libiconv" ; \
23647 (cd $(HOST_SUBDIR)/libiconv && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23652 TAGS) \
23653 || exit 1
23655 @endif libiconv
23657 .PHONY: maybe-install-info-libiconv install-info-libiconv
23658 maybe-install-info-libiconv:
23659 @if libiconv
23660 maybe-install-info-libiconv: install-info-libiconv
23662 # libiconv doesn't support install-info.
23663 install-info-libiconv:
23665 @endif libiconv
23667 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23668 maybe-install-pdf-libiconv:
23669 @if libiconv
23670 maybe-install-pdf-libiconv: install-pdf-libiconv
23672 # libiconv doesn't support install-pdf.
23673 install-pdf-libiconv:
23675 @endif libiconv
23677 .PHONY: maybe-install-html-libiconv install-html-libiconv
23678 maybe-install-html-libiconv:
23679 @if libiconv
23680 maybe-install-html-libiconv: install-html-libiconv
23682 # libiconv doesn't support install-html.
23683 install-html-libiconv:
23685 @endif libiconv
23687 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23688 maybe-installcheck-libiconv:
23689 @if libiconv
23690 maybe-installcheck-libiconv: installcheck-libiconv
23692 installcheck-libiconv: \
23693 configure-libiconv
23694 @: $(MAKE); $(unstage)
23695 @[ -f ./libiconv/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(HOST_EXPORTS) \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 echo "Doing installcheck in libiconv" ; \
23703 (cd $(HOST_SUBDIR)/libiconv && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23708 installcheck) \
23709 || exit 1
23711 @endif libiconv
23713 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23714 maybe-mostlyclean-libiconv:
23715 @if libiconv
23716 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23718 mostlyclean-libiconv:
23719 @: $(MAKE); $(unstage)
23720 @[ -f ./libiconv/Makefile ] || exit 0; \
23721 r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(HOST_EXPORTS) \
23724 for flag in $(EXTRA_HOST_FLAGS) ; do \
23725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23726 done; \
23727 echo "Doing mostlyclean in libiconv" ; \
23728 (cd $(HOST_SUBDIR)/libiconv && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23733 mostlyclean) \
23734 || exit 1
23736 @endif libiconv
23738 .PHONY: maybe-clean-libiconv clean-libiconv
23739 maybe-clean-libiconv:
23740 @if libiconv
23741 maybe-clean-libiconv: clean-libiconv
23743 clean-libiconv:
23744 @: $(MAKE); $(unstage)
23745 @[ -f ./libiconv/Makefile ] || exit 0; \
23746 r=`${PWD_COMMAND}`; export r; \
23747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23748 $(HOST_EXPORTS) \
23749 for flag in $(EXTRA_HOST_FLAGS) ; do \
23750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23751 done; \
23752 echo "Doing clean in libiconv" ; \
23753 (cd $(HOST_SUBDIR)/libiconv && \
23754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23756 "RANLIB=$${RANLIB}" \
23757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23758 clean) \
23759 || exit 1
23761 @endif libiconv
23763 .PHONY: maybe-distclean-libiconv distclean-libiconv
23764 maybe-distclean-libiconv:
23765 @if libiconv
23766 maybe-distclean-libiconv: distclean-libiconv
23768 distclean-libiconv:
23769 @: $(MAKE); $(unstage)
23770 @[ -f ./libiconv/Makefile ] || exit 0; \
23771 r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23773 $(HOST_EXPORTS) \
23774 for flag in $(EXTRA_HOST_FLAGS) ; do \
23775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23776 done; \
23777 echo "Doing distclean in libiconv" ; \
23778 (cd $(HOST_SUBDIR)/libiconv && \
23779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23781 "RANLIB=$${RANLIB}" \
23782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23783 distclean) \
23784 || exit 1
23786 @endif libiconv
23788 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23789 maybe-maintainer-clean-libiconv:
23790 @if libiconv
23791 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23793 maintainer-clean-libiconv:
23794 @: $(MAKE); $(unstage)
23795 @[ -f ./libiconv/Makefile ] || exit 0; \
23796 r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23798 $(HOST_EXPORTS) \
23799 for flag in $(EXTRA_HOST_FLAGS) ; do \
23800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23801 done; \
23802 echo "Doing maintainer-clean in libiconv" ; \
23803 (cd $(HOST_SUBDIR)/libiconv && \
23804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23806 "RANLIB=$${RANLIB}" \
23807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23808 maintainer-clean) \
23809 || exit 1
23811 @endif libiconv
23815 .PHONY: configure-m4 maybe-configure-m4
23816 maybe-configure-m4:
23817 @if gcc-bootstrap
23818 configure-m4: stage_current
23819 @endif gcc-bootstrap
23820 @if m4
23821 maybe-configure-m4: configure-m4
23822 configure-m4:
23823 @: $(MAKE); $(unstage)
23824 @r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23828 $(HOST_EXPORTS) \
23829 echo Configuring in $(HOST_SUBDIR)/m4; \
23830 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23831 case $(srcdir) in \
23832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23833 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23835 esac; \
23836 srcdiroption="--srcdir=$${topdir}/m4"; \
23837 libsrcdir="$$s/m4"; \
23838 $(SHELL) $${libsrcdir}/configure \
23839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23840 --target=${target_alias} $${srcdiroption} \
23841 || exit 1
23842 @endif m4
23848 .PHONY: all-m4 maybe-all-m4
23849 maybe-all-m4:
23850 @if gcc-bootstrap
23851 all-m4: stage_current
23852 @endif gcc-bootstrap
23853 @if m4
23854 TARGET-m4=all
23855 maybe-all-m4: all-m4
23856 all-m4: configure-m4
23857 @: $(MAKE); $(unstage)
23858 @r=`${PWD_COMMAND}`; export r; \
23859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23860 $(HOST_EXPORTS) \
23861 (cd $(HOST_SUBDIR)/m4 && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23863 $(TARGET-m4))
23864 @endif m4
23869 .PHONY: check-m4 maybe-check-m4
23870 maybe-check-m4:
23871 @if m4
23872 maybe-check-m4: check-m4
23874 check-m4:
23875 @: $(MAKE); $(unstage)
23876 @r=`${PWD_COMMAND}`; export r; \
23877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23878 $(HOST_EXPORTS) \
23879 (cd $(HOST_SUBDIR)/m4 && \
23880 $(MAKE) $(FLAGS_TO_PASS) check)
23882 @endif m4
23884 .PHONY: install-m4 maybe-install-m4
23885 maybe-install-m4:
23886 @if m4
23887 maybe-install-m4: install-m4
23889 install-m4: installdirs
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 $(HOST_EXPORTS) \
23894 (cd $(HOST_SUBDIR)/m4 && \
23895 $(MAKE) $(FLAGS_TO_PASS) install)
23897 @endif m4
23899 .PHONY: install-strip-m4 maybe-install-strip-m4
23900 maybe-install-strip-m4:
23901 @if m4
23902 maybe-install-strip-m4: install-strip-m4
23904 install-strip-m4: installdirs
23905 @: $(MAKE); $(unstage)
23906 @r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908 $(HOST_EXPORTS) \
23909 (cd $(HOST_SUBDIR)/m4 && \
23910 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23912 @endif m4
23914 # Other targets (info, dvi, pdf, etc.)
23916 .PHONY: maybe-info-m4 info-m4
23917 maybe-info-m4:
23918 @if m4
23919 maybe-info-m4: info-m4
23921 info-m4: \
23922 configure-m4
23923 @: $(MAKE); $(unstage)
23924 @[ -f ./m4/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 $(HOST_EXPORTS) \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23930 done; \
23931 echo "Doing info in m4" ; \
23932 (cd $(HOST_SUBDIR)/m4 && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23937 info) \
23938 || exit 1
23940 @endif m4
23942 .PHONY: maybe-dvi-m4 dvi-m4
23943 maybe-dvi-m4:
23944 @if m4
23945 maybe-dvi-m4: dvi-m4
23947 dvi-m4: \
23948 configure-m4
23949 @: $(MAKE); $(unstage)
23950 @[ -f ./m4/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 done; \
23957 echo "Doing dvi in m4" ; \
23958 (cd $(HOST_SUBDIR)/m4 && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23963 dvi) \
23964 || exit 1
23966 @endif m4
23968 .PHONY: maybe-pdf-m4 pdf-m4
23969 maybe-pdf-m4:
23970 @if m4
23971 maybe-pdf-m4: pdf-m4
23973 pdf-m4: \
23974 configure-m4
23975 @: $(MAKE); $(unstage)
23976 @[ -f ./m4/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 done; \
23983 echo "Doing pdf in m4" ; \
23984 (cd $(HOST_SUBDIR)/m4 && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23989 pdf) \
23990 || exit 1
23992 @endif m4
23994 .PHONY: maybe-html-m4 html-m4
23995 maybe-html-m4:
23996 @if m4
23997 maybe-html-m4: html-m4
23999 html-m4: \
24000 configure-m4
24001 @: $(MAKE); $(unstage)
24002 @[ -f ./m4/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing html in m4" ; \
24010 (cd $(HOST_SUBDIR)/m4 && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24015 html) \
24016 || exit 1
24018 @endif m4
24020 .PHONY: maybe-TAGS-m4 TAGS-m4
24021 maybe-TAGS-m4:
24022 @if m4
24023 maybe-TAGS-m4: TAGS-m4
24025 TAGS-m4: \
24026 configure-m4
24027 @: $(MAKE); $(unstage)
24028 @[ -f ./m4/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 echo "Doing TAGS in m4" ; \
24036 (cd $(HOST_SUBDIR)/m4 && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24041 TAGS) \
24042 || exit 1
24044 @endif m4
24046 .PHONY: maybe-install-info-m4 install-info-m4
24047 maybe-install-info-m4:
24048 @if m4
24049 maybe-install-info-m4: install-info-m4
24051 install-info-m4: \
24052 configure-m4 \
24053 info-m4
24054 @: $(MAKE); $(unstage)
24055 @[ -f ./m4/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(HOST_EXPORTS) \
24059 for flag in $(EXTRA_HOST_FLAGS) ; do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 done; \
24062 echo "Doing install-info in m4" ; \
24063 (cd $(HOST_SUBDIR)/m4 && \
24064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24066 "RANLIB=$${RANLIB}" \
24067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24068 install-info) \
24069 || exit 1
24071 @endif m4
24073 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24074 maybe-install-pdf-m4:
24075 @if m4
24076 maybe-install-pdf-m4: install-pdf-m4
24078 install-pdf-m4: \
24079 configure-m4 \
24080 pdf-m4
24081 @: $(MAKE); $(unstage)
24082 @[ -f ./m4/Makefile ] || exit 0; \
24083 r=`${PWD_COMMAND}`; export r; \
24084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24085 $(HOST_EXPORTS) \
24086 for flag in $(EXTRA_HOST_FLAGS) ; do \
24087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24088 done; \
24089 echo "Doing install-pdf in m4" ; \
24090 (cd $(HOST_SUBDIR)/m4 && \
24091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24093 "RANLIB=$${RANLIB}" \
24094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24095 install-pdf) \
24096 || exit 1
24098 @endif m4
24100 .PHONY: maybe-install-html-m4 install-html-m4
24101 maybe-install-html-m4:
24102 @if m4
24103 maybe-install-html-m4: install-html-m4
24105 install-html-m4: \
24106 configure-m4 \
24107 html-m4
24108 @: $(MAKE); $(unstage)
24109 @[ -f ./m4/Makefile ] || exit 0; \
24110 r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112 $(HOST_EXPORTS) \
24113 for flag in $(EXTRA_HOST_FLAGS) ; do \
24114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24115 done; \
24116 echo "Doing install-html in m4" ; \
24117 (cd $(HOST_SUBDIR)/m4 && \
24118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24120 "RANLIB=$${RANLIB}" \
24121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24122 install-html) \
24123 || exit 1
24125 @endif m4
24127 .PHONY: maybe-installcheck-m4 installcheck-m4
24128 maybe-installcheck-m4:
24129 @if m4
24130 maybe-installcheck-m4: installcheck-m4
24132 installcheck-m4: \
24133 configure-m4
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./m4/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing installcheck in m4" ; \
24143 (cd $(HOST_SUBDIR)/m4 && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24148 installcheck) \
24149 || exit 1
24151 @endif m4
24153 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24154 maybe-mostlyclean-m4:
24155 @if m4
24156 maybe-mostlyclean-m4: mostlyclean-m4
24158 mostlyclean-m4:
24159 @: $(MAKE); $(unstage)
24160 @[ -f ./m4/Makefile ] || exit 0; \
24161 r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24163 $(HOST_EXPORTS) \
24164 for flag in $(EXTRA_HOST_FLAGS) ; do \
24165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24166 done; \
24167 echo "Doing mostlyclean in m4" ; \
24168 (cd $(HOST_SUBDIR)/m4 && \
24169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24171 "RANLIB=$${RANLIB}" \
24172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24173 mostlyclean) \
24174 || exit 1
24176 @endif m4
24178 .PHONY: maybe-clean-m4 clean-m4
24179 maybe-clean-m4:
24180 @if m4
24181 maybe-clean-m4: clean-m4
24183 clean-m4:
24184 @: $(MAKE); $(unstage)
24185 @[ -f ./m4/Makefile ] || exit 0; \
24186 r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24188 $(HOST_EXPORTS) \
24189 for flag in $(EXTRA_HOST_FLAGS) ; do \
24190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24191 done; \
24192 echo "Doing clean in m4" ; \
24193 (cd $(HOST_SUBDIR)/m4 && \
24194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24196 "RANLIB=$${RANLIB}" \
24197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24198 clean) \
24199 || exit 1
24201 @endif m4
24203 .PHONY: maybe-distclean-m4 distclean-m4
24204 maybe-distclean-m4:
24205 @if m4
24206 maybe-distclean-m4: distclean-m4
24208 distclean-m4:
24209 @: $(MAKE); $(unstage)
24210 @[ -f ./m4/Makefile ] || exit 0; \
24211 r=`${PWD_COMMAND}`; export r; \
24212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24213 $(HOST_EXPORTS) \
24214 for flag in $(EXTRA_HOST_FLAGS) ; do \
24215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24216 done; \
24217 echo "Doing distclean in m4" ; \
24218 (cd $(HOST_SUBDIR)/m4 && \
24219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24221 "RANLIB=$${RANLIB}" \
24222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24223 distclean) \
24224 || exit 1
24226 @endif m4
24228 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24229 maybe-maintainer-clean-m4:
24230 @if m4
24231 maybe-maintainer-clean-m4: maintainer-clean-m4
24233 maintainer-clean-m4:
24234 @: $(MAKE); $(unstage)
24235 @[ -f ./m4/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24238 $(HOST_EXPORTS) \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24241 done; \
24242 echo "Doing maintainer-clean in m4" ; \
24243 (cd $(HOST_SUBDIR)/m4 && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24248 maintainer-clean) \
24249 || exit 1
24251 @endif m4
24255 .PHONY: configure-readline maybe-configure-readline
24256 maybe-configure-readline:
24257 @if gcc-bootstrap
24258 configure-readline: stage_current
24259 @endif gcc-bootstrap
24260 @if readline
24261 maybe-configure-readline: configure-readline
24262 configure-readline:
24263 @: $(MAKE); $(unstage)
24264 @r=`${PWD_COMMAND}`; export r; \
24265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24268 $(HOST_EXPORTS) \
24269 echo Configuring in $(HOST_SUBDIR)/readline; \
24270 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24271 case $(srcdir) in \
24272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24273 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24275 esac; \
24276 srcdiroption="--srcdir=$${topdir}/readline"; \
24277 libsrcdir="$$s/readline"; \
24278 $(SHELL) $${libsrcdir}/configure \
24279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24280 --target=${target_alias} $${srcdiroption} \
24281 || exit 1
24282 @endif readline
24288 .PHONY: all-readline maybe-all-readline
24289 maybe-all-readline:
24290 @if gcc-bootstrap
24291 all-readline: stage_current
24292 @endif gcc-bootstrap
24293 @if readline
24294 TARGET-readline=all
24295 maybe-all-readline: all-readline
24296 all-readline: configure-readline
24297 @: $(MAKE); $(unstage)
24298 @r=`${PWD_COMMAND}`; export r; \
24299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24300 $(HOST_EXPORTS) \
24301 (cd $(HOST_SUBDIR)/readline && \
24302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24303 $(TARGET-readline))
24304 @endif readline
24309 .PHONY: check-readline maybe-check-readline
24310 maybe-check-readline:
24311 @if readline
24312 maybe-check-readline: check-readline
24314 check-readline:
24315 @: $(MAKE); $(unstage)
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(HOST_EXPORTS) \
24319 (cd $(HOST_SUBDIR)/readline && \
24320 $(MAKE) $(FLAGS_TO_PASS) check)
24322 @endif readline
24324 .PHONY: install-readline maybe-install-readline
24325 maybe-install-readline:
24326 @if readline
24327 maybe-install-readline: install-readline
24329 install-readline: installdirs
24330 @: $(MAKE); $(unstage)
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 (cd $(HOST_SUBDIR)/readline && \
24335 $(MAKE) $(FLAGS_TO_PASS) install)
24337 @endif readline
24339 .PHONY: install-strip-readline maybe-install-strip-readline
24340 maybe-install-strip-readline:
24341 @if readline
24342 maybe-install-strip-readline: install-strip-readline
24344 install-strip-readline: installdirs
24345 @: $(MAKE); $(unstage)
24346 @r=`${PWD_COMMAND}`; export r; \
24347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24348 $(HOST_EXPORTS) \
24349 (cd $(HOST_SUBDIR)/readline && \
24350 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24352 @endif readline
24354 # Other targets (info, dvi, pdf, etc.)
24356 .PHONY: maybe-info-readline info-readline
24357 maybe-info-readline:
24358 @if readline
24359 maybe-info-readline: info-readline
24361 info-readline: \
24362 configure-readline
24363 @: $(MAKE); $(unstage)
24364 @[ -f ./readline/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(HOST_EXPORTS) \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24370 done; \
24371 echo "Doing info in readline" ; \
24372 (cd $(HOST_SUBDIR)/readline && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24377 info) \
24378 || exit 1
24380 @endif readline
24382 .PHONY: maybe-dvi-readline dvi-readline
24383 maybe-dvi-readline:
24384 @if readline
24385 maybe-dvi-readline: dvi-readline
24387 dvi-readline: \
24388 configure-readline
24389 @: $(MAKE); $(unstage)
24390 @[ -f ./readline/Makefile ] || exit 0; \
24391 r=`${PWD_COMMAND}`; export r; \
24392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24393 $(HOST_EXPORTS) \
24394 for flag in $(EXTRA_HOST_FLAGS) ; do \
24395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24396 done; \
24397 echo "Doing dvi in readline" ; \
24398 (cd $(HOST_SUBDIR)/readline && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24403 dvi) \
24404 || exit 1
24406 @endif readline
24408 .PHONY: maybe-pdf-readline pdf-readline
24409 maybe-pdf-readline:
24410 @if readline
24411 maybe-pdf-readline: pdf-readline
24413 pdf-readline: \
24414 configure-readline
24415 @: $(MAKE); $(unstage)
24416 @[ -f ./readline/Makefile ] || exit 0; \
24417 r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24419 $(HOST_EXPORTS) \
24420 for flag in $(EXTRA_HOST_FLAGS) ; do \
24421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24422 done; \
24423 echo "Doing pdf in readline" ; \
24424 (cd $(HOST_SUBDIR)/readline && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24429 pdf) \
24430 || exit 1
24432 @endif readline
24434 .PHONY: maybe-html-readline html-readline
24435 maybe-html-readline:
24436 @if readline
24437 maybe-html-readline: html-readline
24439 html-readline: \
24440 configure-readline
24441 @: $(MAKE); $(unstage)
24442 @[ -f ./readline/Makefile ] || exit 0; \
24443 r=`${PWD_COMMAND}`; export r; \
24444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24445 $(HOST_EXPORTS) \
24446 for flag in $(EXTRA_HOST_FLAGS) ; do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24448 done; \
24449 echo "Doing html in readline" ; \
24450 (cd $(HOST_SUBDIR)/readline && \
24451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24453 "RANLIB=$${RANLIB}" \
24454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24455 html) \
24456 || exit 1
24458 @endif readline
24460 .PHONY: maybe-TAGS-readline TAGS-readline
24461 maybe-TAGS-readline:
24462 @if readline
24463 maybe-TAGS-readline: TAGS-readline
24465 TAGS-readline: \
24466 configure-readline
24467 @: $(MAKE); $(unstage)
24468 @[ -f ./readline/Makefile ] || exit 0; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24471 $(HOST_EXPORTS) \
24472 for flag in $(EXTRA_HOST_FLAGS) ; do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24474 done; \
24475 echo "Doing TAGS in readline" ; \
24476 (cd $(HOST_SUBDIR)/readline && \
24477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24479 "RANLIB=$${RANLIB}" \
24480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24481 TAGS) \
24482 || exit 1
24484 @endif readline
24486 .PHONY: maybe-install-info-readline install-info-readline
24487 maybe-install-info-readline:
24488 @if readline
24489 maybe-install-info-readline: install-info-readline
24491 install-info-readline: \
24492 configure-readline \
24493 info-readline
24494 @: $(MAKE); $(unstage)
24495 @[ -f ./readline/Makefile ] || exit 0; \
24496 r=`${PWD_COMMAND}`; export r; \
24497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24498 $(HOST_EXPORTS) \
24499 for flag in $(EXTRA_HOST_FLAGS) ; do \
24500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24501 done; \
24502 echo "Doing install-info in readline" ; \
24503 (cd $(HOST_SUBDIR)/readline && \
24504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24506 "RANLIB=$${RANLIB}" \
24507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24508 install-info) \
24509 || exit 1
24511 @endif readline
24513 .PHONY: maybe-install-pdf-readline install-pdf-readline
24514 maybe-install-pdf-readline:
24515 @if readline
24516 maybe-install-pdf-readline: install-pdf-readline
24518 install-pdf-readline: \
24519 configure-readline \
24520 pdf-readline
24521 @: $(MAKE); $(unstage)
24522 @[ -f ./readline/Makefile ] || exit 0; \
24523 r=`${PWD_COMMAND}`; export r; \
24524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24525 $(HOST_EXPORTS) \
24526 for flag in $(EXTRA_HOST_FLAGS) ; do \
24527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24528 done; \
24529 echo "Doing install-pdf in readline" ; \
24530 (cd $(HOST_SUBDIR)/readline && \
24531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24533 "RANLIB=$${RANLIB}" \
24534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24535 install-pdf) \
24536 || exit 1
24538 @endif readline
24540 .PHONY: maybe-install-html-readline install-html-readline
24541 maybe-install-html-readline:
24542 @if readline
24543 maybe-install-html-readline: install-html-readline
24545 install-html-readline: \
24546 configure-readline \
24547 html-readline
24548 @: $(MAKE); $(unstage)
24549 @[ -f ./readline/Makefile ] || exit 0; \
24550 r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24552 $(HOST_EXPORTS) \
24553 for flag in $(EXTRA_HOST_FLAGS) ; do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24555 done; \
24556 echo "Doing install-html in readline" ; \
24557 (cd $(HOST_SUBDIR)/readline && \
24558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24560 "RANLIB=$${RANLIB}" \
24561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24562 install-html) \
24563 || exit 1
24565 @endif readline
24567 .PHONY: maybe-installcheck-readline installcheck-readline
24568 maybe-installcheck-readline:
24569 @if readline
24570 maybe-installcheck-readline: installcheck-readline
24572 installcheck-readline: \
24573 configure-readline
24574 @: $(MAKE); $(unstage)
24575 @[ -f ./readline/Makefile ] || exit 0; \
24576 r=`${PWD_COMMAND}`; export r; \
24577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24578 $(HOST_EXPORTS) \
24579 for flag in $(EXTRA_HOST_FLAGS) ; do \
24580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24581 done; \
24582 echo "Doing installcheck in readline" ; \
24583 (cd $(HOST_SUBDIR)/readline && \
24584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24586 "RANLIB=$${RANLIB}" \
24587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24588 installcheck) \
24589 || exit 1
24591 @endif readline
24593 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24594 maybe-mostlyclean-readline:
24595 @if readline
24596 maybe-mostlyclean-readline: mostlyclean-readline
24598 mostlyclean-readline:
24599 @: $(MAKE); $(unstage)
24600 @[ -f ./readline/Makefile ] || exit 0; \
24601 r=`${PWD_COMMAND}`; export r; \
24602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24603 $(HOST_EXPORTS) \
24604 for flag in $(EXTRA_HOST_FLAGS) ; do \
24605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24606 done; \
24607 echo "Doing mostlyclean in readline" ; \
24608 (cd $(HOST_SUBDIR)/readline && \
24609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24611 "RANLIB=$${RANLIB}" \
24612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24613 mostlyclean) \
24614 || exit 1
24616 @endif readline
24618 .PHONY: maybe-clean-readline clean-readline
24619 maybe-clean-readline:
24620 @if readline
24621 maybe-clean-readline: clean-readline
24623 clean-readline:
24624 @: $(MAKE); $(unstage)
24625 @[ -f ./readline/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24628 $(HOST_EXPORTS) \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24631 done; \
24632 echo "Doing clean in readline" ; \
24633 (cd $(HOST_SUBDIR)/readline && \
24634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636 "RANLIB=$${RANLIB}" \
24637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24638 clean) \
24639 || exit 1
24641 @endif readline
24643 .PHONY: maybe-distclean-readline distclean-readline
24644 maybe-distclean-readline:
24645 @if readline
24646 maybe-distclean-readline: distclean-readline
24648 distclean-readline:
24649 @: $(MAKE); $(unstage)
24650 @[ -f ./readline/Makefile ] || exit 0; \
24651 r=`${PWD_COMMAND}`; export r; \
24652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24653 $(HOST_EXPORTS) \
24654 for flag in $(EXTRA_HOST_FLAGS) ; do \
24655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24656 done; \
24657 echo "Doing distclean in readline" ; \
24658 (cd $(HOST_SUBDIR)/readline && \
24659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24661 "RANLIB=$${RANLIB}" \
24662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24663 distclean) \
24664 || exit 1
24666 @endif readline
24668 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24669 maybe-maintainer-clean-readline:
24670 @if readline
24671 maybe-maintainer-clean-readline: maintainer-clean-readline
24673 maintainer-clean-readline:
24674 @: $(MAKE); $(unstage)
24675 @[ -f ./readline/Makefile ] || exit 0; \
24676 r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 $(HOST_EXPORTS) \
24679 for flag in $(EXTRA_HOST_FLAGS) ; do \
24680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24681 done; \
24682 echo "Doing maintainer-clean in readline" ; \
24683 (cd $(HOST_SUBDIR)/readline && \
24684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24686 "RANLIB=$${RANLIB}" \
24687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24688 maintainer-clean) \
24689 || exit 1
24691 @endif readline
24695 .PHONY: configure-sid maybe-configure-sid
24696 maybe-configure-sid:
24697 @if gcc-bootstrap
24698 configure-sid: stage_current
24699 @endif gcc-bootstrap
24700 @if sid
24701 maybe-configure-sid: configure-sid
24702 configure-sid:
24703 @: $(MAKE); $(unstage)
24704 @r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24708 $(HOST_EXPORTS) \
24709 echo Configuring in $(HOST_SUBDIR)/sid; \
24710 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24711 case $(srcdir) in \
24712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24713 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24715 esac; \
24716 srcdiroption="--srcdir=$${topdir}/sid"; \
24717 libsrcdir="$$s/sid"; \
24718 $(SHELL) $${libsrcdir}/configure \
24719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24720 --target=${target_alias} $${srcdiroption} \
24721 || exit 1
24722 @endif sid
24728 .PHONY: all-sid maybe-all-sid
24729 maybe-all-sid:
24730 @if gcc-bootstrap
24731 all-sid: stage_current
24732 @endif gcc-bootstrap
24733 @if sid
24734 TARGET-sid=all
24735 maybe-all-sid: all-sid
24736 all-sid: configure-sid
24737 @: $(MAKE); $(unstage)
24738 @r=`${PWD_COMMAND}`; export r; \
24739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24740 $(HOST_EXPORTS) \
24741 (cd $(HOST_SUBDIR)/sid && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24743 $(TARGET-sid))
24744 @endif sid
24749 .PHONY: check-sid maybe-check-sid
24750 maybe-check-sid:
24751 @if sid
24752 maybe-check-sid: check-sid
24754 check-sid:
24755 @: $(MAKE); $(unstage)
24756 @r=`${PWD_COMMAND}`; export r; \
24757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24758 $(HOST_EXPORTS) \
24759 (cd $(HOST_SUBDIR)/sid && \
24760 $(MAKE) $(FLAGS_TO_PASS) check)
24762 @endif sid
24764 .PHONY: install-sid maybe-install-sid
24765 maybe-install-sid:
24766 @if sid
24767 maybe-install-sid: install-sid
24769 install-sid: installdirs
24770 @: $(MAKE); $(unstage)
24771 @r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24773 $(HOST_EXPORTS) \
24774 (cd $(HOST_SUBDIR)/sid && \
24775 $(MAKE) $(FLAGS_TO_PASS) install)
24777 @endif sid
24779 .PHONY: install-strip-sid maybe-install-strip-sid
24780 maybe-install-strip-sid:
24781 @if sid
24782 maybe-install-strip-sid: install-strip-sid
24784 install-strip-sid: installdirs
24785 @: $(MAKE); $(unstage)
24786 @r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24788 $(HOST_EXPORTS) \
24789 (cd $(HOST_SUBDIR)/sid && \
24790 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24792 @endif sid
24794 # Other targets (info, dvi, pdf, etc.)
24796 .PHONY: maybe-info-sid info-sid
24797 maybe-info-sid:
24798 @if sid
24799 maybe-info-sid: info-sid
24801 info-sid: \
24802 configure-sid
24803 @: $(MAKE); $(unstage)
24804 @[ -f ./sid/Makefile ] || exit 0; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(HOST_EXPORTS) \
24808 for flag in $(EXTRA_HOST_FLAGS) ; do \
24809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24810 done; \
24811 echo "Doing info in sid" ; \
24812 (cd $(HOST_SUBDIR)/sid && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24817 info) \
24818 || exit 1
24820 @endif sid
24822 .PHONY: maybe-dvi-sid dvi-sid
24823 maybe-dvi-sid:
24824 @if sid
24825 maybe-dvi-sid: dvi-sid
24827 dvi-sid: \
24828 configure-sid
24829 @: $(MAKE); $(unstage)
24830 @[ -f ./sid/Makefile ] || exit 0; \
24831 r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24833 $(HOST_EXPORTS) \
24834 for flag in $(EXTRA_HOST_FLAGS) ; do \
24835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24836 done; \
24837 echo "Doing dvi in sid" ; \
24838 (cd $(HOST_SUBDIR)/sid && \
24839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24841 "RANLIB=$${RANLIB}" \
24842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24843 dvi) \
24844 || exit 1
24846 @endif sid
24848 .PHONY: maybe-pdf-sid pdf-sid
24849 maybe-pdf-sid:
24850 @if sid
24851 maybe-pdf-sid: pdf-sid
24853 pdf-sid: \
24854 configure-sid
24855 @: $(MAKE); $(unstage)
24856 @[ -f ./sid/Makefile ] || exit 0; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 for flag in $(EXTRA_HOST_FLAGS) ; do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24862 done; \
24863 echo "Doing pdf in sid" ; \
24864 (cd $(HOST_SUBDIR)/sid && \
24865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24867 "RANLIB=$${RANLIB}" \
24868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24869 pdf) \
24870 || exit 1
24872 @endif sid
24874 .PHONY: maybe-html-sid html-sid
24875 maybe-html-sid:
24876 @if sid
24877 maybe-html-sid: html-sid
24879 html-sid: \
24880 configure-sid
24881 @: $(MAKE); $(unstage)
24882 @[ -f ./sid/Makefile ] || exit 0; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(HOST_EXPORTS) \
24886 for flag in $(EXTRA_HOST_FLAGS) ; do \
24887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24888 done; \
24889 echo "Doing html in sid" ; \
24890 (cd $(HOST_SUBDIR)/sid && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24895 html) \
24896 || exit 1
24898 @endif sid
24900 .PHONY: maybe-TAGS-sid TAGS-sid
24901 maybe-TAGS-sid:
24902 @if sid
24903 maybe-TAGS-sid: TAGS-sid
24905 TAGS-sid: \
24906 configure-sid
24907 @: $(MAKE); $(unstage)
24908 @[ -f ./sid/Makefile ] || exit 0; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(HOST_EXPORTS) \
24912 for flag in $(EXTRA_HOST_FLAGS) ; do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24914 done; \
24915 echo "Doing TAGS in sid" ; \
24916 (cd $(HOST_SUBDIR)/sid && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24921 TAGS) \
24922 || exit 1
24924 @endif sid
24926 .PHONY: maybe-install-info-sid install-info-sid
24927 maybe-install-info-sid:
24928 @if sid
24929 maybe-install-info-sid: install-info-sid
24931 install-info-sid: \
24932 configure-sid \
24933 info-sid
24934 @: $(MAKE); $(unstage)
24935 @[ -f ./sid/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(HOST_EXPORTS) \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24941 done; \
24942 echo "Doing install-info in sid" ; \
24943 (cd $(HOST_SUBDIR)/sid && \
24944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946 "RANLIB=$${RANLIB}" \
24947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24948 install-info) \
24949 || exit 1
24951 @endif sid
24953 .PHONY: maybe-install-pdf-sid install-pdf-sid
24954 maybe-install-pdf-sid:
24955 @if sid
24956 maybe-install-pdf-sid: install-pdf-sid
24958 install-pdf-sid: \
24959 configure-sid \
24960 pdf-sid
24961 @: $(MAKE); $(unstage)
24962 @[ -f ./sid/Makefile ] || exit 0; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24965 $(HOST_EXPORTS) \
24966 for flag in $(EXTRA_HOST_FLAGS) ; do \
24967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24968 done; \
24969 echo "Doing install-pdf in sid" ; \
24970 (cd $(HOST_SUBDIR)/sid && \
24971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24973 "RANLIB=$${RANLIB}" \
24974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24975 install-pdf) \
24976 || exit 1
24978 @endif sid
24980 .PHONY: maybe-install-html-sid install-html-sid
24981 maybe-install-html-sid:
24982 @if sid
24983 maybe-install-html-sid: install-html-sid
24985 install-html-sid: \
24986 configure-sid \
24987 html-sid
24988 @: $(MAKE); $(unstage)
24989 @[ -f ./sid/Makefile ] || exit 0; \
24990 r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 $(HOST_EXPORTS) \
24993 for flag in $(EXTRA_HOST_FLAGS) ; do \
24994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24995 done; \
24996 echo "Doing install-html in sid" ; \
24997 (cd $(HOST_SUBDIR)/sid && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25002 install-html) \
25003 || exit 1
25005 @endif sid
25007 .PHONY: maybe-installcheck-sid installcheck-sid
25008 maybe-installcheck-sid:
25009 @if sid
25010 maybe-installcheck-sid: installcheck-sid
25012 installcheck-sid: \
25013 configure-sid
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./sid/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing installcheck in sid" ; \
25023 (cd $(HOST_SUBDIR)/sid && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25028 installcheck) \
25029 || exit 1
25031 @endif sid
25033 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25034 maybe-mostlyclean-sid:
25035 @if sid
25036 maybe-mostlyclean-sid: mostlyclean-sid
25038 mostlyclean-sid:
25039 @: $(MAKE); $(unstage)
25040 @[ -f ./sid/Makefile ] || exit 0; \
25041 r=`${PWD_COMMAND}`; export r; \
25042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25043 $(HOST_EXPORTS) \
25044 for flag in $(EXTRA_HOST_FLAGS) ; do \
25045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25046 done; \
25047 echo "Doing mostlyclean in sid" ; \
25048 (cd $(HOST_SUBDIR)/sid && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25053 mostlyclean) \
25054 || exit 1
25056 @endif sid
25058 .PHONY: maybe-clean-sid clean-sid
25059 maybe-clean-sid:
25060 @if sid
25061 maybe-clean-sid: clean-sid
25063 clean-sid:
25064 @: $(MAKE); $(unstage)
25065 @[ -f ./sid/Makefile ] || exit 0; \
25066 r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25068 $(HOST_EXPORTS) \
25069 for flag in $(EXTRA_HOST_FLAGS) ; do \
25070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25071 done; \
25072 echo "Doing clean in sid" ; \
25073 (cd $(HOST_SUBDIR)/sid && \
25074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25076 "RANLIB=$${RANLIB}" \
25077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25078 clean) \
25079 || exit 1
25081 @endif sid
25083 .PHONY: maybe-distclean-sid distclean-sid
25084 maybe-distclean-sid:
25085 @if sid
25086 maybe-distclean-sid: distclean-sid
25088 distclean-sid:
25089 @: $(MAKE); $(unstage)
25090 @[ -f ./sid/Makefile ] || exit 0; \
25091 r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 $(HOST_EXPORTS) \
25094 for flag in $(EXTRA_HOST_FLAGS) ; do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096 done; \
25097 echo "Doing distclean in sid" ; \
25098 (cd $(HOST_SUBDIR)/sid && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25103 distclean) \
25104 || exit 1
25106 @endif sid
25108 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25109 maybe-maintainer-clean-sid:
25110 @if sid
25111 maybe-maintainer-clean-sid: maintainer-clean-sid
25113 maintainer-clean-sid:
25114 @: $(MAKE); $(unstage)
25115 @[ -f ./sid/Makefile ] || exit 0; \
25116 r=`${PWD_COMMAND}`; export r; \
25117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25118 $(HOST_EXPORTS) \
25119 for flag in $(EXTRA_HOST_FLAGS) ; do \
25120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25121 done; \
25122 echo "Doing maintainer-clean in sid" ; \
25123 (cd $(HOST_SUBDIR)/sid && \
25124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25126 "RANLIB=$${RANLIB}" \
25127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25128 maintainer-clean) \
25129 || exit 1
25131 @endif sid
25135 .PHONY: configure-sim maybe-configure-sim
25136 maybe-configure-sim:
25137 @if gcc-bootstrap
25138 configure-sim: stage_current
25139 @endif gcc-bootstrap
25140 @if sim
25141 maybe-configure-sim: configure-sim
25142 configure-sim:
25143 @: $(MAKE); $(unstage)
25144 @r=`${PWD_COMMAND}`; export r; \
25145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25146 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25148 $(HOST_EXPORTS) \
25149 echo Configuring in $(HOST_SUBDIR)/sim; \
25150 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25151 case $(srcdir) in \
25152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25153 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25155 esac; \
25156 srcdiroption="--srcdir=$${topdir}/sim"; \
25157 libsrcdir="$$s/sim"; \
25158 $(SHELL) $${libsrcdir}/configure \
25159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25160 --target=${target_alias} $${srcdiroption} \
25161 || exit 1
25162 @endif sim
25168 .PHONY: all-sim maybe-all-sim
25169 maybe-all-sim:
25170 @if gcc-bootstrap
25171 all-sim: stage_current
25172 @endif gcc-bootstrap
25173 @if sim
25174 TARGET-sim=all
25175 maybe-all-sim: all-sim
25176 all-sim: configure-sim
25177 @: $(MAKE); $(unstage)
25178 @r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(HOST_EXPORTS) \
25181 (cd $(HOST_SUBDIR)/sim && \
25182 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25183 $(TARGET-sim))
25184 @endif sim
25189 .PHONY: check-sim maybe-check-sim
25190 maybe-check-sim:
25191 @if sim
25192 maybe-check-sim: check-sim
25194 check-sim:
25195 @: $(MAKE); $(unstage)
25196 @r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 (cd $(HOST_SUBDIR)/sim && \
25200 $(MAKE) $(FLAGS_TO_PASS) check)
25202 @endif sim
25204 .PHONY: install-sim maybe-install-sim
25205 maybe-install-sim:
25206 @if sim
25207 maybe-install-sim: install-sim
25209 install-sim: installdirs
25210 @: $(MAKE); $(unstage)
25211 @r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25213 $(HOST_EXPORTS) \
25214 (cd $(HOST_SUBDIR)/sim && \
25215 $(MAKE) $(FLAGS_TO_PASS) install)
25217 @endif sim
25219 .PHONY: install-strip-sim maybe-install-strip-sim
25220 maybe-install-strip-sim:
25221 @if sim
25222 maybe-install-strip-sim: install-strip-sim
25224 install-strip-sim: installdirs
25225 @: $(MAKE); $(unstage)
25226 @r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(HOST_EXPORTS) \
25229 (cd $(HOST_SUBDIR)/sim && \
25230 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25232 @endif sim
25234 # Other targets (info, dvi, pdf, etc.)
25236 .PHONY: maybe-info-sim info-sim
25237 maybe-info-sim:
25238 @if sim
25239 maybe-info-sim: info-sim
25241 info-sim: \
25242 configure-sim
25243 @: $(MAKE); $(unstage)
25244 @[ -f ./sim/Makefile ] || exit 0; \
25245 r=`${PWD_COMMAND}`; export r; \
25246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25247 $(HOST_EXPORTS) \
25248 for flag in $(EXTRA_HOST_FLAGS) ; do \
25249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25250 done; \
25251 echo "Doing info in sim" ; \
25252 (cd $(HOST_SUBDIR)/sim && \
25253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25255 "RANLIB=$${RANLIB}" \
25256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25257 info) \
25258 || exit 1
25260 @endif sim
25262 .PHONY: maybe-dvi-sim dvi-sim
25263 maybe-dvi-sim:
25264 @if sim
25265 maybe-dvi-sim: dvi-sim
25267 dvi-sim: \
25268 configure-sim
25269 @: $(MAKE); $(unstage)
25270 @[ -f ./sim/Makefile ] || exit 0; \
25271 r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25273 $(HOST_EXPORTS) \
25274 for flag in $(EXTRA_HOST_FLAGS) ; do \
25275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25276 done; \
25277 echo "Doing dvi in sim" ; \
25278 (cd $(HOST_SUBDIR)/sim && \
25279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25281 "RANLIB=$${RANLIB}" \
25282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25283 dvi) \
25284 || exit 1
25286 @endif sim
25288 .PHONY: maybe-pdf-sim pdf-sim
25289 maybe-pdf-sim:
25290 @if sim
25291 maybe-pdf-sim: pdf-sim
25293 pdf-sim: \
25294 configure-sim
25295 @: $(MAKE); $(unstage)
25296 @[ -f ./sim/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 for flag in $(EXTRA_HOST_FLAGS) ; do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 done; \
25303 echo "Doing pdf in sim" ; \
25304 (cd $(HOST_SUBDIR)/sim && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25309 pdf) \
25310 || exit 1
25312 @endif sim
25314 .PHONY: maybe-html-sim html-sim
25315 maybe-html-sim:
25316 @if sim
25317 maybe-html-sim: html-sim
25319 html-sim: \
25320 configure-sim
25321 @: $(MAKE); $(unstage)
25322 @[ -f ./sim/Makefile ] || exit 0; \
25323 r=`${PWD_COMMAND}`; export r; \
25324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25325 $(HOST_EXPORTS) \
25326 for flag in $(EXTRA_HOST_FLAGS) ; do \
25327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25328 done; \
25329 echo "Doing html in sim" ; \
25330 (cd $(HOST_SUBDIR)/sim && \
25331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25333 "RANLIB=$${RANLIB}" \
25334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25335 html) \
25336 || exit 1
25338 @endif sim
25340 .PHONY: maybe-TAGS-sim TAGS-sim
25341 maybe-TAGS-sim:
25342 @if sim
25343 maybe-TAGS-sim: TAGS-sim
25345 TAGS-sim: \
25346 configure-sim
25347 @: $(MAKE); $(unstage)
25348 @[ -f ./sim/Makefile ] || exit 0; \
25349 r=`${PWD_COMMAND}`; export r; \
25350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25351 $(HOST_EXPORTS) \
25352 for flag in $(EXTRA_HOST_FLAGS) ; do \
25353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25354 done; \
25355 echo "Doing TAGS in sim" ; \
25356 (cd $(HOST_SUBDIR)/sim && \
25357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25359 "RANLIB=$${RANLIB}" \
25360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25361 TAGS) \
25362 || exit 1
25364 @endif sim
25366 .PHONY: maybe-install-info-sim install-info-sim
25367 maybe-install-info-sim:
25368 @if sim
25369 maybe-install-info-sim: install-info-sim
25371 install-info-sim: \
25372 configure-sim \
25373 info-sim
25374 @: $(MAKE); $(unstage)
25375 @[ -f ./sim/Makefile ] || exit 0; \
25376 r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25378 $(HOST_EXPORTS) \
25379 for flag in $(EXTRA_HOST_FLAGS) ; do \
25380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25381 done; \
25382 echo "Doing install-info in sim" ; \
25383 (cd $(HOST_SUBDIR)/sim && \
25384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25386 "RANLIB=$${RANLIB}" \
25387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25388 install-info) \
25389 || exit 1
25391 @endif sim
25393 .PHONY: maybe-install-pdf-sim install-pdf-sim
25394 maybe-install-pdf-sim:
25395 @if sim
25396 maybe-install-pdf-sim: install-pdf-sim
25398 install-pdf-sim: \
25399 configure-sim \
25400 pdf-sim
25401 @: $(MAKE); $(unstage)
25402 @[ -f ./sim/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(HOST_EXPORTS) \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25408 done; \
25409 echo "Doing install-pdf in sim" ; \
25410 (cd $(HOST_SUBDIR)/sim && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25415 install-pdf) \
25416 || exit 1
25418 @endif sim
25420 .PHONY: maybe-install-html-sim install-html-sim
25421 maybe-install-html-sim:
25422 @if sim
25423 maybe-install-html-sim: install-html-sim
25425 install-html-sim: \
25426 configure-sim \
25427 html-sim
25428 @: $(MAKE); $(unstage)
25429 @[ -f ./sim/Makefile ] || exit 0; \
25430 r=`${PWD_COMMAND}`; export r; \
25431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25432 $(HOST_EXPORTS) \
25433 for flag in $(EXTRA_HOST_FLAGS) ; do \
25434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25435 done; \
25436 echo "Doing install-html in sim" ; \
25437 (cd $(HOST_SUBDIR)/sim && \
25438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25440 "RANLIB=$${RANLIB}" \
25441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25442 install-html) \
25443 || exit 1
25445 @endif sim
25447 .PHONY: maybe-installcheck-sim installcheck-sim
25448 maybe-installcheck-sim:
25449 @if sim
25450 maybe-installcheck-sim: installcheck-sim
25452 installcheck-sim: \
25453 configure-sim
25454 @: $(MAKE); $(unstage)
25455 @[ -f ./sim/Makefile ] || exit 0; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25458 $(HOST_EXPORTS) \
25459 for flag in $(EXTRA_HOST_FLAGS) ; do \
25460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25461 done; \
25462 echo "Doing installcheck in sim" ; \
25463 (cd $(HOST_SUBDIR)/sim && \
25464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25466 "RANLIB=$${RANLIB}" \
25467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25468 installcheck) \
25469 || exit 1
25471 @endif sim
25473 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25474 maybe-mostlyclean-sim:
25475 @if sim
25476 maybe-mostlyclean-sim: mostlyclean-sim
25478 mostlyclean-sim:
25479 @: $(MAKE); $(unstage)
25480 @[ -f ./sim/Makefile ] || exit 0; \
25481 r=`${PWD_COMMAND}`; export r; \
25482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25483 $(HOST_EXPORTS) \
25484 for flag in $(EXTRA_HOST_FLAGS) ; do \
25485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25486 done; \
25487 echo "Doing mostlyclean in sim" ; \
25488 (cd $(HOST_SUBDIR)/sim && \
25489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25491 "RANLIB=$${RANLIB}" \
25492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25493 mostlyclean) \
25494 || exit 1
25496 @endif sim
25498 .PHONY: maybe-clean-sim clean-sim
25499 maybe-clean-sim:
25500 @if sim
25501 maybe-clean-sim: clean-sim
25503 clean-sim:
25504 @: $(MAKE); $(unstage)
25505 @[ -f ./sim/Makefile ] || exit 0; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(HOST_EXPORTS) \
25509 for flag in $(EXTRA_HOST_FLAGS) ; do \
25510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25511 done; \
25512 echo "Doing clean in sim" ; \
25513 (cd $(HOST_SUBDIR)/sim && \
25514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25516 "RANLIB=$${RANLIB}" \
25517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25518 clean) \
25519 || exit 1
25521 @endif sim
25523 .PHONY: maybe-distclean-sim distclean-sim
25524 maybe-distclean-sim:
25525 @if sim
25526 maybe-distclean-sim: distclean-sim
25528 distclean-sim:
25529 @: $(MAKE); $(unstage)
25530 @[ -f ./sim/Makefile ] || exit 0; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 for flag in $(EXTRA_HOST_FLAGS) ; do \
25535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25536 done; \
25537 echo "Doing distclean in sim" ; \
25538 (cd $(HOST_SUBDIR)/sim && \
25539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25541 "RANLIB=$${RANLIB}" \
25542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25543 distclean) \
25544 || exit 1
25546 @endif sim
25548 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25549 maybe-maintainer-clean-sim:
25550 @if sim
25551 maybe-maintainer-clean-sim: maintainer-clean-sim
25553 maintainer-clean-sim:
25554 @: $(MAKE); $(unstage)
25555 @[ -f ./sim/Makefile ] || exit 0; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558 $(HOST_EXPORTS) \
25559 for flag in $(EXTRA_HOST_FLAGS) ; do \
25560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25561 done; \
25562 echo "Doing maintainer-clean in sim" ; \
25563 (cd $(HOST_SUBDIR)/sim && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566 "RANLIB=$${RANLIB}" \
25567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25568 maintainer-clean) \
25569 || exit 1
25571 @endif sim
25575 .PHONY: configure-texinfo maybe-configure-texinfo
25576 maybe-configure-texinfo:
25577 @if gcc-bootstrap
25578 configure-texinfo: stage_current
25579 @endif gcc-bootstrap
25580 @if texinfo
25581 maybe-configure-texinfo: configure-texinfo
25582 configure-texinfo:
25583 @: $(MAKE); $(unstage)
25584 @r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25588 $(HOST_EXPORTS) \
25589 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25590 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25591 case $(srcdir) in \
25592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25593 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25595 esac; \
25596 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25597 libsrcdir="$$s/texinfo"; \
25598 $(SHELL) $${libsrcdir}/configure \
25599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25600 --target=${target_alias} $${srcdiroption} \
25601 || exit 1
25602 @endif texinfo
25608 .PHONY: all-texinfo maybe-all-texinfo
25609 maybe-all-texinfo:
25610 @if gcc-bootstrap
25611 all-texinfo: stage_current
25612 @endif gcc-bootstrap
25613 @if texinfo
25614 TARGET-texinfo=all
25615 maybe-all-texinfo: all-texinfo
25616 all-texinfo: configure-texinfo
25617 @: $(MAKE); $(unstage)
25618 @r=`${PWD_COMMAND}`; export r; \
25619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25620 $(HOST_EXPORTS) \
25621 (cd $(HOST_SUBDIR)/texinfo && \
25622 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25623 $(TARGET-texinfo))
25624 @endif texinfo
25629 .PHONY: check-texinfo maybe-check-texinfo
25630 maybe-check-texinfo:
25631 @if texinfo
25632 maybe-check-texinfo: check-texinfo
25634 check-texinfo:
25635 @: $(MAKE); $(unstage)
25636 @r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25638 $(HOST_EXPORTS) \
25639 (cd $(HOST_SUBDIR)/texinfo && \
25640 $(MAKE) $(FLAGS_TO_PASS) check)
25642 @endif texinfo
25644 .PHONY: install-texinfo maybe-install-texinfo
25645 maybe-install-texinfo:
25646 @if texinfo
25647 maybe-install-texinfo: install-texinfo
25649 install-texinfo:
25651 @endif texinfo
25653 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25654 maybe-install-strip-texinfo:
25655 @if texinfo
25656 maybe-install-strip-texinfo: install-strip-texinfo
25658 install-strip-texinfo:
25660 @endif texinfo
25662 # Other targets (info, dvi, pdf, etc.)
25664 .PHONY: maybe-info-texinfo info-texinfo
25665 maybe-info-texinfo:
25666 @if texinfo
25667 maybe-info-texinfo: info-texinfo
25669 info-texinfo: \
25670 configure-texinfo
25671 @: $(MAKE); $(unstage)
25672 @[ -f ./texinfo/Makefile ] || exit 0; \
25673 r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25675 $(HOST_EXPORTS) \
25676 for flag in $(EXTRA_HOST_FLAGS) ; do \
25677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25678 done; \
25679 echo "Doing info in texinfo" ; \
25680 (cd $(HOST_SUBDIR)/texinfo && \
25681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25683 "RANLIB=$${RANLIB}" \
25684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25685 info) \
25686 || exit 1
25688 @endif texinfo
25690 .PHONY: maybe-dvi-texinfo dvi-texinfo
25691 maybe-dvi-texinfo:
25692 @if texinfo
25693 maybe-dvi-texinfo: dvi-texinfo
25695 dvi-texinfo: \
25696 configure-texinfo
25697 @: $(MAKE); $(unstage)
25698 @[ -f ./texinfo/Makefile ] || exit 0; \
25699 r=`${PWD_COMMAND}`; export r; \
25700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25701 $(HOST_EXPORTS) \
25702 for flag in $(EXTRA_HOST_FLAGS) ; do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25704 done; \
25705 echo "Doing dvi in texinfo" ; \
25706 (cd $(HOST_SUBDIR)/texinfo && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25711 dvi) \
25712 || exit 1
25714 @endif texinfo
25716 .PHONY: maybe-pdf-texinfo pdf-texinfo
25717 maybe-pdf-texinfo:
25718 @if texinfo
25719 maybe-pdf-texinfo: pdf-texinfo
25721 pdf-texinfo: \
25722 configure-texinfo
25723 @: $(MAKE); $(unstage)
25724 @[ -f ./texinfo/Makefile ] || exit 0; \
25725 r=`${PWD_COMMAND}`; export r; \
25726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25727 $(HOST_EXPORTS) \
25728 for flag in $(EXTRA_HOST_FLAGS) ; do \
25729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25730 done; \
25731 echo "Doing pdf in texinfo" ; \
25732 (cd $(HOST_SUBDIR)/texinfo && \
25733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25735 "RANLIB=$${RANLIB}" \
25736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25737 pdf) \
25738 || exit 1
25740 @endif texinfo
25742 .PHONY: maybe-html-texinfo html-texinfo
25743 maybe-html-texinfo:
25744 @if texinfo
25745 maybe-html-texinfo: html-texinfo
25747 html-texinfo: \
25748 configure-texinfo
25749 @: $(MAKE); $(unstage)
25750 @[ -f ./texinfo/Makefile ] || exit 0; \
25751 r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25753 $(HOST_EXPORTS) \
25754 for flag in $(EXTRA_HOST_FLAGS) ; do \
25755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25756 done; \
25757 echo "Doing html in texinfo" ; \
25758 (cd $(HOST_SUBDIR)/texinfo && \
25759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25761 "RANLIB=$${RANLIB}" \
25762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25763 html) \
25764 || exit 1
25766 @endif texinfo
25768 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25769 maybe-TAGS-texinfo:
25770 @if texinfo
25771 maybe-TAGS-texinfo: TAGS-texinfo
25773 TAGS-texinfo: \
25774 configure-texinfo
25775 @: $(MAKE); $(unstage)
25776 @[ -f ./texinfo/Makefile ] || exit 0; \
25777 r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(HOST_EXPORTS) \
25780 for flag in $(EXTRA_HOST_FLAGS) ; do \
25781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25782 done; \
25783 echo "Doing TAGS in texinfo" ; \
25784 (cd $(HOST_SUBDIR)/texinfo && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25789 TAGS) \
25790 || exit 1
25792 @endif texinfo
25794 .PHONY: maybe-install-info-texinfo install-info-texinfo
25795 maybe-install-info-texinfo:
25796 @if texinfo
25797 maybe-install-info-texinfo: install-info-texinfo
25799 install-info-texinfo: \
25800 configure-texinfo \
25801 info-texinfo
25802 @: $(MAKE); $(unstage)
25803 @[ -f ./texinfo/Makefile ] || exit 0; \
25804 r=`${PWD_COMMAND}`; export r; \
25805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25806 $(HOST_EXPORTS) \
25807 for flag in $(EXTRA_HOST_FLAGS) ; do \
25808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25809 done; \
25810 echo "Doing install-info in texinfo" ; \
25811 (cd $(HOST_SUBDIR)/texinfo && \
25812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25814 "RANLIB=$${RANLIB}" \
25815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25816 install-info) \
25817 || exit 1
25819 @endif texinfo
25821 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25822 maybe-install-pdf-texinfo:
25823 @if texinfo
25824 maybe-install-pdf-texinfo: install-pdf-texinfo
25826 install-pdf-texinfo: \
25827 configure-texinfo \
25828 pdf-texinfo
25829 @: $(MAKE); $(unstage)
25830 @[ -f ./texinfo/Makefile ] || exit 0; \
25831 r=`${PWD_COMMAND}`; export r; \
25832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25833 $(HOST_EXPORTS) \
25834 for flag in $(EXTRA_HOST_FLAGS) ; do \
25835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25836 done; \
25837 echo "Doing install-pdf in texinfo" ; \
25838 (cd $(HOST_SUBDIR)/texinfo && \
25839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25841 "RANLIB=$${RANLIB}" \
25842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25843 install-pdf) \
25844 || exit 1
25846 @endif texinfo
25848 .PHONY: maybe-install-html-texinfo install-html-texinfo
25849 maybe-install-html-texinfo:
25850 @if texinfo
25851 maybe-install-html-texinfo: install-html-texinfo
25853 install-html-texinfo: \
25854 configure-texinfo \
25855 html-texinfo
25856 @: $(MAKE); $(unstage)
25857 @[ -f ./texinfo/Makefile ] || exit 0; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 $(HOST_EXPORTS) \
25861 for flag in $(EXTRA_HOST_FLAGS) ; do \
25862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25863 done; \
25864 echo "Doing install-html in texinfo" ; \
25865 (cd $(HOST_SUBDIR)/texinfo && \
25866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25868 "RANLIB=$${RANLIB}" \
25869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25870 install-html) \
25871 || exit 1
25873 @endif texinfo
25875 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25876 maybe-installcheck-texinfo:
25877 @if texinfo
25878 maybe-installcheck-texinfo: installcheck-texinfo
25880 installcheck-texinfo: \
25881 configure-texinfo
25882 @: $(MAKE); $(unstage)
25883 @[ -f ./texinfo/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(HOST_EXPORTS) \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25889 done; \
25890 echo "Doing installcheck in texinfo" ; \
25891 (cd $(HOST_SUBDIR)/texinfo && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25896 installcheck) \
25897 || exit 1
25899 @endif texinfo
25901 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25902 maybe-mostlyclean-texinfo:
25903 @if texinfo
25904 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25906 mostlyclean-texinfo:
25907 @: $(MAKE); $(unstage)
25908 @[ -f ./texinfo/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing mostlyclean in texinfo" ; \
25916 (cd $(HOST_SUBDIR)/texinfo && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25921 mostlyclean) \
25922 || exit 1
25924 @endif texinfo
25926 .PHONY: maybe-clean-texinfo clean-texinfo
25927 maybe-clean-texinfo:
25928 @if texinfo
25929 maybe-clean-texinfo: clean-texinfo
25931 clean-texinfo:
25932 @: $(MAKE); $(unstage)
25933 @[ -f ./texinfo/Makefile ] || exit 0; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(HOST_EXPORTS) \
25937 for flag in $(EXTRA_HOST_FLAGS) ; do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25939 done; \
25940 echo "Doing clean in texinfo" ; \
25941 (cd $(HOST_SUBDIR)/texinfo && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25946 clean) \
25947 || exit 1
25949 @endif texinfo
25951 .PHONY: maybe-distclean-texinfo distclean-texinfo
25952 maybe-distclean-texinfo:
25953 @if texinfo
25954 maybe-distclean-texinfo: distclean-texinfo
25956 distclean-texinfo:
25957 @: $(MAKE); $(unstage)
25958 @[ -f ./texinfo/Makefile ] || exit 0; \
25959 r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25961 $(HOST_EXPORTS) \
25962 for flag in $(EXTRA_HOST_FLAGS) ; do \
25963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25964 done; \
25965 echo "Doing distclean in texinfo" ; \
25966 (cd $(HOST_SUBDIR)/texinfo && \
25967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25969 "RANLIB=$${RANLIB}" \
25970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25971 distclean) \
25972 || exit 1
25974 @endif texinfo
25976 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25977 maybe-maintainer-clean-texinfo:
25978 @if texinfo
25979 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25981 maintainer-clean-texinfo:
25982 @: $(MAKE); $(unstage)
25983 @[ -f ./texinfo/Makefile ] || exit 0; \
25984 r=`${PWD_COMMAND}`; export r; \
25985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25986 $(HOST_EXPORTS) \
25987 for flag in $(EXTRA_HOST_FLAGS) ; do \
25988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25989 done; \
25990 echo "Doing maintainer-clean in texinfo" ; \
25991 (cd $(HOST_SUBDIR)/texinfo && \
25992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25994 "RANLIB=$${RANLIB}" \
25995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25996 maintainer-clean) \
25997 || exit 1
25999 @endif texinfo
26003 .PHONY: configure-zlib maybe-configure-zlib
26004 maybe-configure-zlib:
26005 @if gcc-bootstrap
26006 configure-zlib: stage_current
26007 @endif gcc-bootstrap
26008 @if zlib
26009 maybe-configure-zlib: configure-zlib
26010 configure-zlib:
26011 @r=`${PWD_COMMAND}`; export r; \
26012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26015 $(HOST_EXPORTS) \
26016 echo Configuring in $(HOST_SUBDIR)/zlib; \
26017 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26018 case $(srcdir) in \
26019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26020 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26022 esac; \
26023 srcdiroption="--srcdir=$${topdir}/zlib"; \
26024 libsrcdir="$$s/zlib"; \
26025 $(SHELL) $${libsrcdir}/configure \
26026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26027 --target=${target_alias} $${srcdiroption} \
26028 || exit 1
26029 @endif zlib
26033 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26034 maybe-configure-stage1-zlib:
26035 @if zlib-bootstrap
26036 maybe-configure-stage1-zlib: configure-stage1-zlib
26037 configure-stage1-zlib:
26038 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26040 @r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26042 TFLAGS="$(STAGE1_TFLAGS)"; \
26043 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26044 $(HOST_EXPORTS) \
26045 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26046 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26047 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26048 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26050 cd $(HOST_SUBDIR)/zlib || exit 1; \
26051 case $(srcdir) in \
26052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26053 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26055 esac; \
26056 srcdiroption="--srcdir=$${topdir}/zlib"; \
26057 libsrcdir="$$s/zlib"; \
26058 $(SHELL) $${libsrcdir}/configure \
26059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26060 --target=${target_alias} $${srcdiroption} \
26061 $(STAGE1_CONFIGURE_FLAGS)
26062 @endif zlib-bootstrap
26064 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26065 maybe-configure-stage2-zlib:
26066 @if zlib-bootstrap
26067 maybe-configure-stage2-zlib: configure-stage2-zlib
26068 configure-stage2-zlib:
26069 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26071 @r=`${PWD_COMMAND}`; export r; \
26072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26073 TFLAGS="$(STAGE2_TFLAGS)"; \
26074 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26075 $(HOST_EXPORTS) \
26076 $(POSTSTAGE1_HOST_EXPORTS) \
26077 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26078 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26079 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26080 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26082 cd $(HOST_SUBDIR)/zlib || exit 1; \
26083 case $(srcdir) in \
26084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26085 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26087 esac; \
26088 srcdiroption="--srcdir=$${topdir}/zlib"; \
26089 libsrcdir="$$s/zlib"; \
26090 $(SHELL) $${libsrcdir}/configure \
26091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26092 --target=${target_alias} $${srcdiroption} \
26093 --with-build-libsubdir=$(HOST_SUBDIR) \
26094 $(STAGE2_CONFIGURE_FLAGS)
26095 @endif zlib-bootstrap
26097 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26098 maybe-configure-stage3-zlib:
26099 @if zlib-bootstrap
26100 maybe-configure-stage3-zlib: configure-stage3-zlib
26101 configure-stage3-zlib:
26102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26104 @r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 TFLAGS="$(STAGE3_TFLAGS)"; \
26107 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26108 $(HOST_EXPORTS) \
26109 $(POSTSTAGE1_HOST_EXPORTS) \
26110 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26111 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26112 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26113 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26115 cd $(HOST_SUBDIR)/zlib || exit 1; \
26116 case $(srcdir) in \
26117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26118 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26120 esac; \
26121 srcdiroption="--srcdir=$${topdir}/zlib"; \
26122 libsrcdir="$$s/zlib"; \
26123 $(SHELL) $${libsrcdir}/configure \
26124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26125 --target=${target_alias} $${srcdiroption} \
26126 --with-build-libsubdir=$(HOST_SUBDIR) \
26127 $(STAGE3_CONFIGURE_FLAGS)
26128 @endif zlib-bootstrap
26130 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26131 maybe-configure-stage4-zlib:
26132 @if zlib-bootstrap
26133 maybe-configure-stage4-zlib: configure-stage4-zlib
26134 configure-stage4-zlib:
26135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26137 @r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 TFLAGS="$(STAGE4_TFLAGS)"; \
26140 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26141 $(HOST_EXPORTS) \
26142 $(POSTSTAGE1_HOST_EXPORTS) \
26143 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26144 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26145 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26146 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26148 cd $(HOST_SUBDIR)/zlib || exit 1; \
26149 case $(srcdir) in \
26150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26151 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26153 esac; \
26154 srcdiroption="--srcdir=$${topdir}/zlib"; \
26155 libsrcdir="$$s/zlib"; \
26156 $(SHELL) $${libsrcdir}/configure \
26157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26158 --target=${target_alias} $${srcdiroption} \
26159 --with-build-libsubdir=$(HOST_SUBDIR) \
26160 $(STAGE4_CONFIGURE_FLAGS)
26161 @endif zlib-bootstrap
26163 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26164 maybe-configure-stageprofile-zlib:
26165 @if zlib-bootstrap
26166 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26167 configure-stageprofile-zlib:
26168 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26170 @r=`${PWD_COMMAND}`; export r; \
26171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26173 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26174 $(HOST_EXPORTS) \
26175 $(POSTSTAGE1_HOST_EXPORTS) \
26176 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26177 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26178 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26179 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26181 cd $(HOST_SUBDIR)/zlib || exit 1; \
26182 case $(srcdir) in \
26183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26184 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26186 esac; \
26187 srcdiroption="--srcdir=$${topdir}/zlib"; \
26188 libsrcdir="$$s/zlib"; \
26189 $(SHELL) $${libsrcdir}/configure \
26190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26191 --target=${target_alias} $${srcdiroption} \
26192 --with-build-libsubdir=$(HOST_SUBDIR) \
26193 $(STAGEprofile_CONFIGURE_FLAGS)
26194 @endif zlib-bootstrap
26196 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26197 maybe-configure-stagefeedback-zlib:
26198 @if zlib-bootstrap
26199 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26200 configure-stagefeedback-zlib:
26201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26203 @r=`${PWD_COMMAND}`; export r; \
26204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26206 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26207 $(HOST_EXPORTS) \
26208 $(POSTSTAGE1_HOST_EXPORTS) \
26209 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26210 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26211 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26212 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26214 cd $(HOST_SUBDIR)/zlib || exit 1; \
26215 case $(srcdir) in \
26216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26217 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26219 esac; \
26220 srcdiroption="--srcdir=$${topdir}/zlib"; \
26221 libsrcdir="$$s/zlib"; \
26222 $(SHELL) $${libsrcdir}/configure \
26223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26224 --target=${target_alias} $${srcdiroption} \
26225 --with-build-libsubdir=$(HOST_SUBDIR) \
26226 $(STAGEfeedback_CONFIGURE_FLAGS)
26227 @endif zlib-bootstrap
26233 .PHONY: all-zlib maybe-all-zlib
26234 maybe-all-zlib:
26235 @if gcc-bootstrap
26236 all-zlib: stage_current
26237 @endif gcc-bootstrap
26238 @if zlib
26239 TARGET-zlib=all
26240 maybe-all-zlib: all-zlib
26241 all-zlib: configure-zlib
26242 @r=`${PWD_COMMAND}`; export r; \
26243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26244 $(HOST_EXPORTS) \
26245 (cd $(HOST_SUBDIR)/zlib && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26247 $(TARGET-zlib))
26248 @endif zlib
26252 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26253 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26254 maybe-all-stage1-zlib:
26255 maybe-clean-stage1-zlib:
26256 @if zlib-bootstrap
26257 maybe-all-stage1-zlib: all-stage1-zlib
26258 all-stage1: all-stage1-zlib
26259 TARGET-stage1-zlib = $(TARGET-zlib)
26260 all-stage1-zlib: configure-stage1-zlib
26261 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26262 @r=`${PWD_COMMAND}`; export r; \
26263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26264 TFLAGS="$(STAGE1_TFLAGS)"; \
26265 $(HOST_EXPORTS) \
26266 cd $(HOST_SUBDIR)/zlib && \
26267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26268 CFLAGS="$(STAGE1_CFLAGS)" \
26269 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26270 LIBCFLAGS="$(LIBCFLAGS)" \
26271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26274 $(EXTRA_HOST_FLAGS) \
26275 $(STAGE1_FLAGS_TO_PASS) \
26276 TFLAGS="$(STAGE1_TFLAGS)" \
26277 $(TARGET-stage1-zlib)
26279 maybe-clean-stage1-zlib: clean-stage1-zlib
26280 clean-stage1: clean-stage1-zlib
26281 clean-stage1-zlib:
26282 @if [ $(current_stage) = stage1 ]; then \
26283 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26284 else \
26285 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26286 $(MAKE) stage1-start; \
26287 fi; \
26288 cd $(HOST_SUBDIR)/zlib && \
26289 $(MAKE) $(EXTRA_HOST_FLAGS) \
26290 $(STAGE1_FLAGS_TO_PASS) clean
26291 @endif zlib-bootstrap
26294 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26295 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26296 maybe-all-stage2-zlib:
26297 maybe-clean-stage2-zlib:
26298 @if zlib-bootstrap
26299 maybe-all-stage2-zlib: all-stage2-zlib
26300 all-stage2: all-stage2-zlib
26301 TARGET-stage2-zlib = $(TARGET-zlib)
26302 all-stage2-zlib: configure-stage2-zlib
26303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26304 @r=`${PWD_COMMAND}`; export r; \
26305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26306 TFLAGS="$(STAGE2_TFLAGS)"; \
26307 $(HOST_EXPORTS) \
26308 $(POSTSTAGE1_HOST_EXPORTS) \
26309 cd $(HOST_SUBDIR)/zlib && \
26310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26311 CFLAGS="$(STAGE2_CFLAGS)" \
26312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26318 TFLAGS="$(STAGE2_TFLAGS)" \
26319 $(TARGET-stage2-zlib)
26321 maybe-clean-stage2-zlib: clean-stage2-zlib
26322 clean-stage2: clean-stage2-zlib
26323 clean-stage2-zlib:
26324 @if [ $(current_stage) = stage2 ]; then \
26325 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26326 else \
26327 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26328 $(MAKE) stage2-start; \
26329 fi; \
26330 cd $(HOST_SUBDIR)/zlib && \
26331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26332 @endif zlib-bootstrap
26335 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26336 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26337 maybe-all-stage3-zlib:
26338 maybe-clean-stage3-zlib:
26339 @if zlib-bootstrap
26340 maybe-all-stage3-zlib: all-stage3-zlib
26341 all-stage3: all-stage3-zlib
26342 TARGET-stage3-zlib = $(TARGET-zlib)
26343 all-stage3-zlib: configure-stage3-zlib
26344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26345 @r=`${PWD_COMMAND}`; export r; \
26346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26347 TFLAGS="$(STAGE3_TFLAGS)"; \
26348 $(HOST_EXPORTS) \
26349 $(POSTSTAGE1_HOST_EXPORTS) \
26350 cd $(HOST_SUBDIR)/zlib && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26352 CFLAGS="$(STAGE3_CFLAGS)" \
26353 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26354 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26359 TFLAGS="$(STAGE3_TFLAGS)" \
26360 $(TARGET-stage3-zlib)
26362 maybe-clean-stage3-zlib: clean-stage3-zlib
26363 clean-stage3: clean-stage3-zlib
26364 clean-stage3-zlib:
26365 @if [ $(current_stage) = stage3 ]; then \
26366 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26367 else \
26368 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26369 $(MAKE) stage3-start; \
26370 fi; \
26371 cd $(HOST_SUBDIR)/zlib && \
26372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26373 @endif zlib-bootstrap
26376 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26377 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26378 maybe-all-stage4-zlib:
26379 maybe-clean-stage4-zlib:
26380 @if zlib-bootstrap
26381 maybe-all-stage4-zlib: all-stage4-zlib
26382 all-stage4: all-stage4-zlib
26383 TARGET-stage4-zlib = $(TARGET-zlib)
26384 all-stage4-zlib: configure-stage4-zlib
26385 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26386 @r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 TFLAGS="$(STAGE4_TFLAGS)"; \
26389 $(HOST_EXPORTS) \
26390 $(POSTSTAGE1_HOST_EXPORTS) \
26391 cd $(HOST_SUBDIR)/zlib && \
26392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26393 CFLAGS="$(STAGE4_CFLAGS)" \
26394 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26395 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26400 TFLAGS="$(STAGE4_TFLAGS)" \
26401 $(TARGET-stage4-zlib)
26403 maybe-clean-stage4-zlib: clean-stage4-zlib
26404 clean-stage4: clean-stage4-zlib
26405 clean-stage4-zlib:
26406 @if [ $(current_stage) = stage4 ]; then \
26407 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26408 else \
26409 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26410 $(MAKE) stage4-start; \
26411 fi; \
26412 cd $(HOST_SUBDIR)/zlib && \
26413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26414 @endif zlib-bootstrap
26417 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26418 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26419 maybe-all-stageprofile-zlib:
26420 maybe-clean-stageprofile-zlib:
26421 @if zlib-bootstrap
26422 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26423 all-stageprofile: all-stageprofile-zlib
26424 TARGET-stageprofile-zlib = $(TARGET-zlib)
26425 all-stageprofile-zlib: configure-stageprofile-zlib
26426 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26427 @r=`${PWD_COMMAND}`; export r; \
26428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26429 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26430 $(HOST_EXPORTS) \
26431 $(POSTSTAGE1_HOST_EXPORTS) \
26432 cd $(HOST_SUBDIR)/zlib && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26434 CFLAGS="$(STAGEprofile_CFLAGS)" \
26435 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26436 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26441 TFLAGS="$(STAGEprofile_TFLAGS)" \
26442 $(TARGET-stageprofile-zlib)
26444 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26445 clean-stageprofile: clean-stageprofile-zlib
26446 clean-stageprofile-zlib:
26447 @if [ $(current_stage) = stageprofile ]; then \
26448 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26449 else \
26450 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26451 $(MAKE) stageprofile-start; \
26452 fi; \
26453 cd $(HOST_SUBDIR)/zlib && \
26454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26455 @endif zlib-bootstrap
26458 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26459 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26460 maybe-all-stagefeedback-zlib:
26461 maybe-clean-stagefeedback-zlib:
26462 @if zlib-bootstrap
26463 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26464 all-stagefeedback: all-stagefeedback-zlib
26465 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26466 all-stagefeedback-zlib: configure-stagefeedback-zlib
26467 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26468 @r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26471 $(HOST_EXPORTS) \
26472 $(POSTSTAGE1_HOST_EXPORTS) \
26473 cd $(HOST_SUBDIR)/zlib && \
26474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26475 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26476 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26477 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26482 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26483 $(TARGET-stagefeedback-zlib)
26485 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26486 clean-stagefeedback: clean-stagefeedback-zlib
26487 clean-stagefeedback-zlib:
26488 @if [ $(current_stage) = stagefeedback ]; then \
26489 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26490 else \
26491 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26492 $(MAKE) stagefeedback-start; \
26493 fi; \
26494 cd $(HOST_SUBDIR)/zlib && \
26495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26496 @endif zlib-bootstrap
26502 .PHONY: check-zlib maybe-check-zlib
26503 maybe-check-zlib:
26504 @if zlib
26505 maybe-check-zlib: check-zlib
26507 check-zlib:
26509 @endif zlib
26511 .PHONY: install-zlib maybe-install-zlib
26512 maybe-install-zlib:
26513 @if zlib
26514 maybe-install-zlib: install-zlib
26516 install-zlib:
26518 @endif zlib
26520 .PHONY: install-strip-zlib maybe-install-strip-zlib
26521 maybe-install-strip-zlib:
26522 @if zlib
26523 maybe-install-strip-zlib: install-strip-zlib
26525 install-strip-zlib:
26527 @endif zlib
26529 # Other targets (info, dvi, pdf, etc.)
26531 .PHONY: maybe-info-zlib info-zlib
26532 maybe-info-zlib:
26533 @if zlib
26534 maybe-info-zlib: info-zlib
26536 info-zlib: \
26537 configure-zlib
26538 @[ -f ./zlib/Makefile ] || exit 0; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(HOST_EXPORTS) \
26542 for flag in $(EXTRA_HOST_FLAGS) ; do \
26543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26544 done; \
26545 echo "Doing info in zlib" ; \
26546 (cd $(HOST_SUBDIR)/zlib && \
26547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26549 "RANLIB=$${RANLIB}" \
26550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26551 info) \
26552 || exit 1
26554 @endif zlib
26556 .PHONY: maybe-dvi-zlib dvi-zlib
26557 maybe-dvi-zlib:
26558 @if zlib
26559 maybe-dvi-zlib: dvi-zlib
26561 dvi-zlib: \
26562 configure-zlib
26563 @[ -f ./zlib/Makefile ] || exit 0; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 $(HOST_EXPORTS) \
26567 for flag in $(EXTRA_HOST_FLAGS) ; do \
26568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26569 done; \
26570 echo "Doing dvi in zlib" ; \
26571 (cd $(HOST_SUBDIR)/zlib && \
26572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26574 "RANLIB=$${RANLIB}" \
26575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26576 dvi) \
26577 || exit 1
26579 @endif zlib
26581 .PHONY: maybe-pdf-zlib pdf-zlib
26582 maybe-pdf-zlib:
26583 @if zlib
26584 maybe-pdf-zlib: pdf-zlib
26586 pdf-zlib: \
26587 configure-zlib
26588 @[ -f ./zlib/Makefile ] || exit 0; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(HOST_EXPORTS) \
26592 for flag in $(EXTRA_HOST_FLAGS) ; do \
26593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26594 done; \
26595 echo "Doing pdf in zlib" ; \
26596 (cd $(HOST_SUBDIR)/zlib && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26599 "RANLIB=$${RANLIB}" \
26600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26601 pdf) \
26602 || exit 1
26604 @endif zlib
26606 .PHONY: maybe-html-zlib html-zlib
26607 maybe-html-zlib:
26608 @if zlib
26609 maybe-html-zlib: html-zlib
26611 html-zlib: \
26612 configure-zlib
26613 @[ -f ./zlib/Makefile ] || exit 0; \
26614 r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616 $(HOST_EXPORTS) \
26617 for flag in $(EXTRA_HOST_FLAGS) ; do \
26618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26619 done; \
26620 echo "Doing html in zlib" ; \
26621 (cd $(HOST_SUBDIR)/zlib && \
26622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26624 "RANLIB=$${RANLIB}" \
26625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26626 html) \
26627 || exit 1
26629 @endif zlib
26631 .PHONY: maybe-TAGS-zlib TAGS-zlib
26632 maybe-TAGS-zlib:
26633 @if zlib
26634 maybe-TAGS-zlib: TAGS-zlib
26636 TAGS-zlib: \
26637 configure-zlib
26638 @[ -f ./zlib/Makefile ] || exit 0; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(HOST_EXPORTS) \
26642 for flag in $(EXTRA_HOST_FLAGS) ; do \
26643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26644 done; \
26645 echo "Doing TAGS in zlib" ; \
26646 (cd $(HOST_SUBDIR)/zlib && \
26647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26649 "RANLIB=$${RANLIB}" \
26650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26651 TAGS) \
26652 || exit 1
26654 @endif zlib
26656 .PHONY: maybe-install-info-zlib install-info-zlib
26657 maybe-install-info-zlib:
26658 @if zlib
26659 maybe-install-info-zlib: install-info-zlib
26661 install-info-zlib: \
26662 configure-zlib \
26663 info-zlib
26664 @[ -f ./zlib/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(HOST_EXPORTS) \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26670 done; \
26671 echo "Doing install-info in zlib" ; \
26672 (cd $(HOST_SUBDIR)/zlib && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26677 install-info) \
26678 || exit 1
26680 @endif zlib
26682 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26683 maybe-install-pdf-zlib:
26684 @if zlib
26685 maybe-install-pdf-zlib: install-pdf-zlib
26687 install-pdf-zlib: \
26688 configure-zlib \
26689 pdf-zlib
26690 @[ -f ./zlib/Makefile ] || exit 0; \
26691 r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26693 $(HOST_EXPORTS) \
26694 for flag in $(EXTRA_HOST_FLAGS) ; do \
26695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26696 done; \
26697 echo "Doing install-pdf in zlib" ; \
26698 (cd $(HOST_SUBDIR)/zlib && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26703 install-pdf) \
26704 || exit 1
26706 @endif zlib
26708 .PHONY: maybe-install-html-zlib install-html-zlib
26709 maybe-install-html-zlib:
26710 @if zlib
26711 maybe-install-html-zlib: install-html-zlib
26713 install-html-zlib: \
26714 configure-zlib \
26715 html-zlib
26716 @[ -f ./zlib/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26719 $(HOST_EXPORTS) \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26722 done; \
26723 echo "Doing install-html in zlib" ; \
26724 (cd $(HOST_SUBDIR)/zlib && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26729 install-html) \
26730 || exit 1
26732 @endif zlib
26734 .PHONY: maybe-installcheck-zlib installcheck-zlib
26735 maybe-installcheck-zlib:
26736 @if zlib
26737 maybe-installcheck-zlib: installcheck-zlib
26739 installcheck-zlib: \
26740 configure-zlib
26741 @[ -f ./zlib/Makefile ] || exit 0; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 $(HOST_EXPORTS) \
26745 for flag in $(EXTRA_HOST_FLAGS) ; do \
26746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26747 done; \
26748 echo "Doing installcheck in zlib" ; \
26749 (cd $(HOST_SUBDIR)/zlib && \
26750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26752 "RANLIB=$${RANLIB}" \
26753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26754 installcheck) \
26755 || exit 1
26757 @endif zlib
26759 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26760 maybe-mostlyclean-zlib:
26761 @if zlib
26762 maybe-mostlyclean-zlib: mostlyclean-zlib
26764 mostlyclean-zlib:
26765 @[ -f ./zlib/Makefile ] || exit 0; \
26766 r=`${PWD_COMMAND}`; export r; \
26767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26768 $(HOST_EXPORTS) \
26769 for flag in $(EXTRA_HOST_FLAGS) ; do \
26770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26771 done; \
26772 echo "Doing mostlyclean in zlib" ; \
26773 (cd $(HOST_SUBDIR)/zlib && \
26774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26776 "RANLIB=$${RANLIB}" \
26777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26778 mostlyclean) \
26779 || exit 1
26781 @endif zlib
26783 .PHONY: maybe-clean-zlib clean-zlib
26784 maybe-clean-zlib:
26785 @if zlib
26786 maybe-clean-zlib: clean-zlib
26788 clean-zlib:
26789 @[ -f ./zlib/Makefile ] || exit 0; \
26790 r=`${PWD_COMMAND}`; export r; \
26791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26792 $(HOST_EXPORTS) \
26793 for flag in $(EXTRA_HOST_FLAGS) ; do \
26794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26795 done; \
26796 echo "Doing clean in zlib" ; \
26797 (cd $(HOST_SUBDIR)/zlib && \
26798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26800 "RANLIB=$${RANLIB}" \
26801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26802 clean) \
26803 || exit 1
26805 @endif zlib
26807 .PHONY: maybe-distclean-zlib distclean-zlib
26808 maybe-distclean-zlib:
26809 @if zlib
26810 maybe-distclean-zlib: distclean-zlib
26812 distclean-zlib:
26813 @[ -f ./zlib/Makefile ] || exit 0; \
26814 r=`${PWD_COMMAND}`; export r; \
26815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26816 $(HOST_EXPORTS) \
26817 for flag in $(EXTRA_HOST_FLAGS) ; do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26819 done; \
26820 echo "Doing distclean in zlib" ; \
26821 (cd $(HOST_SUBDIR)/zlib && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26824 "RANLIB=$${RANLIB}" \
26825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26826 distclean) \
26827 || exit 1
26829 @endif zlib
26831 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26832 maybe-maintainer-clean-zlib:
26833 @if zlib
26834 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26836 maintainer-clean-zlib:
26837 @[ -f ./zlib/Makefile ] || exit 0; \
26838 r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26840 $(HOST_EXPORTS) \
26841 for flag in $(EXTRA_HOST_FLAGS) ; do \
26842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26843 done; \
26844 echo "Doing maintainer-clean in zlib" ; \
26845 (cd $(HOST_SUBDIR)/zlib && \
26846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26848 "RANLIB=$${RANLIB}" \
26849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26850 maintainer-clean) \
26851 || exit 1
26853 @endif zlib
26857 .PHONY: configure-gdb maybe-configure-gdb
26858 maybe-configure-gdb:
26859 @if gcc-bootstrap
26860 configure-gdb: stage_current
26861 @endif gcc-bootstrap
26862 @if gdb
26863 maybe-configure-gdb: configure-gdb
26864 configure-gdb:
26865 @: $(MAKE); $(unstage)
26866 @r=`${PWD_COMMAND}`; export r; \
26867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26868 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26870 $(HOST_EXPORTS) \
26871 echo Configuring in $(HOST_SUBDIR)/gdb; \
26872 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26873 case $(srcdir) in \
26874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26875 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26877 esac; \
26878 srcdiroption="--srcdir=$${topdir}/gdb"; \
26879 libsrcdir="$$s/gdb"; \
26880 $(SHELL) $${libsrcdir}/configure \
26881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26882 --target=${target_alias} $${srcdiroption} \
26883 || exit 1
26884 @endif gdb
26890 .PHONY: all-gdb maybe-all-gdb
26891 maybe-all-gdb:
26892 @if gcc-bootstrap
26893 all-gdb: stage_current
26894 @endif gcc-bootstrap
26895 @if gdb
26896 TARGET-gdb=all
26897 maybe-all-gdb: all-gdb
26898 all-gdb: configure-gdb
26899 @: $(MAKE); $(unstage)
26900 @r=`${PWD_COMMAND}`; export r; \
26901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26902 $(HOST_EXPORTS) \
26903 (cd $(HOST_SUBDIR)/gdb && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26905 $(TARGET-gdb))
26906 @endif gdb
26911 .PHONY: check-gdb maybe-check-gdb
26912 maybe-check-gdb:
26913 @if gdb
26914 maybe-check-gdb: check-gdb
26916 check-gdb:
26917 @: $(MAKE); $(unstage)
26918 @r=`${PWD_COMMAND}`; export r; \
26919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26920 $(HOST_EXPORTS) \
26921 (cd $(HOST_SUBDIR)/gdb && \
26922 $(MAKE) $(FLAGS_TO_PASS) check)
26924 @endif gdb
26926 .PHONY: install-gdb maybe-install-gdb
26927 maybe-install-gdb:
26928 @if gdb
26929 maybe-install-gdb: install-gdb
26931 install-gdb: installdirs
26932 @: $(MAKE); $(unstage)
26933 @r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(HOST_EXPORTS) \
26936 (cd $(HOST_SUBDIR)/gdb && \
26937 $(MAKE) $(FLAGS_TO_PASS) install)
26939 @endif gdb
26941 .PHONY: install-strip-gdb maybe-install-strip-gdb
26942 maybe-install-strip-gdb:
26943 @if gdb
26944 maybe-install-strip-gdb: install-strip-gdb
26946 install-strip-gdb: installdirs
26947 @: $(MAKE); $(unstage)
26948 @r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26950 $(HOST_EXPORTS) \
26951 (cd $(HOST_SUBDIR)/gdb && \
26952 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26954 @endif gdb
26956 # Other targets (info, dvi, pdf, etc.)
26958 .PHONY: maybe-info-gdb info-gdb
26959 maybe-info-gdb:
26960 @if gdb
26961 maybe-info-gdb: info-gdb
26963 info-gdb: \
26964 configure-gdb
26965 @: $(MAKE); $(unstage)
26966 @[ -f ./gdb/Makefile ] || exit 0; \
26967 r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 $(HOST_EXPORTS) \
26970 for flag in $(EXTRA_HOST_FLAGS) ; do \
26971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26972 done; \
26973 echo "Doing info in gdb" ; \
26974 (cd $(HOST_SUBDIR)/gdb && \
26975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26977 "RANLIB=$${RANLIB}" \
26978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26979 info) \
26980 || exit 1
26982 @endif gdb
26984 .PHONY: maybe-dvi-gdb dvi-gdb
26985 maybe-dvi-gdb:
26986 @if gdb
26987 maybe-dvi-gdb: dvi-gdb
26989 dvi-gdb: \
26990 configure-gdb
26991 @: $(MAKE); $(unstage)
26992 @[ -f ./gdb/Makefile ] || exit 0; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26995 $(HOST_EXPORTS) \
26996 for flag in $(EXTRA_HOST_FLAGS) ; do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998 done; \
26999 echo "Doing dvi in gdb" ; \
27000 (cd $(HOST_SUBDIR)/gdb && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27005 dvi) \
27006 || exit 1
27008 @endif gdb
27010 .PHONY: maybe-pdf-gdb pdf-gdb
27011 maybe-pdf-gdb:
27012 @if gdb
27013 maybe-pdf-gdb: pdf-gdb
27015 pdf-gdb: \
27016 configure-gdb
27017 @: $(MAKE); $(unstage)
27018 @[ -f ./gdb/Makefile ] || exit 0; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 for flag in $(EXTRA_HOST_FLAGS) ; do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 echo "Doing pdf in gdb" ; \
27026 (cd $(HOST_SUBDIR)/gdb && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27029 "RANLIB=$${RANLIB}" \
27030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27031 pdf) \
27032 || exit 1
27034 @endif gdb
27036 .PHONY: maybe-html-gdb html-gdb
27037 maybe-html-gdb:
27038 @if gdb
27039 maybe-html-gdb: html-gdb
27041 html-gdb: \
27042 configure-gdb
27043 @: $(MAKE); $(unstage)
27044 @[ -f ./gdb/Makefile ] || exit 0; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(HOST_EXPORTS) \
27048 for flag in $(EXTRA_HOST_FLAGS) ; do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27050 done; \
27051 echo "Doing html in gdb" ; \
27052 (cd $(HOST_SUBDIR)/gdb && \
27053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27055 "RANLIB=$${RANLIB}" \
27056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27057 html) \
27058 || exit 1
27060 @endif gdb
27062 .PHONY: maybe-TAGS-gdb TAGS-gdb
27063 maybe-TAGS-gdb:
27064 @if gdb
27065 maybe-TAGS-gdb: TAGS-gdb
27067 TAGS-gdb: \
27068 configure-gdb
27069 @: $(MAKE); $(unstage)
27070 @[ -f ./gdb/Makefile ] || exit 0; \
27071 r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(HOST_EXPORTS) \
27074 for flag in $(EXTRA_HOST_FLAGS) ; do \
27075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27076 done; \
27077 echo "Doing TAGS in gdb" ; \
27078 (cd $(HOST_SUBDIR)/gdb && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27083 TAGS) \
27084 || exit 1
27086 @endif gdb
27088 .PHONY: maybe-install-info-gdb install-info-gdb
27089 maybe-install-info-gdb:
27090 @if gdb
27091 maybe-install-info-gdb: install-info-gdb
27093 install-info-gdb: \
27094 configure-gdb \
27095 info-gdb
27096 @: $(MAKE); $(unstage)
27097 @[ -f ./gdb/Makefile ] || exit 0; \
27098 r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 $(HOST_EXPORTS) \
27101 for flag in $(EXTRA_HOST_FLAGS) ; do \
27102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27103 done; \
27104 echo "Doing install-info in gdb" ; \
27105 (cd $(HOST_SUBDIR)/gdb && \
27106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27108 "RANLIB=$${RANLIB}" \
27109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27110 install-info) \
27111 || exit 1
27113 @endif gdb
27115 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27116 maybe-install-pdf-gdb:
27117 @if gdb
27118 maybe-install-pdf-gdb: install-pdf-gdb
27120 install-pdf-gdb: \
27121 configure-gdb \
27122 pdf-gdb
27123 @: $(MAKE); $(unstage)
27124 @[ -f ./gdb/Makefile ] || exit 0; \
27125 r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127 $(HOST_EXPORTS) \
27128 for flag in $(EXTRA_HOST_FLAGS) ; do \
27129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27130 done; \
27131 echo "Doing install-pdf in gdb" ; \
27132 (cd $(HOST_SUBDIR)/gdb && \
27133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27135 "RANLIB=$${RANLIB}" \
27136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27137 install-pdf) \
27138 || exit 1
27140 @endif gdb
27142 .PHONY: maybe-install-html-gdb install-html-gdb
27143 maybe-install-html-gdb:
27144 @if gdb
27145 maybe-install-html-gdb: install-html-gdb
27147 install-html-gdb: \
27148 configure-gdb \
27149 html-gdb
27150 @: $(MAKE); $(unstage)
27151 @[ -f ./gdb/Makefile ] || exit 0; \
27152 r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27154 $(HOST_EXPORTS) \
27155 for flag in $(EXTRA_HOST_FLAGS) ; do \
27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27157 done; \
27158 echo "Doing install-html in gdb" ; \
27159 (cd $(HOST_SUBDIR)/gdb && \
27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27162 "RANLIB=$${RANLIB}" \
27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27164 install-html) \
27165 || exit 1
27167 @endif gdb
27169 .PHONY: maybe-installcheck-gdb installcheck-gdb
27170 maybe-installcheck-gdb:
27171 @if gdb
27172 maybe-installcheck-gdb: installcheck-gdb
27174 installcheck-gdb: \
27175 configure-gdb
27176 @: $(MAKE); $(unstage)
27177 @[ -f ./gdb/Makefile ] || exit 0; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27180 $(HOST_EXPORTS) \
27181 for flag in $(EXTRA_HOST_FLAGS) ; do \
27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27183 done; \
27184 echo "Doing installcheck in gdb" ; \
27185 (cd $(HOST_SUBDIR)/gdb && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27190 installcheck) \
27191 || exit 1
27193 @endif gdb
27195 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27196 maybe-mostlyclean-gdb:
27197 @if gdb
27198 maybe-mostlyclean-gdb: mostlyclean-gdb
27200 mostlyclean-gdb:
27201 @: $(MAKE); $(unstage)
27202 @[ -f ./gdb/Makefile ] || exit 0; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27205 $(HOST_EXPORTS) \
27206 for flag in $(EXTRA_HOST_FLAGS) ; do \
27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27208 done; \
27209 echo "Doing mostlyclean in gdb" ; \
27210 (cd $(HOST_SUBDIR)/gdb && \
27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27213 "RANLIB=$${RANLIB}" \
27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27215 mostlyclean) \
27216 || exit 1
27218 @endif gdb
27220 .PHONY: maybe-clean-gdb clean-gdb
27221 maybe-clean-gdb:
27222 @if gdb
27223 maybe-clean-gdb: clean-gdb
27225 clean-gdb:
27226 @: $(MAKE); $(unstage)
27227 @[ -f ./gdb/Makefile ] || exit 0; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(HOST_EXPORTS) \
27231 for flag in $(EXTRA_HOST_FLAGS) ; do \
27232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27233 done; \
27234 echo "Doing clean in gdb" ; \
27235 (cd $(HOST_SUBDIR)/gdb && \
27236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27238 "RANLIB=$${RANLIB}" \
27239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27240 clean) \
27241 || exit 1
27243 @endif gdb
27245 .PHONY: maybe-distclean-gdb distclean-gdb
27246 maybe-distclean-gdb:
27247 @if gdb
27248 maybe-distclean-gdb: distclean-gdb
27250 distclean-gdb:
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./gdb/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing distclean in gdb" ; \
27260 (cd $(HOST_SUBDIR)/gdb && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27265 distclean) \
27266 || exit 1
27268 @endif gdb
27270 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27271 maybe-maintainer-clean-gdb:
27272 @if gdb
27273 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27275 maintainer-clean-gdb:
27276 @: $(MAKE); $(unstage)
27277 @[ -f ./gdb/Makefile ] || exit 0; \
27278 r=`${PWD_COMMAND}`; export r; \
27279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27280 $(HOST_EXPORTS) \
27281 for flag in $(EXTRA_HOST_FLAGS) ; do \
27282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27283 done; \
27284 echo "Doing maintainer-clean in gdb" ; \
27285 (cd $(HOST_SUBDIR)/gdb && \
27286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27288 "RANLIB=$${RANLIB}" \
27289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27290 maintainer-clean) \
27291 || exit 1
27293 @endif gdb
27297 .PHONY: configure-expect maybe-configure-expect
27298 maybe-configure-expect:
27299 @if gcc-bootstrap
27300 configure-expect: stage_current
27301 @endif gcc-bootstrap
27302 @if expect
27303 maybe-configure-expect: configure-expect
27304 configure-expect:
27305 @: $(MAKE); $(unstage)
27306 @r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27310 $(HOST_EXPORTS) \
27311 echo Configuring in $(HOST_SUBDIR)/expect; \
27312 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27313 case $(srcdir) in \
27314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27315 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27317 esac; \
27318 srcdiroption="--srcdir=$${topdir}/expect"; \
27319 libsrcdir="$$s/expect"; \
27320 $(SHELL) $${libsrcdir}/configure \
27321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27322 --target=${target_alias} $${srcdiroption} \
27323 || exit 1
27324 @endif expect
27330 .PHONY: all-expect maybe-all-expect
27331 maybe-all-expect:
27332 @if gcc-bootstrap
27333 all-expect: stage_current
27334 @endif gcc-bootstrap
27335 @if expect
27336 TARGET-expect=all
27337 maybe-all-expect: all-expect
27338 all-expect: configure-expect
27339 @: $(MAKE); $(unstage)
27340 @r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 $(HOST_EXPORTS) \
27343 (cd $(HOST_SUBDIR)/expect && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27345 $(TARGET-expect))
27346 @endif expect
27351 .PHONY: check-expect maybe-check-expect
27352 maybe-check-expect:
27353 @if expect
27354 maybe-check-expect: check-expect
27356 check-expect:
27357 @: $(MAKE); $(unstage)
27358 @r=`${PWD_COMMAND}`; export r; \
27359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27360 $(HOST_EXPORTS) \
27361 (cd $(HOST_SUBDIR)/expect && \
27362 $(MAKE) $(FLAGS_TO_PASS) check)
27364 @endif expect
27366 .PHONY: install-expect maybe-install-expect
27367 maybe-install-expect:
27368 @if expect
27369 maybe-install-expect: install-expect
27371 install-expect: installdirs
27372 @: $(MAKE); $(unstage)
27373 @r=`${PWD_COMMAND}`; export r; \
27374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27375 $(HOST_EXPORTS) \
27376 (cd $(HOST_SUBDIR)/expect && \
27377 $(MAKE) $(FLAGS_TO_PASS) install)
27379 @endif expect
27381 .PHONY: install-strip-expect maybe-install-strip-expect
27382 maybe-install-strip-expect:
27383 @if expect
27384 maybe-install-strip-expect: install-strip-expect
27386 install-strip-expect: installdirs
27387 @: $(MAKE); $(unstage)
27388 @r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27390 $(HOST_EXPORTS) \
27391 (cd $(HOST_SUBDIR)/expect && \
27392 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27394 @endif expect
27396 # Other targets (info, dvi, pdf, etc.)
27398 .PHONY: maybe-info-expect info-expect
27399 maybe-info-expect:
27400 @if expect
27401 maybe-info-expect: info-expect
27403 info-expect: \
27404 configure-expect
27405 @: $(MAKE); $(unstage)
27406 @[ -f ./expect/Makefile ] || exit 0; \
27407 r=`${PWD_COMMAND}`; export r; \
27408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27409 $(HOST_EXPORTS) \
27410 for flag in $(EXTRA_HOST_FLAGS) ; do \
27411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27412 done; \
27413 echo "Doing info in expect" ; \
27414 (cd $(HOST_SUBDIR)/expect && \
27415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27417 "RANLIB=$${RANLIB}" \
27418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27419 info) \
27420 || exit 1
27422 @endif expect
27424 .PHONY: maybe-dvi-expect dvi-expect
27425 maybe-dvi-expect:
27426 @if expect
27427 maybe-dvi-expect: dvi-expect
27429 dvi-expect: \
27430 configure-expect
27431 @: $(MAKE); $(unstage)
27432 @[ -f ./expect/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(HOST_EXPORTS) \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 echo "Doing dvi in expect" ; \
27440 (cd $(HOST_SUBDIR)/expect && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27445 dvi) \
27446 || exit 1
27448 @endif expect
27450 .PHONY: maybe-pdf-expect pdf-expect
27451 maybe-pdf-expect:
27452 @if expect
27453 maybe-pdf-expect: pdf-expect
27455 pdf-expect: \
27456 configure-expect
27457 @: $(MAKE); $(unstage)
27458 @[ -f ./expect/Makefile ] || exit 0; \
27459 r=`${PWD_COMMAND}`; export r; \
27460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27461 $(HOST_EXPORTS) \
27462 for flag in $(EXTRA_HOST_FLAGS) ; do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27464 done; \
27465 echo "Doing pdf in expect" ; \
27466 (cd $(HOST_SUBDIR)/expect && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27471 pdf) \
27472 || exit 1
27474 @endif expect
27476 .PHONY: maybe-html-expect html-expect
27477 maybe-html-expect:
27478 @if expect
27479 maybe-html-expect: html-expect
27481 html-expect: \
27482 configure-expect
27483 @: $(MAKE); $(unstage)
27484 @[ -f ./expect/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 echo "Doing html in expect" ; \
27492 (cd $(HOST_SUBDIR)/expect && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27497 html) \
27498 || exit 1
27500 @endif expect
27502 .PHONY: maybe-TAGS-expect TAGS-expect
27503 maybe-TAGS-expect:
27504 @if expect
27505 maybe-TAGS-expect: TAGS-expect
27507 TAGS-expect: \
27508 configure-expect
27509 @: $(MAKE); $(unstage)
27510 @[ -f ./expect/Makefile ] || exit 0; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(HOST_EXPORTS) \
27514 for flag in $(EXTRA_HOST_FLAGS) ; do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27516 done; \
27517 echo "Doing TAGS in expect" ; \
27518 (cd $(HOST_SUBDIR)/expect && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27523 TAGS) \
27524 || exit 1
27526 @endif expect
27528 .PHONY: maybe-install-info-expect install-info-expect
27529 maybe-install-info-expect:
27530 @if expect
27531 maybe-install-info-expect: install-info-expect
27533 install-info-expect: \
27534 configure-expect \
27535 info-expect
27536 @: $(MAKE); $(unstage)
27537 @[ -f ./expect/Makefile ] || exit 0; \
27538 r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 $(HOST_EXPORTS) \
27541 for flag in $(EXTRA_HOST_FLAGS) ; do \
27542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27543 done; \
27544 echo "Doing install-info in expect" ; \
27545 (cd $(HOST_SUBDIR)/expect && \
27546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27548 "RANLIB=$${RANLIB}" \
27549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27550 install-info) \
27551 || exit 1
27553 @endif expect
27555 .PHONY: maybe-install-pdf-expect install-pdf-expect
27556 maybe-install-pdf-expect:
27557 @if expect
27558 maybe-install-pdf-expect: install-pdf-expect
27560 install-pdf-expect: \
27561 configure-expect \
27562 pdf-expect
27563 @: $(MAKE); $(unstage)
27564 @[ -f ./expect/Makefile ] || exit 0; \
27565 r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27567 $(HOST_EXPORTS) \
27568 for flag in $(EXTRA_HOST_FLAGS) ; do \
27569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27570 done; \
27571 echo "Doing install-pdf in expect" ; \
27572 (cd $(HOST_SUBDIR)/expect && \
27573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27575 "RANLIB=$${RANLIB}" \
27576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27577 install-pdf) \
27578 || exit 1
27580 @endif expect
27582 .PHONY: maybe-install-html-expect install-html-expect
27583 maybe-install-html-expect:
27584 @if expect
27585 maybe-install-html-expect: install-html-expect
27587 install-html-expect: \
27588 configure-expect \
27589 html-expect
27590 @: $(MAKE); $(unstage)
27591 @[ -f ./expect/Makefile ] || exit 0; \
27592 r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(HOST_EXPORTS) \
27595 for flag in $(EXTRA_HOST_FLAGS) ; do \
27596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27597 done; \
27598 echo "Doing install-html in expect" ; \
27599 (cd $(HOST_SUBDIR)/expect && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27604 install-html) \
27605 || exit 1
27607 @endif expect
27609 .PHONY: maybe-installcheck-expect installcheck-expect
27610 maybe-installcheck-expect:
27611 @if expect
27612 maybe-installcheck-expect: installcheck-expect
27614 installcheck-expect: \
27615 configure-expect
27616 @: $(MAKE); $(unstage)
27617 @[ -f ./expect/Makefile ] || exit 0; \
27618 r=`${PWD_COMMAND}`; export r; \
27619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27620 $(HOST_EXPORTS) \
27621 for flag in $(EXTRA_HOST_FLAGS) ; do \
27622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27623 done; \
27624 echo "Doing installcheck in expect" ; \
27625 (cd $(HOST_SUBDIR)/expect && \
27626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27628 "RANLIB=$${RANLIB}" \
27629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27630 installcheck) \
27631 || exit 1
27633 @endif expect
27635 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27636 maybe-mostlyclean-expect:
27637 @if expect
27638 maybe-mostlyclean-expect: mostlyclean-expect
27640 mostlyclean-expect:
27641 @: $(MAKE); $(unstage)
27642 @[ -f ./expect/Makefile ] || exit 0; \
27643 r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27645 $(HOST_EXPORTS) \
27646 for flag in $(EXTRA_HOST_FLAGS) ; do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27648 done; \
27649 echo "Doing mostlyclean in expect" ; \
27650 (cd $(HOST_SUBDIR)/expect && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27653 "RANLIB=$${RANLIB}" \
27654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27655 mostlyclean) \
27656 || exit 1
27658 @endif expect
27660 .PHONY: maybe-clean-expect clean-expect
27661 maybe-clean-expect:
27662 @if expect
27663 maybe-clean-expect: clean-expect
27665 clean-expect:
27666 @: $(MAKE); $(unstage)
27667 @[ -f ./expect/Makefile ] || exit 0; \
27668 r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27670 $(HOST_EXPORTS) \
27671 for flag in $(EXTRA_HOST_FLAGS) ; do \
27672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27673 done; \
27674 echo "Doing clean in expect" ; \
27675 (cd $(HOST_SUBDIR)/expect && \
27676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27678 "RANLIB=$${RANLIB}" \
27679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27680 clean) \
27681 || exit 1
27683 @endif expect
27685 .PHONY: maybe-distclean-expect distclean-expect
27686 maybe-distclean-expect:
27687 @if expect
27688 maybe-distclean-expect: distclean-expect
27690 distclean-expect:
27691 @: $(MAKE); $(unstage)
27692 @[ -f ./expect/Makefile ] || exit 0; \
27693 r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 $(HOST_EXPORTS) \
27696 for flag in $(EXTRA_HOST_FLAGS) ; do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 echo "Doing distclean in expect" ; \
27700 (cd $(HOST_SUBDIR)/expect && \
27701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27703 "RANLIB=$${RANLIB}" \
27704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27705 distclean) \
27706 || exit 1
27708 @endif expect
27710 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27711 maybe-maintainer-clean-expect:
27712 @if expect
27713 maybe-maintainer-clean-expect: maintainer-clean-expect
27715 maintainer-clean-expect:
27716 @: $(MAKE); $(unstage)
27717 @[ -f ./expect/Makefile ] || exit 0; \
27718 r=`${PWD_COMMAND}`; export r; \
27719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27720 $(HOST_EXPORTS) \
27721 for flag in $(EXTRA_HOST_FLAGS) ; do \
27722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27723 done; \
27724 echo "Doing maintainer-clean in expect" ; \
27725 (cd $(HOST_SUBDIR)/expect && \
27726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27728 "RANLIB=$${RANLIB}" \
27729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27730 maintainer-clean) \
27731 || exit 1
27733 @endif expect
27737 .PHONY: configure-guile maybe-configure-guile
27738 maybe-configure-guile:
27739 @if gcc-bootstrap
27740 configure-guile: stage_current
27741 @endif gcc-bootstrap
27742 @if guile
27743 maybe-configure-guile: configure-guile
27744 configure-guile:
27745 @: $(MAKE); $(unstage)
27746 @r=`${PWD_COMMAND}`; export r; \
27747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27748 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27750 $(HOST_EXPORTS) \
27751 echo Configuring in $(HOST_SUBDIR)/guile; \
27752 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27753 case $(srcdir) in \
27754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27755 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27757 esac; \
27758 srcdiroption="--srcdir=$${topdir}/guile"; \
27759 libsrcdir="$$s/guile"; \
27760 $(SHELL) $${libsrcdir}/configure \
27761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27762 --target=${target_alias} $${srcdiroption} \
27763 || exit 1
27764 @endif guile
27770 .PHONY: all-guile maybe-all-guile
27771 maybe-all-guile:
27772 @if gcc-bootstrap
27773 all-guile: stage_current
27774 @endif gcc-bootstrap
27775 @if guile
27776 TARGET-guile=all
27777 maybe-all-guile: all-guile
27778 all-guile: configure-guile
27779 @: $(MAKE); $(unstage)
27780 @r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(HOST_EXPORTS) \
27783 (cd $(HOST_SUBDIR)/guile && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27785 $(TARGET-guile))
27786 @endif guile
27791 .PHONY: check-guile maybe-check-guile
27792 maybe-check-guile:
27793 @if guile
27794 maybe-check-guile: check-guile
27796 check-guile:
27797 @: $(MAKE); $(unstage)
27798 @r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 $(HOST_EXPORTS) \
27801 (cd $(HOST_SUBDIR)/guile && \
27802 $(MAKE) $(FLAGS_TO_PASS) check)
27804 @endif guile
27806 .PHONY: install-guile maybe-install-guile
27807 maybe-install-guile:
27808 @if guile
27809 maybe-install-guile: install-guile
27811 install-guile: installdirs
27812 @: $(MAKE); $(unstage)
27813 @r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(HOST_EXPORTS) \
27816 (cd $(HOST_SUBDIR)/guile && \
27817 $(MAKE) $(FLAGS_TO_PASS) install)
27819 @endif guile
27821 .PHONY: install-strip-guile maybe-install-strip-guile
27822 maybe-install-strip-guile:
27823 @if guile
27824 maybe-install-strip-guile: install-strip-guile
27826 install-strip-guile: installdirs
27827 @: $(MAKE); $(unstage)
27828 @r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27830 $(HOST_EXPORTS) \
27831 (cd $(HOST_SUBDIR)/guile && \
27832 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27834 @endif guile
27836 # Other targets (info, dvi, pdf, etc.)
27838 .PHONY: maybe-info-guile info-guile
27839 maybe-info-guile:
27840 @if guile
27841 maybe-info-guile: info-guile
27843 info-guile: \
27844 configure-guile
27845 @: $(MAKE); $(unstage)
27846 @[ -f ./guile/Makefile ] || exit 0; \
27847 r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27849 $(HOST_EXPORTS) \
27850 for flag in $(EXTRA_HOST_FLAGS) ; do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 echo "Doing info in guile" ; \
27854 (cd $(HOST_SUBDIR)/guile && \
27855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27857 "RANLIB=$${RANLIB}" \
27858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27859 info) \
27860 || exit 1
27862 @endif guile
27864 .PHONY: maybe-dvi-guile dvi-guile
27865 maybe-dvi-guile:
27866 @if guile
27867 maybe-dvi-guile: dvi-guile
27869 dvi-guile: \
27870 configure-guile
27871 @: $(MAKE); $(unstage)
27872 @[ -f ./guile/Makefile ] || exit 0; \
27873 r=`${PWD_COMMAND}`; export r; \
27874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27875 $(HOST_EXPORTS) \
27876 for flag in $(EXTRA_HOST_FLAGS) ; do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27878 done; \
27879 echo "Doing dvi in guile" ; \
27880 (cd $(HOST_SUBDIR)/guile && \
27881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27883 "RANLIB=$${RANLIB}" \
27884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27885 dvi) \
27886 || exit 1
27888 @endif guile
27890 .PHONY: maybe-pdf-guile pdf-guile
27891 maybe-pdf-guile:
27892 @if guile
27893 maybe-pdf-guile: pdf-guile
27895 pdf-guile: \
27896 configure-guile
27897 @: $(MAKE); $(unstage)
27898 @[ -f ./guile/Makefile ] || exit 0; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 $(HOST_EXPORTS) \
27902 for flag in $(EXTRA_HOST_FLAGS) ; do \
27903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27904 done; \
27905 echo "Doing pdf in guile" ; \
27906 (cd $(HOST_SUBDIR)/guile && \
27907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27909 "RANLIB=$${RANLIB}" \
27910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27911 pdf) \
27912 || exit 1
27914 @endif guile
27916 .PHONY: maybe-html-guile html-guile
27917 maybe-html-guile:
27918 @if guile
27919 maybe-html-guile: html-guile
27921 html-guile: \
27922 configure-guile
27923 @: $(MAKE); $(unstage)
27924 @[ -f ./guile/Makefile ] || exit 0; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 for flag in $(EXTRA_HOST_FLAGS) ; do \
27929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27930 done; \
27931 echo "Doing html in guile" ; \
27932 (cd $(HOST_SUBDIR)/guile && \
27933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27935 "RANLIB=$${RANLIB}" \
27936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27937 html) \
27938 || exit 1
27940 @endif guile
27942 .PHONY: maybe-TAGS-guile TAGS-guile
27943 maybe-TAGS-guile:
27944 @if guile
27945 maybe-TAGS-guile: TAGS-guile
27947 TAGS-guile: \
27948 configure-guile
27949 @: $(MAKE); $(unstage)
27950 @[ -f ./guile/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(HOST_EXPORTS) \
27954 for flag in $(EXTRA_HOST_FLAGS) ; do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27956 done; \
27957 echo "Doing TAGS in guile" ; \
27958 (cd $(HOST_SUBDIR)/guile && \
27959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27961 "RANLIB=$${RANLIB}" \
27962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27963 TAGS) \
27964 || exit 1
27966 @endif guile
27968 .PHONY: maybe-install-info-guile install-info-guile
27969 maybe-install-info-guile:
27970 @if guile
27971 maybe-install-info-guile: install-info-guile
27973 install-info-guile: \
27974 configure-guile \
27975 info-guile
27976 @: $(MAKE); $(unstage)
27977 @[ -f ./guile/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing install-info in guile" ; \
27985 (cd $(HOST_SUBDIR)/guile && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27990 install-info) \
27991 || exit 1
27993 @endif guile
27995 .PHONY: maybe-install-pdf-guile install-pdf-guile
27996 maybe-install-pdf-guile:
27997 @if guile
27998 maybe-install-pdf-guile: install-pdf-guile
28000 install-pdf-guile: \
28001 configure-guile \
28002 pdf-guile
28003 @: $(MAKE); $(unstage)
28004 @[ -f ./guile/Makefile ] || exit 0; \
28005 r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28007 $(HOST_EXPORTS) \
28008 for flag in $(EXTRA_HOST_FLAGS) ; do \
28009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28010 done; \
28011 echo "Doing install-pdf in guile" ; \
28012 (cd $(HOST_SUBDIR)/guile && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28015 "RANLIB=$${RANLIB}" \
28016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28017 install-pdf) \
28018 || exit 1
28020 @endif guile
28022 .PHONY: maybe-install-html-guile install-html-guile
28023 maybe-install-html-guile:
28024 @if guile
28025 maybe-install-html-guile: install-html-guile
28027 install-html-guile: \
28028 configure-guile \
28029 html-guile
28030 @: $(MAKE); $(unstage)
28031 @[ -f ./guile/Makefile ] || exit 0; \
28032 r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 $(HOST_EXPORTS) \
28035 for flag in $(EXTRA_HOST_FLAGS) ; do \
28036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28037 done; \
28038 echo "Doing install-html in guile" ; \
28039 (cd $(HOST_SUBDIR)/guile && \
28040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28042 "RANLIB=$${RANLIB}" \
28043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28044 install-html) \
28045 || exit 1
28047 @endif guile
28049 .PHONY: maybe-installcheck-guile installcheck-guile
28050 maybe-installcheck-guile:
28051 @if guile
28052 maybe-installcheck-guile: installcheck-guile
28054 installcheck-guile: \
28055 configure-guile
28056 @: $(MAKE); $(unstage)
28057 @[ -f ./guile/Makefile ] || exit 0; \
28058 r=`${PWD_COMMAND}`; export r; \
28059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28060 $(HOST_EXPORTS) \
28061 for flag in $(EXTRA_HOST_FLAGS) ; do \
28062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28063 done; \
28064 echo "Doing installcheck in guile" ; \
28065 (cd $(HOST_SUBDIR)/guile && \
28066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28068 "RANLIB=$${RANLIB}" \
28069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28070 installcheck) \
28071 || exit 1
28073 @endif guile
28075 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28076 maybe-mostlyclean-guile:
28077 @if guile
28078 maybe-mostlyclean-guile: mostlyclean-guile
28080 mostlyclean-guile:
28081 @: $(MAKE); $(unstage)
28082 @[ -f ./guile/Makefile ] || exit 0; \
28083 r=`${PWD_COMMAND}`; export r; \
28084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28085 $(HOST_EXPORTS) \
28086 for flag in $(EXTRA_HOST_FLAGS) ; do \
28087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28088 done; \
28089 echo "Doing mostlyclean in guile" ; \
28090 (cd $(HOST_SUBDIR)/guile && \
28091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28093 "RANLIB=$${RANLIB}" \
28094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28095 mostlyclean) \
28096 || exit 1
28098 @endif guile
28100 .PHONY: maybe-clean-guile clean-guile
28101 maybe-clean-guile:
28102 @if guile
28103 maybe-clean-guile: clean-guile
28105 clean-guile:
28106 @: $(MAKE); $(unstage)
28107 @[ -f ./guile/Makefile ] || exit 0; \
28108 r=`${PWD_COMMAND}`; export r; \
28109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28110 $(HOST_EXPORTS) \
28111 for flag in $(EXTRA_HOST_FLAGS) ; do \
28112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28113 done; \
28114 echo "Doing clean in guile" ; \
28115 (cd $(HOST_SUBDIR)/guile && \
28116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28118 "RANLIB=$${RANLIB}" \
28119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28120 clean) \
28121 || exit 1
28123 @endif guile
28125 .PHONY: maybe-distclean-guile distclean-guile
28126 maybe-distclean-guile:
28127 @if guile
28128 maybe-distclean-guile: distclean-guile
28130 distclean-guile:
28131 @: $(MAKE); $(unstage)
28132 @[ -f ./guile/Makefile ] || exit 0; \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28135 $(HOST_EXPORTS) \
28136 for flag in $(EXTRA_HOST_FLAGS) ; do \
28137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28138 done; \
28139 echo "Doing distclean in guile" ; \
28140 (cd $(HOST_SUBDIR)/guile && \
28141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28143 "RANLIB=$${RANLIB}" \
28144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28145 distclean) \
28146 || exit 1
28148 @endif guile
28150 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28151 maybe-maintainer-clean-guile:
28152 @if guile
28153 maybe-maintainer-clean-guile: maintainer-clean-guile
28155 maintainer-clean-guile:
28156 @: $(MAKE); $(unstage)
28157 @[ -f ./guile/Makefile ] || exit 0; \
28158 r=`${PWD_COMMAND}`; export r; \
28159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28160 $(HOST_EXPORTS) \
28161 for flag in $(EXTRA_HOST_FLAGS) ; do \
28162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28163 done; \
28164 echo "Doing maintainer-clean in guile" ; \
28165 (cd $(HOST_SUBDIR)/guile && \
28166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28168 "RANLIB=$${RANLIB}" \
28169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28170 maintainer-clean) \
28171 || exit 1
28173 @endif guile
28177 .PHONY: configure-tk maybe-configure-tk
28178 maybe-configure-tk:
28179 @if gcc-bootstrap
28180 configure-tk: stage_current
28181 @endif gcc-bootstrap
28182 @if tk
28183 maybe-configure-tk: configure-tk
28184 configure-tk:
28185 @: $(MAKE); $(unstage)
28186 @r=`${PWD_COMMAND}`; export r; \
28187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28188 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28190 $(HOST_EXPORTS) \
28191 echo Configuring in $(HOST_SUBDIR)/tk; \
28192 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28193 case $(srcdir) in \
28194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28195 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28197 esac; \
28198 srcdiroption="--srcdir=$${topdir}/tk"; \
28199 libsrcdir="$$s/tk"; \
28200 $(SHELL) $${libsrcdir}/configure \
28201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28202 --target=${target_alias} $${srcdiroption} \
28203 || exit 1
28204 @endif tk
28210 .PHONY: all-tk maybe-all-tk
28211 maybe-all-tk:
28212 @if gcc-bootstrap
28213 all-tk: stage_current
28214 @endif gcc-bootstrap
28215 @if tk
28216 TARGET-tk=all
28217 maybe-all-tk: all-tk
28218 all-tk: configure-tk
28219 @: $(MAKE); $(unstage)
28220 @r=`${PWD_COMMAND}`; export r; \
28221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28222 $(HOST_EXPORTS) \
28223 (cd $(HOST_SUBDIR)/tk && \
28224 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28225 $(TARGET-tk))
28226 @endif tk
28231 .PHONY: check-tk maybe-check-tk
28232 maybe-check-tk:
28233 @if tk
28234 maybe-check-tk: check-tk
28236 check-tk:
28237 @: $(MAKE); $(unstage)
28238 @r=`${PWD_COMMAND}`; export r; \
28239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28240 $(HOST_EXPORTS) \
28241 (cd $(HOST_SUBDIR)/tk && \
28242 $(MAKE) $(FLAGS_TO_PASS) check)
28244 @endif tk
28246 .PHONY: install-tk maybe-install-tk
28247 maybe-install-tk:
28248 @if tk
28249 maybe-install-tk: install-tk
28251 install-tk: installdirs
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(HOST_EXPORTS) \
28256 (cd $(HOST_SUBDIR)/tk && \
28257 $(MAKE) $(FLAGS_TO_PASS) install)
28259 @endif tk
28261 .PHONY: install-strip-tk maybe-install-strip-tk
28262 maybe-install-strip-tk:
28263 @if tk
28264 maybe-install-strip-tk: install-strip-tk
28266 install-strip-tk: installdirs
28267 @: $(MAKE); $(unstage)
28268 @r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 $(HOST_EXPORTS) \
28271 (cd $(HOST_SUBDIR)/tk && \
28272 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28274 @endif tk
28276 # Other targets (info, dvi, pdf, etc.)
28278 .PHONY: maybe-info-tk info-tk
28279 maybe-info-tk:
28280 @if tk
28281 maybe-info-tk: info-tk
28283 info-tk: \
28284 configure-tk
28285 @: $(MAKE); $(unstage)
28286 @[ -f ./tk/Makefile ] || exit 0; \
28287 r=`${PWD_COMMAND}`; export r; \
28288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28289 $(HOST_EXPORTS) \
28290 for flag in $(EXTRA_HOST_FLAGS) ; do \
28291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28292 done; \
28293 echo "Doing info in tk" ; \
28294 (cd $(HOST_SUBDIR)/tk && \
28295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28297 "RANLIB=$${RANLIB}" \
28298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28299 info) \
28300 || exit 1
28302 @endif tk
28304 .PHONY: maybe-dvi-tk dvi-tk
28305 maybe-dvi-tk:
28306 @if tk
28307 maybe-dvi-tk: dvi-tk
28309 dvi-tk: \
28310 configure-tk
28311 @: $(MAKE); $(unstage)
28312 @[ -f ./tk/Makefile ] || exit 0; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28315 $(HOST_EXPORTS) \
28316 for flag in $(EXTRA_HOST_FLAGS) ; do \
28317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28318 done; \
28319 echo "Doing dvi in tk" ; \
28320 (cd $(HOST_SUBDIR)/tk && \
28321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28323 "RANLIB=$${RANLIB}" \
28324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28325 dvi) \
28326 || exit 1
28328 @endif tk
28330 .PHONY: maybe-pdf-tk pdf-tk
28331 maybe-pdf-tk:
28332 @if tk
28333 maybe-pdf-tk: pdf-tk
28335 pdf-tk: \
28336 configure-tk
28337 @: $(MAKE); $(unstage)
28338 @[ -f ./tk/Makefile ] || exit 0; \
28339 r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 $(HOST_EXPORTS) \
28342 for flag in $(EXTRA_HOST_FLAGS) ; do \
28343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28344 done; \
28345 echo "Doing pdf in tk" ; \
28346 (cd $(HOST_SUBDIR)/tk && \
28347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28349 "RANLIB=$${RANLIB}" \
28350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28351 pdf) \
28352 || exit 1
28354 @endif tk
28356 .PHONY: maybe-html-tk html-tk
28357 maybe-html-tk:
28358 @if tk
28359 maybe-html-tk: html-tk
28361 html-tk: \
28362 configure-tk
28363 @: $(MAKE); $(unstage)
28364 @[ -f ./tk/Makefile ] || exit 0; \
28365 r=`${PWD_COMMAND}`; export r; \
28366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28367 $(HOST_EXPORTS) \
28368 for flag in $(EXTRA_HOST_FLAGS) ; do \
28369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28370 done; \
28371 echo "Doing html in tk" ; \
28372 (cd $(HOST_SUBDIR)/tk && \
28373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28375 "RANLIB=$${RANLIB}" \
28376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28377 html) \
28378 || exit 1
28380 @endif tk
28382 .PHONY: maybe-TAGS-tk TAGS-tk
28383 maybe-TAGS-tk:
28384 @if tk
28385 maybe-TAGS-tk: TAGS-tk
28387 TAGS-tk: \
28388 configure-tk
28389 @: $(MAKE); $(unstage)
28390 @[ -f ./tk/Makefile ] || exit 0; \
28391 r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 $(HOST_EXPORTS) \
28394 for flag in $(EXTRA_HOST_FLAGS) ; do \
28395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28396 done; \
28397 echo "Doing TAGS in tk" ; \
28398 (cd $(HOST_SUBDIR)/tk && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28403 TAGS) \
28404 || exit 1
28406 @endif tk
28408 .PHONY: maybe-install-info-tk install-info-tk
28409 maybe-install-info-tk:
28410 @if tk
28411 maybe-install-info-tk: install-info-tk
28413 install-info-tk: \
28414 configure-tk \
28415 info-tk
28416 @: $(MAKE); $(unstage)
28417 @[ -f ./tk/Makefile ] || exit 0; \
28418 r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28420 $(HOST_EXPORTS) \
28421 for flag in $(EXTRA_HOST_FLAGS) ; do \
28422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28423 done; \
28424 echo "Doing install-info in tk" ; \
28425 (cd $(HOST_SUBDIR)/tk && \
28426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28428 "RANLIB=$${RANLIB}" \
28429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28430 install-info) \
28431 || exit 1
28433 @endif tk
28435 .PHONY: maybe-install-pdf-tk install-pdf-tk
28436 maybe-install-pdf-tk:
28437 @if tk
28438 maybe-install-pdf-tk: install-pdf-tk
28440 install-pdf-tk: \
28441 configure-tk \
28442 pdf-tk
28443 @: $(MAKE); $(unstage)
28444 @[ -f ./tk/Makefile ] || exit 0; \
28445 r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 $(HOST_EXPORTS) \
28448 for flag in $(EXTRA_HOST_FLAGS) ; do \
28449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28450 done; \
28451 echo "Doing install-pdf in tk" ; \
28452 (cd $(HOST_SUBDIR)/tk && \
28453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28455 "RANLIB=$${RANLIB}" \
28456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28457 install-pdf) \
28458 || exit 1
28460 @endif tk
28462 .PHONY: maybe-install-html-tk install-html-tk
28463 maybe-install-html-tk:
28464 @if tk
28465 maybe-install-html-tk: install-html-tk
28467 install-html-tk: \
28468 configure-tk \
28469 html-tk
28470 @: $(MAKE); $(unstage)
28471 @[ -f ./tk/Makefile ] || exit 0; \
28472 r=`${PWD_COMMAND}`; export r; \
28473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28474 $(HOST_EXPORTS) \
28475 for flag in $(EXTRA_HOST_FLAGS) ; do \
28476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28477 done; \
28478 echo "Doing install-html in tk" ; \
28479 (cd $(HOST_SUBDIR)/tk && \
28480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28482 "RANLIB=$${RANLIB}" \
28483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28484 install-html) \
28485 || exit 1
28487 @endif tk
28489 .PHONY: maybe-installcheck-tk installcheck-tk
28490 maybe-installcheck-tk:
28491 @if tk
28492 maybe-installcheck-tk: installcheck-tk
28494 installcheck-tk: \
28495 configure-tk
28496 @: $(MAKE); $(unstage)
28497 @[ -f ./tk/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 for flag in $(EXTRA_HOST_FLAGS) ; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 echo "Doing installcheck in tk" ; \
28505 (cd $(HOST_SUBDIR)/tk && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28510 installcheck) \
28511 || exit 1
28513 @endif tk
28515 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28516 maybe-mostlyclean-tk:
28517 @if tk
28518 maybe-mostlyclean-tk: mostlyclean-tk
28520 mostlyclean-tk:
28521 @: $(MAKE); $(unstage)
28522 @[ -f ./tk/Makefile ] || exit 0; \
28523 r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 $(HOST_EXPORTS) \
28526 for flag in $(EXTRA_HOST_FLAGS) ; do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28528 done; \
28529 echo "Doing mostlyclean in tk" ; \
28530 (cd $(HOST_SUBDIR)/tk && \
28531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28533 "RANLIB=$${RANLIB}" \
28534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28535 mostlyclean) \
28536 || exit 1
28538 @endif tk
28540 .PHONY: maybe-clean-tk clean-tk
28541 maybe-clean-tk:
28542 @if tk
28543 maybe-clean-tk: clean-tk
28545 clean-tk:
28546 @: $(MAKE); $(unstage)
28547 @[ -f ./tk/Makefile ] || exit 0; \
28548 r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28550 $(HOST_EXPORTS) \
28551 for flag in $(EXTRA_HOST_FLAGS) ; do \
28552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28553 done; \
28554 echo "Doing clean in tk" ; \
28555 (cd $(HOST_SUBDIR)/tk && \
28556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28558 "RANLIB=$${RANLIB}" \
28559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28560 clean) \
28561 || exit 1
28563 @endif tk
28565 .PHONY: maybe-distclean-tk distclean-tk
28566 maybe-distclean-tk:
28567 @if tk
28568 maybe-distclean-tk: distclean-tk
28570 distclean-tk:
28571 @: $(MAKE); $(unstage)
28572 @[ -f ./tk/Makefile ] || exit 0; \
28573 r=`${PWD_COMMAND}`; export r; \
28574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28575 $(HOST_EXPORTS) \
28576 for flag in $(EXTRA_HOST_FLAGS) ; do \
28577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28578 done; \
28579 echo "Doing distclean in tk" ; \
28580 (cd $(HOST_SUBDIR)/tk && \
28581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28583 "RANLIB=$${RANLIB}" \
28584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28585 distclean) \
28586 || exit 1
28588 @endif tk
28590 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28591 maybe-maintainer-clean-tk:
28592 @if tk
28593 maybe-maintainer-clean-tk: maintainer-clean-tk
28595 maintainer-clean-tk:
28596 @: $(MAKE); $(unstage)
28597 @[ -f ./tk/Makefile ] || exit 0; \
28598 r=`${PWD_COMMAND}`; export r; \
28599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28600 $(HOST_EXPORTS) \
28601 for flag in $(EXTRA_HOST_FLAGS) ; do \
28602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28603 done; \
28604 echo "Doing maintainer-clean in tk" ; \
28605 (cd $(HOST_SUBDIR)/tk && \
28606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28608 "RANLIB=$${RANLIB}" \
28609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28610 maintainer-clean) \
28611 || exit 1
28613 @endif tk
28617 .PHONY: configure-libtermcap maybe-configure-libtermcap
28618 maybe-configure-libtermcap:
28619 @if gcc-bootstrap
28620 configure-libtermcap: stage_current
28621 @endif gcc-bootstrap
28622 @if libtermcap
28623 maybe-configure-libtermcap: configure-libtermcap
28624 configure-libtermcap:
28625 @: $(MAKE); $(unstage)
28626 @r=`${PWD_COMMAND}`; export r; \
28627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28628 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28630 $(HOST_EXPORTS) \
28631 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28632 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28633 case $(srcdir) in \
28634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28635 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28637 esac; \
28638 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28639 libsrcdir="$$s/libtermcap"; \
28640 $(SHELL) $${libsrcdir}/configure \
28641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28642 --target=${target_alias} $${srcdiroption} \
28643 || exit 1
28644 @endif libtermcap
28650 .PHONY: all-libtermcap maybe-all-libtermcap
28651 maybe-all-libtermcap:
28652 @if gcc-bootstrap
28653 all-libtermcap: stage_current
28654 @endif gcc-bootstrap
28655 @if libtermcap
28656 TARGET-libtermcap=all
28657 maybe-all-libtermcap: all-libtermcap
28658 all-libtermcap: configure-libtermcap
28659 @: $(MAKE); $(unstage)
28660 @r=`${PWD_COMMAND}`; export r; \
28661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28662 $(HOST_EXPORTS) \
28663 (cd $(HOST_SUBDIR)/libtermcap && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28665 $(TARGET-libtermcap))
28666 @endif libtermcap
28671 .PHONY: check-libtermcap maybe-check-libtermcap
28672 maybe-check-libtermcap:
28673 @if libtermcap
28674 maybe-check-libtermcap: check-libtermcap
28676 check-libtermcap:
28678 @endif libtermcap
28680 .PHONY: install-libtermcap maybe-install-libtermcap
28681 maybe-install-libtermcap:
28682 @if libtermcap
28683 maybe-install-libtermcap: install-libtermcap
28685 install-libtermcap: installdirs
28686 @: $(MAKE); $(unstage)
28687 @r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28689 $(HOST_EXPORTS) \
28690 (cd $(HOST_SUBDIR)/libtermcap && \
28691 $(MAKE) $(FLAGS_TO_PASS) install)
28693 @endif libtermcap
28695 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28696 maybe-install-strip-libtermcap:
28697 @if libtermcap
28698 maybe-install-strip-libtermcap: install-strip-libtermcap
28700 install-strip-libtermcap: installdirs
28701 @: $(MAKE); $(unstage)
28702 @r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(HOST_EXPORTS) \
28705 (cd $(HOST_SUBDIR)/libtermcap && \
28706 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28708 @endif libtermcap
28710 # Other targets (info, dvi, pdf, etc.)
28712 .PHONY: maybe-info-libtermcap info-libtermcap
28713 maybe-info-libtermcap:
28714 @if libtermcap
28715 maybe-info-libtermcap: info-libtermcap
28717 info-libtermcap: \
28718 configure-libtermcap
28719 @: $(MAKE); $(unstage)
28720 @[ -f ./libtermcap/Makefile ] || exit 0; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 for flag in $(EXTRA_HOST_FLAGS) ; do \
28725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28726 done; \
28727 echo "Doing info in libtermcap" ; \
28728 (cd $(HOST_SUBDIR)/libtermcap && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28733 info) \
28734 || exit 1
28736 @endif libtermcap
28738 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28739 maybe-dvi-libtermcap:
28740 @if libtermcap
28741 maybe-dvi-libtermcap: dvi-libtermcap
28743 dvi-libtermcap: \
28744 configure-libtermcap
28745 @: $(MAKE); $(unstage)
28746 @[ -f ./libtermcap/Makefile ] || exit 0; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 for flag in $(EXTRA_HOST_FLAGS) ; do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 echo "Doing dvi in libtermcap" ; \
28754 (cd $(HOST_SUBDIR)/libtermcap && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28759 dvi) \
28760 || exit 1
28762 @endif libtermcap
28764 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28765 maybe-pdf-libtermcap:
28766 @if libtermcap
28767 maybe-pdf-libtermcap: pdf-libtermcap
28769 pdf-libtermcap: \
28770 configure-libtermcap
28771 @: $(MAKE); $(unstage)
28772 @[ -f ./libtermcap/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(HOST_EXPORTS) \
28776 for flag in $(EXTRA_HOST_FLAGS) ; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 echo "Doing pdf in libtermcap" ; \
28780 (cd $(HOST_SUBDIR)/libtermcap && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28785 pdf) \
28786 || exit 1
28788 @endif libtermcap
28790 .PHONY: maybe-html-libtermcap html-libtermcap
28791 maybe-html-libtermcap:
28792 @if libtermcap
28793 maybe-html-libtermcap: html-libtermcap
28795 html-libtermcap: \
28796 configure-libtermcap
28797 @: $(MAKE); $(unstage)
28798 @[ -f ./libtermcap/Makefile ] || exit 0; \
28799 r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(HOST_EXPORTS) \
28802 for flag in $(EXTRA_HOST_FLAGS) ; do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 echo "Doing html in libtermcap" ; \
28806 (cd $(HOST_SUBDIR)/libtermcap && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28811 html) \
28812 || exit 1
28814 @endif libtermcap
28816 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28817 maybe-TAGS-libtermcap:
28818 @if libtermcap
28819 maybe-TAGS-libtermcap: TAGS-libtermcap
28821 TAGS-libtermcap: \
28822 configure-libtermcap
28823 @: $(MAKE); $(unstage)
28824 @[ -f ./libtermcap/Makefile ] || exit 0; \
28825 r=`${PWD_COMMAND}`; export r; \
28826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28827 $(HOST_EXPORTS) \
28828 for flag in $(EXTRA_HOST_FLAGS) ; do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28830 done; \
28831 echo "Doing TAGS in libtermcap" ; \
28832 (cd $(HOST_SUBDIR)/libtermcap && \
28833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28835 "RANLIB=$${RANLIB}" \
28836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28837 TAGS) \
28838 || exit 1
28840 @endif libtermcap
28842 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28843 maybe-install-info-libtermcap:
28844 @if libtermcap
28845 maybe-install-info-libtermcap: install-info-libtermcap
28847 install-info-libtermcap: \
28848 configure-libtermcap \
28849 info-libtermcap
28850 @: $(MAKE); $(unstage)
28851 @[ -f ./libtermcap/Makefile ] || exit 0; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(HOST_EXPORTS) \
28855 for flag in $(EXTRA_HOST_FLAGS) ; do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28857 done; \
28858 echo "Doing install-info in libtermcap" ; \
28859 (cd $(HOST_SUBDIR)/libtermcap && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28864 install-info) \
28865 || exit 1
28867 @endif libtermcap
28869 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28870 maybe-install-pdf-libtermcap:
28871 @if libtermcap
28872 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28874 install-pdf-libtermcap: \
28875 configure-libtermcap \
28876 pdf-libtermcap
28877 @: $(MAKE); $(unstage)
28878 @[ -f ./libtermcap/Makefile ] || exit 0; \
28879 r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28881 $(HOST_EXPORTS) \
28882 for flag in $(EXTRA_HOST_FLAGS) ; do \
28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28884 done; \
28885 echo "Doing install-pdf in libtermcap" ; \
28886 (cd $(HOST_SUBDIR)/libtermcap && \
28887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28889 "RANLIB=$${RANLIB}" \
28890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28891 install-pdf) \
28892 || exit 1
28894 @endif libtermcap
28896 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28897 maybe-install-html-libtermcap:
28898 @if libtermcap
28899 maybe-install-html-libtermcap: install-html-libtermcap
28901 install-html-libtermcap: \
28902 configure-libtermcap \
28903 html-libtermcap
28904 @: $(MAKE); $(unstage)
28905 @[ -f ./libtermcap/Makefile ] || exit 0; \
28906 r=`${PWD_COMMAND}`; export r; \
28907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28908 $(HOST_EXPORTS) \
28909 for flag in $(EXTRA_HOST_FLAGS) ; do \
28910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28911 done; \
28912 echo "Doing install-html in libtermcap" ; \
28913 (cd $(HOST_SUBDIR)/libtermcap && \
28914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28916 "RANLIB=$${RANLIB}" \
28917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28918 install-html) \
28919 || exit 1
28921 @endif libtermcap
28923 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28924 maybe-installcheck-libtermcap:
28925 @if libtermcap
28926 maybe-installcheck-libtermcap: installcheck-libtermcap
28928 installcheck-libtermcap: \
28929 configure-libtermcap
28930 @: $(MAKE); $(unstage)
28931 @[ -f ./libtermcap/Makefile ] || exit 0; \
28932 r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28934 $(HOST_EXPORTS) \
28935 for flag in $(EXTRA_HOST_FLAGS) ; do \
28936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28937 done; \
28938 echo "Doing installcheck in libtermcap" ; \
28939 (cd $(HOST_SUBDIR)/libtermcap && \
28940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28942 "RANLIB=$${RANLIB}" \
28943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28944 installcheck) \
28945 || exit 1
28947 @endif libtermcap
28949 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28950 maybe-mostlyclean-libtermcap:
28951 @if libtermcap
28952 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28954 # libtermcap doesn't support mostlyclean.
28955 mostlyclean-libtermcap:
28957 @endif libtermcap
28959 .PHONY: maybe-clean-libtermcap clean-libtermcap
28960 maybe-clean-libtermcap:
28961 @if libtermcap
28962 maybe-clean-libtermcap: clean-libtermcap
28964 # libtermcap doesn't support clean.
28965 clean-libtermcap:
28967 @endif libtermcap
28969 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28970 maybe-distclean-libtermcap:
28971 @if libtermcap
28972 maybe-distclean-libtermcap: distclean-libtermcap
28974 # libtermcap doesn't support distclean.
28975 distclean-libtermcap:
28977 @endif libtermcap
28979 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28980 maybe-maintainer-clean-libtermcap:
28981 @if libtermcap
28982 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28984 # libtermcap doesn't support maintainer-clean.
28985 maintainer-clean-libtermcap:
28987 @endif libtermcap
28991 .PHONY: configure-utils maybe-configure-utils
28992 maybe-configure-utils:
28993 @if gcc-bootstrap
28994 configure-utils: stage_current
28995 @endif gcc-bootstrap
28996 @if utils
28997 maybe-configure-utils: configure-utils
28998 configure-utils:
28999 @: $(MAKE); $(unstage)
29000 @r=`${PWD_COMMAND}`; export r; \
29001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29002 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29004 $(HOST_EXPORTS) \
29005 echo Configuring in $(HOST_SUBDIR)/utils; \
29006 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29007 case $(srcdir) in \
29008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29009 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29011 esac; \
29012 srcdiroption="--srcdir=$${topdir}/utils"; \
29013 libsrcdir="$$s/utils"; \
29014 $(SHELL) $${libsrcdir}/configure \
29015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29016 --target=${target_alias} $${srcdiroption} \
29017 || exit 1
29018 @endif utils
29024 .PHONY: all-utils maybe-all-utils
29025 maybe-all-utils:
29026 @if gcc-bootstrap
29027 all-utils: stage_current
29028 @endif gcc-bootstrap
29029 @if utils
29030 TARGET-utils=all
29031 maybe-all-utils: all-utils
29032 all-utils: configure-utils
29033 @: $(MAKE); $(unstage)
29034 @r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(HOST_EXPORTS) \
29037 (cd $(HOST_SUBDIR)/utils && \
29038 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29039 $(TARGET-utils))
29040 @endif utils
29045 .PHONY: check-utils maybe-check-utils
29046 maybe-check-utils:
29047 @if utils
29048 maybe-check-utils: check-utils
29050 check-utils:
29052 @endif utils
29054 .PHONY: install-utils maybe-install-utils
29055 maybe-install-utils:
29056 @if utils
29057 maybe-install-utils: install-utils
29059 install-utils: installdirs
29060 @: $(MAKE); $(unstage)
29061 @r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(HOST_EXPORTS) \
29064 (cd $(HOST_SUBDIR)/utils && \
29065 $(MAKE) $(FLAGS_TO_PASS) install)
29067 @endif utils
29069 .PHONY: install-strip-utils maybe-install-strip-utils
29070 maybe-install-strip-utils:
29071 @if utils
29072 maybe-install-strip-utils: install-strip-utils
29074 install-strip-utils: installdirs
29075 @: $(MAKE); $(unstage)
29076 @r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(HOST_EXPORTS) \
29079 (cd $(HOST_SUBDIR)/utils && \
29080 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29082 @endif utils
29084 # Other targets (info, dvi, pdf, etc.)
29086 .PHONY: maybe-info-utils info-utils
29087 maybe-info-utils:
29088 @if utils
29089 maybe-info-utils: info-utils
29091 info-utils: \
29092 configure-utils
29093 @: $(MAKE); $(unstage)
29094 @[ -f ./utils/Makefile ] || exit 0; \
29095 r=`${PWD_COMMAND}`; export r; \
29096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29097 $(HOST_EXPORTS) \
29098 for flag in $(EXTRA_HOST_FLAGS) ; do \
29099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29100 done; \
29101 echo "Doing info in utils" ; \
29102 (cd $(HOST_SUBDIR)/utils && \
29103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29105 "RANLIB=$${RANLIB}" \
29106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29107 info) \
29108 || exit 1
29110 @endif utils
29112 .PHONY: maybe-dvi-utils dvi-utils
29113 maybe-dvi-utils:
29114 @if utils
29115 maybe-dvi-utils: dvi-utils
29117 dvi-utils: \
29118 configure-utils
29119 @: $(MAKE); $(unstage)
29120 @[ -f ./utils/Makefile ] || exit 0; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 $(HOST_EXPORTS) \
29124 for flag in $(EXTRA_HOST_FLAGS) ; do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 echo "Doing dvi in utils" ; \
29128 (cd $(HOST_SUBDIR)/utils && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29131 "RANLIB=$${RANLIB}" \
29132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29133 dvi) \
29134 || exit 1
29136 @endif utils
29138 .PHONY: maybe-pdf-utils pdf-utils
29139 maybe-pdf-utils:
29140 @if utils
29141 maybe-pdf-utils: pdf-utils
29143 pdf-utils: \
29144 configure-utils
29145 @: $(MAKE); $(unstage)
29146 @[ -f ./utils/Makefile ] || exit 0; \
29147 r=`${PWD_COMMAND}`; export r; \
29148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29149 $(HOST_EXPORTS) \
29150 for flag in $(EXTRA_HOST_FLAGS) ; do \
29151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29152 done; \
29153 echo "Doing pdf in utils" ; \
29154 (cd $(HOST_SUBDIR)/utils && \
29155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29157 "RANLIB=$${RANLIB}" \
29158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29159 pdf) \
29160 || exit 1
29162 @endif utils
29164 .PHONY: maybe-html-utils html-utils
29165 maybe-html-utils:
29166 @if utils
29167 maybe-html-utils: html-utils
29169 html-utils: \
29170 configure-utils
29171 @: $(MAKE); $(unstage)
29172 @[ -f ./utils/Makefile ] || exit 0; \
29173 r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 $(HOST_EXPORTS) \
29176 for flag in $(EXTRA_HOST_FLAGS) ; do \
29177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29178 done; \
29179 echo "Doing html in utils" ; \
29180 (cd $(HOST_SUBDIR)/utils && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29185 html) \
29186 || exit 1
29188 @endif utils
29190 .PHONY: maybe-TAGS-utils TAGS-utils
29191 maybe-TAGS-utils:
29192 @if utils
29193 maybe-TAGS-utils: TAGS-utils
29195 TAGS-utils: \
29196 configure-utils
29197 @: $(MAKE); $(unstage)
29198 @[ -f ./utils/Makefile ] || exit 0; \
29199 r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 $(HOST_EXPORTS) \
29202 for flag in $(EXTRA_HOST_FLAGS) ; do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29204 done; \
29205 echo "Doing TAGS in utils" ; \
29206 (cd $(HOST_SUBDIR)/utils && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29209 "RANLIB=$${RANLIB}" \
29210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29211 TAGS) \
29212 || exit 1
29214 @endif utils
29216 .PHONY: maybe-install-info-utils install-info-utils
29217 maybe-install-info-utils:
29218 @if utils
29219 maybe-install-info-utils: install-info-utils
29221 install-info-utils: \
29222 configure-utils \
29223 info-utils
29224 @: $(MAKE); $(unstage)
29225 @[ -f ./utils/Makefile ] || exit 0; \
29226 r=`${PWD_COMMAND}`; export r; \
29227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29228 $(HOST_EXPORTS) \
29229 for flag in $(EXTRA_HOST_FLAGS) ; do \
29230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29231 done; \
29232 echo "Doing install-info in utils" ; \
29233 (cd $(HOST_SUBDIR)/utils && \
29234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29236 "RANLIB=$${RANLIB}" \
29237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29238 install-info) \
29239 || exit 1
29241 @endif utils
29243 .PHONY: maybe-install-pdf-utils install-pdf-utils
29244 maybe-install-pdf-utils:
29245 @if utils
29246 maybe-install-pdf-utils: install-pdf-utils
29248 install-pdf-utils: \
29249 configure-utils \
29250 pdf-utils
29251 @: $(MAKE); $(unstage)
29252 @[ -f ./utils/Makefile ] || exit 0; \
29253 r=`${PWD_COMMAND}`; export r; \
29254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29255 $(HOST_EXPORTS) \
29256 for flag in $(EXTRA_HOST_FLAGS) ; do \
29257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29258 done; \
29259 echo "Doing install-pdf in utils" ; \
29260 (cd $(HOST_SUBDIR)/utils && \
29261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29263 "RANLIB=$${RANLIB}" \
29264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29265 install-pdf) \
29266 || exit 1
29268 @endif utils
29270 .PHONY: maybe-install-html-utils install-html-utils
29271 maybe-install-html-utils:
29272 @if utils
29273 maybe-install-html-utils: install-html-utils
29275 install-html-utils: \
29276 configure-utils \
29277 html-utils
29278 @: $(MAKE); $(unstage)
29279 @[ -f ./utils/Makefile ] || exit 0; \
29280 r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29282 $(HOST_EXPORTS) \
29283 for flag in $(EXTRA_HOST_FLAGS) ; do \
29284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29285 done; \
29286 echo "Doing install-html in utils" ; \
29287 (cd $(HOST_SUBDIR)/utils && \
29288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29290 "RANLIB=$${RANLIB}" \
29291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29292 install-html) \
29293 || exit 1
29295 @endif utils
29297 .PHONY: maybe-installcheck-utils installcheck-utils
29298 maybe-installcheck-utils:
29299 @if utils
29300 maybe-installcheck-utils: installcheck-utils
29302 installcheck-utils: \
29303 configure-utils
29304 @: $(MAKE); $(unstage)
29305 @[ -f ./utils/Makefile ] || exit 0; \
29306 r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(HOST_EXPORTS) \
29309 for flag in $(EXTRA_HOST_FLAGS) ; do \
29310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29311 done; \
29312 echo "Doing installcheck in utils" ; \
29313 (cd $(HOST_SUBDIR)/utils && \
29314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29316 "RANLIB=$${RANLIB}" \
29317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29318 installcheck) \
29319 || exit 1
29321 @endif utils
29323 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29324 maybe-mostlyclean-utils:
29325 @if utils
29326 maybe-mostlyclean-utils: mostlyclean-utils
29328 mostlyclean-utils:
29329 @: $(MAKE); $(unstage)
29330 @[ -f ./utils/Makefile ] || exit 0; \
29331 r=`${PWD_COMMAND}`; export r; \
29332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29333 $(HOST_EXPORTS) \
29334 for flag in $(EXTRA_HOST_FLAGS) ; do \
29335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29336 done; \
29337 echo "Doing mostlyclean in utils" ; \
29338 (cd $(HOST_SUBDIR)/utils && \
29339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29341 "RANLIB=$${RANLIB}" \
29342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29343 mostlyclean) \
29344 || exit 1
29346 @endif utils
29348 .PHONY: maybe-clean-utils clean-utils
29349 maybe-clean-utils:
29350 @if utils
29351 maybe-clean-utils: clean-utils
29353 clean-utils:
29354 @: $(MAKE); $(unstage)
29355 @[ -f ./utils/Makefile ] || exit 0; \
29356 r=`${PWD_COMMAND}`; export r; \
29357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29358 $(HOST_EXPORTS) \
29359 for flag in $(EXTRA_HOST_FLAGS) ; do \
29360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29361 done; \
29362 echo "Doing clean in utils" ; \
29363 (cd $(HOST_SUBDIR)/utils && \
29364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29366 "RANLIB=$${RANLIB}" \
29367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29368 clean) \
29369 || exit 1
29371 @endif utils
29373 .PHONY: maybe-distclean-utils distclean-utils
29374 maybe-distclean-utils:
29375 @if utils
29376 maybe-distclean-utils: distclean-utils
29378 distclean-utils:
29379 @: $(MAKE); $(unstage)
29380 @[ -f ./utils/Makefile ] || exit 0; \
29381 r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29383 $(HOST_EXPORTS) \
29384 for flag in $(EXTRA_HOST_FLAGS) ; do \
29385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29386 done; \
29387 echo "Doing distclean in utils" ; \
29388 (cd $(HOST_SUBDIR)/utils && \
29389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29391 "RANLIB=$${RANLIB}" \
29392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29393 distclean) \
29394 || exit 1
29396 @endif utils
29398 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29399 maybe-maintainer-clean-utils:
29400 @if utils
29401 maybe-maintainer-clean-utils: maintainer-clean-utils
29403 maintainer-clean-utils:
29404 @: $(MAKE); $(unstage)
29405 @[ -f ./utils/Makefile ] || exit 0; \
29406 r=`${PWD_COMMAND}`; export r; \
29407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29408 $(HOST_EXPORTS) \
29409 for flag in $(EXTRA_HOST_FLAGS) ; do \
29410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29411 done; \
29412 echo "Doing maintainer-clean in utils" ; \
29413 (cd $(HOST_SUBDIR)/utils && \
29414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29416 "RANLIB=$${RANLIB}" \
29417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29418 maintainer-clean) \
29419 || exit 1
29421 @endif utils
29425 .PHONY: configure-gnattools maybe-configure-gnattools
29426 maybe-configure-gnattools:
29427 @if gcc-bootstrap
29428 configure-gnattools: stage_current
29429 @endif gcc-bootstrap
29430 @if gnattools
29431 maybe-configure-gnattools: configure-gnattools
29432 configure-gnattools:
29433 @: $(MAKE); $(unstage)
29434 @r=`${PWD_COMMAND}`; export r; \
29435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29436 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29438 $(HOST_EXPORTS) \
29439 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29440 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29441 case $(srcdir) in \
29442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29443 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29445 esac; \
29446 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29447 libsrcdir="$$s/gnattools"; \
29448 $(SHELL) $${libsrcdir}/configure \
29449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29450 --target=${target_alias} $${srcdiroption} \
29451 || exit 1
29452 @endif gnattools
29458 .PHONY: all-gnattools maybe-all-gnattools
29459 maybe-all-gnattools:
29460 @if gcc-bootstrap
29461 all-gnattools: stage_current
29462 @endif gcc-bootstrap
29463 @if gnattools
29464 TARGET-gnattools=all
29465 maybe-all-gnattools: all-gnattools
29466 all-gnattools: configure-gnattools
29467 @: $(MAKE); $(unstage)
29468 @r=`${PWD_COMMAND}`; export r; \
29469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29470 $(HOST_EXPORTS) \
29471 (cd $(HOST_SUBDIR)/gnattools && \
29472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29473 $(TARGET-gnattools))
29474 @endif gnattools
29479 .PHONY: check-gnattools maybe-check-gnattools
29480 maybe-check-gnattools:
29481 @if gnattools
29482 maybe-check-gnattools: check-gnattools
29484 check-gnattools:
29485 @: $(MAKE); $(unstage)
29486 @r=`${PWD_COMMAND}`; export r; \
29487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29488 $(HOST_EXPORTS) \
29489 (cd $(HOST_SUBDIR)/gnattools && \
29490 $(MAKE) $(FLAGS_TO_PASS) check)
29492 @endif gnattools
29494 .PHONY: install-gnattools maybe-install-gnattools
29495 maybe-install-gnattools:
29496 @if gnattools
29497 maybe-install-gnattools: install-gnattools
29499 install-gnattools: installdirs
29500 @: $(MAKE); $(unstage)
29501 @r=`${PWD_COMMAND}`; export r; \
29502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29503 $(HOST_EXPORTS) \
29504 (cd $(HOST_SUBDIR)/gnattools && \
29505 $(MAKE) $(FLAGS_TO_PASS) install)
29507 @endif gnattools
29509 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29510 maybe-install-strip-gnattools:
29511 @if gnattools
29512 maybe-install-strip-gnattools: install-strip-gnattools
29514 install-strip-gnattools: installdirs
29515 @: $(MAKE); $(unstage)
29516 @r=`${PWD_COMMAND}`; export r; \
29517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29518 $(HOST_EXPORTS) \
29519 (cd $(HOST_SUBDIR)/gnattools && \
29520 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29522 @endif gnattools
29524 # Other targets (info, dvi, pdf, etc.)
29526 .PHONY: maybe-info-gnattools info-gnattools
29527 maybe-info-gnattools:
29528 @if gnattools
29529 maybe-info-gnattools: info-gnattools
29531 info-gnattools: \
29532 configure-gnattools
29533 @: $(MAKE); $(unstage)
29534 @[ -f ./gnattools/Makefile ] || exit 0; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(HOST_EXPORTS) \
29538 for flag in $(EXTRA_HOST_FLAGS) ; do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29540 done; \
29541 echo "Doing info in gnattools" ; \
29542 (cd $(HOST_SUBDIR)/gnattools && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29547 info) \
29548 || exit 1
29550 @endif gnattools
29552 .PHONY: maybe-dvi-gnattools dvi-gnattools
29553 maybe-dvi-gnattools:
29554 @if gnattools
29555 maybe-dvi-gnattools: dvi-gnattools
29557 dvi-gnattools: \
29558 configure-gnattools
29559 @: $(MAKE); $(unstage)
29560 @[ -f ./gnattools/Makefile ] || exit 0; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(HOST_EXPORTS) \
29564 for flag in $(EXTRA_HOST_FLAGS) ; do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29566 done; \
29567 echo "Doing dvi in gnattools" ; \
29568 (cd $(HOST_SUBDIR)/gnattools && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29573 dvi) \
29574 || exit 1
29576 @endif gnattools
29578 .PHONY: maybe-pdf-gnattools pdf-gnattools
29579 maybe-pdf-gnattools:
29580 @if gnattools
29581 maybe-pdf-gnattools: pdf-gnattools
29583 pdf-gnattools: \
29584 configure-gnattools
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./gnattools/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(HOST_EXPORTS) \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 echo "Doing pdf in gnattools" ; \
29594 (cd $(HOST_SUBDIR)/gnattools && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29599 pdf) \
29600 || exit 1
29602 @endif gnattools
29604 .PHONY: maybe-html-gnattools html-gnattools
29605 maybe-html-gnattools:
29606 @if gnattools
29607 maybe-html-gnattools: html-gnattools
29609 html-gnattools: \
29610 configure-gnattools
29611 @: $(MAKE); $(unstage)
29612 @[ -f ./gnattools/Makefile ] || exit 0; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(HOST_EXPORTS) \
29616 for flag in $(EXTRA_HOST_FLAGS) ; do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29618 done; \
29619 echo "Doing html in gnattools" ; \
29620 (cd $(HOST_SUBDIR)/gnattools && \
29621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29623 "RANLIB=$${RANLIB}" \
29624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29625 html) \
29626 || exit 1
29628 @endif gnattools
29630 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29631 maybe-TAGS-gnattools:
29632 @if gnattools
29633 maybe-TAGS-gnattools: TAGS-gnattools
29635 TAGS-gnattools: \
29636 configure-gnattools
29637 @: $(MAKE); $(unstage)
29638 @[ -f ./gnattools/Makefile ] || exit 0; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(HOST_EXPORTS) \
29642 for flag in $(EXTRA_HOST_FLAGS) ; do \
29643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29644 done; \
29645 echo "Doing TAGS in gnattools" ; \
29646 (cd $(HOST_SUBDIR)/gnattools && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29651 TAGS) \
29652 || exit 1
29654 @endif gnattools
29656 .PHONY: maybe-install-info-gnattools install-info-gnattools
29657 maybe-install-info-gnattools:
29658 @if gnattools
29659 maybe-install-info-gnattools: install-info-gnattools
29661 install-info-gnattools: \
29662 configure-gnattools \
29663 info-gnattools
29664 @: $(MAKE); $(unstage)
29665 @[ -f ./gnattools/Makefile ] || exit 0; \
29666 r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(HOST_EXPORTS) \
29669 for flag in $(EXTRA_HOST_FLAGS) ; do \
29670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29671 done; \
29672 echo "Doing install-info in gnattools" ; \
29673 (cd $(HOST_SUBDIR)/gnattools && \
29674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29676 "RANLIB=$${RANLIB}" \
29677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29678 install-info) \
29679 || exit 1
29681 @endif gnattools
29683 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29684 maybe-install-pdf-gnattools:
29685 @if gnattools
29686 maybe-install-pdf-gnattools: install-pdf-gnattools
29688 install-pdf-gnattools: \
29689 configure-gnattools \
29690 pdf-gnattools
29691 @: $(MAKE); $(unstage)
29692 @[ -f ./gnattools/Makefile ] || exit 0; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 $(HOST_EXPORTS) \
29696 for flag in $(EXTRA_HOST_FLAGS) ; do \
29697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29698 done; \
29699 echo "Doing install-pdf in gnattools" ; \
29700 (cd $(HOST_SUBDIR)/gnattools && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29705 install-pdf) \
29706 || exit 1
29708 @endif gnattools
29710 .PHONY: maybe-install-html-gnattools install-html-gnattools
29711 maybe-install-html-gnattools:
29712 @if gnattools
29713 maybe-install-html-gnattools: install-html-gnattools
29715 install-html-gnattools: \
29716 configure-gnattools \
29717 html-gnattools
29718 @: $(MAKE); $(unstage)
29719 @[ -f ./gnattools/Makefile ] || exit 0; \
29720 r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29722 $(HOST_EXPORTS) \
29723 for flag in $(EXTRA_HOST_FLAGS) ; do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29725 done; \
29726 echo "Doing install-html in gnattools" ; \
29727 (cd $(HOST_SUBDIR)/gnattools && \
29728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29730 "RANLIB=$${RANLIB}" \
29731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29732 install-html) \
29733 || exit 1
29735 @endif gnattools
29737 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29738 maybe-installcheck-gnattools:
29739 @if gnattools
29740 maybe-installcheck-gnattools: installcheck-gnattools
29742 installcheck-gnattools: \
29743 configure-gnattools
29744 @: $(MAKE); $(unstage)
29745 @[ -f ./gnattools/Makefile ] || exit 0; \
29746 r=`${PWD_COMMAND}`; export r; \
29747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29748 $(HOST_EXPORTS) \
29749 for flag in $(EXTRA_HOST_FLAGS) ; do \
29750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29751 done; \
29752 echo "Doing installcheck in gnattools" ; \
29753 (cd $(HOST_SUBDIR)/gnattools && \
29754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29756 "RANLIB=$${RANLIB}" \
29757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29758 installcheck) \
29759 || exit 1
29761 @endif gnattools
29763 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29764 maybe-mostlyclean-gnattools:
29765 @if gnattools
29766 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29768 mostlyclean-gnattools:
29769 @: $(MAKE); $(unstage)
29770 @[ -f ./gnattools/Makefile ] || exit 0; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29773 $(HOST_EXPORTS) \
29774 for flag in $(EXTRA_HOST_FLAGS) ; do \
29775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29776 done; \
29777 echo "Doing mostlyclean in gnattools" ; \
29778 (cd $(HOST_SUBDIR)/gnattools && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29783 mostlyclean) \
29784 || exit 1
29786 @endif gnattools
29788 .PHONY: maybe-clean-gnattools clean-gnattools
29789 maybe-clean-gnattools:
29790 @if gnattools
29791 maybe-clean-gnattools: clean-gnattools
29793 clean-gnattools:
29794 @: $(MAKE); $(unstage)
29795 @[ -f ./gnattools/Makefile ] || exit 0; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(HOST_EXPORTS) \
29799 for flag in $(EXTRA_HOST_FLAGS) ; do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29801 done; \
29802 echo "Doing clean in gnattools" ; \
29803 (cd $(HOST_SUBDIR)/gnattools && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29808 clean) \
29809 || exit 1
29811 @endif gnattools
29813 .PHONY: maybe-distclean-gnattools distclean-gnattools
29814 maybe-distclean-gnattools:
29815 @if gnattools
29816 maybe-distclean-gnattools: distclean-gnattools
29818 distclean-gnattools:
29819 @: $(MAKE); $(unstage)
29820 @[ -f ./gnattools/Makefile ] || exit 0; \
29821 r=`${PWD_COMMAND}`; export r; \
29822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29823 $(HOST_EXPORTS) \
29824 for flag in $(EXTRA_HOST_FLAGS) ; do \
29825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29826 done; \
29827 echo "Doing distclean in gnattools" ; \
29828 (cd $(HOST_SUBDIR)/gnattools && \
29829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29831 "RANLIB=$${RANLIB}" \
29832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29833 distclean) \
29834 || exit 1
29836 @endif gnattools
29838 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29839 maybe-maintainer-clean-gnattools:
29840 @if gnattools
29841 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29843 maintainer-clean-gnattools:
29844 @: $(MAKE); $(unstage)
29845 @[ -f ./gnattools/Makefile ] || exit 0; \
29846 r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29848 $(HOST_EXPORTS) \
29849 for flag in $(EXTRA_HOST_FLAGS) ; do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29851 done; \
29852 echo "Doing maintainer-clean in gnattools" ; \
29853 (cd $(HOST_SUBDIR)/gnattools && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29858 maintainer-clean) \
29859 || exit 1
29861 @endif gnattools
29865 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29866 maybe-configure-lto-plugin:
29867 @if gcc-bootstrap
29868 configure-lto-plugin: stage_current
29869 @endif gcc-bootstrap
29870 @if lto-plugin
29871 maybe-configure-lto-plugin: configure-lto-plugin
29872 configure-lto-plugin:
29873 @r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29877 $(HOST_EXPORTS) \
29878 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29879 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29880 case $(srcdir) in \
29881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29882 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29884 esac; \
29885 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29886 libsrcdir="$$s/lto-plugin"; \
29887 $(SHELL) $${libsrcdir}/configure \
29888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29889 --target=${target_alias} $${srcdiroption} --enable-shared \
29890 || exit 1
29891 @endif lto-plugin
29895 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29896 maybe-configure-stage1-lto-plugin:
29897 @if lto-plugin-bootstrap
29898 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29899 configure-stage1-lto-plugin:
29900 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29902 @r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 TFLAGS="$(STAGE1_TFLAGS)"; \
29905 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29906 $(HOST_EXPORTS) \
29907 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29908 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29909 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29910 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29912 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29913 case $(srcdir) in \
29914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29915 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29917 esac; \
29918 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29919 libsrcdir="$$s/lto-plugin"; \
29920 $(SHELL) $${libsrcdir}/configure \
29921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29922 --target=${target_alias} $${srcdiroption} \
29923 $(STAGE1_CONFIGURE_FLAGS) \
29924 --enable-shared
29925 @endif lto-plugin-bootstrap
29927 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29928 maybe-configure-stage2-lto-plugin:
29929 @if lto-plugin-bootstrap
29930 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29931 configure-stage2-lto-plugin:
29932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29934 @r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 TFLAGS="$(STAGE2_TFLAGS)"; \
29937 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29938 $(HOST_EXPORTS) \
29939 $(POSTSTAGE1_HOST_EXPORTS) \
29940 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29941 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29942 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29943 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29945 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29946 case $(srcdir) in \
29947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29948 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29950 esac; \
29951 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29952 libsrcdir="$$s/lto-plugin"; \
29953 $(SHELL) $${libsrcdir}/configure \
29954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29955 --target=${target_alias} $${srcdiroption} \
29956 --with-build-libsubdir=$(HOST_SUBDIR) \
29957 $(STAGE2_CONFIGURE_FLAGS) \
29958 --enable-shared
29959 @endif lto-plugin-bootstrap
29961 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29962 maybe-configure-stage3-lto-plugin:
29963 @if lto-plugin-bootstrap
29964 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29965 configure-stage3-lto-plugin:
29966 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29968 @r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29970 TFLAGS="$(STAGE3_TFLAGS)"; \
29971 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29972 $(HOST_EXPORTS) \
29973 $(POSTSTAGE1_HOST_EXPORTS) \
29974 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29975 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29976 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29977 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29979 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29980 case $(srcdir) in \
29981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29982 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29984 esac; \
29985 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29986 libsrcdir="$$s/lto-plugin"; \
29987 $(SHELL) $${libsrcdir}/configure \
29988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29989 --target=${target_alias} $${srcdiroption} \
29990 --with-build-libsubdir=$(HOST_SUBDIR) \
29991 $(STAGE3_CONFIGURE_FLAGS) \
29992 --enable-shared
29993 @endif lto-plugin-bootstrap
29995 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29996 maybe-configure-stage4-lto-plugin:
29997 @if lto-plugin-bootstrap
29998 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29999 configure-stage4-lto-plugin:
30000 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30002 @r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 TFLAGS="$(STAGE4_TFLAGS)"; \
30005 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30006 $(HOST_EXPORTS) \
30007 $(POSTSTAGE1_HOST_EXPORTS) \
30008 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30009 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30010 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30011 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30013 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30014 case $(srcdir) in \
30015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30016 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30018 esac; \
30019 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30020 libsrcdir="$$s/lto-plugin"; \
30021 $(SHELL) $${libsrcdir}/configure \
30022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30023 --target=${target_alias} $${srcdiroption} \
30024 --with-build-libsubdir=$(HOST_SUBDIR) \
30025 $(STAGE4_CONFIGURE_FLAGS) \
30026 --enable-shared
30027 @endif lto-plugin-bootstrap
30029 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30030 maybe-configure-stageprofile-lto-plugin:
30031 @if lto-plugin-bootstrap
30032 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30033 configure-stageprofile-lto-plugin:
30034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30036 @r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30039 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30040 $(HOST_EXPORTS) \
30041 $(POSTSTAGE1_HOST_EXPORTS) \
30042 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30043 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30044 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30045 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30047 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30048 case $(srcdir) in \
30049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30050 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30052 esac; \
30053 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30054 libsrcdir="$$s/lto-plugin"; \
30055 $(SHELL) $${libsrcdir}/configure \
30056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30057 --target=${target_alias} $${srcdiroption} \
30058 --with-build-libsubdir=$(HOST_SUBDIR) \
30059 $(STAGEprofile_CONFIGURE_FLAGS) \
30060 --enable-shared
30061 @endif lto-plugin-bootstrap
30063 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30064 maybe-configure-stagefeedback-lto-plugin:
30065 @if lto-plugin-bootstrap
30066 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30067 configure-stagefeedback-lto-plugin:
30068 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30070 @r=`${PWD_COMMAND}`; export r; \
30071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30072 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30073 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30074 $(HOST_EXPORTS) \
30075 $(POSTSTAGE1_HOST_EXPORTS) \
30076 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30077 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30078 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30079 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30081 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30082 case $(srcdir) in \
30083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30084 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30086 esac; \
30087 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30088 libsrcdir="$$s/lto-plugin"; \
30089 $(SHELL) $${libsrcdir}/configure \
30090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30091 --target=${target_alias} $${srcdiroption} \
30092 --with-build-libsubdir=$(HOST_SUBDIR) \
30093 $(STAGEfeedback_CONFIGURE_FLAGS) \
30094 --enable-shared
30095 @endif lto-plugin-bootstrap
30101 .PHONY: all-lto-plugin maybe-all-lto-plugin
30102 maybe-all-lto-plugin:
30103 @if gcc-bootstrap
30104 all-lto-plugin: stage_current
30105 @endif gcc-bootstrap
30106 @if lto-plugin
30107 TARGET-lto-plugin=all
30108 maybe-all-lto-plugin: all-lto-plugin
30109 all-lto-plugin: configure-lto-plugin
30110 @r=`${PWD_COMMAND}`; export r; \
30111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30112 $(HOST_EXPORTS) \
30113 (cd $(HOST_SUBDIR)/lto-plugin && \
30114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30115 $(TARGET-lto-plugin))
30116 @endif lto-plugin
30120 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30121 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30122 maybe-all-stage1-lto-plugin:
30123 maybe-clean-stage1-lto-plugin:
30124 @if lto-plugin-bootstrap
30125 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30126 all-stage1: all-stage1-lto-plugin
30127 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30128 all-stage1-lto-plugin: configure-stage1-lto-plugin
30129 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30130 @r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 TFLAGS="$(STAGE1_TFLAGS)"; \
30133 $(HOST_EXPORTS) \
30134 cd $(HOST_SUBDIR)/lto-plugin && \
30135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30136 CFLAGS="$(STAGE1_CFLAGS)" \
30137 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30138 LIBCFLAGS="$(LIBCFLAGS)" \
30139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30142 $(EXTRA_HOST_FLAGS) \
30143 $(STAGE1_FLAGS_TO_PASS) \
30144 TFLAGS="$(STAGE1_TFLAGS)" \
30145 $(TARGET-stage1-lto-plugin)
30147 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30148 clean-stage1: clean-stage1-lto-plugin
30149 clean-stage1-lto-plugin:
30150 @if [ $(current_stage) = stage1 ]; then \
30151 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30152 else \
30153 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30154 $(MAKE) stage1-start; \
30155 fi; \
30156 cd $(HOST_SUBDIR)/lto-plugin && \
30157 $(MAKE) $(EXTRA_HOST_FLAGS) \
30158 $(STAGE1_FLAGS_TO_PASS) clean
30159 @endif lto-plugin-bootstrap
30162 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30163 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30164 maybe-all-stage2-lto-plugin:
30165 maybe-clean-stage2-lto-plugin:
30166 @if lto-plugin-bootstrap
30167 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30168 all-stage2: all-stage2-lto-plugin
30169 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30170 all-stage2-lto-plugin: configure-stage2-lto-plugin
30171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30172 @r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30174 TFLAGS="$(STAGE2_TFLAGS)"; \
30175 $(HOST_EXPORTS) \
30176 $(POSTSTAGE1_HOST_EXPORTS) \
30177 cd $(HOST_SUBDIR)/lto-plugin && \
30178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30179 CFLAGS="$(STAGE2_CFLAGS)" \
30180 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30181 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30186 TFLAGS="$(STAGE2_TFLAGS)" \
30187 $(TARGET-stage2-lto-plugin)
30189 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30190 clean-stage2: clean-stage2-lto-plugin
30191 clean-stage2-lto-plugin:
30192 @if [ $(current_stage) = stage2 ]; then \
30193 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30194 else \
30195 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30196 $(MAKE) stage2-start; \
30197 fi; \
30198 cd $(HOST_SUBDIR)/lto-plugin && \
30199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30200 @endif lto-plugin-bootstrap
30203 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30204 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30205 maybe-all-stage3-lto-plugin:
30206 maybe-clean-stage3-lto-plugin:
30207 @if lto-plugin-bootstrap
30208 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30209 all-stage3: all-stage3-lto-plugin
30210 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30211 all-stage3-lto-plugin: configure-stage3-lto-plugin
30212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30213 @r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 TFLAGS="$(STAGE3_TFLAGS)"; \
30216 $(HOST_EXPORTS) \
30217 $(POSTSTAGE1_HOST_EXPORTS) \
30218 cd $(HOST_SUBDIR)/lto-plugin && \
30219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30220 CFLAGS="$(STAGE3_CFLAGS)" \
30221 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30222 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30227 TFLAGS="$(STAGE3_TFLAGS)" \
30228 $(TARGET-stage3-lto-plugin)
30230 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30231 clean-stage3: clean-stage3-lto-plugin
30232 clean-stage3-lto-plugin:
30233 @if [ $(current_stage) = stage3 ]; then \
30234 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30235 else \
30236 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30237 $(MAKE) stage3-start; \
30238 fi; \
30239 cd $(HOST_SUBDIR)/lto-plugin && \
30240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30241 @endif lto-plugin-bootstrap
30244 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30245 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30246 maybe-all-stage4-lto-plugin:
30247 maybe-clean-stage4-lto-plugin:
30248 @if lto-plugin-bootstrap
30249 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30250 all-stage4: all-stage4-lto-plugin
30251 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30252 all-stage4-lto-plugin: configure-stage4-lto-plugin
30253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30254 @r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 TFLAGS="$(STAGE4_TFLAGS)"; \
30257 $(HOST_EXPORTS) \
30258 $(POSTSTAGE1_HOST_EXPORTS) \
30259 cd $(HOST_SUBDIR)/lto-plugin && \
30260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30261 CFLAGS="$(STAGE4_CFLAGS)" \
30262 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30263 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30268 TFLAGS="$(STAGE4_TFLAGS)" \
30269 $(TARGET-stage4-lto-plugin)
30271 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30272 clean-stage4: clean-stage4-lto-plugin
30273 clean-stage4-lto-plugin:
30274 @if [ $(current_stage) = stage4 ]; then \
30275 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30276 else \
30277 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30278 $(MAKE) stage4-start; \
30279 fi; \
30280 cd $(HOST_SUBDIR)/lto-plugin && \
30281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30282 @endif lto-plugin-bootstrap
30285 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30286 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30287 maybe-all-stageprofile-lto-plugin:
30288 maybe-clean-stageprofile-lto-plugin:
30289 @if lto-plugin-bootstrap
30290 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30291 all-stageprofile: all-stageprofile-lto-plugin
30292 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30293 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30295 @r=`${PWD_COMMAND}`; export r; \
30296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30297 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30298 $(HOST_EXPORTS) \
30299 $(POSTSTAGE1_HOST_EXPORTS) \
30300 cd $(HOST_SUBDIR)/lto-plugin && \
30301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30302 CFLAGS="$(STAGEprofile_CFLAGS)" \
30303 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30304 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30309 TFLAGS="$(STAGEprofile_TFLAGS)" \
30310 $(TARGET-stageprofile-lto-plugin)
30312 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30313 clean-stageprofile: clean-stageprofile-lto-plugin
30314 clean-stageprofile-lto-plugin:
30315 @if [ $(current_stage) = stageprofile ]; then \
30316 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30317 else \
30318 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30319 $(MAKE) stageprofile-start; \
30320 fi; \
30321 cd $(HOST_SUBDIR)/lto-plugin && \
30322 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30323 @endif lto-plugin-bootstrap
30326 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30327 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30328 maybe-all-stagefeedback-lto-plugin:
30329 maybe-clean-stagefeedback-lto-plugin:
30330 @if lto-plugin-bootstrap
30331 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30332 all-stagefeedback: all-stagefeedback-lto-plugin
30333 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30334 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30335 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30336 @r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30339 $(HOST_EXPORTS) \
30340 $(POSTSTAGE1_HOST_EXPORTS) \
30341 cd $(HOST_SUBDIR)/lto-plugin && \
30342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30343 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30344 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30345 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30350 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30351 $(TARGET-stagefeedback-lto-plugin)
30353 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30354 clean-stagefeedback: clean-stagefeedback-lto-plugin
30355 clean-stagefeedback-lto-plugin:
30356 @if [ $(current_stage) = stagefeedback ]; then \
30357 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30358 else \
30359 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30360 $(MAKE) stagefeedback-start; \
30361 fi; \
30362 cd $(HOST_SUBDIR)/lto-plugin && \
30363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30364 @endif lto-plugin-bootstrap
30370 .PHONY: check-lto-plugin maybe-check-lto-plugin
30371 maybe-check-lto-plugin:
30372 @if lto-plugin
30373 maybe-check-lto-plugin: check-lto-plugin
30375 check-lto-plugin:
30376 @: $(MAKE); $(unstage)
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 $(HOST_EXPORTS) \
30380 (cd $(HOST_SUBDIR)/lto-plugin && \
30381 $(MAKE) $(FLAGS_TO_PASS) check)
30383 @endif lto-plugin
30385 .PHONY: install-lto-plugin maybe-install-lto-plugin
30386 maybe-install-lto-plugin:
30387 @if lto-plugin
30388 maybe-install-lto-plugin: install-lto-plugin
30390 install-lto-plugin: installdirs
30391 @: $(MAKE); $(unstage)
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) \
30395 (cd $(HOST_SUBDIR)/lto-plugin && \
30396 $(MAKE) $(FLAGS_TO_PASS) install)
30398 @endif lto-plugin
30400 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30401 maybe-install-strip-lto-plugin:
30402 @if lto-plugin
30403 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30405 install-strip-lto-plugin: installdirs
30406 @: $(MAKE); $(unstage)
30407 @r=`${PWD_COMMAND}`; export r; \
30408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30409 $(HOST_EXPORTS) \
30410 (cd $(HOST_SUBDIR)/lto-plugin && \
30411 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30413 @endif lto-plugin
30415 # Other targets (info, dvi, pdf, etc.)
30417 .PHONY: maybe-info-lto-plugin info-lto-plugin
30418 maybe-info-lto-plugin:
30419 @if lto-plugin
30420 maybe-info-lto-plugin: info-lto-plugin
30422 info-lto-plugin: \
30423 configure-lto-plugin
30424 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30425 r=`${PWD_COMMAND}`; export r; \
30426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30427 $(HOST_EXPORTS) \
30428 for flag in $(EXTRA_HOST_FLAGS) ; do \
30429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30430 done; \
30431 echo "Doing info in lto-plugin" ; \
30432 (cd $(HOST_SUBDIR)/lto-plugin && \
30433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30435 "RANLIB=$${RANLIB}" \
30436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30437 info) \
30438 || exit 1
30440 @endif lto-plugin
30442 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30443 maybe-dvi-lto-plugin:
30444 @if lto-plugin
30445 maybe-dvi-lto-plugin: dvi-lto-plugin
30447 dvi-lto-plugin: \
30448 configure-lto-plugin
30449 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30450 r=`${PWD_COMMAND}`; export r; \
30451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30452 $(HOST_EXPORTS) \
30453 for flag in $(EXTRA_HOST_FLAGS) ; do \
30454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30455 done; \
30456 echo "Doing dvi in lto-plugin" ; \
30457 (cd $(HOST_SUBDIR)/lto-plugin && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30460 "RANLIB=$${RANLIB}" \
30461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30462 dvi) \
30463 || exit 1
30465 @endif lto-plugin
30467 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30468 maybe-pdf-lto-plugin:
30469 @if lto-plugin
30470 maybe-pdf-lto-plugin: pdf-lto-plugin
30472 pdf-lto-plugin: \
30473 configure-lto-plugin
30474 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30475 r=`${PWD_COMMAND}`; export r; \
30476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30477 $(HOST_EXPORTS) \
30478 for flag in $(EXTRA_HOST_FLAGS) ; do \
30479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30480 done; \
30481 echo "Doing pdf in lto-plugin" ; \
30482 (cd $(HOST_SUBDIR)/lto-plugin && \
30483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30485 "RANLIB=$${RANLIB}" \
30486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30487 pdf) \
30488 || exit 1
30490 @endif lto-plugin
30492 .PHONY: maybe-html-lto-plugin html-lto-plugin
30493 maybe-html-lto-plugin:
30494 @if lto-plugin
30495 maybe-html-lto-plugin: html-lto-plugin
30497 html-lto-plugin: \
30498 configure-lto-plugin
30499 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30500 r=`${PWD_COMMAND}`; export r; \
30501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30502 $(HOST_EXPORTS) \
30503 for flag in $(EXTRA_HOST_FLAGS) ; do \
30504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30505 done; \
30506 echo "Doing html in lto-plugin" ; \
30507 (cd $(HOST_SUBDIR)/lto-plugin && \
30508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30510 "RANLIB=$${RANLIB}" \
30511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30512 html) \
30513 || exit 1
30515 @endif lto-plugin
30517 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30518 maybe-TAGS-lto-plugin:
30519 @if lto-plugin
30520 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30522 TAGS-lto-plugin: \
30523 configure-lto-plugin
30524 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30525 r=`${PWD_COMMAND}`; export r; \
30526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30527 $(HOST_EXPORTS) \
30528 for flag in $(EXTRA_HOST_FLAGS) ; do \
30529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30530 done; \
30531 echo "Doing TAGS in lto-plugin" ; \
30532 (cd $(HOST_SUBDIR)/lto-plugin && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30535 "RANLIB=$${RANLIB}" \
30536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30537 TAGS) \
30538 || exit 1
30540 @endif lto-plugin
30542 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30543 maybe-install-info-lto-plugin:
30544 @if lto-plugin
30545 maybe-install-info-lto-plugin: install-info-lto-plugin
30547 install-info-lto-plugin: \
30548 configure-lto-plugin \
30549 info-lto-plugin
30550 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing install-info in lto-plugin" ; \
30558 (cd $(HOST_SUBDIR)/lto-plugin && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30563 install-info) \
30564 || exit 1
30566 @endif lto-plugin
30568 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30569 maybe-install-pdf-lto-plugin:
30570 @if lto-plugin
30571 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30573 install-pdf-lto-plugin: \
30574 configure-lto-plugin \
30575 pdf-lto-plugin
30576 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30577 r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 $(HOST_EXPORTS) \
30580 for flag in $(EXTRA_HOST_FLAGS) ; do \
30581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30582 done; \
30583 echo "Doing install-pdf in lto-plugin" ; \
30584 (cd $(HOST_SUBDIR)/lto-plugin && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30587 "RANLIB=$${RANLIB}" \
30588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30589 install-pdf) \
30590 || exit 1
30592 @endif lto-plugin
30594 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30595 maybe-install-html-lto-plugin:
30596 @if lto-plugin
30597 maybe-install-html-lto-plugin: install-html-lto-plugin
30599 install-html-lto-plugin: \
30600 configure-lto-plugin \
30601 html-lto-plugin
30602 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30603 r=`${PWD_COMMAND}`; export r; \
30604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30605 $(HOST_EXPORTS) \
30606 for flag in $(EXTRA_HOST_FLAGS) ; do \
30607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30608 done; \
30609 echo "Doing install-html in lto-plugin" ; \
30610 (cd $(HOST_SUBDIR)/lto-plugin && \
30611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30613 "RANLIB=$${RANLIB}" \
30614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30615 install-html) \
30616 || exit 1
30618 @endif lto-plugin
30620 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30621 maybe-installcheck-lto-plugin:
30622 @if lto-plugin
30623 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30625 installcheck-lto-plugin: \
30626 configure-lto-plugin
30627 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30628 r=`${PWD_COMMAND}`; export r; \
30629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30630 $(HOST_EXPORTS) \
30631 for flag in $(EXTRA_HOST_FLAGS) ; do \
30632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30633 done; \
30634 echo "Doing installcheck in lto-plugin" ; \
30635 (cd $(HOST_SUBDIR)/lto-plugin && \
30636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30638 "RANLIB=$${RANLIB}" \
30639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30640 installcheck) \
30641 || exit 1
30643 @endif lto-plugin
30645 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30646 maybe-mostlyclean-lto-plugin:
30647 @if lto-plugin
30648 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30650 mostlyclean-lto-plugin:
30651 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30652 r=`${PWD_COMMAND}`; export r; \
30653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30654 $(HOST_EXPORTS) \
30655 for flag in $(EXTRA_HOST_FLAGS) ; do \
30656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30657 done; \
30658 echo "Doing mostlyclean in lto-plugin" ; \
30659 (cd $(HOST_SUBDIR)/lto-plugin && \
30660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30662 "RANLIB=$${RANLIB}" \
30663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30664 mostlyclean) \
30665 || exit 1
30667 @endif lto-plugin
30669 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30670 maybe-clean-lto-plugin:
30671 @if lto-plugin
30672 maybe-clean-lto-plugin: clean-lto-plugin
30674 clean-lto-plugin:
30675 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30676 r=`${PWD_COMMAND}`; export r; \
30677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30678 $(HOST_EXPORTS) \
30679 for flag in $(EXTRA_HOST_FLAGS) ; do \
30680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30681 done; \
30682 echo "Doing clean in lto-plugin" ; \
30683 (cd $(HOST_SUBDIR)/lto-plugin && \
30684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30686 "RANLIB=$${RANLIB}" \
30687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30688 clean) \
30689 || exit 1
30691 @endif lto-plugin
30693 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30694 maybe-distclean-lto-plugin:
30695 @if lto-plugin
30696 maybe-distclean-lto-plugin: distclean-lto-plugin
30698 distclean-lto-plugin:
30699 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30700 r=`${PWD_COMMAND}`; export r; \
30701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30702 $(HOST_EXPORTS) \
30703 for flag in $(EXTRA_HOST_FLAGS) ; do \
30704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30705 done; \
30706 echo "Doing distclean in lto-plugin" ; \
30707 (cd $(HOST_SUBDIR)/lto-plugin && \
30708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30710 "RANLIB=$${RANLIB}" \
30711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30712 distclean) \
30713 || exit 1
30715 @endif lto-plugin
30717 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30718 maybe-maintainer-clean-lto-plugin:
30719 @if lto-plugin
30720 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30722 maintainer-clean-lto-plugin:
30723 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30724 r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30726 $(HOST_EXPORTS) \
30727 for flag in $(EXTRA_HOST_FLAGS) ; do \
30728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30729 done; \
30730 echo "Doing maintainer-clean in lto-plugin" ; \
30731 (cd $(HOST_SUBDIR)/lto-plugin && \
30732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30734 "RANLIB=$${RANLIB}" \
30735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30736 maintainer-clean) \
30737 || exit 1
30739 @endif lto-plugin
30743 # ---------------------------------------
30744 # Modules which run on the target machine
30745 # ---------------------------------------
30750 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30751 maybe-configure-target-libstdc++-v3:
30752 @if gcc-bootstrap
30753 configure-target-libstdc++-v3: stage_current
30754 @endif gcc-bootstrap
30755 @if target-libstdc++-v3
30756 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30757 configure-target-libstdc++-v3:
30758 @r=`${PWD_COMMAND}`; export r; \
30759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30760 echo "Checking multilib configuration for libstdc++-v3..."; \
30761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30762 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30763 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30764 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30765 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30766 else \
30767 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30768 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30769 fi; \
30770 else \
30771 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30772 fi; \
30773 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30775 $(RAW_CXX_TARGET_EXPORTS) \
30776 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30777 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30778 case $(srcdir) in \
30779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30780 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30782 esac; \
30783 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30784 libsrcdir="$$s/libstdc++-v3"; \
30785 rm -f no-such-file || : ; \
30786 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30788 --target=${target_alias} $${srcdiroption} \
30789 || exit 1
30790 @endif target-libstdc++-v3
30794 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30795 maybe-configure-stage1-target-libstdc++-v3:
30796 @if target-libstdc++-v3-bootstrap
30797 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30798 configure-stage1-target-libstdc++-v3:
30799 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30800 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30801 @r=`${PWD_COMMAND}`; export r; \
30802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30803 TFLAGS="$(STAGE1_TFLAGS)"; \
30804 echo "Checking multilib configuration for libstdc++-v3..."; \
30805 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30806 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30807 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30808 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30809 else \
30810 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30811 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30812 fi; \
30813 else \
30814 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30815 fi; \
30816 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30817 $(RAW_CXX_TARGET_EXPORTS) \
30818 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30819 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30820 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30821 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30823 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30824 case $(srcdir) in \
30825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30826 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30828 esac; \
30829 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30830 libsrcdir="$$s/libstdc++-v3"; \
30831 $(SHELL) $${libsrcdir}/configure \
30832 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30833 --target=${target_alias} $${srcdiroption} \
30834 $(STAGE1_CONFIGURE_FLAGS)
30835 @endif target-libstdc++-v3-bootstrap
30837 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30838 maybe-configure-stage2-target-libstdc++-v3:
30839 @if target-libstdc++-v3-bootstrap
30840 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30841 configure-stage2-target-libstdc++-v3:
30842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30844 @r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 TFLAGS="$(STAGE2_TFLAGS)"; \
30847 echo "Checking multilib configuration for libstdc++-v3..."; \
30848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30849 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30850 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30851 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30852 else \
30853 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30854 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30855 fi; \
30856 else \
30857 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30858 fi; \
30859 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30860 $(RAW_CXX_TARGET_EXPORTS) \
30862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30865 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30867 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30868 case $(srcdir) in \
30869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30870 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30872 esac; \
30873 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30874 libsrcdir="$$s/libstdc++-v3"; \
30875 $(SHELL) $${libsrcdir}/configure \
30876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30877 --target=${target_alias} $${srcdiroption} \
30878 --with-build-libsubdir=$(HOST_SUBDIR) \
30879 $(STAGE2_CONFIGURE_FLAGS)
30880 @endif target-libstdc++-v3-bootstrap
30882 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30883 maybe-configure-stage3-target-libstdc++-v3:
30884 @if target-libstdc++-v3-bootstrap
30885 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30886 configure-stage3-target-libstdc++-v3:
30887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30889 @r=`${PWD_COMMAND}`; export r; \
30890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30891 TFLAGS="$(STAGE3_TFLAGS)"; \
30892 echo "Checking multilib configuration for libstdc++-v3..."; \
30893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30894 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30895 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30896 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30897 else \
30898 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30899 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30900 fi; \
30901 else \
30902 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30903 fi; \
30904 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30905 $(RAW_CXX_TARGET_EXPORTS) \
30907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30910 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30912 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30913 case $(srcdir) in \
30914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30915 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30917 esac; \
30918 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30919 libsrcdir="$$s/libstdc++-v3"; \
30920 $(SHELL) $${libsrcdir}/configure \
30921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30922 --target=${target_alias} $${srcdiroption} \
30923 --with-build-libsubdir=$(HOST_SUBDIR) \
30924 $(STAGE3_CONFIGURE_FLAGS)
30925 @endif target-libstdc++-v3-bootstrap
30927 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30928 maybe-configure-stage4-target-libstdc++-v3:
30929 @if target-libstdc++-v3-bootstrap
30930 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30931 configure-stage4-target-libstdc++-v3:
30932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30933 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30934 @r=`${PWD_COMMAND}`; export r; \
30935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30936 TFLAGS="$(STAGE4_TFLAGS)"; \
30937 echo "Checking multilib configuration for libstdc++-v3..."; \
30938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30939 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30940 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30941 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30942 else \
30943 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30944 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30945 fi; \
30946 else \
30947 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30948 fi; \
30949 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30950 $(RAW_CXX_TARGET_EXPORTS) \
30952 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30955 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30957 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30958 case $(srcdir) in \
30959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30960 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30962 esac; \
30963 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30964 libsrcdir="$$s/libstdc++-v3"; \
30965 $(SHELL) $${libsrcdir}/configure \
30966 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30967 --target=${target_alias} $${srcdiroption} \
30968 --with-build-libsubdir=$(HOST_SUBDIR) \
30969 $(STAGE4_CONFIGURE_FLAGS)
30970 @endif target-libstdc++-v3-bootstrap
30972 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30973 maybe-configure-stageprofile-target-libstdc++-v3:
30974 @if target-libstdc++-v3-bootstrap
30975 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30976 configure-stageprofile-target-libstdc++-v3:
30977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30978 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30979 @r=`${PWD_COMMAND}`; export r; \
30980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30982 echo "Checking multilib configuration for libstdc++-v3..."; \
30983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30984 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30985 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30986 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30987 else \
30988 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30989 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30990 fi; \
30991 else \
30992 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30993 fi; \
30994 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30995 $(RAW_CXX_TARGET_EXPORTS) \
30997 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31000 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31002 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31003 case $(srcdir) in \
31004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31005 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31007 esac; \
31008 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31009 libsrcdir="$$s/libstdc++-v3"; \
31010 $(SHELL) $${libsrcdir}/configure \
31011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31012 --target=${target_alias} $${srcdiroption} \
31013 --with-build-libsubdir=$(HOST_SUBDIR) \
31014 $(STAGEprofile_CONFIGURE_FLAGS)
31015 @endif target-libstdc++-v3-bootstrap
31017 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31018 maybe-configure-stagefeedback-target-libstdc++-v3:
31019 @if target-libstdc++-v3-bootstrap
31020 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31021 configure-stagefeedback-target-libstdc++-v3:
31022 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31023 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31024 @r=`${PWD_COMMAND}`; export r; \
31025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31027 echo "Checking multilib configuration for libstdc++-v3..."; \
31028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31029 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31030 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31031 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31032 else \
31033 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31034 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31035 fi; \
31036 else \
31037 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31038 fi; \
31039 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31040 $(RAW_CXX_TARGET_EXPORTS) \
31042 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31045 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31047 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31048 case $(srcdir) in \
31049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31050 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31052 esac; \
31053 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31054 libsrcdir="$$s/libstdc++-v3"; \
31055 $(SHELL) $${libsrcdir}/configure \
31056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31057 --target=${target_alias} $${srcdiroption} \
31058 --with-build-libsubdir=$(HOST_SUBDIR) \
31059 $(STAGEfeedback_CONFIGURE_FLAGS)
31060 @endif target-libstdc++-v3-bootstrap
31066 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31067 maybe-all-target-libstdc++-v3:
31068 @if gcc-bootstrap
31069 all-target-libstdc++-v3: stage_current
31070 @endif gcc-bootstrap
31071 @if target-libstdc++-v3
31072 TARGET-target-libstdc++-v3=all
31073 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31074 all-target-libstdc++-v3: configure-target-libstdc++-v3
31075 @r=`${PWD_COMMAND}`; export r; \
31076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31077 $(RAW_CXX_TARGET_EXPORTS) \
31078 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31079 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31080 $(TARGET-target-libstdc++-v3))
31081 @endif target-libstdc++-v3
31085 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31086 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31087 maybe-all-stage1-target-libstdc++-v3:
31088 maybe-clean-stage1-target-libstdc++-v3:
31089 @if target-libstdc++-v3-bootstrap
31090 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31091 all-stage1: all-stage1-target-libstdc++-v3
31092 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31093 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31094 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31095 @r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 TFLAGS="$(STAGE1_TFLAGS)"; \
31098 $(RAW_CXX_TARGET_EXPORTS) \
31099 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31101 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31102 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31103 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31107 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31109 TFLAGS="$(STAGE1_TFLAGS)" \
31110 $(TARGET-stage1-target-libstdc++-v3)
31112 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31113 clean-stage1: clean-stage1-target-libstdc++-v3
31114 clean-stage1-target-libstdc++-v3:
31115 @if [ $(current_stage) = stage1 ]; then \
31116 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31117 else \
31118 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31119 $(MAKE) stage1-start; \
31120 fi; \
31121 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31122 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31123 clean
31124 @endif target-libstdc++-v3-bootstrap
31127 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31128 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31129 maybe-all-stage2-target-libstdc++-v3:
31130 maybe-clean-stage2-target-libstdc++-v3:
31131 @if target-libstdc++-v3-bootstrap
31132 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31133 all-stage2: all-stage2-target-libstdc++-v3
31134 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31135 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31136 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31137 @r=`${PWD_COMMAND}`; export r; \
31138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31139 TFLAGS="$(STAGE2_TFLAGS)"; \
31140 $(RAW_CXX_TARGET_EXPORTS) \
31142 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31151 TFLAGS="$(STAGE2_TFLAGS)" \
31152 $(TARGET-stage2-target-libstdc++-v3)
31154 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31155 clean-stage2: clean-stage2-target-libstdc++-v3
31156 clean-stage2-target-libstdc++-v3:
31157 @if [ $(current_stage) = stage2 ]; then \
31158 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31159 else \
31160 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31161 $(MAKE) stage2-start; \
31162 fi; \
31163 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31164 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31165 @endif target-libstdc++-v3-bootstrap
31168 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31169 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31170 maybe-all-stage3-target-libstdc++-v3:
31171 maybe-clean-stage3-target-libstdc++-v3:
31172 @if target-libstdc++-v3-bootstrap
31173 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31174 all-stage3: all-stage3-target-libstdc++-v3
31175 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31176 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31177 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31178 @r=`${PWD_COMMAND}`; export r; \
31179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31180 TFLAGS="$(STAGE3_TFLAGS)"; \
31181 $(RAW_CXX_TARGET_EXPORTS) \
31183 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31185 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31187 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31191 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31192 TFLAGS="$(STAGE3_TFLAGS)" \
31193 $(TARGET-stage3-target-libstdc++-v3)
31195 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31196 clean-stage3: clean-stage3-target-libstdc++-v3
31197 clean-stage3-target-libstdc++-v3:
31198 @if [ $(current_stage) = stage3 ]; then \
31199 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31200 else \
31201 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31202 $(MAKE) stage3-start; \
31203 fi; \
31204 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31205 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31206 @endif target-libstdc++-v3-bootstrap
31209 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31210 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31211 maybe-all-stage4-target-libstdc++-v3:
31212 maybe-clean-stage4-target-libstdc++-v3:
31213 @if target-libstdc++-v3-bootstrap
31214 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31215 all-stage4: all-stage4-target-libstdc++-v3
31216 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31217 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31218 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 TFLAGS="$(STAGE4_TFLAGS)"; \
31222 $(RAW_CXX_TARGET_EXPORTS) \
31224 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31226 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31232 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31233 TFLAGS="$(STAGE4_TFLAGS)" \
31234 $(TARGET-stage4-target-libstdc++-v3)
31236 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31237 clean-stage4: clean-stage4-target-libstdc++-v3
31238 clean-stage4-target-libstdc++-v3:
31239 @if [ $(current_stage) = stage4 ]; then \
31240 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31241 else \
31242 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31243 $(MAKE) stage4-start; \
31244 fi; \
31245 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31246 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31247 @endif target-libstdc++-v3-bootstrap
31250 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31251 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31252 maybe-all-stageprofile-target-libstdc++-v3:
31253 maybe-clean-stageprofile-target-libstdc++-v3:
31254 @if target-libstdc++-v3-bootstrap
31255 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31256 all-stageprofile: all-stageprofile-target-libstdc++-v3
31257 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31258 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31259 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31260 @r=`${PWD_COMMAND}`; export r; \
31261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31262 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31263 $(RAW_CXX_TARGET_EXPORTS) \
31265 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31267 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31268 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31269 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31273 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31274 TFLAGS="$(STAGEprofile_TFLAGS)" \
31275 $(TARGET-stageprofile-target-libstdc++-v3)
31277 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31278 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31279 clean-stageprofile-target-libstdc++-v3:
31280 @if [ $(current_stage) = stageprofile ]; then \
31281 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31282 else \
31283 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31284 $(MAKE) stageprofile-start; \
31285 fi; \
31286 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31287 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31288 @endif target-libstdc++-v3-bootstrap
31291 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31292 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31293 maybe-all-stagefeedback-target-libstdc++-v3:
31294 maybe-clean-stagefeedback-target-libstdc++-v3:
31295 @if target-libstdc++-v3-bootstrap
31296 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31297 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31298 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31299 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31301 @r=`${PWD_COMMAND}`; export r; \
31302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31304 $(RAW_CXX_TARGET_EXPORTS) \
31306 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31308 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31314 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31315 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31316 $(TARGET-stagefeedback-target-libstdc++-v3)
31318 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31319 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31320 clean-stagefeedback-target-libstdc++-v3:
31321 @if [ $(current_stage) = stagefeedback ]; then \
31322 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31323 else \
31324 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31325 $(MAKE) stagefeedback-start; \
31326 fi; \
31327 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31328 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31329 @endif target-libstdc++-v3-bootstrap
31336 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31337 maybe-check-target-libstdc++-v3:
31338 @if target-libstdc++-v3
31339 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31341 check-target-libstdc++-v3:
31342 @: $(MAKE); $(unstage)
31343 @r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(RAW_CXX_TARGET_EXPORTS) \
31346 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31347 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31349 @endif target-libstdc++-v3
31351 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31352 maybe-install-target-libstdc++-v3:
31353 @if target-libstdc++-v3
31354 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31356 install-target-libstdc++-v3: installdirs
31357 @: $(MAKE); $(unstage)
31358 @r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(RAW_CXX_TARGET_EXPORTS) \
31361 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31362 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31364 @endif target-libstdc++-v3
31366 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31367 maybe-install-strip-target-libstdc++-v3:
31368 @if target-libstdc++-v3
31369 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31371 install-strip-target-libstdc++-v3: installdirs
31372 @: $(MAKE); $(unstage)
31373 @r=`${PWD_COMMAND}`; export r; \
31374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31375 $(RAW_CXX_TARGET_EXPORTS) \
31376 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31377 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31379 @endif target-libstdc++-v3
31381 # Other targets (info, dvi, pdf, etc.)
31383 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31384 maybe-info-target-libstdc++-v3:
31385 @if target-libstdc++-v3
31386 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31388 info-target-libstdc++-v3: \
31389 configure-target-libstdc++-v3
31390 @: $(MAKE); $(unstage)
31391 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31392 r=`${PWD_COMMAND}`; export r; \
31393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31394 $(RAW_CXX_TARGET_EXPORTS) \
31395 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31396 for flag in $(EXTRA_TARGET_FLAGS); do \
31397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31398 done; \
31399 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31402 "RANLIB=$${RANLIB}" \
31403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31404 info) \
31405 || exit 1
31407 @endif target-libstdc++-v3
31409 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31410 maybe-dvi-target-libstdc++-v3:
31411 @if target-libstdc++-v3
31412 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31414 dvi-target-libstdc++-v3: \
31415 configure-target-libstdc++-v3
31416 @: $(MAKE); $(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(RAW_CXX_TARGET_EXPORTS) \
31421 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31430 dvi) \
31431 || exit 1
31433 @endif target-libstdc++-v3
31435 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31436 maybe-pdf-target-libstdc++-v3:
31437 @if target-libstdc++-v3
31438 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31440 pdf-target-libstdc++-v3: \
31441 configure-target-libstdc++-v3
31442 @: $(MAKE); $(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(RAW_CXX_TARGET_EXPORTS) \
31447 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31450 done; \
31451 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31456 pdf) \
31457 || exit 1
31459 @endif target-libstdc++-v3
31461 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31462 maybe-html-target-libstdc++-v3:
31463 @if target-libstdc++-v3
31464 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31466 html-target-libstdc++-v3: \
31467 configure-target-libstdc++-v3
31468 @: $(MAKE); $(unstage)
31469 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31470 r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(RAW_CXX_TARGET_EXPORTS) \
31473 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31474 for flag in $(EXTRA_TARGET_FLAGS); do \
31475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31476 done; \
31477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31480 "RANLIB=$${RANLIB}" \
31481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31482 html) \
31483 || exit 1
31485 @endif target-libstdc++-v3
31487 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31488 maybe-TAGS-target-libstdc++-v3:
31489 @if target-libstdc++-v3
31490 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31492 TAGS-target-libstdc++-v3: \
31493 configure-target-libstdc++-v3
31494 @: $(MAKE); $(unstage)
31495 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(RAW_CXX_TARGET_EXPORTS) \
31499 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31500 for flag in $(EXTRA_TARGET_FLAGS); do \
31501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31502 done; \
31503 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31506 "RANLIB=$${RANLIB}" \
31507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31508 TAGS) \
31509 || exit 1
31511 @endif target-libstdc++-v3
31513 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31514 maybe-install-info-target-libstdc++-v3:
31515 @if target-libstdc++-v3
31516 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31518 install-info-target-libstdc++-v3: \
31519 configure-target-libstdc++-v3 \
31520 info-target-libstdc++-v3
31521 @: $(MAKE); $(unstage)
31522 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31523 r=`${PWD_COMMAND}`; export r; \
31524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31525 $(RAW_CXX_TARGET_EXPORTS) \
31526 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31527 for flag in $(EXTRA_TARGET_FLAGS); do \
31528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31529 done; \
31530 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31533 "RANLIB=$${RANLIB}" \
31534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31535 install-info) \
31536 || exit 1
31538 @endif target-libstdc++-v3
31540 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31541 maybe-install-pdf-target-libstdc++-v3:
31542 @if target-libstdc++-v3
31543 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31545 install-pdf-target-libstdc++-v3: \
31546 configure-target-libstdc++-v3 \
31547 pdf-target-libstdc++-v3
31548 @: $(MAKE); $(unstage)
31549 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(RAW_CXX_TARGET_EXPORTS) \
31553 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31554 for flag in $(EXTRA_TARGET_FLAGS); do \
31555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31556 done; \
31557 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31562 install-pdf) \
31563 || exit 1
31565 @endif target-libstdc++-v3
31567 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31568 maybe-install-html-target-libstdc++-v3:
31569 @if target-libstdc++-v3
31570 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31572 install-html-target-libstdc++-v3: \
31573 configure-target-libstdc++-v3 \
31574 html-target-libstdc++-v3
31575 @: $(MAKE); $(unstage)
31576 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(RAW_CXX_TARGET_EXPORTS) \
31580 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31581 for flag in $(EXTRA_TARGET_FLAGS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31589 install-html) \
31590 || exit 1
31592 @endif target-libstdc++-v3
31594 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31595 maybe-installcheck-target-libstdc++-v3:
31596 @if target-libstdc++-v3
31597 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31599 installcheck-target-libstdc++-v3: \
31600 configure-target-libstdc++-v3
31601 @: $(MAKE); $(unstage)
31602 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(RAW_CXX_TARGET_EXPORTS) \
31606 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31607 for flag in $(EXTRA_TARGET_FLAGS); do \
31608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31609 done; \
31610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31613 "RANLIB=$${RANLIB}" \
31614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31615 installcheck) \
31616 || exit 1
31618 @endif target-libstdc++-v3
31620 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31621 maybe-mostlyclean-target-libstdc++-v3:
31622 @if target-libstdc++-v3
31623 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31625 mostlyclean-target-libstdc++-v3:
31626 @: $(MAKE); $(unstage)
31627 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31628 r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(RAW_CXX_TARGET_EXPORTS) \
31631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31632 for flag in $(EXTRA_TARGET_FLAGS); do \
31633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31634 done; \
31635 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31638 "RANLIB=$${RANLIB}" \
31639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31640 mostlyclean) \
31641 || exit 1
31643 @endif target-libstdc++-v3
31645 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31646 maybe-clean-target-libstdc++-v3:
31647 @if target-libstdc++-v3
31648 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31650 clean-target-libstdc++-v3:
31651 @: $(MAKE); $(unstage)
31652 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31653 r=`${PWD_COMMAND}`; export r; \
31654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31655 $(RAW_CXX_TARGET_EXPORTS) \
31656 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31657 for flag in $(EXTRA_TARGET_FLAGS); do \
31658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31659 done; \
31660 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31663 "RANLIB=$${RANLIB}" \
31664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31665 clean) \
31666 || exit 1
31668 @endif target-libstdc++-v3
31670 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31671 maybe-distclean-target-libstdc++-v3:
31672 @if target-libstdc++-v3
31673 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31675 distclean-target-libstdc++-v3:
31676 @: $(MAKE); $(unstage)
31677 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(RAW_CXX_TARGET_EXPORTS) \
31681 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31682 for flag in $(EXTRA_TARGET_FLAGS); do \
31683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31684 done; \
31685 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31690 distclean) \
31691 || exit 1
31693 @endif target-libstdc++-v3
31695 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31696 maybe-maintainer-clean-target-libstdc++-v3:
31697 @if target-libstdc++-v3
31698 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31700 maintainer-clean-target-libstdc++-v3:
31701 @: $(MAKE); $(unstage)
31702 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(RAW_CXX_TARGET_EXPORTS) \
31706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31707 for flag in $(EXTRA_TARGET_FLAGS); do \
31708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31709 done; \
31710 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 maintainer-clean) \
31716 || exit 1
31718 @endif target-libstdc++-v3
31724 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31725 maybe-configure-target-libmudflap:
31726 @if gcc-bootstrap
31727 configure-target-libmudflap: stage_current
31728 @endif gcc-bootstrap
31729 @if target-libmudflap
31730 maybe-configure-target-libmudflap: configure-target-libmudflap
31731 configure-target-libmudflap:
31732 @: $(MAKE); $(unstage)
31733 @r=`${PWD_COMMAND}`; export r; \
31734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31735 echo "Checking multilib configuration for libmudflap..."; \
31736 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31738 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31739 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31740 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31741 else \
31742 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31743 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31744 fi; \
31745 else \
31746 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31747 fi; \
31748 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31750 $(NORMAL_TARGET_EXPORTS) \
31751 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31752 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31753 case $(srcdir) in \
31754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31755 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31757 esac; \
31758 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31759 libsrcdir="$$s/libmudflap"; \
31760 rm -f no-such-file || : ; \
31761 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31762 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31763 --target=${target_alias} $${srcdiroption} \
31764 || exit 1
31765 @endif target-libmudflap
31771 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31772 maybe-all-target-libmudflap:
31773 @if gcc-bootstrap
31774 all-target-libmudflap: stage_current
31775 @endif gcc-bootstrap
31776 @if target-libmudflap
31777 TARGET-target-libmudflap=all
31778 maybe-all-target-libmudflap: all-target-libmudflap
31779 all-target-libmudflap: configure-target-libmudflap
31780 @: $(MAKE); $(unstage)
31781 @r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(NORMAL_TARGET_EXPORTS) \
31784 (cd $(TARGET_SUBDIR)/libmudflap && \
31785 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31786 $(TARGET-target-libmudflap))
31787 @endif target-libmudflap
31793 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31794 maybe-check-target-libmudflap:
31795 @if target-libmudflap
31796 maybe-check-target-libmudflap: check-target-libmudflap
31798 check-target-libmudflap:
31799 @: $(MAKE); $(unstage)
31800 @r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(NORMAL_TARGET_EXPORTS) \
31803 (cd $(TARGET_SUBDIR)/libmudflap && \
31804 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31806 @endif target-libmudflap
31808 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31809 maybe-install-target-libmudflap:
31810 @if target-libmudflap
31811 maybe-install-target-libmudflap: install-target-libmudflap
31813 install-target-libmudflap: installdirs
31814 @: $(MAKE); $(unstage)
31815 @r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(NORMAL_TARGET_EXPORTS) \
31818 (cd $(TARGET_SUBDIR)/libmudflap && \
31819 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31821 @endif target-libmudflap
31823 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31824 maybe-install-strip-target-libmudflap:
31825 @if target-libmudflap
31826 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31828 install-strip-target-libmudflap: installdirs
31829 @: $(MAKE); $(unstage)
31830 @r=`${PWD_COMMAND}`; export r; \
31831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31832 $(NORMAL_TARGET_EXPORTS) \
31833 (cd $(TARGET_SUBDIR)/libmudflap && \
31834 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31836 @endif target-libmudflap
31838 # Other targets (info, dvi, pdf, etc.)
31840 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31841 maybe-info-target-libmudflap:
31842 @if target-libmudflap
31843 maybe-info-target-libmudflap: info-target-libmudflap
31845 info-target-libmudflap: \
31846 configure-target-libmudflap
31847 @: $(MAKE); $(unstage)
31848 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31849 r=`${PWD_COMMAND}`; export r; \
31850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31851 $(NORMAL_TARGET_EXPORTS) \
31852 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31853 for flag in $(EXTRA_TARGET_FLAGS); do \
31854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31855 done; \
31856 (cd $(TARGET_SUBDIR)/libmudflap && \
31857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31859 "RANLIB=$${RANLIB}" \
31860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31861 info) \
31862 || exit 1
31864 @endif target-libmudflap
31866 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31867 maybe-dvi-target-libmudflap:
31868 @if target-libmudflap
31869 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31871 dvi-target-libmudflap: \
31872 configure-target-libmudflap
31873 @: $(MAKE); $(unstage)
31874 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31875 r=`${PWD_COMMAND}`; export r; \
31876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31877 $(NORMAL_TARGET_EXPORTS) \
31878 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31879 for flag in $(EXTRA_TARGET_FLAGS); do \
31880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31881 done; \
31882 (cd $(TARGET_SUBDIR)/libmudflap && \
31883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31885 "RANLIB=$${RANLIB}" \
31886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31887 dvi) \
31888 || exit 1
31890 @endif target-libmudflap
31892 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31893 maybe-pdf-target-libmudflap:
31894 @if target-libmudflap
31895 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31897 pdf-target-libmudflap: \
31898 configure-target-libmudflap
31899 @: $(MAKE); $(unstage)
31900 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31901 r=`${PWD_COMMAND}`; export r; \
31902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31903 $(NORMAL_TARGET_EXPORTS) \
31904 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31905 for flag in $(EXTRA_TARGET_FLAGS); do \
31906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31907 done; \
31908 (cd $(TARGET_SUBDIR)/libmudflap && \
31909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31911 "RANLIB=$${RANLIB}" \
31912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31913 pdf) \
31914 || exit 1
31916 @endif target-libmudflap
31918 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31919 maybe-html-target-libmudflap:
31920 @if target-libmudflap
31921 maybe-html-target-libmudflap: html-target-libmudflap
31923 html-target-libmudflap: \
31924 configure-target-libmudflap
31925 @: $(MAKE); $(unstage)
31926 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31927 r=`${PWD_COMMAND}`; export r; \
31928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31929 $(NORMAL_TARGET_EXPORTS) \
31930 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31931 for flag in $(EXTRA_TARGET_FLAGS); do \
31932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31933 done; \
31934 (cd $(TARGET_SUBDIR)/libmudflap && \
31935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31937 "RANLIB=$${RANLIB}" \
31938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31939 html) \
31940 || exit 1
31942 @endif target-libmudflap
31944 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31945 maybe-TAGS-target-libmudflap:
31946 @if target-libmudflap
31947 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31949 TAGS-target-libmudflap: \
31950 configure-target-libmudflap
31951 @: $(MAKE); $(unstage)
31952 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31953 r=`${PWD_COMMAND}`; export r; \
31954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31955 $(NORMAL_TARGET_EXPORTS) \
31956 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31957 for flag in $(EXTRA_TARGET_FLAGS); do \
31958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31959 done; \
31960 (cd $(TARGET_SUBDIR)/libmudflap && \
31961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31963 "RANLIB=$${RANLIB}" \
31964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31965 TAGS) \
31966 || exit 1
31968 @endif target-libmudflap
31970 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31971 maybe-install-info-target-libmudflap:
31972 @if target-libmudflap
31973 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31975 install-info-target-libmudflap: \
31976 configure-target-libmudflap \
31977 info-target-libmudflap
31978 @: $(MAKE); $(unstage)
31979 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31980 r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 $(NORMAL_TARGET_EXPORTS) \
31983 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31984 for flag in $(EXTRA_TARGET_FLAGS); do \
31985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31986 done; \
31987 (cd $(TARGET_SUBDIR)/libmudflap && \
31988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31990 "RANLIB=$${RANLIB}" \
31991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31992 install-info) \
31993 || exit 1
31995 @endif target-libmudflap
31997 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31998 maybe-install-pdf-target-libmudflap:
31999 @if target-libmudflap
32000 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32002 install-pdf-target-libmudflap: \
32003 configure-target-libmudflap \
32004 pdf-target-libmudflap
32005 @: $(MAKE); $(unstage)
32006 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32007 r=`${PWD_COMMAND}`; export r; \
32008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32009 $(NORMAL_TARGET_EXPORTS) \
32010 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32011 for flag in $(EXTRA_TARGET_FLAGS); do \
32012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32013 done; \
32014 (cd $(TARGET_SUBDIR)/libmudflap && \
32015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32017 "RANLIB=$${RANLIB}" \
32018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32019 install-pdf) \
32020 || exit 1
32022 @endif target-libmudflap
32024 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32025 maybe-install-html-target-libmudflap:
32026 @if target-libmudflap
32027 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32029 install-html-target-libmudflap: \
32030 configure-target-libmudflap \
32031 html-target-libmudflap
32032 @: $(MAKE); $(unstage)
32033 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32034 r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 $(NORMAL_TARGET_EXPORTS) \
32037 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32038 for flag in $(EXTRA_TARGET_FLAGS); do \
32039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32040 done; \
32041 (cd $(TARGET_SUBDIR)/libmudflap && \
32042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32044 "RANLIB=$${RANLIB}" \
32045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32046 install-html) \
32047 || exit 1
32049 @endif target-libmudflap
32051 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32052 maybe-installcheck-target-libmudflap:
32053 @if target-libmudflap
32054 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32056 installcheck-target-libmudflap: \
32057 configure-target-libmudflap
32058 @: $(MAKE); $(unstage)
32059 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32060 r=`${PWD_COMMAND}`; export r; \
32061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32062 $(NORMAL_TARGET_EXPORTS) \
32063 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32064 for flag in $(EXTRA_TARGET_FLAGS); do \
32065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32066 done; \
32067 (cd $(TARGET_SUBDIR)/libmudflap && \
32068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32070 "RANLIB=$${RANLIB}" \
32071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32072 installcheck) \
32073 || exit 1
32075 @endif target-libmudflap
32077 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32078 maybe-mostlyclean-target-libmudflap:
32079 @if target-libmudflap
32080 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32082 mostlyclean-target-libmudflap:
32083 @: $(MAKE); $(unstage)
32084 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32085 r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(NORMAL_TARGET_EXPORTS) \
32088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32089 for flag in $(EXTRA_TARGET_FLAGS); do \
32090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32091 done; \
32092 (cd $(TARGET_SUBDIR)/libmudflap && \
32093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32095 "RANLIB=$${RANLIB}" \
32096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32097 mostlyclean) \
32098 || exit 1
32100 @endif target-libmudflap
32102 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32103 maybe-clean-target-libmudflap:
32104 @if target-libmudflap
32105 maybe-clean-target-libmudflap: clean-target-libmudflap
32107 clean-target-libmudflap:
32108 @: $(MAKE); $(unstage)
32109 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32110 r=`${PWD_COMMAND}`; export r; \
32111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32112 $(NORMAL_TARGET_EXPORTS) \
32113 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32114 for flag in $(EXTRA_TARGET_FLAGS); do \
32115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32116 done; \
32117 (cd $(TARGET_SUBDIR)/libmudflap && \
32118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32120 "RANLIB=$${RANLIB}" \
32121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32122 clean) \
32123 || exit 1
32125 @endif target-libmudflap
32127 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32128 maybe-distclean-target-libmudflap:
32129 @if target-libmudflap
32130 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32132 distclean-target-libmudflap:
32133 @: $(MAKE); $(unstage)
32134 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(NORMAL_TARGET_EXPORTS) \
32138 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32139 for flag in $(EXTRA_TARGET_FLAGS); do \
32140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32141 done; \
32142 (cd $(TARGET_SUBDIR)/libmudflap && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32147 distclean) \
32148 || exit 1
32150 @endif target-libmudflap
32152 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32153 maybe-maintainer-clean-target-libmudflap:
32154 @if target-libmudflap
32155 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32157 maintainer-clean-target-libmudflap:
32158 @: $(MAKE); $(unstage)
32159 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32160 r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 $(NORMAL_TARGET_EXPORTS) \
32163 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32164 for flag in $(EXTRA_TARGET_FLAGS); do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32166 done; \
32167 (cd $(TARGET_SUBDIR)/libmudflap && \
32168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32170 "RANLIB=$${RANLIB}" \
32171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32172 maintainer-clean) \
32173 || exit 1
32175 @endif target-libmudflap
32181 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32182 maybe-configure-target-libsanitizer:
32183 @if gcc-bootstrap
32184 configure-target-libsanitizer: stage_current
32185 @endif gcc-bootstrap
32186 @if target-libsanitizer
32187 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32188 configure-target-libsanitizer:
32189 @r=`${PWD_COMMAND}`; export r; \
32190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32191 echo "Checking multilib configuration for libsanitizer..."; \
32192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32194 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32195 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32196 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32197 else \
32198 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32199 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32200 fi; \
32201 else \
32202 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32203 fi; \
32204 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32206 $(RAW_CXX_TARGET_EXPORTS) \
32207 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32208 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32209 case $(srcdir) in \
32210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32211 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32213 esac; \
32214 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32215 libsrcdir="$$s/libsanitizer"; \
32216 rm -f no-such-file || : ; \
32217 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32218 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32219 --target=${target_alias} $${srcdiroption} \
32220 || exit 1
32221 @endif target-libsanitizer
32225 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32226 maybe-configure-stage1-target-libsanitizer:
32227 @if target-libsanitizer-bootstrap
32228 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32229 configure-stage1-target-libsanitizer:
32230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32231 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32232 @r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 TFLAGS="$(STAGE1_TFLAGS)"; \
32235 echo "Checking multilib configuration for libsanitizer..."; \
32236 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32237 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32238 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32239 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32240 else \
32241 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32242 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32243 fi; \
32244 else \
32245 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32246 fi; \
32247 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32248 $(RAW_CXX_TARGET_EXPORTS) \
32249 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32250 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32251 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32252 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32254 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32255 case $(srcdir) in \
32256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32257 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32259 esac; \
32260 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32261 libsrcdir="$$s/libsanitizer"; \
32262 $(SHELL) $${libsrcdir}/configure \
32263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32264 --target=${target_alias} $${srcdiroption} \
32265 $(STAGE1_CONFIGURE_FLAGS)
32266 @endif target-libsanitizer-bootstrap
32268 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32269 maybe-configure-stage2-target-libsanitizer:
32270 @if target-libsanitizer-bootstrap
32271 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32272 configure-stage2-target-libsanitizer:
32273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32274 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32275 @r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 TFLAGS="$(STAGE2_TFLAGS)"; \
32278 echo "Checking multilib configuration for libsanitizer..."; \
32279 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32280 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32281 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32282 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32283 else \
32284 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32285 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32286 fi; \
32287 else \
32288 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32289 fi; \
32290 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32291 $(RAW_CXX_TARGET_EXPORTS) \
32293 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32294 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32295 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32296 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32298 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32299 case $(srcdir) in \
32300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32301 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32303 esac; \
32304 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32305 libsrcdir="$$s/libsanitizer"; \
32306 $(SHELL) $${libsrcdir}/configure \
32307 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32308 --target=${target_alias} $${srcdiroption} \
32309 --with-build-libsubdir=$(HOST_SUBDIR) \
32310 $(STAGE2_CONFIGURE_FLAGS)
32311 @endif target-libsanitizer-bootstrap
32313 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32314 maybe-configure-stage3-target-libsanitizer:
32315 @if target-libsanitizer-bootstrap
32316 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32317 configure-stage3-target-libsanitizer:
32318 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32319 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32320 @r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 TFLAGS="$(STAGE3_TFLAGS)"; \
32323 echo "Checking multilib configuration for libsanitizer..."; \
32324 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32325 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32326 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32327 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32328 else \
32329 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32330 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32331 fi; \
32332 else \
32333 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32334 fi; \
32335 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32336 $(RAW_CXX_TARGET_EXPORTS) \
32338 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32339 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32340 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32341 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32343 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32344 case $(srcdir) in \
32345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32346 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32348 esac; \
32349 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32350 libsrcdir="$$s/libsanitizer"; \
32351 $(SHELL) $${libsrcdir}/configure \
32352 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32353 --target=${target_alias} $${srcdiroption} \
32354 --with-build-libsubdir=$(HOST_SUBDIR) \
32355 $(STAGE3_CONFIGURE_FLAGS)
32356 @endif target-libsanitizer-bootstrap
32358 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32359 maybe-configure-stage4-target-libsanitizer:
32360 @if target-libsanitizer-bootstrap
32361 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32362 configure-stage4-target-libsanitizer:
32363 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32364 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32365 @r=`${PWD_COMMAND}`; export r; \
32366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32367 TFLAGS="$(STAGE4_TFLAGS)"; \
32368 echo "Checking multilib configuration for libsanitizer..."; \
32369 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32370 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32371 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32372 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32373 else \
32374 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32375 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32376 fi; \
32377 else \
32378 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32379 fi; \
32380 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32381 $(RAW_CXX_TARGET_EXPORTS) \
32383 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32384 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32385 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32386 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
32387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32388 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32389 case $(srcdir) in \
32390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32391 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32393 esac; \
32394 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32395 libsrcdir="$$s/libsanitizer"; \
32396 $(SHELL) $${libsrcdir}/configure \
32397 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32398 --target=${target_alias} $${srcdiroption} \
32399 --with-build-libsubdir=$(HOST_SUBDIR) \
32400 $(STAGE4_CONFIGURE_FLAGS)
32401 @endif target-libsanitizer-bootstrap
32403 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
32404 maybe-configure-stageprofile-target-libsanitizer:
32405 @if target-libsanitizer-bootstrap
32406 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32407 configure-stageprofile-target-libsanitizer:
32408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32409 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32410 @r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32413 echo "Checking multilib configuration for libsanitizer..."; \
32414 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32415 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32416 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32417 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32418 else \
32419 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32420 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32421 fi; \
32422 else \
32423 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32424 fi; \
32425 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32426 $(RAW_CXX_TARGET_EXPORTS) \
32428 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32429 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32430 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32431 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
32432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32433 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32434 case $(srcdir) in \
32435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32436 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32438 esac; \
32439 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32440 libsrcdir="$$s/libsanitizer"; \
32441 $(SHELL) $${libsrcdir}/configure \
32442 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32443 --target=${target_alias} $${srcdiroption} \
32444 --with-build-libsubdir=$(HOST_SUBDIR) \
32445 $(STAGEprofile_CONFIGURE_FLAGS)
32446 @endif target-libsanitizer-bootstrap
32448 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
32449 maybe-configure-stagefeedback-target-libsanitizer:
32450 @if target-libsanitizer-bootstrap
32451 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32452 configure-stagefeedback-target-libsanitizer:
32453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32454 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32455 @r=`${PWD_COMMAND}`; export r; \
32456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32457 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32458 echo "Checking multilib configuration for libsanitizer..."; \
32459 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32460 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32461 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32462 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32463 else \
32464 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32465 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32466 fi; \
32467 else \
32468 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32469 fi; \
32470 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32471 $(RAW_CXX_TARGET_EXPORTS) \
32473 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32474 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32475 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32476 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
32477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32478 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32479 case $(srcdir) in \
32480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32481 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32483 esac; \
32484 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32485 libsrcdir="$$s/libsanitizer"; \
32486 $(SHELL) $${libsrcdir}/configure \
32487 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32488 --target=${target_alias} $${srcdiroption} \
32489 --with-build-libsubdir=$(HOST_SUBDIR) \
32490 $(STAGEfeedback_CONFIGURE_FLAGS)
32491 @endif target-libsanitizer-bootstrap
32497 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32498 maybe-all-target-libsanitizer:
32499 @if gcc-bootstrap
32500 all-target-libsanitizer: stage_current
32501 @endif gcc-bootstrap
32502 @if target-libsanitizer
32503 TARGET-target-libsanitizer=all
32504 maybe-all-target-libsanitizer: all-target-libsanitizer
32505 all-target-libsanitizer: configure-target-libsanitizer
32506 @r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 $(RAW_CXX_TARGET_EXPORTS) \
32509 (cd $(TARGET_SUBDIR)/libsanitizer && \
32510 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32511 $(TARGET-target-libsanitizer))
32512 @endif target-libsanitizer
32516 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
32517 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
32518 maybe-all-stage1-target-libsanitizer:
32519 maybe-clean-stage1-target-libsanitizer:
32520 @if target-libsanitizer-bootstrap
32521 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
32522 all-stage1: all-stage1-target-libsanitizer
32523 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
32524 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32525 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32526 @r=`${PWD_COMMAND}`; export r; \
32527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32528 TFLAGS="$(STAGE1_TFLAGS)"; \
32529 $(RAW_CXX_TARGET_EXPORTS) \
32530 cd $(TARGET_SUBDIR)/libsanitizer && \
32531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32532 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32533 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32534 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32538 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32540 TFLAGS="$(STAGE1_TFLAGS)" \
32541 $(TARGET-stage1-target-libsanitizer)
32543 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
32544 clean-stage1: clean-stage1-target-libsanitizer
32545 clean-stage1-target-libsanitizer:
32546 @if [ $(current_stage) = stage1 ]; then \
32547 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32548 else \
32549 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
32550 $(MAKE) stage1-start; \
32551 fi; \
32552 cd $(TARGET_SUBDIR)/libsanitizer && \
32553 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32554 clean
32555 @endif target-libsanitizer-bootstrap
32558 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
32559 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
32560 maybe-all-stage2-target-libsanitizer:
32561 maybe-clean-stage2-target-libsanitizer:
32562 @if target-libsanitizer-bootstrap
32563 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
32564 all-stage2: all-stage2-target-libsanitizer
32565 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
32566 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32567 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32568 @r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 TFLAGS="$(STAGE2_TFLAGS)"; \
32571 $(RAW_CXX_TARGET_EXPORTS) \
32573 cd $(TARGET_SUBDIR)/libsanitizer && \
32574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32575 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32576 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32577 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32581 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32582 TFLAGS="$(STAGE2_TFLAGS)" \
32583 $(TARGET-stage2-target-libsanitizer)
32585 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
32586 clean-stage2: clean-stage2-target-libsanitizer
32587 clean-stage2-target-libsanitizer:
32588 @if [ $(current_stage) = stage2 ]; then \
32589 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32590 else \
32591 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
32592 $(MAKE) stage2-start; \
32593 fi; \
32594 cd $(TARGET_SUBDIR)/libsanitizer && \
32595 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32596 @endif target-libsanitizer-bootstrap
32599 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
32600 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
32601 maybe-all-stage3-target-libsanitizer:
32602 maybe-clean-stage3-target-libsanitizer:
32603 @if target-libsanitizer-bootstrap
32604 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
32605 all-stage3: all-stage3-target-libsanitizer
32606 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
32607 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32608 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32609 @r=`${PWD_COMMAND}`; export r; \
32610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32611 TFLAGS="$(STAGE3_TFLAGS)"; \
32612 $(RAW_CXX_TARGET_EXPORTS) \
32614 cd $(TARGET_SUBDIR)/libsanitizer && \
32615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32616 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32617 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32618 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32622 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32623 TFLAGS="$(STAGE3_TFLAGS)" \
32624 $(TARGET-stage3-target-libsanitizer)
32626 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
32627 clean-stage3: clean-stage3-target-libsanitizer
32628 clean-stage3-target-libsanitizer:
32629 @if [ $(current_stage) = stage3 ]; then \
32630 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32631 else \
32632 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
32633 $(MAKE) stage3-start; \
32634 fi; \
32635 cd $(TARGET_SUBDIR)/libsanitizer && \
32636 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32637 @endif target-libsanitizer-bootstrap
32640 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
32641 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
32642 maybe-all-stage4-target-libsanitizer:
32643 maybe-clean-stage4-target-libsanitizer:
32644 @if target-libsanitizer-bootstrap
32645 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
32646 all-stage4: all-stage4-target-libsanitizer
32647 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
32648 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32649 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 TFLAGS="$(STAGE4_TFLAGS)"; \
32653 $(RAW_CXX_TARGET_EXPORTS) \
32655 cd $(TARGET_SUBDIR)/libsanitizer && \
32656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32657 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32658 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32659 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32663 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32664 TFLAGS="$(STAGE4_TFLAGS)" \
32665 $(TARGET-stage4-target-libsanitizer)
32667 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
32668 clean-stage4: clean-stage4-target-libsanitizer
32669 clean-stage4-target-libsanitizer:
32670 @if [ $(current_stage) = stage4 ]; then \
32671 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32672 else \
32673 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
32674 $(MAKE) stage4-start; \
32675 fi; \
32676 cd $(TARGET_SUBDIR)/libsanitizer && \
32677 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32678 @endif target-libsanitizer-bootstrap
32681 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
32682 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
32683 maybe-all-stageprofile-target-libsanitizer:
32684 maybe-clean-stageprofile-target-libsanitizer:
32685 @if target-libsanitizer-bootstrap
32686 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
32687 all-stageprofile: all-stageprofile-target-libsanitizer
32688 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
32689 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32690 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32694 $(RAW_CXX_TARGET_EXPORTS) \
32696 cd $(TARGET_SUBDIR)/libsanitizer && \
32697 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32698 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32699 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32700 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32701 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32702 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32703 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32704 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32705 TFLAGS="$(STAGEprofile_TFLAGS)" \
32706 $(TARGET-stageprofile-target-libsanitizer)
32708 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
32709 clean-stageprofile: clean-stageprofile-target-libsanitizer
32710 clean-stageprofile-target-libsanitizer:
32711 @if [ $(current_stage) = stageprofile ]; then \
32712 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32713 else \
32714 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
32715 $(MAKE) stageprofile-start; \
32716 fi; \
32717 cd $(TARGET_SUBDIR)/libsanitizer && \
32718 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32719 @endif target-libsanitizer-bootstrap
32722 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
32723 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
32724 maybe-all-stagefeedback-target-libsanitizer:
32725 maybe-clean-stagefeedback-target-libsanitizer:
32726 @if target-libsanitizer-bootstrap
32727 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
32728 all-stagefeedback: all-stagefeedback-target-libsanitizer
32729 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
32730 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32731 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32732 @r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32735 $(RAW_CXX_TARGET_EXPORTS) \
32737 cd $(TARGET_SUBDIR)/libsanitizer && \
32738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32739 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32740 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32741 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32745 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32746 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32747 $(TARGET-stagefeedback-target-libsanitizer)
32749 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
32750 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
32751 clean-stagefeedback-target-libsanitizer:
32752 @if [ $(current_stage) = stagefeedback ]; then \
32753 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32754 else \
32755 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
32756 $(MAKE) stagefeedback-start; \
32757 fi; \
32758 cd $(TARGET_SUBDIR)/libsanitizer && \
32759 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32760 @endif target-libsanitizer-bootstrap
32767 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32768 maybe-check-target-libsanitizer:
32769 @if target-libsanitizer
32770 maybe-check-target-libsanitizer: check-target-libsanitizer
32772 check-target-libsanitizer:
32773 @: $(MAKE); $(unstage)
32774 @r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(RAW_CXX_TARGET_EXPORTS) \
32777 (cd $(TARGET_SUBDIR)/libsanitizer && \
32778 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32780 @endif target-libsanitizer
32782 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32783 maybe-install-target-libsanitizer:
32784 @if target-libsanitizer
32785 maybe-install-target-libsanitizer: install-target-libsanitizer
32787 install-target-libsanitizer: installdirs
32788 @: $(MAKE); $(unstage)
32789 @r=`${PWD_COMMAND}`; export r; \
32790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32791 $(RAW_CXX_TARGET_EXPORTS) \
32792 (cd $(TARGET_SUBDIR)/libsanitizer && \
32793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32795 @endif target-libsanitizer
32797 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32798 maybe-install-strip-target-libsanitizer:
32799 @if target-libsanitizer
32800 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32802 install-strip-target-libsanitizer: installdirs
32803 @: $(MAKE); $(unstage)
32804 @r=`${PWD_COMMAND}`; export r; \
32805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32806 $(RAW_CXX_TARGET_EXPORTS) \
32807 (cd $(TARGET_SUBDIR)/libsanitizer && \
32808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32810 @endif target-libsanitizer
32812 # Other targets (info, dvi, pdf, etc.)
32814 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32815 maybe-info-target-libsanitizer:
32816 @if target-libsanitizer
32817 maybe-info-target-libsanitizer: info-target-libsanitizer
32819 info-target-libsanitizer: \
32820 configure-target-libsanitizer
32821 @: $(MAKE); $(unstage)
32822 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32823 r=`${PWD_COMMAND}`; export r; \
32824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32825 $(RAW_CXX_TARGET_EXPORTS) \
32826 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32827 for flag in $(EXTRA_TARGET_FLAGS); do \
32828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32829 done; \
32830 (cd $(TARGET_SUBDIR)/libsanitizer && \
32831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32833 "RANLIB=$${RANLIB}" \
32834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32835 info) \
32836 || exit 1
32838 @endif target-libsanitizer
32840 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32841 maybe-dvi-target-libsanitizer:
32842 @if target-libsanitizer
32843 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32845 dvi-target-libsanitizer: \
32846 configure-target-libsanitizer
32847 @: $(MAKE); $(unstage)
32848 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32849 r=`${PWD_COMMAND}`; export r; \
32850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32851 $(RAW_CXX_TARGET_EXPORTS) \
32852 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32853 for flag in $(EXTRA_TARGET_FLAGS); do \
32854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32855 done; \
32856 (cd $(TARGET_SUBDIR)/libsanitizer && \
32857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32859 "RANLIB=$${RANLIB}" \
32860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32861 dvi) \
32862 || exit 1
32864 @endif target-libsanitizer
32866 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32867 maybe-pdf-target-libsanitizer:
32868 @if target-libsanitizer
32869 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32871 pdf-target-libsanitizer: \
32872 configure-target-libsanitizer
32873 @: $(MAKE); $(unstage)
32874 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32875 r=`${PWD_COMMAND}`; export r; \
32876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32877 $(RAW_CXX_TARGET_EXPORTS) \
32878 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32879 for flag in $(EXTRA_TARGET_FLAGS); do \
32880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32881 done; \
32882 (cd $(TARGET_SUBDIR)/libsanitizer && \
32883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32885 "RANLIB=$${RANLIB}" \
32886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32887 pdf) \
32888 || exit 1
32890 @endif target-libsanitizer
32892 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32893 maybe-html-target-libsanitizer:
32894 @if target-libsanitizer
32895 maybe-html-target-libsanitizer: html-target-libsanitizer
32897 html-target-libsanitizer: \
32898 configure-target-libsanitizer
32899 @: $(MAKE); $(unstage)
32900 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32901 r=`${PWD_COMMAND}`; export r; \
32902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32903 $(RAW_CXX_TARGET_EXPORTS) \
32904 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32905 for flag in $(EXTRA_TARGET_FLAGS); do \
32906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32907 done; \
32908 (cd $(TARGET_SUBDIR)/libsanitizer && \
32909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32911 "RANLIB=$${RANLIB}" \
32912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32913 html) \
32914 || exit 1
32916 @endif target-libsanitizer
32918 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32919 maybe-TAGS-target-libsanitizer:
32920 @if target-libsanitizer
32921 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32923 TAGS-target-libsanitizer: \
32924 configure-target-libsanitizer
32925 @: $(MAKE); $(unstage)
32926 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32927 r=`${PWD_COMMAND}`; export r; \
32928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32929 $(RAW_CXX_TARGET_EXPORTS) \
32930 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32931 for flag in $(EXTRA_TARGET_FLAGS); do \
32932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32933 done; \
32934 (cd $(TARGET_SUBDIR)/libsanitizer && \
32935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32937 "RANLIB=$${RANLIB}" \
32938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32939 TAGS) \
32940 || exit 1
32942 @endif target-libsanitizer
32944 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32945 maybe-install-info-target-libsanitizer:
32946 @if target-libsanitizer
32947 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32949 install-info-target-libsanitizer: \
32950 configure-target-libsanitizer \
32951 info-target-libsanitizer
32952 @: $(MAKE); $(unstage)
32953 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32954 r=`${PWD_COMMAND}`; export r; \
32955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32956 $(RAW_CXX_TARGET_EXPORTS) \
32957 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32958 for flag in $(EXTRA_TARGET_FLAGS); do \
32959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32960 done; \
32961 (cd $(TARGET_SUBDIR)/libsanitizer && \
32962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32964 "RANLIB=$${RANLIB}" \
32965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32966 install-info) \
32967 || exit 1
32969 @endif target-libsanitizer
32971 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32972 maybe-install-pdf-target-libsanitizer:
32973 @if target-libsanitizer
32974 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
32976 install-pdf-target-libsanitizer: \
32977 configure-target-libsanitizer \
32978 pdf-target-libsanitizer
32979 @: $(MAKE); $(unstage)
32980 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32981 r=`${PWD_COMMAND}`; export r; \
32982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32983 $(RAW_CXX_TARGET_EXPORTS) \
32984 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32985 for flag in $(EXTRA_TARGET_FLAGS); do \
32986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32987 done; \
32988 (cd $(TARGET_SUBDIR)/libsanitizer && \
32989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32991 "RANLIB=$${RANLIB}" \
32992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32993 install-pdf) \
32994 || exit 1
32996 @endif target-libsanitizer
32998 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
32999 maybe-install-html-target-libsanitizer:
33000 @if target-libsanitizer
33001 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33003 install-html-target-libsanitizer: \
33004 configure-target-libsanitizer \
33005 html-target-libsanitizer
33006 @: $(MAKE); $(unstage)
33007 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33008 r=`${PWD_COMMAND}`; export r; \
33009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33010 $(RAW_CXX_TARGET_EXPORTS) \
33011 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33012 for flag in $(EXTRA_TARGET_FLAGS); do \
33013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33014 done; \
33015 (cd $(TARGET_SUBDIR)/libsanitizer && \
33016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33018 "RANLIB=$${RANLIB}" \
33019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33020 install-html) \
33021 || exit 1
33023 @endif target-libsanitizer
33025 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33026 maybe-installcheck-target-libsanitizer:
33027 @if target-libsanitizer
33028 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33030 installcheck-target-libsanitizer: \
33031 configure-target-libsanitizer
33032 @: $(MAKE); $(unstage)
33033 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33034 r=`${PWD_COMMAND}`; export r; \
33035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33036 $(RAW_CXX_TARGET_EXPORTS) \
33037 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33038 for flag in $(EXTRA_TARGET_FLAGS); do \
33039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33040 done; \
33041 (cd $(TARGET_SUBDIR)/libsanitizer && \
33042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33044 "RANLIB=$${RANLIB}" \
33045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33046 installcheck) \
33047 || exit 1
33049 @endif target-libsanitizer
33051 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33052 maybe-mostlyclean-target-libsanitizer:
33053 @if target-libsanitizer
33054 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33056 mostlyclean-target-libsanitizer:
33057 @: $(MAKE); $(unstage)
33058 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33059 r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 $(RAW_CXX_TARGET_EXPORTS) \
33062 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33063 for flag in $(EXTRA_TARGET_FLAGS); do \
33064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33065 done; \
33066 (cd $(TARGET_SUBDIR)/libsanitizer && \
33067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33069 "RANLIB=$${RANLIB}" \
33070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33071 mostlyclean) \
33072 || exit 1
33074 @endif target-libsanitizer
33076 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33077 maybe-clean-target-libsanitizer:
33078 @if target-libsanitizer
33079 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33081 clean-target-libsanitizer:
33082 @: $(MAKE); $(unstage)
33083 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(RAW_CXX_TARGET_EXPORTS) \
33087 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33088 for flag in $(EXTRA_TARGET_FLAGS); do \
33089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33090 done; \
33091 (cd $(TARGET_SUBDIR)/libsanitizer && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33096 clean) \
33097 || exit 1
33099 @endif target-libsanitizer
33101 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33102 maybe-distclean-target-libsanitizer:
33103 @if target-libsanitizer
33104 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33106 distclean-target-libsanitizer:
33107 @: $(MAKE); $(unstage)
33108 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33109 r=`${PWD_COMMAND}`; export r; \
33110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33111 $(RAW_CXX_TARGET_EXPORTS) \
33112 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33113 for flag in $(EXTRA_TARGET_FLAGS); do \
33114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33115 done; \
33116 (cd $(TARGET_SUBDIR)/libsanitizer && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33119 "RANLIB=$${RANLIB}" \
33120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33121 distclean) \
33122 || exit 1
33124 @endif target-libsanitizer
33126 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33127 maybe-maintainer-clean-target-libsanitizer:
33128 @if target-libsanitizer
33129 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33131 maintainer-clean-target-libsanitizer:
33132 @: $(MAKE); $(unstage)
33133 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33134 r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 $(RAW_CXX_TARGET_EXPORTS) \
33137 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33138 for flag in $(EXTRA_TARGET_FLAGS); do \
33139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33140 done; \
33141 (cd $(TARGET_SUBDIR)/libsanitizer && \
33142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33144 "RANLIB=$${RANLIB}" \
33145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33146 maintainer-clean) \
33147 || exit 1
33149 @endif target-libsanitizer
33155 .PHONY: configure-target-libssp maybe-configure-target-libssp
33156 maybe-configure-target-libssp:
33157 @if gcc-bootstrap
33158 configure-target-libssp: stage_current
33159 @endif gcc-bootstrap
33160 @if target-libssp
33161 maybe-configure-target-libssp: configure-target-libssp
33162 configure-target-libssp:
33163 @: $(MAKE); $(unstage)
33164 @r=`${PWD_COMMAND}`; export r; \
33165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33166 echo "Checking multilib configuration for libssp..."; \
33167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
33169 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
33170 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
33171 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
33172 else \
33173 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
33174 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33175 fi; \
33176 else \
33177 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33178 fi; \
33179 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
33180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33181 $(NORMAL_TARGET_EXPORTS) \
33182 echo Configuring in $(TARGET_SUBDIR)/libssp; \
33183 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
33184 case $(srcdir) in \
33185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33186 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
33187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33188 esac; \
33189 srcdiroption="--srcdir=$${topdir}/libssp"; \
33190 libsrcdir="$$s/libssp"; \
33191 rm -f no-such-file || : ; \
33192 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33193 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33194 --target=${target_alias} $${srcdiroption} \
33195 || exit 1
33196 @endif target-libssp
33202 .PHONY: all-target-libssp maybe-all-target-libssp
33203 maybe-all-target-libssp:
33204 @if gcc-bootstrap
33205 all-target-libssp: stage_current
33206 @endif gcc-bootstrap
33207 @if target-libssp
33208 TARGET-target-libssp=all
33209 maybe-all-target-libssp: all-target-libssp
33210 all-target-libssp: configure-target-libssp
33211 @: $(MAKE); $(unstage)
33212 @r=`${PWD_COMMAND}`; export r; \
33213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33214 $(NORMAL_TARGET_EXPORTS) \
33215 (cd $(TARGET_SUBDIR)/libssp && \
33216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33217 $(TARGET-target-libssp))
33218 @endif target-libssp
33224 .PHONY: check-target-libssp maybe-check-target-libssp
33225 maybe-check-target-libssp:
33226 @if target-libssp
33227 maybe-check-target-libssp: check-target-libssp
33229 check-target-libssp:
33230 @: $(MAKE); $(unstage)
33231 @r=`${PWD_COMMAND}`; export r; \
33232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33233 $(NORMAL_TARGET_EXPORTS) \
33234 (cd $(TARGET_SUBDIR)/libssp && \
33235 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33237 @endif target-libssp
33239 .PHONY: install-target-libssp maybe-install-target-libssp
33240 maybe-install-target-libssp:
33241 @if target-libssp
33242 maybe-install-target-libssp: install-target-libssp
33244 install-target-libssp: installdirs
33245 @: $(MAKE); $(unstage)
33246 @r=`${PWD_COMMAND}`; export r; \
33247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33248 $(NORMAL_TARGET_EXPORTS) \
33249 (cd $(TARGET_SUBDIR)/libssp && \
33250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33252 @endif target-libssp
33254 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
33255 maybe-install-strip-target-libssp:
33256 @if target-libssp
33257 maybe-install-strip-target-libssp: install-strip-target-libssp
33259 install-strip-target-libssp: installdirs
33260 @: $(MAKE); $(unstage)
33261 @r=`${PWD_COMMAND}`; export r; \
33262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33263 $(NORMAL_TARGET_EXPORTS) \
33264 (cd $(TARGET_SUBDIR)/libssp && \
33265 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33267 @endif target-libssp
33269 # Other targets (info, dvi, pdf, etc.)
33271 .PHONY: maybe-info-target-libssp info-target-libssp
33272 maybe-info-target-libssp:
33273 @if target-libssp
33274 maybe-info-target-libssp: info-target-libssp
33276 info-target-libssp: \
33277 configure-target-libssp
33278 @: $(MAKE); $(unstage)
33279 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33280 r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33282 $(NORMAL_TARGET_EXPORTS) \
33283 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
33284 for flag in $(EXTRA_TARGET_FLAGS); do \
33285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33286 done; \
33287 (cd $(TARGET_SUBDIR)/libssp && \
33288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33290 "RANLIB=$${RANLIB}" \
33291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33292 info) \
33293 || exit 1
33295 @endif target-libssp
33297 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
33298 maybe-dvi-target-libssp:
33299 @if target-libssp
33300 maybe-dvi-target-libssp: dvi-target-libssp
33302 dvi-target-libssp: \
33303 configure-target-libssp
33304 @: $(MAKE); $(unstage)
33305 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(NORMAL_TARGET_EXPORTS) \
33309 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
33310 for flag in $(EXTRA_TARGET_FLAGS); do \
33311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33312 done; \
33313 (cd $(TARGET_SUBDIR)/libssp && \
33314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33316 "RANLIB=$${RANLIB}" \
33317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33318 dvi) \
33319 || exit 1
33321 @endif target-libssp
33323 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
33324 maybe-pdf-target-libssp:
33325 @if target-libssp
33326 maybe-pdf-target-libssp: pdf-target-libssp
33328 pdf-target-libssp: \
33329 configure-target-libssp
33330 @: $(MAKE); $(unstage)
33331 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33332 r=`${PWD_COMMAND}`; export r; \
33333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33334 $(NORMAL_TARGET_EXPORTS) \
33335 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
33336 for flag in $(EXTRA_TARGET_FLAGS); do \
33337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33338 done; \
33339 (cd $(TARGET_SUBDIR)/libssp && \
33340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33342 "RANLIB=$${RANLIB}" \
33343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33344 pdf) \
33345 || exit 1
33347 @endif target-libssp
33349 .PHONY: maybe-html-target-libssp html-target-libssp
33350 maybe-html-target-libssp:
33351 @if target-libssp
33352 maybe-html-target-libssp: html-target-libssp
33354 html-target-libssp: \
33355 configure-target-libssp
33356 @: $(MAKE); $(unstage)
33357 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33358 r=`${PWD_COMMAND}`; export r; \
33359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33360 $(NORMAL_TARGET_EXPORTS) \
33361 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
33362 for flag in $(EXTRA_TARGET_FLAGS); do \
33363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33364 done; \
33365 (cd $(TARGET_SUBDIR)/libssp && \
33366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33368 "RANLIB=$${RANLIB}" \
33369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33370 html) \
33371 || exit 1
33373 @endif target-libssp
33375 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
33376 maybe-TAGS-target-libssp:
33377 @if target-libssp
33378 maybe-TAGS-target-libssp: TAGS-target-libssp
33380 TAGS-target-libssp: \
33381 configure-target-libssp
33382 @: $(MAKE); $(unstage)
33383 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33384 r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(NORMAL_TARGET_EXPORTS) \
33387 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
33388 for flag in $(EXTRA_TARGET_FLAGS); do \
33389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33390 done; \
33391 (cd $(TARGET_SUBDIR)/libssp && \
33392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33394 "RANLIB=$${RANLIB}" \
33395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33396 TAGS) \
33397 || exit 1
33399 @endif target-libssp
33401 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
33402 maybe-install-info-target-libssp:
33403 @if target-libssp
33404 maybe-install-info-target-libssp: install-info-target-libssp
33406 install-info-target-libssp: \
33407 configure-target-libssp \
33408 info-target-libssp
33409 @: $(MAKE); $(unstage)
33410 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33411 r=`${PWD_COMMAND}`; export r; \
33412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33413 $(NORMAL_TARGET_EXPORTS) \
33414 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
33415 for flag in $(EXTRA_TARGET_FLAGS); do \
33416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33417 done; \
33418 (cd $(TARGET_SUBDIR)/libssp && \
33419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33421 "RANLIB=$${RANLIB}" \
33422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33423 install-info) \
33424 || exit 1
33426 @endif target-libssp
33428 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
33429 maybe-install-pdf-target-libssp:
33430 @if target-libssp
33431 maybe-install-pdf-target-libssp: install-pdf-target-libssp
33433 install-pdf-target-libssp: \
33434 configure-target-libssp \
33435 pdf-target-libssp
33436 @: $(MAKE); $(unstage)
33437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33438 r=`${PWD_COMMAND}`; export r; \
33439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33440 $(NORMAL_TARGET_EXPORTS) \
33441 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
33442 for flag in $(EXTRA_TARGET_FLAGS); do \
33443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33444 done; \
33445 (cd $(TARGET_SUBDIR)/libssp && \
33446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33448 "RANLIB=$${RANLIB}" \
33449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33450 install-pdf) \
33451 || exit 1
33453 @endif target-libssp
33455 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
33456 maybe-install-html-target-libssp:
33457 @if target-libssp
33458 maybe-install-html-target-libssp: install-html-target-libssp
33460 install-html-target-libssp: \
33461 configure-target-libssp \
33462 html-target-libssp
33463 @: $(MAKE); $(unstage)
33464 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33465 r=`${PWD_COMMAND}`; export r; \
33466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33467 $(NORMAL_TARGET_EXPORTS) \
33468 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
33469 for flag in $(EXTRA_TARGET_FLAGS); do \
33470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33471 done; \
33472 (cd $(TARGET_SUBDIR)/libssp && \
33473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33475 "RANLIB=$${RANLIB}" \
33476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33477 install-html) \
33478 || exit 1
33480 @endif target-libssp
33482 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
33483 maybe-installcheck-target-libssp:
33484 @if target-libssp
33485 maybe-installcheck-target-libssp: installcheck-target-libssp
33487 installcheck-target-libssp: \
33488 configure-target-libssp
33489 @: $(MAKE); $(unstage)
33490 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33491 r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(NORMAL_TARGET_EXPORTS) \
33494 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
33495 for flag in $(EXTRA_TARGET_FLAGS); do \
33496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33497 done; \
33498 (cd $(TARGET_SUBDIR)/libssp && \
33499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33501 "RANLIB=$${RANLIB}" \
33502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33503 installcheck) \
33504 || exit 1
33506 @endif target-libssp
33508 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
33509 maybe-mostlyclean-target-libssp:
33510 @if target-libssp
33511 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
33513 mostlyclean-target-libssp:
33514 @: $(MAKE); $(unstage)
33515 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33516 r=`${PWD_COMMAND}`; export r; \
33517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33518 $(NORMAL_TARGET_EXPORTS) \
33519 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
33520 for flag in $(EXTRA_TARGET_FLAGS); do \
33521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33522 done; \
33523 (cd $(TARGET_SUBDIR)/libssp && \
33524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33526 "RANLIB=$${RANLIB}" \
33527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33528 mostlyclean) \
33529 || exit 1
33531 @endif target-libssp
33533 .PHONY: maybe-clean-target-libssp clean-target-libssp
33534 maybe-clean-target-libssp:
33535 @if target-libssp
33536 maybe-clean-target-libssp: clean-target-libssp
33538 clean-target-libssp:
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(NORMAL_TARGET_EXPORTS) \
33544 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
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)/libssp && \
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 clean) \
33554 || exit 1
33556 @endif target-libssp
33558 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
33559 maybe-distclean-target-libssp:
33560 @if target-libssp
33561 maybe-distclean-target-libssp: distclean-target-libssp
33563 distclean-target-libssp:
33564 @: $(MAKE); $(unstage)
33565 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33566 r=`${PWD_COMMAND}`; export r; \
33567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33568 $(NORMAL_TARGET_EXPORTS) \
33569 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
33570 for flag in $(EXTRA_TARGET_FLAGS); do \
33571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33572 done; \
33573 (cd $(TARGET_SUBDIR)/libssp && \
33574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33576 "RANLIB=$${RANLIB}" \
33577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33578 distclean) \
33579 || exit 1
33581 @endif target-libssp
33583 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
33584 maybe-maintainer-clean-target-libssp:
33585 @if target-libssp
33586 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
33588 maintainer-clean-target-libssp:
33589 @: $(MAKE); $(unstage)
33590 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33591 r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 $(NORMAL_TARGET_EXPORTS) \
33594 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
33595 for flag in $(EXTRA_TARGET_FLAGS); do \
33596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33597 done; \
33598 (cd $(TARGET_SUBDIR)/libssp && \
33599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33601 "RANLIB=$${RANLIB}" \
33602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33603 maintainer-clean) \
33604 || exit 1
33606 @endif target-libssp
33612 .PHONY: configure-target-newlib maybe-configure-target-newlib
33613 maybe-configure-target-newlib:
33614 @if gcc-bootstrap
33615 configure-target-newlib: stage_current
33616 @endif gcc-bootstrap
33617 @if target-newlib
33618 maybe-configure-target-newlib: configure-target-newlib
33619 configure-target-newlib:
33620 @: $(MAKE); $(unstage)
33621 @r=`${PWD_COMMAND}`; export r; \
33622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33623 echo "Checking multilib configuration for newlib..."; \
33624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
33626 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
33627 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
33628 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
33629 else \
33630 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
33631 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33632 fi; \
33633 else \
33634 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33635 fi; \
33636 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
33637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33638 $(NORMAL_TARGET_EXPORTS) \
33639 echo Configuring in $(TARGET_SUBDIR)/newlib; \
33640 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
33641 case $(srcdir) in \
33642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33643 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
33644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33645 esac; \
33646 srcdiroption="--srcdir=$${topdir}/newlib"; \
33647 libsrcdir="$$s/newlib"; \
33648 rm -f no-such-file || : ; \
33649 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33650 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33651 --target=${target_alias} $${srcdiroption} \
33652 || exit 1
33653 @endif target-newlib
33659 .PHONY: all-target-newlib maybe-all-target-newlib
33660 maybe-all-target-newlib:
33661 @if gcc-bootstrap
33662 all-target-newlib: stage_current
33663 @endif gcc-bootstrap
33664 @if target-newlib
33665 TARGET-target-newlib=all
33666 maybe-all-target-newlib: all-target-newlib
33667 all-target-newlib: configure-target-newlib
33668 @: $(MAKE); $(unstage)
33669 @r=`${PWD_COMMAND}`; export r; \
33670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33671 $(NORMAL_TARGET_EXPORTS) \
33672 (cd $(TARGET_SUBDIR)/newlib && \
33673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33674 $(TARGET-target-newlib))
33675 @endif target-newlib
33681 .PHONY: check-target-newlib maybe-check-target-newlib
33682 maybe-check-target-newlib:
33683 @if target-newlib
33684 maybe-check-target-newlib: check-target-newlib
33686 check-target-newlib:
33687 @: $(MAKE); $(unstage)
33688 @r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(NORMAL_TARGET_EXPORTS) \
33691 (cd $(TARGET_SUBDIR)/newlib && \
33692 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33694 @endif target-newlib
33696 .PHONY: install-target-newlib maybe-install-target-newlib
33697 maybe-install-target-newlib:
33698 @if target-newlib
33699 maybe-install-target-newlib: install-target-newlib
33701 install-target-newlib: installdirs
33702 @: $(MAKE); $(unstage)
33703 @r=`${PWD_COMMAND}`; export r; \
33704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33705 $(NORMAL_TARGET_EXPORTS) \
33706 (cd $(TARGET_SUBDIR)/newlib && \
33707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33709 @endif target-newlib
33711 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
33712 maybe-install-strip-target-newlib:
33713 @if target-newlib
33714 maybe-install-strip-target-newlib: install-strip-target-newlib
33716 install-strip-target-newlib: installdirs
33717 @: $(MAKE); $(unstage)
33718 @r=`${PWD_COMMAND}`; export r; \
33719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33720 $(NORMAL_TARGET_EXPORTS) \
33721 (cd $(TARGET_SUBDIR)/newlib && \
33722 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33724 @endif target-newlib
33726 # Other targets (info, dvi, pdf, etc.)
33728 .PHONY: maybe-info-target-newlib info-target-newlib
33729 maybe-info-target-newlib:
33730 @if target-newlib
33731 maybe-info-target-newlib: info-target-newlib
33733 info-target-newlib: \
33734 configure-target-newlib
33735 @: $(MAKE); $(unstage)
33736 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33737 r=`${PWD_COMMAND}`; export r; \
33738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33739 $(NORMAL_TARGET_EXPORTS) \
33740 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
33741 for flag in $(EXTRA_TARGET_FLAGS); do \
33742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33743 done; \
33744 (cd $(TARGET_SUBDIR)/newlib && \
33745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33747 "RANLIB=$${RANLIB}" \
33748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33749 info) \
33750 || exit 1
33752 @endif target-newlib
33754 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
33755 maybe-dvi-target-newlib:
33756 @if target-newlib
33757 maybe-dvi-target-newlib: dvi-target-newlib
33759 dvi-target-newlib: \
33760 configure-target-newlib
33761 @: $(MAKE); $(unstage)
33762 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33763 r=`${PWD_COMMAND}`; export r; \
33764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33765 $(NORMAL_TARGET_EXPORTS) \
33766 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
33767 for flag in $(EXTRA_TARGET_FLAGS); do \
33768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33769 done; \
33770 (cd $(TARGET_SUBDIR)/newlib && \
33771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33773 "RANLIB=$${RANLIB}" \
33774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33775 dvi) \
33776 || exit 1
33778 @endif target-newlib
33780 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
33781 maybe-pdf-target-newlib:
33782 @if target-newlib
33783 maybe-pdf-target-newlib: pdf-target-newlib
33785 pdf-target-newlib: \
33786 configure-target-newlib
33787 @: $(MAKE); $(unstage)
33788 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33789 r=`${PWD_COMMAND}`; export r; \
33790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33791 $(NORMAL_TARGET_EXPORTS) \
33792 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
33793 for flag in $(EXTRA_TARGET_FLAGS); do \
33794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33795 done; \
33796 (cd $(TARGET_SUBDIR)/newlib && \
33797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33799 "RANLIB=$${RANLIB}" \
33800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33801 pdf) \
33802 || exit 1
33804 @endif target-newlib
33806 .PHONY: maybe-html-target-newlib html-target-newlib
33807 maybe-html-target-newlib:
33808 @if target-newlib
33809 maybe-html-target-newlib: html-target-newlib
33811 html-target-newlib: \
33812 configure-target-newlib
33813 @: $(MAKE); $(unstage)
33814 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33815 r=`${PWD_COMMAND}`; export r; \
33816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33817 $(NORMAL_TARGET_EXPORTS) \
33818 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
33819 for flag in $(EXTRA_TARGET_FLAGS); do \
33820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33821 done; \
33822 (cd $(TARGET_SUBDIR)/newlib && \
33823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33825 "RANLIB=$${RANLIB}" \
33826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33827 html) \
33828 || exit 1
33830 @endif target-newlib
33832 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
33833 maybe-TAGS-target-newlib:
33834 @if target-newlib
33835 maybe-TAGS-target-newlib: TAGS-target-newlib
33837 TAGS-target-newlib: \
33838 configure-target-newlib
33839 @: $(MAKE); $(unstage)
33840 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33841 r=`${PWD_COMMAND}`; export r; \
33842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33843 $(NORMAL_TARGET_EXPORTS) \
33844 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
33845 for flag in $(EXTRA_TARGET_FLAGS); do \
33846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33847 done; \
33848 (cd $(TARGET_SUBDIR)/newlib && \
33849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33851 "RANLIB=$${RANLIB}" \
33852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33853 TAGS) \
33854 || exit 1
33856 @endif target-newlib
33858 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
33859 maybe-install-info-target-newlib:
33860 @if target-newlib
33861 maybe-install-info-target-newlib: install-info-target-newlib
33863 install-info-target-newlib: \
33864 configure-target-newlib \
33865 info-target-newlib
33866 @: $(MAKE); $(unstage)
33867 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33868 r=`${PWD_COMMAND}`; export r; \
33869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33870 $(NORMAL_TARGET_EXPORTS) \
33871 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
33872 for flag in $(EXTRA_TARGET_FLAGS); do \
33873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33874 done; \
33875 (cd $(TARGET_SUBDIR)/newlib && \
33876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33878 "RANLIB=$${RANLIB}" \
33879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33880 install-info) \
33881 || exit 1
33883 @endif target-newlib
33885 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
33886 maybe-install-pdf-target-newlib:
33887 @if target-newlib
33888 maybe-install-pdf-target-newlib: install-pdf-target-newlib
33890 install-pdf-target-newlib: \
33891 configure-target-newlib \
33892 pdf-target-newlib
33893 @: $(MAKE); $(unstage)
33894 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(NORMAL_TARGET_EXPORTS) \
33898 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
33899 for flag in $(EXTRA_TARGET_FLAGS); do \
33900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33901 done; \
33902 (cd $(TARGET_SUBDIR)/newlib && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33907 install-pdf) \
33908 || exit 1
33910 @endif target-newlib
33912 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
33913 maybe-install-html-target-newlib:
33914 @if target-newlib
33915 maybe-install-html-target-newlib: install-html-target-newlib
33917 install-html-target-newlib: \
33918 configure-target-newlib \
33919 html-target-newlib
33920 @: $(MAKE); $(unstage)
33921 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33922 r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(NORMAL_TARGET_EXPORTS) \
33925 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
33926 for flag in $(EXTRA_TARGET_FLAGS); do \
33927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33928 done; \
33929 (cd $(TARGET_SUBDIR)/newlib && \
33930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33932 "RANLIB=$${RANLIB}" \
33933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33934 install-html) \
33935 || exit 1
33937 @endif target-newlib
33939 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
33940 maybe-installcheck-target-newlib:
33941 @if target-newlib
33942 maybe-installcheck-target-newlib: installcheck-target-newlib
33944 installcheck-target-newlib: \
33945 configure-target-newlib
33946 @: $(MAKE); $(unstage)
33947 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33948 r=`${PWD_COMMAND}`; export r; \
33949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33950 $(NORMAL_TARGET_EXPORTS) \
33951 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
33952 for flag in $(EXTRA_TARGET_FLAGS); do \
33953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33954 done; \
33955 (cd $(TARGET_SUBDIR)/newlib && \
33956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33958 "RANLIB=$${RANLIB}" \
33959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33960 installcheck) \
33961 || exit 1
33963 @endif target-newlib
33965 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
33966 maybe-mostlyclean-target-newlib:
33967 @if target-newlib
33968 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
33970 mostlyclean-target-newlib:
33971 @: $(MAKE); $(unstage)
33972 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(NORMAL_TARGET_EXPORTS) \
33976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
33977 for flag in $(EXTRA_TARGET_FLAGS); do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33979 done; \
33980 (cd $(TARGET_SUBDIR)/newlib && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33985 mostlyclean) \
33986 || exit 1
33988 @endif target-newlib
33990 .PHONY: maybe-clean-target-newlib clean-target-newlib
33991 maybe-clean-target-newlib:
33992 @if target-newlib
33993 maybe-clean-target-newlib: clean-target-newlib
33995 clean-target-newlib:
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 clean) \
34011 || exit 1
34013 @endif target-newlib
34015 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
34016 maybe-distclean-target-newlib:
34017 @if target-newlib
34018 maybe-distclean-target-newlib: distclean-target-newlib
34020 distclean-target-newlib:
34021 @: $(MAKE); $(unstage)
34022 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34023 r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 $(NORMAL_TARGET_EXPORTS) \
34026 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
34027 for flag in $(EXTRA_TARGET_FLAGS); do \
34028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34029 done; \
34030 (cd $(TARGET_SUBDIR)/newlib && \
34031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34033 "RANLIB=$${RANLIB}" \
34034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34035 distclean) \
34036 || exit 1
34038 @endif target-newlib
34040 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
34041 maybe-maintainer-clean-target-newlib:
34042 @if target-newlib
34043 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
34045 maintainer-clean-target-newlib:
34046 @: $(MAKE); $(unstage)
34047 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34048 r=`${PWD_COMMAND}`; export r; \
34049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34050 $(NORMAL_TARGET_EXPORTS) \
34051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
34052 for flag in $(EXTRA_TARGET_FLAGS); do \
34053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34054 done; \
34055 (cd $(TARGET_SUBDIR)/newlib && \
34056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34058 "RANLIB=$${RANLIB}" \
34059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34060 maintainer-clean) \
34061 || exit 1
34063 @endif target-newlib
34069 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
34070 maybe-configure-target-libgcc:
34071 @if gcc-bootstrap
34072 configure-target-libgcc: stage_current
34073 @endif gcc-bootstrap
34074 @if target-libgcc
34075 maybe-configure-target-libgcc: configure-target-libgcc
34076 configure-target-libgcc:
34077 @r=`${PWD_COMMAND}`; export r; \
34078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34079 echo "Checking multilib configuration for libgcc..."; \
34080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34081 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34082 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34083 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34084 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34085 else \
34086 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34087 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34088 fi; \
34089 else \
34090 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34091 fi; \
34092 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34094 $(NORMAL_TARGET_EXPORTS) \
34095 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
34096 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
34097 case $(srcdir) in \
34098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34099 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34101 esac; \
34102 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34103 libsrcdir="$$s/libgcc"; \
34104 rm -f no-such-file || : ; \
34105 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34107 --target=${target_alias} $${srcdiroption} \
34108 || exit 1
34109 @endif target-libgcc
34113 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
34114 maybe-configure-stage1-target-libgcc:
34115 @if target-libgcc-bootstrap
34116 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
34117 configure-stage1-target-libgcc:
34118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34120 @r=`${PWD_COMMAND}`; export r; \
34121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34122 TFLAGS="$(STAGE1_TFLAGS)"; \
34123 echo "Checking multilib configuration for libgcc..."; \
34124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34128 else \
34129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34131 fi; \
34132 else \
34133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34134 fi; \
34135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34136 $(NORMAL_TARGET_EXPORTS) \
34137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34140 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
34141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34143 case $(srcdir) in \
34144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34147 esac; \
34148 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34149 libsrcdir="$$s/libgcc"; \
34150 $(SHELL) $${libsrcdir}/configure \
34151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34152 --target=${target_alias} $${srcdiroption} \
34153 $(STAGE1_CONFIGURE_FLAGS)
34154 @endif target-libgcc-bootstrap
34156 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
34157 maybe-configure-stage2-target-libgcc:
34158 @if target-libgcc-bootstrap
34159 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
34160 configure-stage2-target-libgcc:
34161 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34162 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34163 @r=`${PWD_COMMAND}`; export r; \
34164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34165 TFLAGS="$(STAGE2_TFLAGS)"; \
34166 echo "Checking multilib configuration for libgcc..."; \
34167 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34168 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34169 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34170 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34171 else \
34172 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34173 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34174 fi; \
34175 else \
34176 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34177 fi; \
34178 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34179 $(NORMAL_TARGET_EXPORTS) \
34181 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34182 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34183 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34184 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
34185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34186 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34187 case $(srcdir) in \
34188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34189 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34191 esac; \
34192 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34193 libsrcdir="$$s/libgcc"; \
34194 $(SHELL) $${libsrcdir}/configure \
34195 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34196 --target=${target_alias} $${srcdiroption} \
34197 --with-build-libsubdir=$(HOST_SUBDIR) \
34198 $(STAGE2_CONFIGURE_FLAGS)
34199 @endif target-libgcc-bootstrap
34201 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
34202 maybe-configure-stage3-target-libgcc:
34203 @if target-libgcc-bootstrap
34204 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
34205 configure-stage3-target-libgcc:
34206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34207 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34208 @r=`${PWD_COMMAND}`; export r; \
34209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34210 TFLAGS="$(STAGE3_TFLAGS)"; \
34211 echo "Checking multilib configuration for libgcc..."; \
34212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34213 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34214 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34215 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34216 else \
34217 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34218 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34219 fi; \
34220 else \
34221 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34222 fi; \
34223 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34224 $(NORMAL_TARGET_EXPORTS) \
34226 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34229 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
34230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34231 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34232 case $(srcdir) in \
34233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34234 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34236 esac; \
34237 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34238 libsrcdir="$$s/libgcc"; \
34239 $(SHELL) $${libsrcdir}/configure \
34240 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34241 --target=${target_alias} $${srcdiroption} \
34242 --with-build-libsubdir=$(HOST_SUBDIR) \
34243 $(STAGE3_CONFIGURE_FLAGS)
34244 @endif target-libgcc-bootstrap
34246 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
34247 maybe-configure-stage4-target-libgcc:
34248 @if target-libgcc-bootstrap
34249 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
34250 configure-stage4-target-libgcc:
34251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34252 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34253 @r=`${PWD_COMMAND}`; export r; \
34254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34255 TFLAGS="$(STAGE4_TFLAGS)"; \
34256 echo "Checking multilib configuration for libgcc..."; \
34257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34258 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34259 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34260 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34261 else \
34262 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34263 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34264 fi; \
34265 else \
34266 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34267 fi; \
34268 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34269 $(NORMAL_TARGET_EXPORTS) \
34271 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34274 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
34275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34276 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34277 case $(srcdir) in \
34278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34279 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34281 esac; \
34282 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34283 libsrcdir="$$s/libgcc"; \
34284 $(SHELL) $${libsrcdir}/configure \
34285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34286 --target=${target_alias} $${srcdiroption} \
34287 --with-build-libsubdir=$(HOST_SUBDIR) \
34288 $(STAGE4_CONFIGURE_FLAGS)
34289 @endif target-libgcc-bootstrap
34291 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
34292 maybe-configure-stageprofile-target-libgcc:
34293 @if target-libgcc-bootstrap
34294 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34295 configure-stageprofile-target-libgcc:
34296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34297 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34298 @r=`${PWD_COMMAND}`; export r; \
34299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34300 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34301 echo "Checking multilib configuration for libgcc..."; \
34302 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34303 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34304 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34305 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34306 else \
34307 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34308 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34309 fi; \
34310 else \
34311 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34312 fi; \
34313 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34314 $(NORMAL_TARGET_EXPORTS) \
34316 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34319 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
34320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34321 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34322 case $(srcdir) in \
34323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34324 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34326 esac; \
34327 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34328 libsrcdir="$$s/libgcc"; \
34329 $(SHELL) $${libsrcdir}/configure \
34330 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34331 --target=${target_alias} $${srcdiroption} \
34332 --with-build-libsubdir=$(HOST_SUBDIR) \
34333 $(STAGEprofile_CONFIGURE_FLAGS)
34334 @endif target-libgcc-bootstrap
34336 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
34337 maybe-configure-stagefeedback-target-libgcc:
34338 @if target-libgcc-bootstrap
34339 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34340 configure-stagefeedback-target-libgcc:
34341 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34342 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34343 @r=`${PWD_COMMAND}`; export r; \
34344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34345 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34346 echo "Checking multilib configuration for libgcc..."; \
34347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34348 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34349 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34350 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34351 else \
34352 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34353 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34354 fi; \
34355 else \
34356 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34357 fi; \
34358 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34359 $(NORMAL_TARGET_EXPORTS) \
34361 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34363 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34364 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
34365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34366 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34367 case $(srcdir) in \
34368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34369 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34371 esac; \
34372 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34373 libsrcdir="$$s/libgcc"; \
34374 $(SHELL) $${libsrcdir}/configure \
34375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34376 --target=${target_alias} $${srcdiroption} \
34377 --with-build-libsubdir=$(HOST_SUBDIR) \
34378 $(STAGEfeedback_CONFIGURE_FLAGS)
34379 @endif target-libgcc-bootstrap
34385 .PHONY: all-target-libgcc maybe-all-target-libgcc
34386 maybe-all-target-libgcc:
34387 @if gcc-bootstrap
34388 all-target-libgcc: stage_current
34389 @endif gcc-bootstrap
34390 @if target-libgcc
34391 TARGET-target-libgcc=all
34392 maybe-all-target-libgcc: all-target-libgcc
34393 all-target-libgcc: configure-target-libgcc
34394 @r=`${PWD_COMMAND}`; export r; \
34395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34396 $(NORMAL_TARGET_EXPORTS) \
34397 (cd $(TARGET_SUBDIR)/libgcc && \
34398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34399 $(TARGET-target-libgcc))
34400 @endif target-libgcc
34404 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
34405 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
34406 maybe-all-stage1-target-libgcc:
34407 maybe-clean-stage1-target-libgcc:
34408 @if target-libgcc-bootstrap
34409 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
34410 all-stage1: all-stage1-target-libgcc
34411 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
34412 all-stage1-target-libgcc: configure-stage1-target-libgcc
34413 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34414 @r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 TFLAGS="$(STAGE1_TFLAGS)"; \
34417 $(NORMAL_TARGET_EXPORTS) \
34418 cd $(TARGET_SUBDIR)/libgcc && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34420 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34421 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34422 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34426 $(EXTRA_TARGET_FLAGS) \
34428 TFLAGS="$(STAGE1_TFLAGS)" \
34429 $(TARGET-stage1-target-libgcc)
34431 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
34432 clean-stage1: clean-stage1-target-libgcc
34433 clean-stage1-target-libgcc:
34434 @if [ $(current_stage) = stage1 ]; then \
34435 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34436 else \
34437 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
34438 $(MAKE) stage1-start; \
34439 fi; \
34440 cd $(TARGET_SUBDIR)/libgcc && \
34441 $(MAKE) $(EXTRA_TARGET_FLAGS) \
34442 clean
34443 @endif target-libgcc-bootstrap
34446 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
34447 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
34448 maybe-all-stage2-target-libgcc:
34449 maybe-clean-stage2-target-libgcc:
34450 @if target-libgcc-bootstrap
34451 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
34452 all-stage2: all-stage2-target-libgcc
34453 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
34454 all-stage2-target-libgcc: configure-stage2-target-libgcc
34455 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34456 @r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 TFLAGS="$(STAGE2_TFLAGS)"; \
34459 $(NORMAL_TARGET_EXPORTS) \
34461 cd $(TARGET_SUBDIR)/libgcc && \
34462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34463 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34464 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34465 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34469 $(EXTRA_TARGET_FLAGS) \
34470 TFLAGS="$(STAGE2_TFLAGS)" \
34471 $(TARGET-stage2-target-libgcc)
34473 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
34474 clean-stage2: clean-stage2-target-libgcc
34475 clean-stage2-target-libgcc:
34476 @if [ $(current_stage) = stage2 ]; then \
34477 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34478 else \
34479 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
34480 $(MAKE) stage2-start; \
34481 fi; \
34482 cd $(TARGET_SUBDIR)/libgcc && \
34483 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34484 @endif target-libgcc-bootstrap
34487 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
34488 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
34489 maybe-all-stage3-target-libgcc:
34490 maybe-clean-stage3-target-libgcc:
34491 @if target-libgcc-bootstrap
34492 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
34493 all-stage3: all-stage3-target-libgcc
34494 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
34495 all-stage3-target-libgcc: configure-stage3-target-libgcc
34496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34497 @r=`${PWD_COMMAND}`; export r; \
34498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34499 TFLAGS="$(STAGE3_TFLAGS)"; \
34500 $(NORMAL_TARGET_EXPORTS) \
34502 cd $(TARGET_SUBDIR)/libgcc && \
34503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34504 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34505 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34506 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34510 $(EXTRA_TARGET_FLAGS) \
34511 TFLAGS="$(STAGE3_TFLAGS)" \
34512 $(TARGET-stage3-target-libgcc)
34514 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
34515 clean-stage3: clean-stage3-target-libgcc
34516 clean-stage3-target-libgcc:
34517 @if [ $(current_stage) = stage3 ]; then \
34518 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34519 else \
34520 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
34521 $(MAKE) stage3-start; \
34522 fi; \
34523 cd $(TARGET_SUBDIR)/libgcc && \
34524 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34525 @endif target-libgcc-bootstrap
34528 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
34529 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
34530 maybe-all-stage4-target-libgcc:
34531 maybe-clean-stage4-target-libgcc:
34532 @if target-libgcc-bootstrap
34533 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
34534 all-stage4: all-stage4-target-libgcc
34535 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
34536 all-stage4-target-libgcc: configure-stage4-target-libgcc
34537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34538 @r=`${PWD_COMMAND}`; export r; \
34539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34540 TFLAGS="$(STAGE4_TFLAGS)"; \
34541 $(NORMAL_TARGET_EXPORTS) \
34543 cd $(TARGET_SUBDIR)/libgcc && \
34544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34551 $(EXTRA_TARGET_FLAGS) \
34552 TFLAGS="$(STAGE4_TFLAGS)" \
34553 $(TARGET-stage4-target-libgcc)
34555 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
34556 clean-stage4: clean-stage4-target-libgcc
34557 clean-stage4-target-libgcc:
34558 @if [ $(current_stage) = stage4 ]; then \
34559 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34560 else \
34561 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
34562 $(MAKE) stage4-start; \
34563 fi; \
34564 cd $(TARGET_SUBDIR)/libgcc && \
34565 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34566 @endif target-libgcc-bootstrap
34569 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
34570 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
34571 maybe-all-stageprofile-target-libgcc:
34572 maybe-clean-stageprofile-target-libgcc:
34573 @if target-libgcc-bootstrap
34574 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
34575 all-stageprofile: all-stageprofile-target-libgcc
34576 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
34577 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34578 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34579 @r=`${PWD_COMMAND}`; export r; \
34580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34581 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34582 $(NORMAL_TARGET_EXPORTS) \
34584 cd $(TARGET_SUBDIR)/libgcc && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34586 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34587 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34588 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34589 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34590 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34591 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34592 $(EXTRA_TARGET_FLAGS) \
34593 TFLAGS="$(STAGEprofile_TFLAGS)" \
34594 $(TARGET-stageprofile-target-libgcc)
34596 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
34597 clean-stageprofile: clean-stageprofile-target-libgcc
34598 clean-stageprofile-target-libgcc:
34599 @if [ $(current_stage) = stageprofile ]; then \
34600 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34601 else \
34602 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
34603 $(MAKE) stageprofile-start; \
34604 fi; \
34605 cd $(TARGET_SUBDIR)/libgcc && \
34606 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34607 @endif target-libgcc-bootstrap
34610 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
34611 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
34612 maybe-all-stagefeedback-target-libgcc:
34613 maybe-clean-stagefeedback-target-libgcc:
34614 @if target-libgcc-bootstrap
34615 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
34616 all-stagefeedback: all-stagefeedback-target-libgcc
34617 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
34618 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34619 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34620 @r=`${PWD_COMMAND}`; export r; \
34621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34622 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34623 $(NORMAL_TARGET_EXPORTS) \
34625 cd $(TARGET_SUBDIR)/libgcc && \
34626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34627 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34628 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34629 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34633 $(EXTRA_TARGET_FLAGS) \
34634 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34635 $(TARGET-stagefeedback-target-libgcc)
34637 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
34638 clean-stagefeedback: clean-stagefeedback-target-libgcc
34639 clean-stagefeedback-target-libgcc:
34640 @if [ $(current_stage) = stagefeedback ]; then \
34641 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34642 else \
34643 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
34644 $(MAKE) stagefeedback-start; \
34645 fi; \
34646 cd $(TARGET_SUBDIR)/libgcc && \
34647 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34648 @endif target-libgcc-bootstrap
34655 .PHONY: check-target-libgcc maybe-check-target-libgcc
34656 maybe-check-target-libgcc:
34657 @if target-libgcc
34658 maybe-check-target-libgcc: check-target-libgcc
34660 # Dummy target for uncheckable module.
34661 check-target-libgcc:
34663 @endif target-libgcc
34665 .PHONY: install-target-libgcc maybe-install-target-libgcc
34666 maybe-install-target-libgcc:
34667 @if target-libgcc
34668 maybe-install-target-libgcc: install-target-libgcc
34670 install-target-libgcc: installdirs
34671 @: $(MAKE); $(unstage)
34672 @r=`${PWD_COMMAND}`; export r; \
34673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34674 $(NORMAL_TARGET_EXPORTS) \
34675 (cd $(TARGET_SUBDIR)/libgcc && \
34676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34678 @endif target-libgcc
34680 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
34681 maybe-install-strip-target-libgcc:
34682 @if target-libgcc
34683 maybe-install-strip-target-libgcc: install-strip-target-libgcc
34685 install-strip-target-libgcc: installdirs
34686 @: $(MAKE); $(unstage)
34687 @r=`${PWD_COMMAND}`; export r; \
34688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34689 $(NORMAL_TARGET_EXPORTS) \
34690 (cd $(TARGET_SUBDIR)/libgcc && \
34691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34693 @endif target-libgcc
34695 # Other targets (info, dvi, pdf, etc.)
34697 .PHONY: maybe-info-target-libgcc info-target-libgcc
34698 maybe-info-target-libgcc:
34699 @if target-libgcc
34700 maybe-info-target-libgcc: info-target-libgcc
34702 info-target-libgcc: \
34703 configure-target-libgcc
34704 @: $(MAKE); $(unstage)
34705 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34706 r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 $(NORMAL_TARGET_EXPORTS) \
34709 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
34710 for flag in $(EXTRA_TARGET_FLAGS); do \
34711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34712 done; \
34713 (cd $(TARGET_SUBDIR)/libgcc && \
34714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34716 "RANLIB=$${RANLIB}" \
34717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34718 info) \
34719 || exit 1
34721 @endif target-libgcc
34723 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
34724 maybe-dvi-target-libgcc:
34725 @if target-libgcc
34726 maybe-dvi-target-libgcc: dvi-target-libgcc
34728 dvi-target-libgcc: \
34729 configure-target-libgcc
34730 @: $(MAKE); $(unstage)
34731 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34732 r=`${PWD_COMMAND}`; export r; \
34733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34734 $(NORMAL_TARGET_EXPORTS) \
34735 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
34736 for flag in $(EXTRA_TARGET_FLAGS); do \
34737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34738 done; \
34739 (cd $(TARGET_SUBDIR)/libgcc && \
34740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34742 "RANLIB=$${RANLIB}" \
34743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34744 dvi) \
34745 || exit 1
34747 @endif target-libgcc
34749 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
34750 maybe-pdf-target-libgcc:
34751 @if target-libgcc
34752 maybe-pdf-target-libgcc: pdf-target-libgcc
34754 pdf-target-libgcc: \
34755 configure-target-libgcc
34756 @: $(MAKE); $(unstage)
34757 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34758 r=`${PWD_COMMAND}`; export r; \
34759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34760 $(NORMAL_TARGET_EXPORTS) \
34761 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
34762 for flag in $(EXTRA_TARGET_FLAGS); do \
34763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34764 done; \
34765 (cd $(TARGET_SUBDIR)/libgcc && \
34766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34768 "RANLIB=$${RANLIB}" \
34769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34770 pdf) \
34771 || exit 1
34773 @endif target-libgcc
34775 .PHONY: maybe-html-target-libgcc html-target-libgcc
34776 maybe-html-target-libgcc:
34777 @if target-libgcc
34778 maybe-html-target-libgcc: html-target-libgcc
34780 html-target-libgcc: \
34781 configure-target-libgcc
34782 @: $(MAKE); $(unstage)
34783 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34784 r=`${PWD_COMMAND}`; export r; \
34785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34786 $(NORMAL_TARGET_EXPORTS) \
34787 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
34788 for flag in $(EXTRA_TARGET_FLAGS); do \
34789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34790 done; \
34791 (cd $(TARGET_SUBDIR)/libgcc && \
34792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34794 "RANLIB=$${RANLIB}" \
34795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34796 html) \
34797 || exit 1
34799 @endif target-libgcc
34801 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
34802 maybe-TAGS-target-libgcc:
34803 @if target-libgcc
34804 maybe-TAGS-target-libgcc: TAGS-target-libgcc
34806 TAGS-target-libgcc: \
34807 configure-target-libgcc
34808 @: $(MAKE); $(unstage)
34809 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34810 r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(NORMAL_TARGET_EXPORTS) \
34813 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
34814 for flag in $(EXTRA_TARGET_FLAGS); do \
34815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34816 done; \
34817 (cd $(TARGET_SUBDIR)/libgcc && \
34818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34820 "RANLIB=$${RANLIB}" \
34821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34822 TAGS) \
34823 || exit 1
34825 @endif target-libgcc
34827 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
34828 maybe-install-info-target-libgcc:
34829 @if target-libgcc
34830 maybe-install-info-target-libgcc: install-info-target-libgcc
34832 install-info-target-libgcc: \
34833 configure-target-libgcc \
34834 info-target-libgcc
34835 @: $(MAKE); $(unstage)
34836 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34837 r=`${PWD_COMMAND}`; export r; \
34838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34839 $(NORMAL_TARGET_EXPORTS) \
34840 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
34841 for flag in $(EXTRA_TARGET_FLAGS); do \
34842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34843 done; \
34844 (cd $(TARGET_SUBDIR)/libgcc && \
34845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34847 "RANLIB=$${RANLIB}" \
34848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34849 install-info) \
34850 || exit 1
34852 @endif target-libgcc
34854 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
34855 maybe-install-pdf-target-libgcc:
34856 @if target-libgcc
34857 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
34859 install-pdf-target-libgcc: \
34860 configure-target-libgcc \
34861 pdf-target-libgcc
34862 @: $(MAKE); $(unstage)
34863 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34864 r=`${PWD_COMMAND}`; export r; \
34865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34866 $(NORMAL_TARGET_EXPORTS) \
34867 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
34868 for flag in $(EXTRA_TARGET_FLAGS); do \
34869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34870 done; \
34871 (cd $(TARGET_SUBDIR)/libgcc && \
34872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34874 "RANLIB=$${RANLIB}" \
34875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34876 install-pdf) \
34877 || exit 1
34879 @endif target-libgcc
34881 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
34882 maybe-install-html-target-libgcc:
34883 @if target-libgcc
34884 maybe-install-html-target-libgcc: install-html-target-libgcc
34886 install-html-target-libgcc: \
34887 configure-target-libgcc \
34888 html-target-libgcc
34889 @: $(MAKE); $(unstage)
34890 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34891 r=`${PWD_COMMAND}`; export r; \
34892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34893 $(NORMAL_TARGET_EXPORTS) \
34894 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
34895 for flag in $(EXTRA_TARGET_FLAGS); do \
34896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34897 done; \
34898 (cd $(TARGET_SUBDIR)/libgcc && \
34899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34901 "RANLIB=$${RANLIB}" \
34902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34903 install-html) \
34904 || exit 1
34906 @endif target-libgcc
34908 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
34909 maybe-installcheck-target-libgcc:
34910 @if target-libgcc
34911 maybe-installcheck-target-libgcc: installcheck-target-libgcc
34913 installcheck-target-libgcc: \
34914 configure-target-libgcc
34915 @: $(MAKE); $(unstage)
34916 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34917 r=`${PWD_COMMAND}`; export r; \
34918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34919 $(NORMAL_TARGET_EXPORTS) \
34920 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
34921 for flag in $(EXTRA_TARGET_FLAGS); do \
34922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34923 done; \
34924 (cd $(TARGET_SUBDIR)/libgcc && \
34925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34927 "RANLIB=$${RANLIB}" \
34928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34929 installcheck) \
34930 || exit 1
34932 @endif target-libgcc
34934 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
34935 maybe-mostlyclean-target-libgcc:
34936 @if target-libgcc
34937 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
34939 mostlyclean-target-libgcc:
34940 @: $(MAKE); $(unstage)
34941 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34942 r=`${PWD_COMMAND}`; export r; \
34943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34944 $(NORMAL_TARGET_EXPORTS) \
34945 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
34946 for flag in $(EXTRA_TARGET_FLAGS); do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34948 done; \
34949 (cd $(TARGET_SUBDIR)/libgcc && \
34950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34952 "RANLIB=$${RANLIB}" \
34953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34954 mostlyclean) \
34955 || exit 1
34957 @endif target-libgcc
34959 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
34960 maybe-clean-target-libgcc:
34961 @if target-libgcc
34962 maybe-clean-target-libgcc: clean-target-libgcc
34964 clean-target-libgcc:
34965 @: $(MAKE); $(unstage)
34966 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34967 r=`${PWD_COMMAND}`; export r; \
34968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34969 $(NORMAL_TARGET_EXPORTS) \
34970 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
34971 for flag in $(EXTRA_TARGET_FLAGS); do \
34972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34973 done; \
34974 (cd $(TARGET_SUBDIR)/libgcc && \
34975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34977 "RANLIB=$${RANLIB}" \
34978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34979 clean) \
34980 || exit 1
34982 @endif target-libgcc
34984 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
34985 maybe-distclean-target-libgcc:
34986 @if target-libgcc
34987 maybe-distclean-target-libgcc: distclean-target-libgcc
34989 distclean-target-libgcc:
34990 @: $(MAKE); $(unstage)
34991 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34992 r=`${PWD_COMMAND}`; export r; \
34993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34994 $(NORMAL_TARGET_EXPORTS) \
34995 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
34996 for flag in $(EXTRA_TARGET_FLAGS); do \
34997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34998 done; \
34999 (cd $(TARGET_SUBDIR)/libgcc && \
35000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35002 "RANLIB=$${RANLIB}" \
35003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35004 distclean) \
35005 || exit 1
35007 @endif target-libgcc
35009 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
35010 maybe-maintainer-clean-target-libgcc:
35011 @if target-libgcc
35012 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
35014 maintainer-clean-target-libgcc:
35015 @: $(MAKE); $(unstage)
35016 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35017 r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(NORMAL_TARGET_EXPORTS) \
35020 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
35021 for flag in $(EXTRA_TARGET_FLAGS); do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35023 done; \
35024 (cd $(TARGET_SUBDIR)/libgcc && \
35025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35027 "RANLIB=$${RANLIB}" \
35028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35029 maintainer-clean) \
35030 || exit 1
35032 @endif target-libgcc
35038 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
35039 maybe-configure-target-libbacktrace:
35040 @if gcc-bootstrap
35041 configure-target-libbacktrace: stage_current
35042 @endif gcc-bootstrap
35043 @if target-libbacktrace
35044 maybe-configure-target-libbacktrace: configure-target-libbacktrace
35045 configure-target-libbacktrace:
35046 @: $(MAKE); $(unstage)
35047 @r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 echo "Checking multilib configuration for libbacktrace..."; \
35050 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
35052 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35053 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35054 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
35055 else \
35056 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
35057 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35058 fi; \
35059 else \
35060 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35061 fi; \
35062 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
35063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35064 $(NORMAL_TARGET_EXPORTS) \
35065 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
35066 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
35067 case $(srcdir) in \
35068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35069 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
35070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35071 esac; \
35072 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
35073 libsrcdir="$$s/libbacktrace"; \
35074 rm -f no-such-file || : ; \
35075 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35077 --target=${target_alias} $${srcdiroption} \
35078 || exit 1
35079 @endif target-libbacktrace
35085 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
35086 maybe-all-target-libbacktrace:
35087 @if gcc-bootstrap
35088 all-target-libbacktrace: stage_current
35089 @endif gcc-bootstrap
35090 @if target-libbacktrace
35091 TARGET-target-libbacktrace=all
35092 maybe-all-target-libbacktrace: all-target-libbacktrace
35093 all-target-libbacktrace: configure-target-libbacktrace
35094 @: $(MAKE); $(unstage)
35095 @r=`${PWD_COMMAND}`; export r; \
35096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35097 $(NORMAL_TARGET_EXPORTS) \
35098 (cd $(TARGET_SUBDIR)/libbacktrace && \
35099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35100 $(TARGET-target-libbacktrace))
35101 @endif target-libbacktrace
35107 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
35108 maybe-check-target-libbacktrace:
35109 @if target-libbacktrace
35110 maybe-check-target-libbacktrace: check-target-libbacktrace
35112 check-target-libbacktrace:
35113 @: $(MAKE); $(unstage)
35114 @r=`${PWD_COMMAND}`; export r; \
35115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35116 $(NORMAL_TARGET_EXPORTS) \
35117 (cd $(TARGET_SUBDIR)/libbacktrace && \
35118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35120 @endif target-libbacktrace
35122 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
35123 maybe-install-target-libbacktrace:
35124 @if target-libbacktrace
35125 maybe-install-target-libbacktrace: install-target-libbacktrace
35127 install-target-libbacktrace: installdirs
35128 @: $(MAKE); $(unstage)
35129 @r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(NORMAL_TARGET_EXPORTS) \
35132 (cd $(TARGET_SUBDIR)/libbacktrace && \
35133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35135 @endif target-libbacktrace
35137 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
35138 maybe-install-strip-target-libbacktrace:
35139 @if target-libbacktrace
35140 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
35142 install-strip-target-libbacktrace: installdirs
35143 @: $(MAKE); $(unstage)
35144 @r=`${PWD_COMMAND}`; export r; \
35145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35146 $(NORMAL_TARGET_EXPORTS) \
35147 (cd $(TARGET_SUBDIR)/libbacktrace && \
35148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35150 @endif target-libbacktrace
35152 # Other targets (info, dvi, pdf, etc.)
35154 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
35155 maybe-info-target-libbacktrace:
35156 @if target-libbacktrace
35157 maybe-info-target-libbacktrace: info-target-libbacktrace
35159 info-target-libbacktrace: \
35160 configure-target-libbacktrace
35161 @: $(MAKE); $(unstage)
35162 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35163 r=`${PWD_COMMAND}`; export r; \
35164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35165 $(NORMAL_TARGET_EXPORTS) \
35166 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
35167 for flag in $(EXTRA_TARGET_FLAGS); do \
35168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35169 done; \
35170 (cd $(TARGET_SUBDIR)/libbacktrace && \
35171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35173 "RANLIB=$${RANLIB}" \
35174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35175 info) \
35176 || exit 1
35178 @endif target-libbacktrace
35180 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
35181 maybe-dvi-target-libbacktrace:
35182 @if target-libbacktrace
35183 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
35185 dvi-target-libbacktrace: \
35186 configure-target-libbacktrace
35187 @: $(MAKE); $(unstage)
35188 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35189 r=`${PWD_COMMAND}`; export r; \
35190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35191 $(NORMAL_TARGET_EXPORTS) \
35192 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
35193 for flag in $(EXTRA_TARGET_FLAGS); do \
35194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35195 done; \
35196 (cd $(TARGET_SUBDIR)/libbacktrace && \
35197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35199 "RANLIB=$${RANLIB}" \
35200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35201 dvi) \
35202 || exit 1
35204 @endif target-libbacktrace
35206 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
35207 maybe-pdf-target-libbacktrace:
35208 @if target-libbacktrace
35209 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
35211 pdf-target-libbacktrace: \
35212 configure-target-libbacktrace
35213 @: $(MAKE); $(unstage)
35214 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35215 r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(NORMAL_TARGET_EXPORTS) \
35218 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35219 for flag in $(EXTRA_TARGET_FLAGS); do \
35220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35221 done; \
35222 (cd $(TARGET_SUBDIR)/libbacktrace && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35225 "RANLIB=$${RANLIB}" \
35226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35227 pdf) \
35228 || exit 1
35230 @endif target-libbacktrace
35232 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
35233 maybe-html-target-libbacktrace:
35234 @if target-libbacktrace
35235 maybe-html-target-libbacktrace: html-target-libbacktrace
35237 html-target-libbacktrace: \
35238 configure-target-libbacktrace
35239 @: $(MAKE); $(unstage)
35240 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35241 r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(NORMAL_TARGET_EXPORTS) \
35244 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
35245 for flag in $(EXTRA_TARGET_FLAGS); do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35247 done; \
35248 (cd $(TARGET_SUBDIR)/libbacktrace && \
35249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35251 "RANLIB=$${RANLIB}" \
35252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35253 html) \
35254 || exit 1
35256 @endif target-libbacktrace
35258 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
35259 maybe-TAGS-target-libbacktrace:
35260 @if target-libbacktrace
35261 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
35263 TAGS-target-libbacktrace: \
35264 configure-target-libbacktrace
35265 @: $(MAKE); $(unstage)
35266 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35267 r=`${PWD_COMMAND}`; export r; \
35268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35269 $(NORMAL_TARGET_EXPORTS) \
35270 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
35271 for flag in $(EXTRA_TARGET_FLAGS); do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 (cd $(TARGET_SUBDIR)/libbacktrace && \
35275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35277 "RANLIB=$${RANLIB}" \
35278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35279 TAGS) \
35280 || exit 1
35282 @endif target-libbacktrace
35284 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
35285 maybe-install-info-target-libbacktrace:
35286 @if target-libbacktrace
35287 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
35289 install-info-target-libbacktrace: \
35290 configure-target-libbacktrace \
35291 info-target-libbacktrace
35292 @: $(MAKE); $(unstage)
35293 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35294 r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(NORMAL_TARGET_EXPORTS) \
35297 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
35298 for flag in $(EXTRA_TARGET_FLAGS); do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35300 done; \
35301 (cd $(TARGET_SUBDIR)/libbacktrace && \
35302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35304 "RANLIB=$${RANLIB}" \
35305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35306 install-info) \
35307 || exit 1
35309 @endif target-libbacktrace
35311 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
35312 maybe-install-pdf-target-libbacktrace:
35313 @if target-libbacktrace
35314 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
35316 install-pdf-target-libbacktrace: \
35317 configure-target-libbacktrace \
35318 pdf-target-libbacktrace
35319 @: $(MAKE); $(unstage)
35320 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35325 for flag in $(EXTRA_TARGET_FLAGS); do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35327 done; \
35328 (cd $(TARGET_SUBDIR)/libbacktrace && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35333 install-pdf) \
35334 || exit 1
35336 @endif target-libbacktrace
35338 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
35339 maybe-install-html-target-libbacktrace:
35340 @if target-libbacktrace
35341 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
35343 install-html-target-libbacktrace: \
35344 configure-target-libbacktrace \
35345 html-target-libbacktrace
35346 @: $(MAKE); $(unstage)
35347 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(NORMAL_TARGET_EXPORTS) \
35351 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
35352 for flag in $(EXTRA_TARGET_FLAGS); do \
35353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35354 done; \
35355 (cd $(TARGET_SUBDIR)/libbacktrace && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 install-html) \
35361 || exit 1
35363 @endif target-libbacktrace
35365 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
35366 maybe-installcheck-target-libbacktrace:
35367 @if target-libbacktrace
35368 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
35370 installcheck-target-libbacktrace: \
35371 configure-target-libbacktrace
35372 @: $(MAKE); $(unstage)
35373 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35374 r=`${PWD_COMMAND}`; export r; \
35375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35376 $(NORMAL_TARGET_EXPORTS) \
35377 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
35378 for flag in $(EXTRA_TARGET_FLAGS); do \
35379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35380 done; \
35381 (cd $(TARGET_SUBDIR)/libbacktrace && \
35382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35384 "RANLIB=$${RANLIB}" \
35385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35386 installcheck) \
35387 || exit 1
35389 @endif target-libbacktrace
35391 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
35392 maybe-mostlyclean-target-libbacktrace:
35393 @if target-libbacktrace
35394 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
35396 mostlyclean-target-libbacktrace:
35397 @: $(MAKE); $(unstage)
35398 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35399 r=`${PWD_COMMAND}`; export r; \
35400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35401 $(NORMAL_TARGET_EXPORTS) \
35402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35403 for flag in $(EXTRA_TARGET_FLAGS); do \
35404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35405 done; \
35406 (cd $(TARGET_SUBDIR)/libbacktrace && \
35407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35409 "RANLIB=$${RANLIB}" \
35410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35411 mostlyclean) \
35412 || exit 1
35414 @endif target-libbacktrace
35416 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
35417 maybe-clean-target-libbacktrace:
35418 @if target-libbacktrace
35419 maybe-clean-target-libbacktrace: clean-target-libbacktrace
35421 clean-target-libbacktrace:
35422 @: $(MAKE); $(unstage)
35423 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(NORMAL_TARGET_EXPORTS) \
35427 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
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)/libbacktrace && \
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 clean) \
35437 || exit 1
35439 @endif target-libbacktrace
35441 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
35442 maybe-distclean-target-libbacktrace:
35443 @if target-libbacktrace
35444 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
35446 distclean-target-libbacktrace:
35447 @: $(MAKE); $(unstage)
35448 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35449 r=`${PWD_COMMAND}`; export r; \
35450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35451 $(NORMAL_TARGET_EXPORTS) \
35452 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35453 for flag in $(EXTRA_TARGET_FLAGS); do \
35454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35455 done; \
35456 (cd $(TARGET_SUBDIR)/libbacktrace && \
35457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35459 "RANLIB=$${RANLIB}" \
35460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35461 distclean) \
35462 || exit 1
35464 @endif target-libbacktrace
35466 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
35467 maybe-maintainer-clean-target-libbacktrace:
35468 @if target-libbacktrace
35469 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
35471 maintainer-clean-target-libbacktrace:
35472 @: $(MAKE); $(unstage)
35473 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35474 r=`${PWD_COMMAND}`; export r; \
35475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35476 $(NORMAL_TARGET_EXPORTS) \
35477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
35478 for flag in $(EXTRA_TARGET_FLAGS); do \
35479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35480 done; \
35481 (cd $(TARGET_SUBDIR)/libbacktrace && \
35482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35484 "RANLIB=$${RANLIB}" \
35485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35486 maintainer-clean) \
35487 || exit 1
35489 @endif target-libbacktrace
35495 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
35496 maybe-configure-target-libquadmath:
35497 @if gcc-bootstrap
35498 configure-target-libquadmath: stage_current
35499 @endif gcc-bootstrap
35500 @if target-libquadmath
35501 maybe-configure-target-libquadmath: configure-target-libquadmath
35502 configure-target-libquadmath:
35503 @: $(MAKE); $(unstage)
35504 @r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 echo "Checking multilib configuration for libquadmath..."; \
35507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
35508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
35509 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
35510 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
35511 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
35512 else \
35513 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
35514 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
35515 fi; \
35516 else \
35517 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
35518 fi; \
35519 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
35520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
35521 $(NORMAL_TARGET_EXPORTS) \
35522 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
35523 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
35524 case $(srcdir) in \
35525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35526 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
35527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35528 esac; \
35529 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
35530 libsrcdir="$$s/libquadmath"; \
35531 rm -f no-such-file || : ; \
35532 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35534 --target=${target_alias} $${srcdiroption} \
35535 || exit 1
35536 @endif target-libquadmath
35542 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
35543 maybe-all-target-libquadmath:
35544 @if gcc-bootstrap
35545 all-target-libquadmath: stage_current
35546 @endif gcc-bootstrap
35547 @if target-libquadmath
35548 TARGET-target-libquadmath=all
35549 maybe-all-target-libquadmath: all-target-libquadmath
35550 all-target-libquadmath: configure-target-libquadmath
35551 @: $(MAKE); $(unstage)
35552 @r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 $(NORMAL_TARGET_EXPORTS) \
35555 (cd $(TARGET_SUBDIR)/libquadmath && \
35556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35557 $(TARGET-target-libquadmath))
35558 @endif target-libquadmath
35564 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
35565 maybe-check-target-libquadmath:
35566 @if target-libquadmath
35567 maybe-check-target-libquadmath: check-target-libquadmath
35569 check-target-libquadmath:
35570 @: $(MAKE); $(unstage)
35571 @r=`${PWD_COMMAND}`; export r; \
35572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35573 $(NORMAL_TARGET_EXPORTS) \
35574 (cd $(TARGET_SUBDIR)/libquadmath && \
35575 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35577 @endif target-libquadmath
35579 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
35580 maybe-install-target-libquadmath:
35581 @if target-libquadmath
35582 maybe-install-target-libquadmath: install-target-libquadmath
35584 install-target-libquadmath: installdirs
35585 @: $(MAKE); $(unstage)
35586 @r=`${PWD_COMMAND}`; export r; \
35587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35588 $(NORMAL_TARGET_EXPORTS) \
35589 (cd $(TARGET_SUBDIR)/libquadmath && \
35590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35592 @endif target-libquadmath
35594 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
35595 maybe-install-strip-target-libquadmath:
35596 @if target-libquadmath
35597 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
35599 install-strip-target-libquadmath: installdirs
35600 @: $(MAKE); $(unstage)
35601 @r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(NORMAL_TARGET_EXPORTS) \
35604 (cd $(TARGET_SUBDIR)/libquadmath && \
35605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35607 @endif target-libquadmath
35609 # Other targets (info, dvi, pdf, etc.)
35611 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
35612 maybe-info-target-libquadmath:
35613 @if target-libquadmath
35614 maybe-info-target-libquadmath: info-target-libquadmath
35616 info-target-libquadmath: \
35617 configure-target-libquadmath
35618 @: $(MAKE); $(unstage)
35619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35620 r=`${PWD_COMMAND}`; export r; \
35621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35622 $(NORMAL_TARGET_EXPORTS) \
35623 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
35624 for flag in $(EXTRA_TARGET_FLAGS); do \
35625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35626 done; \
35627 (cd $(TARGET_SUBDIR)/libquadmath && \
35628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35630 "RANLIB=$${RANLIB}" \
35631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35632 info) \
35633 || exit 1
35635 @endif target-libquadmath
35637 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
35638 maybe-dvi-target-libquadmath:
35639 @if target-libquadmath
35640 maybe-dvi-target-libquadmath: dvi-target-libquadmath
35642 dvi-target-libquadmath: \
35643 configure-target-libquadmath
35644 @: $(MAKE); $(unstage)
35645 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35646 r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(NORMAL_TARGET_EXPORTS) \
35649 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
35650 for flag in $(EXTRA_TARGET_FLAGS); do \
35651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35652 done; \
35653 (cd $(TARGET_SUBDIR)/libquadmath && \
35654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35656 "RANLIB=$${RANLIB}" \
35657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35658 dvi) \
35659 || exit 1
35661 @endif target-libquadmath
35663 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
35664 maybe-pdf-target-libquadmath:
35665 @if target-libquadmath
35666 maybe-pdf-target-libquadmath: pdf-target-libquadmath
35668 pdf-target-libquadmath: \
35669 configure-target-libquadmath
35670 @: $(MAKE); $(unstage)
35671 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35672 r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35676 for flag in $(EXTRA_TARGET_FLAGS); do \
35677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35678 done; \
35679 (cd $(TARGET_SUBDIR)/libquadmath && \
35680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35682 "RANLIB=$${RANLIB}" \
35683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35684 pdf) \
35685 || exit 1
35687 @endif target-libquadmath
35689 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
35690 maybe-html-target-libquadmath:
35691 @if target-libquadmath
35692 maybe-html-target-libquadmath: html-target-libquadmath
35694 html-target-libquadmath: \
35695 configure-target-libquadmath
35696 @: $(MAKE); $(unstage)
35697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35698 r=`${PWD_COMMAND}`; export r; \
35699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35700 $(NORMAL_TARGET_EXPORTS) \
35701 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
35702 for flag in $(EXTRA_TARGET_FLAGS); do \
35703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35704 done; \
35705 (cd $(TARGET_SUBDIR)/libquadmath && \
35706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35708 "RANLIB=$${RANLIB}" \
35709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35710 html) \
35711 || exit 1
35713 @endif target-libquadmath
35715 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
35716 maybe-TAGS-target-libquadmath:
35717 @if target-libquadmath
35718 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
35720 TAGS-target-libquadmath: \
35721 configure-target-libquadmath
35722 @: $(MAKE); $(unstage)
35723 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35724 r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 $(NORMAL_TARGET_EXPORTS) \
35727 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
35728 for flag in $(EXTRA_TARGET_FLAGS); do \
35729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35730 done; \
35731 (cd $(TARGET_SUBDIR)/libquadmath && \
35732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35734 "RANLIB=$${RANLIB}" \
35735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35736 TAGS) \
35737 || exit 1
35739 @endif target-libquadmath
35741 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
35742 maybe-install-info-target-libquadmath:
35743 @if target-libquadmath
35744 maybe-install-info-target-libquadmath: install-info-target-libquadmath
35746 install-info-target-libquadmath: \
35747 configure-target-libquadmath \
35748 info-target-libquadmath
35749 @: $(MAKE); $(unstage)
35750 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35751 r=`${PWD_COMMAND}`; export r; \
35752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35753 $(NORMAL_TARGET_EXPORTS) \
35754 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
35755 for flag in $(EXTRA_TARGET_FLAGS); do \
35756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35757 done; \
35758 (cd $(TARGET_SUBDIR)/libquadmath && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35761 "RANLIB=$${RANLIB}" \
35762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35763 install-info) \
35764 || exit 1
35766 @endif target-libquadmath
35768 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
35769 maybe-install-pdf-target-libquadmath:
35770 @if target-libquadmath
35771 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
35773 install-pdf-target-libquadmath: \
35774 configure-target-libquadmath \
35775 pdf-target-libquadmath
35776 @: $(MAKE); $(unstage)
35777 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35778 r=`${PWD_COMMAND}`; export r; \
35779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35780 $(NORMAL_TARGET_EXPORTS) \
35781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35782 for flag in $(EXTRA_TARGET_FLAGS); do \
35783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35784 done; \
35785 (cd $(TARGET_SUBDIR)/libquadmath && \
35786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35788 "RANLIB=$${RANLIB}" \
35789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35790 install-pdf) \
35791 || exit 1
35793 @endif target-libquadmath
35795 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
35796 maybe-install-html-target-libquadmath:
35797 @if target-libquadmath
35798 maybe-install-html-target-libquadmath: install-html-target-libquadmath
35800 install-html-target-libquadmath: \
35801 configure-target-libquadmath \
35802 html-target-libquadmath
35803 @: $(MAKE); $(unstage)
35804 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35805 r=`${PWD_COMMAND}`; export r; \
35806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35807 $(NORMAL_TARGET_EXPORTS) \
35808 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
35809 for flag in $(EXTRA_TARGET_FLAGS); do \
35810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35811 done; \
35812 (cd $(TARGET_SUBDIR)/libquadmath && \
35813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35815 "RANLIB=$${RANLIB}" \
35816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35817 install-html) \
35818 || exit 1
35820 @endif target-libquadmath
35822 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
35823 maybe-installcheck-target-libquadmath:
35824 @if target-libquadmath
35825 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
35827 installcheck-target-libquadmath: \
35828 configure-target-libquadmath
35829 @: $(MAKE); $(unstage)
35830 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35831 r=`${PWD_COMMAND}`; export r; \
35832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35833 $(NORMAL_TARGET_EXPORTS) \
35834 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
35835 for flag in $(EXTRA_TARGET_FLAGS); do \
35836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35837 done; \
35838 (cd $(TARGET_SUBDIR)/libquadmath && \
35839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35841 "RANLIB=$${RANLIB}" \
35842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35843 installcheck) \
35844 || exit 1
35846 @endif target-libquadmath
35848 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
35849 maybe-mostlyclean-target-libquadmath:
35850 @if target-libquadmath
35851 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
35853 mostlyclean-target-libquadmath:
35854 @: $(MAKE); $(unstage)
35855 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35856 r=`${PWD_COMMAND}`; export r; \
35857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35858 $(NORMAL_TARGET_EXPORTS) \
35859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
35860 for flag in $(EXTRA_TARGET_FLAGS); do \
35861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35862 done; \
35863 (cd $(TARGET_SUBDIR)/libquadmath && \
35864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35866 "RANLIB=$${RANLIB}" \
35867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35868 mostlyclean) \
35869 || exit 1
35871 @endif target-libquadmath
35873 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
35874 maybe-clean-target-libquadmath:
35875 @if target-libquadmath
35876 maybe-clean-target-libquadmath: clean-target-libquadmath
35878 clean-target-libquadmath:
35879 @: $(MAKE); $(unstage)
35880 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35881 r=`${PWD_COMMAND}`; export r; \
35882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35883 $(NORMAL_TARGET_EXPORTS) \
35884 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
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)/libquadmath && \
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 clean) \
35894 || exit 1
35896 @endif target-libquadmath
35898 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
35899 maybe-distclean-target-libquadmath:
35900 @if target-libquadmath
35901 maybe-distclean-target-libquadmath: distclean-target-libquadmath
35903 distclean-target-libquadmath:
35904 @: $(MAKE); $(unstage)
35905 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35906 r=`${PWD_COMMAND}`; export r; \
35907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35908 $(NORMAL_TARGET_EXPORTS) \
35909 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
35910 for flag in $(EXTRA_TARGET_FLAGS); do \
35911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35912 done; \
35913 (cd $(TARGET_SUBDIR)/libquadmath && \
35914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35916 "RANLIB=$${RANLIB}" \
35917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35918 distclean) \
35919 || exit 1
35921 @endif target-libquadmath
35923 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
35924 maybe-maintainer-clean-target-libquadmath:
35925 @if target-libquadmath
35926 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
35928 maintainer-clean-target-libquadmath:
35929 @: $(MAKE); $(unstage)
35930 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35931 r=`${PWD_COMMAND}`; export r; \
35932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35933 $(NORMAL_TARGET_EXPORTS) \
35934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
35935 for flag in $(EXTRA_TARGET_FLAGS); do \
35936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35937 done; \
35938 (cd $(TARGET_SUBDIR)/libquadmath && \
35939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35941 "RANLIB=$${RANLIB}" \
35942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35943 maintainer-clean) \
35944 || exit 1
35946 @endif target-libquadmath
35952 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35953 maybe-configure-target-libgfortran:
35954 @if gcc-bootstrap
35955 configure-target-libgfortran: stage_current
35956 @endif gcc-bootstrap
35957 @if target-libgfortran
35958 maybe-configure-target-libgfortran: configure-target-libgfortran
35959 configure-target-libgfortran:
35960 @: $(MAKE); $(unstage)
35961 @r=`${PWD_COMMAND}`; export r; \
35962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35963 echo "Checking multilib configuration for libgfortran..."; \
35964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35966 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35967 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35968 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35969 else \
35970 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35971 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35972 fi; \
35973 else \
35974 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35975 fi; \
35976 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35978 $(NORMAL_TARGET_EXPORTS) \
35979 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35980 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35981 case $(srcdir) in \
35982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35983 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35985 esac; \
35986 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35987 libsrcdir="$$s/libgfortran"; \
35988 rm -f no-such-file || : ; \
35989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35991 --target=${target_alias} $${srcdiroption} \
35992 || exit 1
35993 @endif target-libgfortran
35999 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36000 maybe-all-target-libgfortran:
36001 @if gcc-bootstrap
36002 all-target-libgfortran: stage_current
36003 @endif gcc-bootstrap
36004 @if target-libgfortran
36005 TARGET-target-libgfortran=all
36006 maybe-all-target-libgfortran: all-target-libgfortran
36007 all-target-libgfortran: configure-target-libgfortran
36008 @: $(MAKE); $(unstage)
36009 @r=`${PWD_COMMAND}`; export r; \
36010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36011 $(NORMAL_TARGET_EXPORTS) \
36012 (cd $(TARGET_SUBDIR)/libgfortran && \
36013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36014 $(TARGET-target-libgfortran))
36015 @endif target-libgfortran
36021 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
36022 maybe-check-target-libgfortran:
36023 @if target-libgfortran
36024 maybe-check-target-libgfortran: check-target-libgfortran
36026 check-target-libgfortran:
36027 @: $(MAKE); $(unstage)
36028 @r=`${PWD_COMMAND}`; export r; \
36029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36030 $(NORMAL_TARGET_EXPORTS) \
36031 (cd $(TARGET_SUBDIR)/libgfortran && \
36032 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36034 @endif target-libgfortran
36036 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
36037 maybe-install-target-libgfortran:
36038 @if target-libgfortran
36039 maybe-install-target-libgfortran: install-target-libgfortran
36041 install-target-libgfortran: installdirs
36042 @: $(MAKE); $(unstage)
36043 @r=`${PWD_COMMAND}`; export r; \
36044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36045 $(NORMAL_TARGET_EXPORTS) \
36046 (cd $(TARGET_SUBDIR)/libgfortran && \
36047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36049 @endif target-libgfortran
36051 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
36052 maybe-install-strip-target-libgfortran:
36053 @if target-libgfortran
36054 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
36056 install-strip-target-libgfortran: installdirs
36057 @: $(MAKE); $(unstage)
36058 @r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(NORMAL_TARGET_EXPORTS) \
36061 (cd $(TARGET_SUBDIR)/libgfortran && \
36062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36064 @endif target-libgfortran
36066 # Other targets (info, dvi, pdf, etc.)
36068 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
36069 maybe-info-target-libgfortran:
36070 @if target-libgfortran
36071 maybe-info-target-libgfortran: info-target-libgfortran
36073 info-target-libgfortran: \
36074 configure-target-libgfortran
36075 @: $(MAKE); $(unstage)
36076 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36077 r=`${PWD_COMMAND}`; export r; \
36078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36079 $(NORMAL_TARGET_EXPORTS) \
36080 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
36081 for flag in $(EXTRA_TARGET_FLAGS); do \
36082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36083 done; \
36084 (cd $(TARGET_SUBDIR)/libgfortran && \
36085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36087 "RANLIB=$${RANLIB}" \
36088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36089 info) \
36090 || exit 1
36092 @endif target-libgfortran
36094 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
36095 maybe-dvi-target-libgfortran:
36096 @if target-libgfortran
36097 maybe-dvi-target-libgfortran: dvi-target-libgfortran
36099 dvi-target-libgfortran: \
36100 configure-target-libgfortran
36101 @: $(MAKE); $(unstage)
36102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36103 r=`${PWD_COMMAND}`; export r; \
36104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36105 $(NORMAL_TARGET_EXPORTS) \
36106 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
36107 for flag in $(EXTRA_TARGET_FLAGS); do \
36108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36109 done; \
36110 (cd $(TARGET_SUBDIR)/libgfortran && \
36111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36113 "RANLIB=$${RANLIB}" \
36114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36115 dvi) \
36116 || exit 1
36118 @endif target-libgfortran
36120 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
36121 maybe-pdf-target-libgfortran:
36122 @if target-libgfortran
36123 maybe-pdf-target-libgfortran: pdf-target-libgfortran
36125 pdf-target-libgfortran: \
36126 configure-target-libgfortran
36127 @: $(MAKE); $(unstage)
36128 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36129 r=`${PWD_COMMAND}`; export r; \
36130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36131 $(NORMAL_TARGET_EXPORTS) \
36132 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36133 for flag in $(EXTRA_TARGET_FLAGS); do \
36134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36135 done; \
36136 (cd $(TARGET_SUBDIR)/libgfortran && \
36137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36139 "RANLIB=$${RANLIB}" \
36140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36141 pdf) \
36142 || exit 1
36144 @endif target-libgfortran
36146 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
36147 maybe-html-target-libgfortran:
36148 @if target-libgfortran
36149 maybe-html-target-libgfortran: html-target-libgfortran
36151 html-target-libgfortran: \
36152 configure-target-libgfortran
36153 @: $(MAKE); $(unstage)
36154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36155 r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 $(NORMAL_TARGET_EXPORTS) \
36158 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
36159 for flag in $(EXTRA_TARGET_FLAGS); do \
36160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36161 done; \
36162 (cd $(TARGET_SUBDIR)/libgfortran && \
36163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36165 "RANLIB=$${RANLIB}" \
36166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36167 html) \
36168 || exit 1
36170 @endif target-libgfortran
36172 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
36173 maybe-TAGS-target-libgfortran:
36174 @if target-libgfortran
36175 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
36177 TAGS-target-libgfortran: \
36178 configure-target-libgfortran
36179 @: $(MAKE); $(unstage)
36180 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36181 r=`${PWD_COMMAND}`; export r; \
36182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36183 $(NORMAL_TARGET_EXPORTS) \
36184 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
36185 for flag in $(EXTRA_TARGET_FLAGS); do \
36186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36187 done; \
36188 (cd $(TARGET_SUBDIR)/libgfortran && \
36189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36191 "RANLIB=$${RANLIB}" \
36192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36193 TAGS) \
36194 || exit 1
36196 @endif target-libgfortran
36198 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
36199 maybe-install-info-target-libgfortran:
36200 @if target-libgfortran
36201 maybe-install-info-target-libgfortran: install-info-target-libgfortran
36203 install-info-target-libgfortran: \
36204 configure-target-libgfortran \
36205 info-target-libgfortran
36206 @: $(MAKE); $(unstage)
36207 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36208 r=`${PWD_COMMAND}`; export r; \
36209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36210 $(NORMAL_TARGET_EXPORTS) \
36211 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
36212 for flag in $(EXTRA_TARGET_FLAGS); do \
36213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36214 done; \
36215 (cd $(TARGET_SUBDIR)/libgfortran && \
36216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36218 "RANLIB=$${RANLIB}" \
36219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36220 install-info) \
36221 || exit 1
36223 @endif target-libgfortran
36225 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
36226 maybe-install-pdf-target-libgfortran:
36227 @if target-libgfortran
36228 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
36230 install-pdf-target-libgfortran: \
36231 configure-target-libgfortran \
36232 pdf-target-libgfortran
36233 @: $(MAKE); $(unstage)
36234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36235 r=`${PWD_COMMAND}`; export r; \
36236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36237 $(NORMAL_TARGET_EXPORTS) \
36238 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36239 for flag in $(EXTRA_TARGET_FLAGS); do \
36240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36241 done; \
36242 (cd $(TARGET_SUBDIR)/libgfortran && \
36243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36245 "RANLIB=$${RANLIB}" \
36246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36247 install-pdf) \
36248 || exit 1
36250 @endif target-libgfortran
36252 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
36253 maybe-install-html-target-libgfortran:
36254 @if target-libgfortran
36255 maybe-install-html-target-libgfortran: install-html-target-libgfortran
36257 install-html-target-libgfortran: \
36258 configure-target-libgfortran \
36259 html-target-libgfortran
36260 @: $(MAKE); $(unstage)
36261 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36262 r=`${PWD_COMMAND}`; export r; \
36263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36264 $(NORMAL_TARGET_EXPORTS) \
36265 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
36266 for flag in $(EXTRA_TARGET_FLAGS); do \
36267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36268 done; \
36269 (cd $(TARGET_SUBDIR)/libgfortran && \
36270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36272 "RANLIB=$${RANLIB}" \
36273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36274 install-html) \
36275 || exit 1
36277 @endif target-libgfortran
36279 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
36280 maybe-installcheck-target-libgfortran:
36281 @if target-libgfortran
36282 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
36284 installcheck-target-libgfortran: \
36285 configure-target-libgfortran
36286 @: $(MAKE); $(unstage)
36287 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36288 r=`${PWD_COMMAND}`; export r; \
36289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36290 $(NORMAL_TARGET_EXPORTS) \
36291 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
36292 for flag in $(EXTRA_TARGET_FLAGS); do \
36293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36294 done; \
36295 (cd $(TARGET_SUBDIR)/libgfortran && \
36296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36298 "RANLIB=$${RANLIB}" \
36299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36300 installcheck) \
36301 || exit 1
36303 @endif target-libgfortran
36305 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
36306 maybe-mostlyclean-target-libgfortran:
36307 @if target-libgfortran
36308 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
36310 mostlyclean-target-libgfortran:
36311 @: $(MAKE); $(unstage)
36312 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36313 r=`${PWD_COMMAND}`; export r; \
36314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36315 $(NORMAL_TARGET_EXPORTS) \
36316 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
36317 for flag in $(EXTRA_TARGET_FLAGS); do \
36318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36319 done; \
36320 (cd $(TARGET_SUBDIR)/libgfortran && \
36321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36323 "RANLIB=$${RANLIB}" \
36324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36325 mostlyclean) \
36326 || exit 1
36328 @endif target-libgfortran
36330 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
36331 maybe-clean-target-libgfortran:
36332 @if target-libgfortran
36333 maybe-clean-target-libgfortran: clean-target-libgfortran
36335 clean-target-libgfortran:
36336 @: $(MAKE); $(unstage)
36337 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36338 r=`${PWD_COMMAND}`; export r; \
36339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36340 $(NORMAL_TARGET_EXPORTS) \
36341 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 clean) \
36351 || exit 1
36353 @endif target-libgfortran
36355 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
36356 maybe-distclean-target-libgfortran:
36357 @if target-libgfortran
36358 maybe-distclean-target-libgfortran: distclean-target-libgfortran
36360 distclean-target-libgfortran:
36361 @: $(MAKE); $(unstage)
36362 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36363 r=`${PWD_COMMAND}`; export r; \
36364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36365 $(NORMAL_TARGET_EXPORTS) \
36366 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
36367 for flag in $(EXTRA_TARGET_FLAGS); do \
36368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36369 done; \
36370 (cd $(TARGET_SUBDIR)/libgfortran && \
36371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36373 "RANLIB=$${RANLIB}" \
36374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36375 distclean) \
36376 || exit 1
36378 @endif target-libgfortran
36380 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
36381 maybe-maintainer-clean-target-libgfortran:
36382 @if target-libgfortran
36383 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
36385 maintainer-clean-target-libgfortran:
36386 @: $(MAKE); $(unstage)
36387 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36388 r=`${PWD_COMMAND}`; export r; \
36389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36390 $(NORMAL_TARGET_EXPORTS) \
36391 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
36392 for flag in $(EXTRA_TARGET_FLAGS); do \
36393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36394 done; \
36395 (cd $(TARGET_SUBDIR)/libgfortran && \
36396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36398 "RANLIB=$${RANLIB}" \
36399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36400 maintainer-clean) \
36401 || exit 1
36403 @endif target-libgfortran
36409 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
36410 maybe-configure-target-libobjc:
36411 @if gcc-bootstrap
36412 configure-target-libobjc: stage_current
36413 @endif gcc-bootstrap
36414 @if target-libobjc
36415 maybe-configure-target-libobjc: configure-target-libobjc
36416 configure-target-libobjc:
36417 @: $(MAKE); $(unstage)
36418 @r=`${PWD_COMMAND}`; export r; \
36419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36420 echo "Checking multilib configuration for libobjc..."; \
36421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
36423 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36424 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36425 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
36426 else \
36427 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
36428 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36429 fi; \
36430 else \
36431 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36432 fi; \
36433 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
36434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36435 $(NORMAL_TARGET_EXPORTS) \
36436 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
36437 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
36438 case $(srcdir) in \
36439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36440 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
36441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36442 esac; \
36443 srcdiroption="--srcdir=$${topdir}/libobjc"; \
36444 libsrcdir="$$s/libobjc"; \
36445 rm -f no-such-file || : ; \
36446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36448 --target=${target_alias} $${srcdiroption} \
36449 || exit 1
36450 @endif target-libobjc
36456 .PHONY: all-target-libobjc maybe-all-target-libobjc
36457 maybe-all-target-libobjc:
36458 @if gcc-bootstrap
36459 all-target-libobjc: stage_current
36460 @endif gcc-bootstrap
36461 @if target-libobjc
36462 TARGET-target-libobjc=all
36463 maybe-all-target-libobjc: all-target-libobjc
36464 all-target-libobjc: configure-target-libobjc
36465 @: $(MAKE); $(unstage)
36466 @r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(NORMAL_TARGET_EXPORTS) \
36469 (cd $(TARGET_SUBDIR)/libobjc && \
36470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36471 $(TARGET-target-libobjc))
36472 @endif target-libobjc
36478 .PHONY: check-target-libobjc maybe-check-target-libobjc
36479 maybe-check-target-libobjc:
36480 @if target-libobjc
36481 maybe-check-target-libobjc: check-target-libobjc
36483 check-target-libobjc:
36484 @: $(MAKE); $(unstage)
36485 @r=`${PWD_COMMAND}`; export r; \
36486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36487 $(NORMAL_TARGET_EXPORTS) \
36488 (cd $(TARGET_SUBDIR)/libobjc && \
36489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36491 @endif target-libobjc
36493 .PHONY: install-target-libobjc maybe-install-target-libobjc
36494 maybe-install-target-libobjc:
36495 @if target-libobjc
36496 maybe-install-target-libobjc: install-target-libobjc
36498 install-target-libobjc: installdirs
36499 @: $(MAKE); $(unstage)
36500 @r=`${PWD_COMMAND}`; export r; \
36501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36502 $(NORMAL_TARGET_EXPORTS) \
36503 (cd $(TARGET_SUBDIR)/libobjc && \
36504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36506 @endif target-libobjc
36508 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
36509 maybe-install-strip-target-libobjc:
36510 @if target-libobjc
36511 maybe-install-strip-target-libobjc: install-strip-target-libobjc
36513 install-strip-target-libobjc: installdirs
36514 @: $(MAKE); $(unstage)
36515 @r=`${PWD_COMMAND}`; export r; \
36516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36517 $(NORMAL_TARGET_EXPORTS) \
36518 (cd $(TARGET_SUBDIR)/libobjc && \
36519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36521 @endif target-libobjc
36523 # Other targets (info, dvi, pdf, etc.)
36525 .PHONY: maybe-info-target-libobjc info-target-libobjc
36526 maybe-info-target-libobjc:
36527 @if target-libobjc
36528 maybe-info-target-libobjc: info-target-libobjc
36530 info-target-libobjc: \
36531 configure-target-libobjc
36532 @: $(MAKE); $(unstage)
36533 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36534 r=`${PWD_COMMAND}`; export r; \
36535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36536 $(NORMAL_TARGET_EXPORTS) \
36537 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
36538 for flag in $(EXTRA_TARGET_FLAGS); do \
36539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36540 done; \
36541 (cd $(TARGET_SUBDIR)/libobjc && \
36542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36544 "RANLIB=$${RANLIB}" \
36545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36546 info) \
36547 || exit 1
36549 @endif target-libobjc
36551 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
36552 maybe-dvi-target-libobjc:
36553 @if target-libobjc
36554 maybe-dvi-target-libobjc: dvi-target-libobjc
36556 dvi-target-libobjc: \
36557 configure-target-libobjc
36558 @: $(MAKE); $(unstage)
36559 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36560 r=`${PWD_COMMAND}`; export r; \
36561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36562 $(NORMAL_TARGET_EXPORTS) \
36563 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
36564 for flag in $(EXTRA_TARGET_FLAGS); do \
36565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36566 done; \
36567 (cd $(TARGET_SUBDIR)/libobjc && \
36568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36570 "RANLIB=$${RANLIB}" \
36571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36572 dvi) \
36573 || exit 1
36575 @endif target-libobjc
36577 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
36578 maybe-pdf-target-libobjc:
36579 @if target-libobjc
36580 maybe-pdf-target-libobjc: pdf-target-libobjc
36582 pdf-target-libobjc: \
36583 configure-target-libobjc
36584 @: $(MAKE); $(unstage)
36585 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36586 r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(NORMAL_TARGET_EXPORTS) \
36589 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
36590 for flag in $(EXTRA_TARGET_FLAGS); do \
36591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36592 done; \
36593 (cd $(TARGET_SUBDIR)/libobjc && \
36594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36596 "RANLIB=$${RANLIB}" \
36597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36598 pdf) \
36599 || exit 1
36601 @endif target-libobjc
36603 .PHONY: maybe-html-target-libobjc html-target-libobjc
36604 maybe-html-target-libobjc:
36605 @if target-libobjc
36606 maybe-html-target-libobjc: html-target-libobjc
36608 html-target-libobjc: \
36609 configure-target-libobjc
36610 @: $(MAKE); $(unstage)
36611 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36612 r=`${PWD_COMMAND}`; export r; \
36613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36614 $(NORMAL_TARGET_EXPORTS) \
36615 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
36616 for flag in $(EXTRA_TARGET_FLAGS); do \
36617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36618 done; \
36619 (cd $(TARGET_SUBDIR)/libobjc && \
36620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36622 "RANLIB=$${RANLIB}" \
36623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36624 html) \
36625 || exit 1
36627 @endif target-libobjc
36629 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
36630 maybe-TAGS-target-libobjc:
36631 @if target-libobjc
36632 maybe-TAGS-target-libobjc: TAGS-target-libobjc
36634 TAGS-target-libobjc: \
36635 configure-target-libobjc
36636 @: $(MAKE); $(unstage)
36637 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36638 r=`${PWD_COMMAND}`; export r; \
36639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36640 $(NORMAL_TARGET_EXPORTS) \
36641 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
36642 for flag in $(EXTRA_TARGET_FLAGS); do \
36643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36644 done; \
36645 (cd $(TARGET_SUBDIR)/libobjc && \
36646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36648 "RANLIB=$${RANLIB}" \
36649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36650 TAGS) \
36651 || exit 1
36653 @endif target-libobjc
36655 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
36656 maybe-install-info-target-libobjc:
36657 @if target-libobjc
36658 maybe-install-info-target-libobjc: install-info-target-libobjc
36660 install-info-target-libobjc: \
36661 configure-target-libobjc \
36662 info-target-libobjc
36663 @: $(MAKE); $(unstage)
36664 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36665 r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(NORMAL_TARGET_EXPORTS) \
36668 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
36669 for flag in $(EXTRA_TARGET_FLAGS); do \
36670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36671 done; \
36672 (cd $(TARGET_SUBDIR)/libobjc && \
36673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36675 "RANLIB=$${RANLIB}" \
36676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36677 install-info) \
36678 || exit 1
36680 @endif target-libobjc
36682 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
36683 maybe-install-pdf-target-libobjc:
36684 @if target-libobjc
36685 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
36687 install-pdf-target-libobjc: \
36688 configure-target-libobjc \
36689 pdf-target-libobjc
36690 @: $(MAKE); $(unstage)
36691 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36692 r=`${PWD_COMMAND}`; export r; \
36693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36694 $(NORMAL_TARGET_EXPORTS) \
36695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
36696 for flag in $(EXTRA_TARGET_FLAGS); do \
36697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36698 done; \
36699 (cd $(TARGET_SUBDIR)/libobjc && \
36700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36702 "RANLIB=$${RANLIB}" \
36703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36704 install-pdf) \
36705 || exit 1
36707 @endif target-libobjc
36709 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
36710 maybe-install-html-target-libobjc:
36711 @if target-libobjc
36712 maybe-install-html-target-libobjc: install-html-target-libobjc
36714 install-html-target-libobjc: \
36715 configure-target-libobjc \
36716 html-target-libobjc
36717 @: $(MAKE); $(unstage)
36718 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36719 r=`${PWD_COMMAND}`; export r; \
36720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36721 $(NORMAL_TARGET_EXPORTS) \
36722 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
36723 for flag in $(EXTRA_TARGET_FLAGS); do \
36724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36725 done; \
36726 (cd $(TARGET_SUBDIR)/libobjc && \
36727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36729 "RANLIB=$${RANLIB}" \
36730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36731 install-html) \
36732 || exit 1
36734 @endif target-libobjc
36736 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
36737 maybe-installcheck-target-libobjc:
36738 @if target-libobjc
36739 maybe-installcheck-target-libobjc: installcheck-target-libobjc
36741 installcheck-target-libobjc: \
36742 configure-target-libobjc
36743 @: $(MAKE); $(unstage)
36744 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36745 r=`${PWD_COMMAND}`; export r; \
36746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36747 $(NORMAL_TARGET_EXPORTS) \
36748 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
36749 for flag in $(EXTRA_TARGET_FLAGS); do \
36750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36751 done; \
36752 (cd $(TARGET_SUBDIR)/libobjc && \
36753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36755 "RANLIB=$${RANLIB}" \
36756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36757 installcheck) \
36758 || exit 1
36760 @endif target-libobjc
36762 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
36763 maybe-mostlyclean-target-libobjc:
36764 @if target-libobjc
36765 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
36767 mostlyclean-target-libobjc:
36768 @: $(MAKE); $(unstage)
36769 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36770 r=`${PWD_COMMAND}`; export r; \
36771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36772 $(NORMAL_TARGET_EXPORTS) \
36773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
36774 for flag in $(EXTRA_TARGET_FLAGS); do \
36775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36776 done; \
36777 (cd $(TARGET_SUBDIR)/libobjc && \
36778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36780 "RANLIB=$${RANLIB}" \
36781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36782 mostlyclean) \
36783 || exit 1
36785 @endif target-libobjc
36787 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
36788 maybe-clean-target-libobjc:
36789 @if target-libobjc
36790 maybe-clean-target-libobjc: clean-target-libobjc
36792 clean-target-libobjc:
36793 @: $(MAKE); $(unstage)
36794 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36795 r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 $(NORMAL_TARGET_EXPORTS) \
36798 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 clean) \
36808 || exit 1
36810 @endif target-libobjc
36812 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
36813 maybe-distclean-target-libobjc:
36814 @if target-libobjc
36815 maybe-distclean-target-libobjc: distclean-target-libobjc
36817 distclean-target-libobjc:
36818 @: $(MAKE); $(unstage)
36819 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36820 r=`${PWD_COMMAND}`; export r; \
36821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36822 $(NORMAL_TARGET_EXPORTS) \
36823 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
36824 for flag in $(EXTRA_TARGET_FLAGS); do \
36825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36826 done; \
36827 (cd $(TARGET_SUBDIR)/libobjc && \
36828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36830 "RANLIB=$${RANLIB}" \
36831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36832 distclean) \
36833 || exit 1
36835 @endif target-libobjc
36837 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
36838 maybe-maintainer-clean-target-libobjc:
36839 @if target-libobjc
36840 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
36842 maintainer-clean-target-libobjc:
36843 @: $(MAKE); $(unstage)
36844 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36845 r=`${PWD_COMMAND}`; export r; \
36846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36847 $(NORMAL_TARGET_EXPORTS) \
36848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
36849 for flag in $(EXTRA_TARGET_FLAGS); do \
36850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36851 done; \
36852 (cd $(TARGET_SUBDIR)/libobjc && \
36853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36855 "RANLIB=$${RANLIB}" \
36856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36857 maintainer-clean) \
36858 || exit 1
36860 @endif target-libobjc
36866 .PHONY: configure-target-libgo maybe-configure-target-libgo
36867 maybe-configure-target-libgo:
36868 @if gcc-bootstrap
36869 configure-target-libgo: stage_current
36870 @endif gcc-bootstrap
36871 @if target-libgo
36872 maybe-configure-target-libgo: configure-target-libgo
36873 configure-target-libgo:
36874 @: $(MAKE); $(unstage)
36875 @r=`${PWD_COMMAND}`; export r; \
36876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36877 echo "Checking multilib configuration for libgo..."; \
36878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
36880 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
36881 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
36882 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
36883 else \
36884 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
36885 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36886 fi; \
36887 else \
36888 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36889 fi; \
36890 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
36891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36892 $(NORMAL_TARGET_EXPORTS) \
36893 echo Configuring in $(TARGET_SUBDIR)/libgo; \
36894 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
36895 case $(srcdir) in \
36896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36897 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
36898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36899 esac; \
36900 srcdiroption="--srcdir=$${topdir}/libgo"; \
36901 libsrcdir="$$s/libgo"; \
36902 rm -f no-such-file || : ; \
36903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36905 --target=${target_alias} $${srcdiroption} \
36906 || exit 1
36907 @endif target-libgo
36913 .PHONY: all-target-libgo maybe-all-target-libgo
36914 maybe-all-target-libgo:
36915 @if gcc-bootstrap
36916 all-target-libgo: stage_current
36917 @endif gcc-bootstrap
36918 @if target-libgo
36919 TARGET-target-libgo=all
36920 maybe-all-target-libgo: all-target-libgo
36921 all-target-libgo: configure-target-libgo
36922 @: $(MAKE); $(unstage)
36923 @r=`${PWD_COMMAND}`; export r; \
36924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36925 $(NORMAL_TARGET_EXPORTS) \
36926 (cd $(TARGET_SUBDIR)/libgo && \
36927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36928 $(TARGET-target-libgo))
36929 @endif target-libgo
36935 .PHONY: check-target-libgo maybe-check-target-libgo
36936 maybe-check-target-libgo:
36937 @if target-libgo
36938 maybe-check-target-libgo: check-target-libgo
36940 check-target-libgo:
36941 @: $(MAKE); $(unstage)
36942 @r=`${PWD_COMMAND}`; export r; \
36943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36944 $(NORMAL_TARGET_EXPORTS) \
36945 (cd $(TARGET_SUBDIR)/libgo && \
36946 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36948 @endif target-libgo
36950 .PHONY: install-target-libgo maybe-install-target-libgo
36951 maybe-install-target-libgo:
36952 @if target-libgo
36953 maybe-install-target-libgo: install-target-libgo
36955 install-target-libgo: installdirs
36956 @: $(MAKE); $(unstage)
36957 @r=`${PWD_COMMAND}`; export r; \
36958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36959 $(NORMAL_TARGET_EXPORTS) \
36960 (cd $(TARGET_SUBDIR)/libgo && \
36961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36963 @endif target-libgo
36965 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
36966 maybe-install-strip-target-libgo:
36967 @if target-libgo
36968 maybe-install-strip-target-libgo: install-strip-target-libgo
36970 install-strip-target-libgo: installdirs
36971 @: $(MAKE); $(unstage)
36972 @r=`${PWD_COMMAND}`; export r; \
36973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36974 $(NORMAL_TARGET_EXPORTS) \
36975 (cd $(TARGET_SUBDIR)/libgo && \
36976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36978 @endif target-libgo
36980 # Other targets (info, dvi, pdf, etc.)
36982 .PHONY: maybe-info-target-libgo info-target-libgo
36983 maybe-info-target-libgo:
36984 @if target-libgo
36985 maybe-info-target-libgo: info-target-libgo
36987 info-target-libgo: \
36988 configure-target-libgo
36989 @: $(MAKE); $(unstage)
36990 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36991 r=`${PWD_COMMAND}`; export r; \
36992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36993 $(NORMAL_TARGET_EXPORTS) \
36994 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
36995 for flag in $(EXTRA_TARGET_FLAGS); do \
36996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36997 done; \
36998 (cd $(TARGET_SUBDIR)/libgo && \
36999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37001 "RANLIB=$${RANLIB}" \
37002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37003 info) \
37004 || exit 1
37006 @endif target-libgo
37008 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
37009 maybe-dvi-target-libgo:
37010 @if target-libgo
37011 maybe-dvi-target-libgo: dvi-target-libgo
37013 dvi-target-libgo: \
37014 configure-target-libgo
37015 @: $(MAKE); $(unstage)
37016 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37017 r=`${PWD_COMMAND}`; export r; \
37018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37019 $(NORMAL_TARGET_EXPORTS) \
37020 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
37021 for flag in $(EXTRA_TARGET_FLAGS); do \
37022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37023 done; \
37024 (cd $(TARGET_SUBDIR)/libgo && \
37025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37027 "RANLIB=$${RANLIB}" \
37028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37029 dvi) \
37030 || exit 1
37032 @endif target-libgo
37034 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
37035 maybe-pdf-target-libgo:
37036 @if target-libgo
37037 maybe-pdf-target-libgo: pdf-target-libgo
37039 pdf-target-libgo: \
37040 configure-target-libgo
37041 @: $(MAKE); $(unstage)
37042 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37043 r=`${PWD_COMMAND}`; export r; \
37044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37045 $(NORMAL_TARGET_EXPORTS) \
37046 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
37047 for flag in $(EXTRA_TARGET_FLAGS); do \
37048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37049 done; \
37050 (cd $(TARGET_SUBDIR)/libgo && \
37051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37053 "RANLIB=$${RANLIB}" \
37054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37055 pdf) \
37056 || exit 1
37058 @endif target-libgo
37060 .PHONY: maybe-html-target-libgo html-target-libgo
37061 maybe-html-target-libgo:
37062 @if target-libgo
37063 maybe-html-target-libgo: html-target-libgo
37065 html-target-libgo: \
37066 configure-target-libgo
37067 @: $(MAKE); $(unstage)
37068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37069 r=`${PWD_COMMAND}`; export r; \
37070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37071 $(NORMAL_TARGET_EXPORTS) \
37072 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
37073 for flag in $(EXTRA_TARGET_FLAGS); do \
37074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37075 done; \
37076 (cd $(TARGET_SUBDIR)/libgo && \
37077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37079 "RANLIB=$${RANLIB}" \
37080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37081 html) \
37082 || exit 1
37084 @endif target-libgo
37086 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
37087 maybe-TAGS-target-libgo:
37088 @if target-libgo
37089 maybe-TAGS-target-libgo: TAGS-target-libgo
37091 TAGS-target-libgo: \
37092 configure-target-libgo
37093 @: $(MAKE); $(unstage)
37094 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37095 r=`${PWD_COMMAND}`; export r; \
37096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37097 $(NORMAL_TARGET_EXPORTS) \
37098 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
37099 for flag in $(EXTRA_TARGET_FLAGS); do \
37100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37101 done; \
37102 (cd $(TARGET_SUBDIR)/libgo && \
37103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37105 "RANLIB=$${RANLIB}" \
37106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37107 TAGS) \
37108 || exit 1
37110 @endif target-libgo
37112 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
37113 maybe-install-info-target-libgo:
37114 @if target-libgo
37115 maybe-install-info-target-libgo: install-info-target-libgo
37117 install-info-target-libgo: \
37118 configure-target-libgo \
37119 info-target-libgo
37120 @: $(MAKE); $(unstage)
37121 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37122 r=`${PWD_COMMAND}`; export r; \
37123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37124 $(NORMAL_TARGET_EXPORTS) \
37125 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
37126 for flag in $(EXTRA_TARGET_FLAGS); do \
37127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37128 done; \
37129 (cd $(TARGET_SUBDIR)/libgo && \
37130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37132 "RANLIB=$${RANLIB}" \
37133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37134 install-info) \
37135 || exit 1
37137 @endif target-libgo
37139 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
37140 maybe-install-pdf-target-libgo:
37141 @if target-libgo
37142 maybe-install-pdf-target-libgo: install-pdf-target-libgo
37144 install-pdf-target-libgo: \
37145 configure-target-libgo \
37146 pdf-target-libgo
37147 @: $(MAKE); $(unstage)
37148 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37149 r=`${PWD_COMMAND}`; export r; \
37150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37151 $(NORMAL_TARGET_EXPORTS) \
37152 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
37153 for flag in $(EXTRA_TARGET_FLAGS); do \
37154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37155 done; \
37156 (cd $(TARGET_SUBDIR)/libgo && \
37157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37159 "RANLIB=$${RANLIB}" \
37160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37161 install-pdf) \
37162 || exit 1
37164 @endif target-libgo
37166 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
37167 maybe-install-html-target-libgo:
37168 @if target-libgo
37169 maybe-install-html-target-libgo: install-html-target-libgo
37171 install-html-target-libgo: \
37172 configure-target-libgo \
37173 html-target-libgo
37174 @: $(MAKE); $(unstage)
37175 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(NORMAL_TARGET_EXPORTS) \
37179 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
37180 for flag in $(EXTRA_TARGET_FLAGS); do \
37181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37182 done; \
37183 (cd $(TARGET_SUBDIR)/libgo && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37188 install-html) \
37189 || exit 1
37191 @endif target-libgo
37193 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
37194 maybe-installcheck-target-libgo:
37195 @if target-libgo
37196 maybe-installcheck-target-libgo: installcheck-target-libgo
37198 installcheck-target-libgo: \
37199 configure-target-libgo
37200 @: $(MAKE); $(unstage)
37201 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37202 r=`${PWD_COMMAND}`; export r; \
37203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37204 $(NORMAL_TARGET_EXPORTS) \
37205 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
37206 for flag in $(EXTRA_TARGET_FLAGS); do \
37207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37208 done; \
37209 (cd $(TARGET_SUBDIR)/libgo && \
37210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37212 "RANLIB=$${RANLIB}" \
37213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37214 installcheck) \
37215 || exit 1
37217 @endif target-libgo
37219 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
37220 maybe-mostlyclean-target-libgo:
37221 @if target-libgo
37222 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
37224 mostlyclean-target-libgo:
37225 @: $(MAKE); $(unstage)
37226 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37227 r=`${PWD_COMMAND}`; export r; \
37228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37229 $(NORMAL_TARGET_EXPORTS) \
37230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
37231 for flag in $(EXTRA_TARGET_FLAGS); do \
37232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37233 done; \
37234 (cd $(TARGET_SUBDIR)/libgo && \
37235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37237 "RANLIB=$${RANLIB}" \
37238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37239 mostlyclean) \
37240 || exit 1
37242 @endif target-libgo
37244 .PHONY: maybe-clean-target-libgo clean-target-libgo
37245 maybe-clean-target-libgo:
37246 @if target-libgo
37247 maybe-clean-target-libgo: clean-target-libgo
37249 clean-target-libgo:
37250 @: $(MAKE); $(unstage)
37251 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37252 r=`${PWD_COMMAND}`; export r; \
37253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37254 $(NORMAL_TARGET_EXPORTS) \
37255 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
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)/libgo && \
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 clean) \
37265 || exit 1
37267 @endif target-libgo
37269 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
37270 maybe-distclean-target-libgo:
37271 @if target-libgo
37272 maybe-distclean-target-libgo: distclean-target-libgo
37274 distclean-target-libgo:
37275 @: $(MAKE); $(unstage)
37276 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37277 r=`${PWD_COMMAND}`; export r; \
37278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37279 $(NORMAL_TARGET_EXPORTS) \
37280 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
37281 for flag in $(EXTRA_TARGET_FLAGS); do \
37282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37283 done; \
37284 (cd $(TARGET_SUBDIR)/libgo && \
37285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37287 "RANLIB=$${RANLIB}" \
37288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37289 distclean) \
37290 || exit 1
37292 @endif target-libgo
37294 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
37295 maybe-maintainer-clean-target-libgo:
37296 @if target-libgo
37297 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
37299 maintainer-clean-target-libgo:
37300 @: $(MAKE); $(unstage)
37301 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37302 r=`${PWD_COMMAND}`; export r; \
37303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37304 $(NORMAL_TARGET_EXPORTS) \
37305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
37306 for flag in $(EXTRA_TARGET_FLAGS); do \
37307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37308 done; \
37309 (cd $(TARGET_SUBDIR)/libgo && \
37310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37312 "RANLIB=$${RANLIB}" \
37313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37314 maintainer-clean) \
37315 || exit 1
37317 @endif target-libgo
37323 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
37324 maybe-configure-target-libtermcap:
37325 @if gcc-bootstrap
37326 configure-target-libtermcap: stage_current
37327 @endif gcc-bootstrap
37328 @if target-libtermcap
37329 maybe-configure-target-libtermcap: configure-target-libtermcap
37330 configure-target-libtermcap:
37331 @: $(MAKE); $(unstage)
37332 @r=`${PWD_COMMAND}`; export r; \
37333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37334 echo "Checking multilib configuration for libtermcap..."; \
37335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
37337 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37338 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37339 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
37340 else \
37341 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
37342 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37343 fi; \
37344 else \
37345 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37346 fi; \
37347 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
37348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37349 $(NORMAL_TARGET_EXPORTS) \
37350 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
37351 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
37352 case $(srcdir) in \
37353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37354 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
37355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37356 esac; \
37357 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
37358 libsrcdir="$$s/libtermcap"; \
37359 rm -f no-such-file || : ; \
37360 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37361 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37362 --target=${target_alias} $${srcdiroption} \
37363 || exit 1
37364 @endif target-libtermcap
37370 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
37371 maybe-all-target-libtermcap:
37372 @if gcc-bootstrap
37373 all-target-libtermcap: stage_current
37374 @endif gcc-bootstrap
37375 @if target-libtermcap
37376 TARGET-target-libtermcap=all
37377 maybe-all-target-libtermcap: all-target-libtermcap
37378 all-target-libtermcap: configure-target-libtermcap
37379 @: $(MAKE); $(unstage)
37380 @r=`${PWD_COMMAND}`; export r; \
37381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37382 $(NORMAL_TARGET_EXPORTS) \
37383 (cd $(TARGET_SUBDIR)/libtermcap && \
37384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37385 $(TARGET-target-libtermcap))
37386 @endif target-libtermcap
37392 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
37393 maybe-check-target-libtermcap:
37394 @if target-libtermcap
37395 maybe-check-target-libtermcap: check-target-libtermcap
37397 # Dummy target for uncheckable module.
37398 check-target-libtermcap:
37400 @endif target-libtermcap
37402 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
37403 maybe-install-target-libtermcap:
37404 @if target-libtermcap
37405 maybe-install-target-libtermcap: install-target-libtermcap
37407 install-target-libtermcap: installdirs
37408 @: $(MAKE); $(unstage)
37409 @r=`${PWD_COMMAND}`; export r; \
37410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37411 $(NORMAL_TARGET_EXPORTS) \
37412 (cd $(TARGET_SUBDIR)/libtermcap && \
37413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37415 @endif target-libtermcap
37417 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
37418 maybe-install-strip-target-libtermcap:
37419 @if target-libtermcap
37420 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
37422 install-strip-target-libtermcap: installdirs
37423 @: $(MAKE); $(unstage)
37424 @r=`${PWD_COMMAND}`; export r; \
37425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37426 $(NORMAL_TARGET_EXPORTS) \
37427 (cd $(TARGET_SUBDIR)/libtermcap && \
37428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37430 @endif target-libtermcap
37432 # Other targets (info, dvi, pdf, etc.)
37434 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
37435 maybe-info-target-libtermcap:
37436 @if target-libtermcap
37437 maybe-info-target-libtermcap: info-target-libtermcap
37439 info-target-libtermcap: \
37440 configure-target-libtermcap
37441 @: $(MAKE); $(unstage)
37442 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37443 r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 $(NORMAL_TARGET_EXPORTS) \
37446 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
37447 for flag in $(EXTRA_TARGET_FLAGS); do \
37448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37449 done; \
37450 (cd $(TARGET_SUBDIR)/libtermcap && \
37451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37453 "RANLIB=$${RANLIB}" \
37454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37455 info) \
37456 || exit 1
37458 @endif target-libtermcap
37460 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
37461 maybe-dvi-target-libtermcap:
37462 @if target-libtermcap
37463 maybe-dvi-target-libtermcap: dvi-target-libtermcap
37465 dvi-target-libtermcap: \
37466 configure-target-libtermcap
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(NORMAL_TARGET_EXPORTS) \
37472 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37475 done; \
37476 (cd $(TARGET_SUBDIR)/libtermcap && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37481 dvi) \
37482 || exit 1
37484 @endif target-libtermcap
37486 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
37487 maybe-pdf-target-libtermcap:
37488 @if target-libtermcap
37489 maybe-pdf-target-libtermcap: pdf-target-libtermcap
37491 pdf-target-libtermcap: \
37492 configure-target-libtermcap
37493 @: $(MAKE); $(unstage)
37494 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37495 r=`${PWD_COMMAND}`; export r; \
37496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37499 for flag in $(EXTRA_TARGET_FLAGS); do \
37500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37501 done; \
37502 (cd $(TARGET_SUBDIR)/libtermcap && \
37503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37505 "RANLIB=$${RANLIB}" \
37506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37507 pdf) \
37508 || exit 1
37510 @endif target-libtermcap
37512 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
37513 maybe-html-target-libtermcap:
37514 @if target-libtermcap
37515 maybe-html-target-libtermcap: html-target-libtermcap
37517 html-target-libtermcap: \
37518 configure-target-libtermcap
37519 @: $(MAKE); $(unstage)
37520 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37521 r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 $(NORMAL_TARGET_EXPORTS) \
37524 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
37525 for flag in $(EXTRA_TARGET_FLAGS); do \
37526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37527 done; \
37528 (cd $(TARGET_SUBDIR)/libtermcap && \
37529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37531 "RANLIB=$${RANLIB}" \
37532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37533 html) \
37534 || exit 1
37536 @endif target-libtermcap
37538 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
37539 maybe-TAGS-target-libtermcap:
37540 @if target-libtermcap
37541 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
37543 TAGS-target-libtermcap: \
37544 configure-target-libtermcap
37545 @: $(MAKE); $(unstage)
37546 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37547 r=`${PWD_COMMAND}`; export r; \
37548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37549 $(NORMAL_TARGET_EXPORTS) \
37550 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
37551 for flag in $(EXTRA_TARGET_FLAGS); do \
37552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37553 done; \
37554 (cd $(TARGET_SUBDIR)/libtermcap && \
37555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37557 "RANLIB=$${RANLIB}" \
37558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37559 TAGS) \
37560 || exit 1
37562 @endif target-libtermcap
37564 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
37565 maybe-install-info-target-libtermcap:
37566 @if target-libtermcap
37567 maybe-install-info-target-libtermcap: install-info-target-libtermcap
37569 install-info-target-libtermcap: \
37570 configure-target-libtermcap \
37571 info-target-libtermcap
37572 @: $(MAKE); $(unstage)
37573 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37574 r=`${PWD_COMMAND}`; export r; \
37575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37576 $(NORMAL_TARGET_EXPORTS) \
37577 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
37578 for flag in $(EXTRA_TARGET_FLAGS); do \
37579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37580 done; \
37581 (cd $(TARGET_SUBDIR)/libtermcap && \
37582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37584 "RANLIB=$${RANLIB}" \
37585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37586 install-info) \
37587 || exit 1
37589 @endif target-libtermcap
37591 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
37592 maybe-install-pdf-target-libtermcap:
37593 @if target-libtermcap
37594 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
37596 install-pdf-target-libtermcap: \
37597 configure-target-libtermcap \
37598 pdf-target-libtermcap
37599 @: $(MAKE); $(unstage)
37600 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37601 r=`${PWD_COMMAND}`; export r; \
37602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37603 $(NORMAL_TARGET_EXPORTS) \
37604 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37605 for flag in $(EXTRA_TARGET_FLAGS); do \
37606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37607 done; \
37608 (cd $(TARGET_SUBDIR)/libtermcap && \
37609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37611 "RANLIB=$${RANLIB}" \
37612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37613 install-pdf) \
37614 || exit 1
37616 @endif target-libtermcap
37618 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
37619 maybe-install-html-target-libtermcap:
37620 @if target-libtermcap
37621 maybe-install-html-target-libtermcap: install-html-target-libtermcap
37623 install-html-target-libtermcap: \
37624 configure-target-libtermcap \
37625 html-target-libtermcap
37626 @: $(MAKE); $(unstage)
37627 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37628 r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 install-html) \
37641 || exit 1
37643 @endif target-libtermcap
37645 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
37646 maybe-installcheck-target-libtermcap:
37647 @if target-libtermcap
37648 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
37650 installcheck-target-libtermcap: \
37651 configure-target-libtermcap
37652 @: $(MAKE); $(unstage)
37653 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37654 r=`${PWD_COMMAND}`; export r; \
37655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37656 $(NORMAL_TARGET_EXPORTS) \
37657 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
37658 for flag in $(EXTRA_TARGET_FLAGS); do \
37659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37660 done; \
37661 (cd $(TARGET_SUBDIR)/libtermcap && \
37662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37664 "RANLIB=$${RANLIB}" \
37665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37666 installcheck) \
37667 || exit 1
37669 @endif target-libtermcap
37671 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
37672 maybe-mostlyclean-target-libtermcap:
37673 @if target-libtermcap
37674 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
37676 # libtermcap doesn't support mostlyclean.
37677 mostlyclean-target-libtermcap:
37679 @endif target-libtermcap
37681 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
37682 maybe-clean-target-libtermcap:
37683 @if target-libtermcap
37684 maybe-clean-target-libtermcap: clean-target-libtermcap
37686 # libtermcap doesn't support clean.
37687 clean-target-libtermcap:
37689 @endif target-libtermcap
37691 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
37692 maybe-distclean-target-libtermcap:
37693 @if target-libtermcap
37694 maybe-distclean-target-libtermcap: distclean-target-libtermcap
37696 # libtermcap doesn't support distclean.
37697 distclean-target-libtermcap:
37699 @endif target-libtermcap
37701 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
37702 maybe-maintainer-clean-target-libtermcap:
37703 @if target-libtermcap
37704 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
37706 # libtermcap doesn't support maintainer-clean.
37707 maintainer-clean-target-libtermcap:
37709 @endif target-libtermcap
37715 .PHONY: configure-target-winsup maybe-configure-target-winsup
37716 maybe-configure-target-winsup:
37717 @if gcc-bootstrap
37718 configure-target-winsup: stage_current
37719 @endif gcc-bootstrap
37720 @if target-winsup
37721 maybe-configure-target-winsup: configure-target-winsup
37722 configure-target-winsup:
37723 @: $(MAKE); $(unstage)
37724 @r=`${PWD_COMMAND}`; export r; \
37725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37726 echo "Checking multilib configuration for winsup..."; \
37727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
37729 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
37730 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
37731 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
37732 else \
37733 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
37734 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37735 fi; \
37736 else \
37737 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37738 fi; \
37739 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
37740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37741 $(NORMAL_TARGET_EXPORTS) \
37742 echo Configuring in $(TARGET_SUBDIR)/winsup; \
37743 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
37744 case $(srcdir) in \
37745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37746 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
37747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37748 esac; \
37749 srcdiroption="--srcdir=$${topdir}/winsup"; \
37750 libsrcdir="$$s/winsup"; \
37751 rm -f no-such-file || : ; \
37752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37753 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37754 --target=${target_alias} $${srcdiroption} \
37755 || exit 1
37756 @endif target-winsup
37762 .PHONY: all-target-winsup maybe-all-target-winsup
37763 maybe-all-target-winsup:
37764 @if gcc-bootstrap
37765 all-target-winsup: stage_current
37766 @endif gcc-bootstrap
37767 @if target-winsup
37768 TARGET-target-winsup=all
37769 maybe-all-target-winsup: all-target-winsup
37770 all-target-winsup: configure-target-winsup
37771 @: $(MAKE); $(unstage)
37772 @r=`${PWD_COMMAND}`; export r; \
37773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37774 $(NORMAL_TARGET_EXPORTS) \
37775 (cd $(TARGET_SUBDIR)/winsup && \
37776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37777 $(TARGET-target-winsup))
37778 @endif target-winsup
37784 .PHONY: check-target-winsup maybe-check-target-winsup
37785 maybe-check-target-winsup:
37786 @if target-winsup
37787 maybe-check-target-winsup: check-target-winsup
37789 check-target-winsup:
37790 @: $(MAKE); $(unstage)
37791 @r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 (cd $(TARGET_SUBDIR)/winsup && \
37795 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37797 @endif target-winsup
37799 .PHONY: install-target-winsup maybe-install-target-winsup
37800 maybe-install-target-winsup:
37801 @if target-winsup
37802 maybe-install-target-winsup: install-target-winsup
37804 install-target-winsup: installdirs
37805 @: $(MAKE); $(unstage)
37806 @r=`${PWD_COMMAND}`; export r; \
37807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37808 $(NORMAL_TARGET_EXPORTS) \
37809 (cd $(TARGET_SUBDIR)/winsup && \
37810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37812 @endif target-winsup
37814 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
37815 maybe-install-strip-target-winsup:
37816 @if target-winsup
37817 maybe-install-strip-target-winsup: install-strip-target-winsup
37819 install-strip-target-winsup: installdirs
37820 @: $(MAKE); $(unstage)
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 $(NORMAL_TARGET_EXPORTS) \
37824 (cd $(TARGET_SUBDIR)/winsup && \
37825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37827 @endif target-winsup
37829 # Other targets (info, dvi, pdf, etc.)
37831 .PHONY: maybe-info-target-winsup info-target-winsup
37832 maybe-info-target-winsup:
37833 @if target-winsup
37834 maybe-info-target-winsup: info-target-winsup
37836 info-target-winsup: \
37837 configure-target-winsup
37838 @: $(MAKE); $(unstage)
37839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37840 r=`${PWD_COMMAND}`; export r; \
37841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37842 $(NORMAL_TARGET_EXPORTS) \
37843 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
37844 for flag in $(EXTRA_TARGET_FLAGS); do \
37845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37846 done; \
37847 (cd $(TARGET_SUBDIR)/winsup && \
37848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37850 "RANLIB=$${RANLIB}" \
37851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37852 info) \
37853 || exit 1
37855 @endif target-winsup
37857 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
37858 maybe-dvi-target-winsup:
37859 @if target-winsup
37860 maybe-dvi-target-winsup: dvi-target-winsup
37862 dvi-target-winsup: \
37863 configure-target-winsup
37864 @: $(MAKE); $(unstage)
37865 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37866 r=`${PWD_COMMAND}`; export r; \
37867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37868 $(NORMAL_TARGET_EXPORTS) \
37869 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
37870 for flag in $(EXTRA_TARGET_FLAGS); do \
37871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37872 done; \
37873 (cd $(TARGET_SUBDIR)/winsup && \
37874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37876 "RANLIB=$${RANLIB}" \
37877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37878 dvi) \
37879 || exit 1
37881 @endif target-winsup
37883 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
37884 maybe-pdf-target-winsup:
37885 @if target-winsup
37886 maybe-pdf-target-winsup: pdf-target-winsup
37888 pdf-target-winsup: \
37889 configure-target-winsup
37890 @: $(MAKE); $(unstage)
37891 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37892 r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(NORMAL_TARGET_EXPORTS) \
37895 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
37896 for flag in $(EXTRA_TARGET_FLAGS); do \
37897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37898 done; \
37899 (cd $(TARGET_SUBDIR)/winsup && \
37900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37902 "RANLIB=$${RANLIB}" \
37903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37904 pdf) \
37905 || exit 1
37907 @endif target-winsup
37909 .PHONY: maybe-html-target-winsup html-target-winsup
37910 maybe-html-target-winsup:
37911 @if target-winsup
37912 maybe-html-target-winsup: html-target-winsup
37914 html-target-winsup: \
37915 configure-target-winsup
37916 @: $(MAKE); $(unstage)
37917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37918 r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(NORMAL_TARGET_EXPORTS) \
37921 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
37922 for flag in $(EXTRA_TARGET_FLAGS); do \
37923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37924 done; \
37925 (cd $(TARGET_SUBDIR)/winsup && \
37926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37928 "RANLIB=$${RANLIB}" \
37929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37930 html) \
37931 || exit 1
37933 @endif target-winsup
37935 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
37936 maybe-TAGS-target-winsup:
37937 @if target-winsup
37938 maybe-TAGS-target-winsup: TAGS-target-winsup
37940 TAGS-target-winsup: \
37941 configure-target-winsup
37942 @: $(MAKE); $(unstage)
37943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37944 r=`${PWD_COMMAND}`; export r; \
37945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37946 $(NORMAL_TARGET_EXPORTS) \
37947 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
37948 for flag in $(EXTRA_TARGET_FLAGS); do \
37949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37950 done; \
37951 (cd $(TARGET_SUBDIR)/winsup && \
37952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37954 "RANLIB=$${RANLIB}" \
37955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37956 TAGS) \
37957 || exit 1
37959 @endif target-winsup
37961 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
37962 maybe-install-info-target-winsup:
37963 @if target-winsup
37964 maybe-install-info-target-winsup: install-info-target-winsup
37966 install-info-target-winsup: \
37967 configure-target-winsup \
37968 info-target-winsup
37969 @: $(MAKE); $(unstage)
37970 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37971 r=`${PWD_COMMAND}`; export r; \
37972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37973 $(NORMAL_TARGET_EXPORTS) \
37974 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
37975 for flag in $(EXTRA_TARGET_FLAGS); do \
37976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37977 done; \
37978 (cd $(TARGET_SUBDIR)/winsup && \
37979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37981 "RANLIB=$${RANLIB}" \
37982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37983 install-info) \
37984 || exit 1
37986 @endif target-winsup
37988 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
37989 maybe-install-pdf-target-winsup:
37990 @if target-winsup
37991 maybe-install-pdf-target-winsup: install-pdf-target-winsup
37993 install-pdf-target-winsup: \
37994 configure-target-winsup \
37995 pdf-target-winsup
37996 @: $(MAKE); $(unstage)
37997 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37998 r=`${PWD_COMMAND}`; export r; \
37999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38000 $(NORMAL_TARGET_EXPORTS) \
38001 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
38002 for flag in $(EXTRA_TARGET_FLAGS); do \
38003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38004 done; \
38005 (cd $(TARGET_SUBDIR)/winsup && \
38006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38008 "RANLIB=$${RANLIB}" \
38009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38010 install-pdf) \
38011 || exit 1
38013 @endif target-winsup
38015 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
38016 maybe-install-html-target-winsup:
38017 @if target-winsup
38018 maybe-install-html-target-winsup: install-html-target-winsup
38020 install-html-target-winsup: \
38021 configure-target-winsup \
38022 html-target-winsup
38023 @: $(MAKE); $(unstage)
38024 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38025 r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
38029 for flag in $(EXTRA_TARGET_FLAGS); do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38031 done; \
38032 (cd $(TARGET_SUBDIR)/winsup && \
38033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38035 "RANLIB=$${RANLIB}" \
38036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38037 install-html) \
38038 || exit 1
38040 @endif target-winsup
38042 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
38043 maybe-installcheck-target-winsup:
38044 @if target-winsup
38045 maybe-installcheck-target-winsup: installcheck-target-winsup
38047 installcheck-target-winsup: \
38048 configure-target-winsup
38049 @: $(MAKE); $(unstage)
38050 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38051 r=`${PWD_COMMAND}`; export r; \
38052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38053 $(NORMAL_TARGET_EXPORTS) \
38054 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
38055 for flag in $(EXTRA_TARGET_FLAGS); do \
38056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38057 done; \
38058 (cd $(TARGET_SUBDIR)/winsup && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38061 "RANLIB=$${RANLIB}" \
38062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38063 installcheck) \
38064 || exit 1
38066 @endif target-winsup
38068 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
38069 maybe-mostlyclean-target-winsup:
38070 @if target-winsup
38071 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
38073 mostlyclean-target-winsup:
38074 @: $(MAKE); $(unstage)
38075 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38076 r=`${PWD_COMMAND}`; export r; \
38077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38078 $(NORMAL_TARGET_EXPORTS) \
38079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
38080 for flag in $(EXTRA_TARGET_FLAGS); do \
38081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38082 done; \
38083 (cd $(TARGET_SUBDIR)/winsup && \
38084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38086 "RANLIB=$${RANLIB}" \
38087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38088 mostlyclean) \
38089 || exit 1
38091 @endif target-winsup
38093 .PHONY: maybe-clean-target-winsup clean-target-winsup
38094 maybe-clean-target-winsup:
38095 @if target-winsup
38096 maybe-clean-target-winsup: clean-target-winsup
38098 clean-target-winsup:
38099 @: $(MAKE); $(unstage)
38100 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38101 r=`${PWD_COMMAND}`; export r; \
38102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38103 $(NORMAL_TARGET_EXPORTS) \
38104 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
38105 for flag in $(EXTRA_TARGET_FLAGS); do \
38106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38107 done; \
38108 (cd $(TARGET_SUBDIR)/winsup && \
38109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38111 "RANLIB=$${RANLIB}" \
38112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38113 clean) \
38114 || exit 1
38116 @endif target-winsup
38118 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
38119 maybe-distclean-target-winsup:
38120 @if target-winsup
38121 maybe-distclean-target-winsup: distclean-target-winsup
38123 distclean-target-winsup:
38124 @: $(MAKE); $(unstage)
38125 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38126 r=`${PWD_COMMAND}`; export r; \
38127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38128 $(NORMAL_TARGET_EXPORTS) \
38129 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
38130 for flag in $(EXTRA_TARGET_FLAGS); do \
38131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38132 done; \
38133 (cd $(TARGET_SUBDIR)/winsup && \
38134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38136 "RANLIB=$${RANLIB}" \
38137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38138 distclean) \
38139 || exit 1
38141 @endif target-winsup
38143 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
38144 maybe-maintainer-clean-target-winsup:
38145 @if target-winsup
38146 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
38148 maintainer-clean-target-winsup:
38149 @: $(MAKE); $(unstage)
38150 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38151 r=`${PWD_COMMAND}`; export r; \
38152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38153 $(NORMAL_TARGET_EXPORTS) \
38154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
38155 for flag in $(EXTRA_TARGET_FLAGS); do \
38156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38157 done; \
38158 (cd $(TARGET_SUBDIR)/winsup && \
38159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38161 "RANLIB=$${RANLIB}" \
38162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38163 maintainer-clean) \
38164 || exit 1
38166 @endif target-winsup
38172 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
38173 maybe-configure-target-libgloss:
38174 @if gcc-bootstrap
38175 configure-target-libgloss: stage_current
38176 @endif gcc-bootstrap
38177 @if target-libgloss
38178 maybe-configure-target-libgloss: configure-target-libgloss
38179 configure-target-libgloss:
38180 @: $(MAKE); $(unstage)
38181 @r=`${PWD_COMMAND}`; export r; \
38182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38183 echo "Checking multilib configuration for libgloss..."; \
38184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
38186 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38187 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38188 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
38189 else \
38190 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
38191 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38192 fi; \
38193 else \
38194 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38195 fi; \
38196 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
38197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38198 $(NORMAL_TARGET_EXPORTS) \
38199 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
38200 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
38201 case $(srcdir) in \
38202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38203 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
38204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38205 esac; \
38206 srcdiroption="--srcdir=$${topdir}/libgloss"; \
38207 libsrcdir="$$s/libgloss"; \
38208 rm -f no-such-file || : ; \
38209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38210 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38211 --target=${target_alias} $${srcdiroption} \
38212 || exit 1
38213 @endif target-libgloss
38219 .PHONY: all-target-libgloss maybe-all-target-libgloss
38220 maybe-all-target-libgloss:
38221 @if gcc-bootstrap
38222 all-target-libgloss: stage_current
38223 @endif gcc-bootstrap
38224 @if target-libgloss
38225 TARGET-target-libgloss=all
38226 maybe-all-target-libgloss: all-target-libgloss
38227 all-target-libgloss: configure-target-libgloss
38228 @: $(MAKE); $(unstage)
38229 @r=`${PWD_COMMAND}`; export r; \
38230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38231 $(NORMAL_TARGET_EXPORTS) \
38232 (cd $(TARGET_SUBDIR)/libgloss && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38234 $(TARGET-target-libgloss))
38235 @endif target-libgloss
38241 .PHONY: check-target-libgloss maybe-check-target-libgloss
38242 maybe-check-target-libgloss:
38243 @if target-libgloss
38244 maybe-check-target-libgloss: check-target-libgloss
38246 # Dummy target for uncheckable module.
38247 check-target-libgloss:
38249 @endif target-libgloss
38251 .PHONY: install-target-libgloss maybe-install-target-libgloss
38252 maybe-install-target-libgloss:
38253 @if target-libgloss
38254 maybe-install-target-libgloss: install-target-libgloss
38256 install-target-libgloss: installdirs
38257 @: $(MAKE); $(unstage)
38258 @r=`${PWD_COMMAND}`; export r; \
38259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38260 $(NORMAL_TARGET_EXPORTS) \
38261 (cd $(TARGET_SUBDIR)/libgloss && \
38262 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38264 @endif target-libgloss
38266 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
38267 maybe-install-strip-target-libgloss:
38268 @if target-libgloss
38269 maybe-install-strip-target-libgloss: install-strip-target-libgloss
38271 install-strip-target-libgloss: installdirs
38272 @: $(MAKE); $(unstage)
38273 @r=`${PWD_COMMAND}`; export r; \
38274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38275 $(NORMAL_TARGET_EXPORTS) \
38276 (cd $(TARGET_SUBDIR)/libgloss && \
38277 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38279 @endif target-libgloss
38281 # Other targets (info, dvi, pdf, etc.)
38283 .PHONY: maybe-info-target-libgloss info-target-libgloss
38284 maybe-info-target-libgloss:
38285 @if target-libgloss
38286 maybe-info-target-libgloss: info-target-libgloss
38288 info-target-libgloss: \
38289 configure-target-libgloss
38290 @: $(MAKE); $(unstage)
38291 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38292 r=`${PWD_COMMAND}`; export r; \
38293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38294 $(NORMAL_TARGET_EXPORTS) \
38295 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
38296 for flag in $(EXTRA_TARGET_FLAGS); do \
38297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38298 done; \
38299 (cd $(TARGET_SUBDIR)/libgloss && \
38300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38302 "RANLIB=$${RANLIB}" \
38303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38304 info) \
38305 || exit 1
38307 @endif target-libgloss
38309 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
38310 maybe-dvi-target-libgloss:
38311 @if target-libgloss
38312 maybe-dvi-target-libgloss: dvi-target-libgloss
38314 dvi-target-libgloss: \
38315 configure-target-libgloss
38316 @: $(MAKE); $(unstage)
38317 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38318 r=`${PWD_COMMAND}`; export r; \
38319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38320 $(NORMAL_TARGET_EXPORTS) \
38321 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
38322 for flag in $(EXTRA_TARGET_FLAGS); do \
38323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38324 done; \
38325 (cd $(TARGET_SUBDIR)/libgloss && \
38326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38328 "RANLIB=$${RANLIB}" \
38329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38330 dvi) \
38331 || exit 1
38333 @endif target-libgloss
38335 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
38336 maybe-pdf-target-libgloss:
38337 @if target-libgloss
38338 maybe-pdf-target-libgloss: pdf-target-libgloss
38340 pdf-target-libgloss: \
38341 configure-target-libgloss
38342 @: $(MAKE); $(unstage)
38343 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38344 r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(NORMAL_TARGET_EXPORTS) \
38347 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
38348 for flag in $(EXTRA_TARGET_FLAGS); do \
38349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38350 done; \
38351 (cd $(TARGET_SUBDIR)/libgloss && \
38352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38354 "RANLIB=$${RANLIB}" \
38355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38356 pdf) \
38357 || exit 1
38359 @endif target-libgloss
38361 .PHONY: maybe-html-target-libgloss html-target-libgloss
38362 maybe-html-target-libgloss:
38363 @if target-libgloss
38364 maybe-html-target-libgloss: html-target-libgloss
38366 html-target-libgloss: \
38367 configure-target-libgloss
38368 @: $(MAKE); $(unstage)
38369 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38370 r=`${PWD_COMMAND}`; export r; \
38371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38372 $(NORMAL_TARGET_EXPORTS) \
38373 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
38374 for flag in $(EXTRA_TARGET_FLAGS); do \
38375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38376 done; \
38377 (cd $(TARGET_SUBDIR)/libgloss && \
38378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38380 "RANLIB=$${RANLIB}" \
38381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38382 html) \
38383 || exit 1
38385 @endif target-libgloss
38387 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
38388 maybe-TAGS-target-libgloss:
38389 @if target-libgloss
38390 maybe-TAGS-target-libgloss: TAGS-target-libgloss
38392 TAGS-target-libgloss: \
38393 configure-target-libgloss
38394 @: $(MAKE); $(unstage)
38395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38396 r=`${PWD_COMMAND}`; export r; \
38397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38398 $(NORMAL_TARGET_EXPORTS) \
38399 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
38400 for flag in $(EXTRA_TARGET_FLAGS); do \
38401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38402 done; \
38403 (cd $(TARGET_SUBDIR)/libgloss && \
38404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38406 "RANLIB=$${RANLIB}" \
38407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38408 TAGS) \
38409 || exit 1
38411 @endif target-libgloss
38413 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
38414 maybe-install-info-target-libgloss:
38415 @if target-libgloss
38416 maybe-install-info-target-libgloss: install-info-target-libgloss
38418 install-info-target-libgloss: \
38419 configure-target-libgloss \
38420 info-target-libgloss
38421 @: $(MAKE); $(unstage)
38422 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38423 r=`${PWD_COMMAND}`; export r; \
38424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38425 $(NORMAL_TARGET_EXPORTS) \
38426 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
38427 for flag in $(EXTRA_TARGET_FLAGS); do \
38428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38429 done; \
38430 (cd $(TARGET_SUBDIR)/libgloss && \
38431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38433 "RANLIB=$${RANLIB}" \
38434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38435 install-info) \
38436 || exit 1
38438 @endif target-libgloss
38440 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
38441 maybe-install-pdf-target-libgloss:
38442 @if target-libgloss
38443 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
38445 install-pdf-target-libgloss: \
38446 configure-target-libgloss \
38447 pdf-target-libgloss
38448 @: $(MAKE); $(unstage)
38449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38450 r=`${PWD_COMMAND}`; export r; \
38451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38452 $(NORMAL_TARGET_EXPORTS) \
38453 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
38454 for flag in $(EXTRA_TARGET_FLAGS); do \
38455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38456 done; \
38457 (cd $(TARGET_SUBDIR)/libgloss && \
38458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38460 "RANLIB=$${RANLIB}" \
38461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38462 install-pdf) \
38463 || exit 1
38465 @endif target-libgloss
38467 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
38468 maybe-install-html-target-libgloss:
38469 @if target-libgloss
38470 maybe-install-html-target-libgloss: install-html-target-libgloss
38472 install-html-target-libgloss: \
38473 configure-target-libgloss \
38474 html-target-libgloss
38475 @: $(MAKE); $(unstage)
38476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38477 r=`${PWD_COMMAND}`; export r; \
38478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38479 $(NORMAL_TARGET_EXPORTS) \
38480 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 install-html) \
38490 || exit 1
38492 @endif target-libgloss
38494 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
38495 maybe-installcheck-target-libgloss:
38496 @if target-libgloss
38497 maybe-installcheck-target-libgloss: installcheck-target-libgloss
38499 installcheck-target-libgloss: \
38500 configure-target-libgloss
38501 @: $(MAKE); $(unstage)
38502 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38503 r=`${PWD_COMMAND}`; export r; \
38504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38505 $(NORMAL_TARGET_EXPORTS) \
38506 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
38507 for flag in $(EXTRA_TARGET_FLAGS); do \
38508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38509 done; \
38510 (cd $(TARGET_SUBDIR)/libgloss && \
38511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38513 "RANLIB=$${RANLIB}" \
38514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38515 installcheck) \
38516 || exit 1
38518 @endif target-libgloss
38520 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
38521 maybe-mostlyclean-target-libgloss:
38522 @if target-libgloss
38523 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
38525 mostlyclean-target-libgloss:
38526 @: $(MAKE); $(unstage)
38527 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38528 r=`${PWD_COMMAND}`; export r; \
38529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38530 $(NORMAL_TARGET_EXPORTS) \
38531 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
38532 for flag in $(EXTRA_TARGET_FLAGS); do \
38533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38534 done; \
38535 (cd $(TARGET_SUBDIR)/libgloss && \
38536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38538 "RANLIB=$${RANLIB}" \
38539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38540 mostlyclean) \
38541 || exit 1
38543 @endif target-libgloss
38545 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
38546 maybe-clean-target-libgloss:
38547 @if target-libgloss
38548 maybe-clean-target-libgloss: clean-target-libgloss
38550 clean-target-libgloss:
38551 @: $(MAKE); $(unstage)
38552 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38553 r=`${PWD_COMMAND}`; export r; \
38554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38555 $(NORMAL_TARGET_EXPORTS) \
38556 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
38557 for flag in $(EXTRA_TARGET_FLAGS); do \
38558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38559 done; \
38560 (cd $(TARGET_SUBDIR)/libgloss && \
38561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38563 "RANLIB=$${RANLIB}" \
38564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38565 clean) \
38566 || exit 1
38568 @endif target-libgloss
38570 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
38571 maybe-distclean-target-libgloss:
38572 @if target-libgloss
38573 maybe-distclean-target-libgloss: distclean-target-libgloss
38575 distclean-target-libgloss:
38576 @: $(MAKE); $(unstage)
38577 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38578 r=`${PWD_COMMAND}`; export r; \
38579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38580 $(NORMAL_TARGET_EXPORTS) \
38581 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
38582 for flag in $(EXTRA_TARGET_FLAGS); do \
38583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38584 done; \
38585 (cd $(TARGET_SUBDIR)/libgloss && \
38586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38588 "RANLIB=$${RANLIB}" \
38589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38590 distclean) \
38591 || exit 1
38593 @endif target-libgloss
38595 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
38596 maybe-maintainer-clean-target-libgloss:
38597 @if target-libgloss
38598 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
38600 maintainer-clean-target-libgloss:
38601 @: $(MAKE); $(unstage)
38602 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38603 r=`${PWD_COMMAND}`; export r; \
38604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38605 $(NORMAL_TARGET_EXPORTS) \
38606 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
38607 for flag in $(EXTRA_TARGET_FLAGS); do \
38608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38609 done; \
38610 (cd $(TARGET_SUBDIR)/libgloss && \
38611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38613 "RANLIB=$${RANLIB}" \
38614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38615 maintainer-clean) \
38616 || exit 1
38618 @endif target-libgloss
38624 .PHONY: configure-target-libffi maybe-configure-target-libffi
38625 maybe-configure-target-libffi:
38626 @if gcc-bootstrap
38627 configure-target-libffi: stage_current
38628 @endif gcc-bootstrap
38629 @if target-libffi
38630 maybe-configure-target-libffi: configure-target-libffi
38631 configure-target-libffi:
38632 @: $(MAKE); $(unstage)
38633 @r=`${PWD_COMMAND}`; export r; \
38634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38635 echo "Checking multilib configuration for libffi..."; \
38636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38637 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38638 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38639 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38640 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38641 else \
38642 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38643 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38644 fi; \
38645 else \
38646 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38647 fi; \
38648 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38649 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38650 $(NORMAL_TARGET_EXPORTS) \
38651 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38652 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38653 case $(srcdir) in \
38654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38655 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38657 esac; \
38658 srcdiroption="--srcdir=$${topdir}/libffi"; \
38659 libsrcdir="$$s/libffi"; \
38660 rm -f no-such-file || : ; \
38661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38663 --target=${target_alias} $${srcdiroption} \
38664 || exit 1
38665 @endif target-libffi
38671 .PHONY: all-target-libffi maybe-all-target-libffi
38672 maybe-all-target-libffi:
38673 @if gcc-bootstrap
38674 all-target-libffi: stage_current
38675 @endif gcc-bootstrap
38676 @if target-libffi
38677 TARGET-target-libffi=all
38678 maybe-all-target-libffi: all-target-libffi
38679 all-target-libffi: configure-target-libffi
38680 @: $(MAKE); $(unstage)
38681 @r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 $(NORMAL_TARGET_EXPORTS) \
38684 (cd $(TARGET_SUBDIR)/libffi && \
38685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38686 $(TARGET-target-libffi))
38687 @endif target-libffi
38693 .PHONY: check-target-libffi maybe-check-target-libffi
38694 maybe-check-target-libffi:
38695 @if target-libffi
38696 maybe-check-target-libffi: check-target-libffi
38698 check-target-libffi:
38699 @: $(MAKE); $(unstage)
38700 @r=`${PWD_COMMAND}`; export r; \
38701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38702 $(NORMAL_TARGET_EXPORTS) \
38703 (cd $(TARGET_SUBDIR)/libffi && \
38704 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38706 @endif target-libffi
38708 .PHONY: install-target-libffi maybe-install-target-libffi
38709 maybe-install-target-libffi:
38710 @if target-libffi
38711 maybe-install-target-libffi: install-target-libffi
38713 # Dummy target for uninstallable.
38714 install-target-libffi:
38716 @endif target-libffi
38718 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
38719 maybe-install-strip-target-libffi:
38720 @if target-libffi
38721 maybe-install-strip-target-libffi: install-strip-target-libffi
38723 # Dummy target for uninstallable.
38724 install-strip-target-libffi:
38726 @endif target-libffi
38728 # Other targets (info, dvi, pdf, etc.)
38730 .PHONY: maybe-info-target-libffi info-target-libffi
38731 maybe-info-target-libffi:
38732 @if target-libffi
38733 maybe-info-target-libffi: info-target-libffi
38735 info-target-libffi: \
38736 configure-target-libffi
38737 @: $(MAKE); $(unstage)
38738 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38739 r=`${PWD_COMMAND}`; export r; \
38740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38741 $(NORMAL_TARGET_EXPORTS) \
38742 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38743 for flag in $(EXTRA_TARGET_FLAGS); do \
38744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38745 done; \
38746 (cd $(TARGET_SUBDIR)/libffi && \
38747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38749 "RANLIB=$${RANLIB}" \
38750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38751 info) \
38752 || exit 1
38754 @endif target-libffi
38756 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38757 maybe-dvi-target-libffi:
38758 @if target-libffi
38759 maybe-dvi-target-libffi: dvi-target-libffi
38761 dvi-target-libffi: \
38762 configure-target-libffi
38763 @: $(MAKE); $(unstage)
38764 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38765 r=`${PWD_COMMAND}`; export r; \
38766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38767 $(NORMAL_TARGET_EXPORTS) \
38768 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38769 for flag in $(EXTRA_TARGET_FLAGS); do \
38770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38771 done; \
38772 (cd $(TARGET_SUBDIR)/libffi && \
38773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38775 "RANLIB=$${RANLIB}" \
38776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38777 dvi) \
38778 || exit 1
38780 @endif target-libffi
38782 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38783 maybe-pdf-target-libffi:
38784 @if target-libffi
38785 maybe-pdf-target-libffi: pdf-target-libffi
38787 pdf-target-libffi: \
38788 configure-target-libffi
38789 @: $(MAKE); $(unstage)
38790 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38791 r=`${PWD_COMMAND}`; export r; \
38792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38793 $(NORMAL_TARGET_EXPORTS) \
38794 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38795 for flag in $(EXTRA_TARGET_FLAGS); do \
38796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38797 done; \
38798 (cd $(TARGET_SUBDIR)/libffi && \
38799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38801 "RANLIB=$${RANLIB}" \
38802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38803 pdf) \
38804 || exit 1
38806 @endif target-libffi
38808 .PHONY: maybe-html-target-libffi html-target-libffi
38809 maybe-html-target-libffi:
38810 @if target-libffi
38811 maybe-html-target-libffi: html-target-libffi
38813 html-target-libffi: \
38814 configure-target-libffi
38815 @: $(MAKE); $(unstage)
38816 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38817 r=`${PWD_COMMAND}`; export r; \
38818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38819 $(NORMAL_TARGET_EXPORTS) \
38820 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38821 for flag in $(EXTRA_TARGET_FLAGS); do \
38822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38823 done; \
38824 (cd $(TARGET_SUBDIR)/libffi && \
38825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38827 "RANLIB=$${RANLIB}" \
38828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38829 html) \
38830 || exit 1
38832 @endif target-libffi
38834 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38835 maybe-TAGS-target-libffi:
38836 @if target-libffi
38837 maybe-TAGS-target-libffi: TAGS-target-libffi
38839 TAGS-target-libffi: \
38840 configure-target-libffi
38841 @: $(MAKE); $(unstage)
38842 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38843 r=`${PWD_COMMAND}`; export r; \
38844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38845 $(NORMAL_TARGET_EXPORTS) \
38846 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38847 for flag in $(EXTRA_TARGET_FLAGS); do \
38848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38849 done; \
38850 (cd $(TARGET_SUBDIR)/libffi && \
38851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38853 "RANLIB=$${RANLIB}" \
38854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38855 TAGS) \
38856 || exit 1
38858 @endif target-libffi
38860 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38861 maybe-install-info-target-libffi:
38862 @if target-libffi
38863 maybe-install-info-target-libffi: install-info-target-libffi
38865 install-info-target-libffi: \
38866 configure-target-libffi \
38867 info-target-libffi
38868 @: $(MAKE); $(unstage)
38869 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38870 r=`${PWD_COMMAND}`; export r; \
38871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38872 $(NORMAL_TARGET_EXPORTS) \
38873 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38874 for flag in $(EXTRA_TARGET_FLAGS); do \
38875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38876 done; \
38877 (cd $(TARGET_SUBDIR)/libffi && \
38878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38880 "RANLIB=$${RANLIB}" \
38881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38882 install-info) \
38883 || exit 1
38885 @endif target-libffi
38887 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
38888 maybe-install-pdf-target-libffi:
38889 @if target-libffi
38890 maybe-install-pdf-target-libffi: install-pdf-target-libffi
38892 install-pdf-target-libffi: \
38893 configure-target-libffi \
38894 pdf-target-libffi
38895 @: $(MAKE); $(unstage)
38896 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38897 r=`${PWD_COMMAND}`; export r; \
38898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38899 $(NORMAL_TARGET_EXPORTS) \
38900 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
38901 for flag in $(EXTRA_TARGET_FLAGS); do \
38902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38903 done; \
38904 (cd $(TARGET_SUBDIR)/libffi && \
38905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38907 "RANLIB=$${RANLIB}" \
38908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38909 install-pdf) \
38910 || exit 1
38912 @endif target-libffi
38914 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38915 maybe-install-html-target-libffi:
38916 @if target-libffi
38917 maybe-install-html-target-libffi: install-html-target-libffi
38919 install-html-target-libffi: \
38920 configure-target-libffi \
38921 html-target-libffi
38922 @: $(MAKE); $(unstage)
38923 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38924 r=`${PWD_COMMAND}`; export r; \
38925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38926 $(NORMAL_TARGET_EXPORTS) \
38927 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38928 for flag in $(EXTRA_TARGET_FLAGS); do \
38929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38930 done; \
38931 (cd $(TARGET_SUBDIR)/libffi && \
38932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38934 "RANLIB=$${RANLIB}" \
38935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38936 install-html) \
38937 || exit 1
38939 @endif target-libffi
38941 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38942 maybe-installcheck-target-libffi:
38943 @if target-libffi
38944 maybe-installcheck-target-libffi: installcheck-target-libffi
38946 installcheck-target-libffi: \
38947 configure-target-libffi
38948 @: $(MAKE); $(unstage)
38949 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38950 r=`${PWD_COMMAND}`; export r; \
38951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38952 $(NORMAL_TARGET_EXPORTS) \
38953 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38954 for flag in $(EXTRA_TARGET_FLAGS); do \
38955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38956 done; \
38957 (cd $(TARGET_SUBDIR)/libffi && \
38958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38960 "RANLIB=$${RANLIB}" \
38961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38962 installcheck) \
38963 || exit 1
38965 @endif target-libffi
38967 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38968 maybe-mostlyclean-target-libffi:
38969 @if target-libffi
38970 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38972 mostlyclean-target-libffi:
38973 @: $(MAKE); $(unstage)
38974 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38975 r=`${PWD_COMMAND}`; export r; \
38976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38977 $(NORMAL_TARGET_EXPORTS) \
38978 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38979 for flag in $(EXTRA_TARGET_FLAGS); do \
38980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38981 done; \
38982 (cd $(TARGET_SUBDIR)/libffi && \
38983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38985 "RANLIB=$${RANLIB}" \
38986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38987 mostlyclean) \
38988 || exit 1
38990 @endif target-libffi
38992 .PHONY: maybe-clean-target-libffi clean-target-libffi
38993 maybe-clean-target-libffi:
38994 @if target-libffi
38995 maybe-clean-target-libffi: clean-target-libffi
38997 clean-target-libffi:
38998 @: $(MAKE); $(unstage)
38999 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39000 r=`${PWD_COMMAND}`; export r; \
39001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39002 $(NORMAL_TARGET_EXPORTS) \
39003 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
39004 for flag in $(EXTRA_TARGET_FLAGS); do \
39005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39006 done; \
39007 (cd $(TARGET_SUBDIR)/libffi && \
39008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39010 "RANLIB=$${RANLIB}" \
39011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39012 clean) \
39013 || exit 1
39015 @endif target-libffi
39017 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
39018 maybe-distclean-target-libffi:
39019 @if target-libffi
39020 maybe-distclean-target-libffi: distclean-target-libffi
39022 distclean-target-libffi:
39023 @: $(MAKE); $(unstage)
39024 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39025 r=`${PWD_COMMAND}`; export r; \
39026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39027 $(NORMAL_TARGET_EXPORTS) \
39028 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
39029 for flag in $(EXTRA_TARGET_FLAGS); do \
39030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39031 done; \
39032 (cd $(TARGET_SUBDIR)/libffi && \
39033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39035 "RANLIB=$${RANLIB}" \
39036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39037 distclean) \
39038 || exit 1
39040 @endif target-libffi
39042 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
39043 maybe-maintainer-clean-target-libffi:
39044 @if target-libffi
39045 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
39047 maintainer-clean-target-libffi:
39048 @: $(MAKE); $(unstage)
39049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39050 r=`${PWD_COMMAND}`; export r; \
39051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39052 $(NORMAL_TARGET_EXPORTS) \
39053 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
39054 for flag in $(EXTRA_TARGET_FLAGS); do \
39055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39056 done; \
39057 (cd $(TARGET_SUBDIR)/libffi && \
39058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39060 "RANLIB=$${RANLIB}" \
39061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39062 maintainer-clean) \
39063 || exit 1
39065 @endif target-libffi
39071 .PHONY: configure-target-libjava maybe-configure-target-libjava
39072 maybe-configure-target-libjava:
39073 @if gcc-bootstrap
39074 configure-target-libjava: stage_current
39075 @endif gcc-bootstrap
39076 @if target-libjava
39077 maybe-configure-target-libjava: configure-target-libjava
39078 configure-target-libjava:
39079 @: $(MAKE); $(unstage)
39080 @r=`${PWD_COMMAND}`; export r; \
39081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39082 echo "Checking multilib configuration for libjava..."; \
39083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
39085 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
39086 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
39087 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
39088 else \
39089 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
39090 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39091 fi; \
39092 else \
39093 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39094 fi; \
39095 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
39096 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39097 $(RAW_CXX_TARGET_EXPORTS) \
39098 echo Configuring in $(TARGET_SUBDIR)/libjava; \
39099 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
39100 case $(srcdir) in \
39101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39102 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
39103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39104 esac; \
39105 srcdiroption="--srcdir=$${topdir}/libjava"; \
39106 libsrcdir="$$s/libjava"; \
39107 rm -f no-such-file || : ; \
39108 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39109 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39110 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
39111 || exit 1
39112 @endif target-libjava
39118 .PHONY: all-target-libjava maybe-all-target-libjava
39119 maybe-all-target-libjava:
39120 @if gcc-bootstrap
39121 all-target-libjava: stage_current
39122 @endif gcc-bootstrap
39123 @if target-libjava
39124 TARGET-target-libjava=all
39125 maybe-all-target-libjava: all-target-libjava
39126 all-target-libjava: configure-target-libjava
39127 @: $(MAKE); $(unstage)
39128 @r=`${PWD_COMMAND}`; export r; \
39129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39130 $(RAW_CXX_TARGET_EXPORTS) \
39131 (cd $(TARGET_SUBDIR)/libjava && \
39132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39133 $(TARGET-target-libjava))
39134 @endif target-libjava
39140 .PHONY: check-target-libjava maybe-check-target-libjava
39141 maybe-check-target-libjava:
39142 @if target-libjava
39143 maybe-check-target-libjava: check-target-libjava
39145 check-target-libjava:
39146 @: $(MAKE); $(unstage)
39147 @r=`${PWD_COMMAND}`; export r; \
39148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39149 $(RAW_CXX_TARGET_EXPORTS) \
39150 (cd $(TARGET_SUBDIR)/libjava && \
39151 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39153 @endif target-libjava
39155 .PHONY: install-target-libjava maybe-install-target-libjava
39156 maybe-install-target-libjava:
39157 @if target-libjava
39158 maybe-install-target-libjava: install-target-libjava
39160 install-target-libjava: installdirs
39161 @: $(MAKE); $(unstage)
39162 @r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 $(RAW_CXX_TARGET_EXPORTS) \
39165 (cd $(TARGET_SUBDIR)/libjava && \
39166 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39168 @endif target-libjava
39170 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
39171 maybe-install-strip-target-libjava:
39172 @if target-libjava
39173 maybe-install-strip-target-libjava: install-strip-target-libjava
39175 install-strip-target-libjava: installdirs
39176 @: $(MAKE); $(unstage)
39177 @r=`${PWD_COMMAND}`; export r; \
39178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39179 $(RAW_CXX_TARGET_EXPORTS) \
39180 (cd $(TARGET_SUBDIR)/libjava && \
39181 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39183 @endif target-libjava
39185 # Other targets (info, dvi, pdf, etc.)
39187 .PHONY: maybe-info-target-libjava info-target-libjava
39188 maybe-info-target-libjava:
39189 @if target-libjava
39190 maybe-info-target-libjava: info-target-libjava
39192 info-target-libjava: \
39193 configure-target-libjava
39194 @: $(MAKE); $(unstage)
39195 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39196 r=`${PWD_COMMAND}`; export r; \
39197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39198 $(RAW_CXX_TARGET_EXPORTS) \
39199 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
39200 for flag in $(EXTRA_TARGET_FLAGS); do \
39201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39202 done; \
39203 (cd $(TARGET_SUBDIR)/libjava && \
39204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39206 "RANLIB=$${RANLIB}" \
39207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39208 info) \
39209 || exit 1
39211 @endif target-libjava
39213 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
39214 maybe-dvi-target-libjava:
39215 @if target-libjava
39216 maybe-dvi-target-libjava: dvi-target-libjava
39218 dvi-target-libjava: \
39219 configure-target-libjava
39220 @: $(MAKE); $(unstage)
39221 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39222 r=`${PWD_COMMAND}`; export r; \
39223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39224 $(RAW_CXX_TARGET_EXPORTS) \
39225 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
39226 for flag in $(EXTRA_TARGET_FLAGS); do \
39227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39228 done; \
39229 (cd $(TARGET_SUBDIR)/libjava && \
39230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39232 "RANLIB=$${RANLIB}" \
39233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39234 dvi) \
39235 || exit 1
39237 @endif target-libjava
39239 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
39240 maybe-pdf-target-libjava:
39241 @if target-libjava
39242 maybe-pdf-target-libjava: pdf-target-libjava
39244 pdf-target-libjava: \
39245 configure-target-libjava
39246 @: $(MAKE); $(unstage)
39247 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39248 r=`${PWD_COMMAND}`; export r; \
39249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39250 $(RAW_CXX_TARGET_EXPORTS) \
39251 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
39252 for flag in $(EXTRA_TARGET_FLAGS); do \
39253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39254 done; \
39255 (cd $(TARGET_SUBDIR)/libjava && \
39256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39258 "RANLIB=$${RANLIB}" \
39259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39260 pdf) \
39261 || exit 1
39263 @endif target-libjava
39265 .PHONY: maybe-html-target-libjava html-target-libjava
39266 maybe-html-target-libjava:
39267 @if target-libjava
39268 maybe-html-target-libjava: html-target-libjava
39270 html-target-libjava: \
39271 configure-target-libjava
39272 @: $(MAKE); $(unstage)
39273 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39274 r=`${PWD_COMMAND}`; export r; \
39275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39276 $(RAW_CXX_TARGET_EXPORTS) \
39277 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39278 for flag in $(EXTRA_TARGET_FLAGS); do \
39279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39280 done; \
39281 (cd $(TARGET_SUBDIR)/libjava && \
39282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39284 "RANLIB=$${RANLIB}" \
39285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39286 html) \
39287 || exit 1
39289 @endif target-libjava
39291 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39292 maybe-TAGS-target-libjava:
39293 @if target-libjava
39294 maybe-TAGS-target-libjava: TAGS-target-libjava
39296 TAGS-target-libjava: \
39297 configure-target-libjava
39298 @: $(MAKE); $(unstage)
39299 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39300 r=`${PWD_COMMAND}`; export r; \
39301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39302 $(RAW_CXX_TARGET_EXPORTS) \
39303 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39304 for flag in $(EXTRA_TARGET_FLAGS); do \
39305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39306 done; \
39307 (cd $(TARGET_SUBDIR)/libjava && \
39308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39310 "RANLIB=$${RANLIB}" \
39311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39312 TAGS) \
39313 || exit 1
39315 @endif target-libjava
39317 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39318 maybe-install-info-target-libjava:
39319 @if target-libjava
39320 maybe-install-info-target-libjava: install-info-target-libjava
39322 install-info-target-libjava: \
39323 configure-target-libjava \
39324 info-target-libjava
39325 @: $(MAKE); $(unstage)
39326 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39327 r=`${PWD_COMMAND}`; export r; \
39328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39329 $(RAW_CXX_TARGET_EXPORTS) \
39330 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39331 for flag in $(EXTRA_TARGET_FLAGS); do \
39332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39333 done; \
39334 (cd $(TARGET_SUBDIR)/libjava && \
39335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39337 "RANLIB=$${RANLIB}" \
39338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39339 install-info) \
39340 || exit 1
39342 @endif target-libjava
39344 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
39345 maybe-install-pdf-target-libjava:
39346 @if target-libjava
39347 maybe-install-pdf-target-libjava: install-pdf-target-libjava
39349 install-pdf-target-libjava: \
39350 configure-target-libjava \
39351 pdf-target-libjava
39352 @: $(MAKE); $(unstage)
39353 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39354 r=`${PWD_COMMAND}`; export r; \
39355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39356 $(RAW_CXX_TARGET_EXPORTS) \
39357 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
39358 for flag in $(EXTRA_TARGET_FLAGS); do \
39359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39360 done; \
39361 (cd $(TARGET_SUBDIR)/libjava && \
39362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39364 "RANLIB=$${RANLIB}" \
39365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39366 install-pdf) \
39367 || exit 1
39369 @endif target-libjava
39371 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39372 maybe-install-html-target-libjava:
39373 @if target-libjava
39374 maybe-install-html-target-libjava: install-html-target-libjava
39376 install-html-target-libjava: \
39377 configure-target-libjava \
39378 html-target-libjava
39379 @: $(MAKE); $(unstage)
39380 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39381 r=`${PWD_COMMAND}`; export r; \
39382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39383 $(RAW_CXX_TARGET_EXPORTS) \
39384 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39385 for flag in $(EXTRA_TARGET_FLAGS); do \
39386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39387 done; \
39388 (cd $(TARGET_SUBDIR)/libjava && \
39389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39391 "RANLIB=$${RANLIB}" \
39392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39393 install-html) \
39394 || exit 1
39396 @endif target-libjava
39398 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39399 maybe-installcheck-target-libjava:
39400 @if target-libjava
39401 maybe-installcheck-target-libjava: installcheck-target-libjava
39403 installcheck-target-libjava: \
39404 configure-target-libjava
39405 @: $(MAKE); $(unstage)
39406 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39407 r=`${PWD_COMMAND}`; export r; \
39408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39409 $(RAW_CXX_TARGET_EXPORTS) \
39410 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39411 for flag in $(EXTRA_TARGET_FLAGS); do \
39412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39413 done; \
39414 (cd $(TARGET_SUBDIR)/libjava && \
39415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39417 "RANLIB=$${RANLIB}" \
39418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39419 installcheck) \
39420 || exit 1
39422 @endif target-libjava
39424 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39425 maybe-mostlyclean-target-libjava:
39426 @if target-libjava
39427 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39429 mostlyclean-target-libjava:
39430 @: $(MAKE); $(unstage)
39431 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39432 r=`${PWD_COMMAND}`; export r; \
39433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39434 $(RAW_CXX_TARGET_EXPORTS) \
39435 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39436 for flag in $(EXTRA_TARGET_FLAGS); do \
39437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39438 done; \
39439 (cd $(TARGET_SUBDIR)/libjava && \
39440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39442 "RANLIB=$${RANLIB}" \
39443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39444 mostlyclean) \
39445 || exit 1
39447 @endif target-libjava
39449 .PHONY: maybe-clean-target-libjava clean-target-libjava
39450 maybe-clean-target-libjava:
39451 @if target-libjava
39452 maybe-clean-target-libjava: clean-target-libjava
39454 clean-target-libjava:
39455 @: $(MAKE); $(unstage)
39456 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39457 r=`${PWD_COMMAND}`; export r; \
39458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39459 $(RAW_CXX_TARGET_EXPORTS) \
39460 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 clean) \
39470 || exit 1
39472 @endif target-libjava
39474 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39475 maybe-distclean-target-libjava:
39476 @if target-libjava
39477 maybe-distclean-target-libjava: distclean-target-libjava
39479 distclean-target-libjava:
39480 @: $(MAKE); $(unstage)
39481 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39482 r=`${PWD_COMMAND}`; export r; \
39483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39484 $(RAW_CXX_TARGET_EXPORTS) \
39485 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39486 for flag in $(EXTRA_TARGET_FLAGS); do \
39487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39488 done; \
39489 (cd $(TARGET_SUBDIR)/libjava && \
39490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39492 "RANLIB=$${RANLIB}" \
39493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39494 distclean) \
39495 || exit 1
39497 @endif target-libjava
39499 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39500 maybe-maintainer-clean-target-libjava:
39501 @if target-libjava
39502 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39504 maintainer-clean-target-libjava:
39505 @: $(MAKE); $(unstage)
39506 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39507 r=`${PWD_COMMAND}`; export r; \
39508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39509 $(RAW_CXX_TARGET_EXPORTS) \
39510 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39511 for flag in $(EXTRA_TARGET_FLAGS); do \
39512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39513 done; \
39514 (cd $(TARGET_SUBDIR)/libjava && \
39515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39517 "RANLIB=$${RANLIB}" \
39518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39519 maintainer-clean) \
39520 || exit 1
39522 @endif target-libjava
39528 .PHONY: configure-target-zlib maybe-configure-target-zlib
39529 maybe-configure-target-zlib:
39530 @if gcc-bootstrap
39531 configure-target-zlib: stage_current
39532 @endif gcc-bootstrap
39533 @if target-zlib
39534 maybe-configure-target-zlib: configure-target-zlib
39535 configure-target-zlib:
39536 @: $(MAKE); $(unstage)
39537 @r=`${PWD_COMMAND}`; export r; \
39538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39539 echo "Checking multilib configuration for zlib..."; \
39540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39541 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39542 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39543 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39544 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39545 else \
39546 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39547 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39548 fi; \
39549 else \
39550 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39551 fi; \
39552 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39553 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39554 $(NORMAL_TARGET_EXPORTS) \
39555 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39556 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39557 case $(srcdir) in \
39558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39559 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39561 esac; \
39562 srcdiroption="--srcdir=$${topdir}/zlib"; \
39563 libsrcdir="$$s/zlib"; \
39564 rm -f no-such-file || : ; \
39565 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39566 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39567 --target=${target_alias} $${srcdiroption} \
39568 || exit 1
39569 @endif target-zlib
39575 .PHONY: all-target-zlib maybe-all-target-zlib
39576 maybe-all-target-zlib:
39577 @if gcc-bootstrap
39578 all-target-zlib: stage_current
39579 @endif gcc-bootstrap
39580 @if target-zlib
39581 TARGET-target-zlib=all
39582 maybe-all-target-zlib: all-target-zlib
39583 all-target-zlib: configure-target-zlib
39584 @: $(MAKE); $(unstage)
39585 @r=`${PWD_COMMAND}`; export r; \
39586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39587 $(NORMAL_TARGET_EXPORTS) \
39588 (cd $(TARGET_SUBDIR)/zlib && \
39589 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39590 $(TARGET-target-zlib))
39591 @endif target-zlib
39597 .PHONY: check-target-zlib maybe-check-target-zlib
39598 maybe-check-target-zlib:
39599 @if target-zlib
39600 maybe-check-target-zlib: check-target-zlib
39602 check-target-zlib:
39603 @: $(MAKE); $(unstage)
39604 @r=`${PWD_COMMAND}`; export r; \
39605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39606 $(NORMAL_TARGET_EXPORTS) \
39607 (cd $(TARGET_SUBDIR)/zlib && \
39608 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39610 @endif target-zlib
39612 .PHONY: install-target-zlib maybe-install-target-zlib
39613 maybe-install-target-zlib:
39614 @if target-zlib
39615 maybe-install-target-zlib: install-target-zlib
39617 install-target-zlib: installdirs
39618 @: $(MAKE); $(unstage)
39619 @r=`${PWD_COMMAND}`; export r; \
39620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39621 $(NORMAL_TARGET_EXPORTS) \
39622 (cd $(TARGET_SUBDIR)/zlib && \
39623 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39625 @endif target-zlib
39627 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
39628 maybe-install-strip-target-zlib:
39629 @if target-zlib
39630 maybe-install-strip-target-zlib: install-strip-target-zlib
39632 install-strip-target-zlib: installdirs
39633 @: $(MAKE); $(unstage)
39634 @r=`${PWD_COMMAND}`; export r; \
39635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39636 $(NORMAL_TARGET_EXPORTS) \
39637 (cd $(TARGET_SUBDIR)/zlib && \
39638 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39640 @endif target-zlib
39642 # Other targets (info, dvi, pdf, etc.)
39644 .PHONY: maybe-info-target-zlib info-target-zlib
39645 maybe-info-target-zlib:
39646 @if target-zlib
39647 maybe-info-target-zlib: info-target-zlib
39649 info-target-zlib: \
39650 configure-target-zlib
39651 @: $(MAKE); $(unstage)
39652 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39653 r=`${PWD_COMMAND}`; export r; \
39654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39655 $(NORMAL_TARGET_EXPORTS) \
39656 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39657 for flag in $(EXTRA_TARGET_FLAGS); do \
39658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39659 done; \
39660 (cd $(TARGET_SUBDIR)/zlib && \
39661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39663 "RANLIB=$${RANLIB}" \
39664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39665 info) \
39666 || exit 1
39668 @endif target-zlib
39670 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39671 maybe-dvi-target-zlib:
39672 @if target-zlib
39673 maybe-dvi-target-zlib: dvi-target-zlib
39675 dvi-target-zlib: \
39676 configure-target-zlib
39677 @: $(MAKE); $(unstage)
39678 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39679 r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 $(NORMAL_TARGET_EXPORTS) \
39682 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39683 for flag in $(EXTRA_TARGET_FLAGS); do \
39684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39685 done; \
39686 (cd $(TARGET_SUBDIR)/zlib && \
39687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39689 "RANLIB=$${RANLIB}" \
39690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39691 dvi) \
39692 || exit 1
39694 @endif target-zlib
39696 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39697 maybe-pdf-target-zlib:
39698 @if target-zlib
39699 maybe-pdf-target-zlib: pdf-target-zlib
39701 pdf-target-zlib: \
39702 configure-target-zlib
39703 @: $(MAKE); $(unstage)
39704 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39705 r=`${PWD_COMMAND}`; export r; \
39706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39707 $(NORMAL_TARGET_EXPORTS) \
39708 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39709 for flag in $(EXTRA_TARGET_FLAGS); do \
39710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39711 done; \
39712 (cd $(TARGET_SUBDIR)/zlib && \
39713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39715 "RANLIB=$${RANLIB}" \
39716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39717 pdf) \
39718 || exit 1
39720 @endif target-zlib
39722 .PHONY: maybe-html-target-zlib html-target-zlib
39723 maybe-html-target-zlib:
39724 @if target-zlib
39725 maybe-html-target-zlib: html-target-zlib
39727 html-target-zlib: \
39728 configure-target-zlib
39729 @: $(MAKE); $(unstage)
39730 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39731 r=`${PWD_COMMAND}`; export r; \
39732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39733 $(NORMAL_TARGET_EXPORTS) \
39734 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39735 for flag in $(EXTRA_TARGET_FLAGS); do \
39736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39737 done; \
39738 (cd $(TARGET_SUBDIR)/zlib && \
39739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39741 "RANLIB=$${RANLIB}" \
39742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39743 html) \
39744 || exit 1
39746 @endif target-zlib
39748 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39749 maybe-TAGS-target-zlib:
39750 @if target-zlib
39751 maybe-TAGS-target-zlib: TAGS-target-zlib
39753 TAGS-target-zlib: \
39754 configure-target-zlib
39755 @: $(MAKE); $(unstage)
39756 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39757 r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(NORMAL_TARGET_EXPORTS) \
39760 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39761 for flag in $(EXTRA_TARGET_FLAGS); do \
39762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39763 done; \
39764 (cd $(TARGET_SUBDIR)/zlib && \
39765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39767 "RANLIB=$${RANLIB}" \
39768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39769 TAGS) \
39770 || exit 1
39772 @endif target-zlib
39774 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39775 maybe-install-info-target-zlib:
39776 @if target-zlib
39777 maybe-install-info-target-zlib: install-info-target-zlib
39779 install-info-target-zlib: \
39780 configure-target-zlib \
39781 info-target-zlib
39782 @: $(MAKE); $(unstage)
39783 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39784 r=`${PWD_COMMAND}`; export r; \
39785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39786 $(NORMAL_TARGET_EXPORTS) \
39787 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39788 for flag in $(EXTRA_TARGET_FLAGS); do \
39789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39790 done; \
39791 (cd $(TARGET_SUBDIR)/zlib && \
39792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39794 "RANLIB=$${RANLIB}" \
39795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39796 install-info) \
39797 || exit 1
39799 @endif target-zlib
39801 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
39802 maybe-install-pdf-target-zlib:
39803 @if target-zlib
39804 maybe-install-pdf-target-zlib: install-pdf-target-zlib
39806 install-pdf-target-zlib: \
39807 configure-target-zlib \
39808 pdf-target-zlib
39809 @: $(MAKE); $(unstage)
39810 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39811 r=`${PWD_COMMAND}`; export r; \
39812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39813 $(NORMAL_TARGET_EXPORTS) \
39814 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
39815 for flag in $(EXTRA_TARGET_FLAGS); do \
39816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39817 done; \
39818 (cd $(TARGET_SUBDIR)/zlib && \
39819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39821 "RANLIB=$${RANLIB}" \
39822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39823 install-pdf) \
39824 || exit 1
39826 @endif target-zlib
39828 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39829 maybe-install-html-target-zlib:
39830 @if target-zlib
39831 maybe-install-html-target-zlib: install-html-target-zlib
39833 install-html-target-zlib: \
39834 configure-target-zlib \
39835 html-target-zlib
39836 @: $(MAKE); $(unstage)
39837 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39838 r=`${PWD_COMMAND}`; export r; \
39839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39840 $(NORMAL_TARGET_EXPORTS) \
39841 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39842 for flag in $(EXTRA_TARGET_FLAGS); do \
39843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39844 done; \
39845 (cd $(TARGET_SUBDIR)/zlib && \
39846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39848 "RANLIB=$${RANLIB}" \
39849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39850 install-html) \
39851 || exit 1
39853 @endif target-zlib
39855 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39856 maybe-installcheck-target-zlib:
39857 @if target-zlib
39858 maybe-installcheck-target-zlib: installcheck-target-zlib
39860 installcheck-target-zlib: \
39861 configure-target-zlib
39862 @: $(MAKE); $(unstage)
39863 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39864 r=`${PWD_COMMAND}`; export r; \
39865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39866 $(NORMAL_TARGET_EXPORTS) \
39867 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39868 for flag in $(EXTRA_TARGET_FLAGS); do \
39869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39870 done; \
39871 (cd $(TARGET_SUBDIR)/zlib && \
39872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39874 "RANLIB=$${RANLIB}" \
39875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39876 installcheck) \
39877 || exit 1
39879 @endif target-zlib
39881 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39882 maybe-mostlyclean-target-zlib:
39883 @if target-zlib
39884 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39886 mostlyclean-target-zlib:
39887 @: $(MAKE); $(unstage)
39888 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39889 r=`${PWD_COMMAND}`; export r; \
39890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39891 $(NORMAL_TARGET_EXPORTS) \
39892 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39893 for flag in $(EXTRA_TARGET_FLAGS); do \
39894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39895 done; \
39896 (cd $(TARGET_SUBDIR)/zlib && \
39897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39899 "RANLIB=$${RANLIB}" \
39900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39901 mostlyclean) \
39902 || exit 1
39904 @endif target-zlib
39906 .PHONY: maybe-clean-target-zlib clean-target-zlib
39907 maybe-clean-target-zlib:
39908 @if target-zlib
39909 maybe-clean-target-zlib: clean-target-zlib
39911 clean-target-zlib:
39912 @: $(MAKE); $(unstage)
39913 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39914 r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 $(NORMAL_TARGET_EXPORTS) \
39917 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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 clean) \
39927 || exit 1
39929 @endif target-zlib
39931 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39932 maybe-distclean-target-zlib:
39933 @if target-zlib
39934 maybe-distclean-target-zlib: distclean-target-zlib
39936 distclean-target-zlib:
39937 @: $(MAKE); $(unstage)
39938 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39939 r=`${PWD_COMMAND}`; export r; \
39940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39941 $(NORMAL_TARGET_EXPORTS) \
39942 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39943 for flag in $(EXTRA_TARGET_FLAGS); do \
39944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39945 done; \
39946 (cd $(TARGET_SUBDIR)/zlib && \
39947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39949 "RANLIB=$${RANLIB}" \
39950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39951 distclean) \
39952 || exit 1
39954 @endif target-zlib
39956 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39957 maybe-maintainer-clean-target-zlib:
39958 @if target-zlib
39959 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39961 maintainer-clean-target-zlib:
39962 @: $(MAKE); $(unstage)
39963 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39964 r=`${PWD_COMMAND}`; export r; \
39965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39966 $(NORMAL_TARGET_EXPORTS) \
39967 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39968 for flag in $(EXTRA_TARGET_FLAGS); do \
39969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39970 done; \
39971 (cd $(TARGET_SUBDIR)/zlib && \
39972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39974 "RANLIB=$${RANLIB}" \
39975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39976 maintainer-clean) \
39977 || exit 1
39979 @endif target-zlib
39985 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39986 maybe-configure-target-boehm-gc:
39987 @if gcc-bootstrap
39988 configure-target-boehm-gc: stage_current
39989 @endif gcc-bootstrap
39990 @if target-boehm-gc
39991 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39992 configure-target-boehm-gc:
39993 @: $(MAKE); $(unstage)
39994 @r=`${PWD_COMMAND}`; export r; \
39995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39996 echo "Checking multilib configuration for boehm-gc..."; \
39997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39998 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39999 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40000 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40001 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
40002 else \
40003 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
40004 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40005 fi; \
40006 else \
40007 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40008 fi; \
40009 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
40010 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40011 $(NORMAL_TARGET_EXPORTS) \
40012 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
40013 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
40014 case $(srcdir) in \
40015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40016 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
40017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40018 esac; \
40019 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
40020 libsrcdir="$$s/boehm-gc"; \
40021 rm -f no-such-file || : ; \
40022 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40023 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40024 --target=${target_alias} $${srcdiroption} \
40025 || exit 1
40026 @endif target-boehm-gc
40032 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
40033 maybe-all-target-boehm-gc:
40034 @if gcc-bootstrap
40035 all-target-boehm-gc: stage_current
40036 @endif gcc-bootstrap
40037 @if target-boehm-gc
40038 TARGET-target-boehm-gc=all
40039 maybe-all-target-boehm-gc: all-target-boehm-gc
40040 all-target-boehm-gc: configure-target-boehm-gc
40041 @: $(MAKE); $(unstage)
40042 @r=`${PWD_COMMAND}`; export r; \
40043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40044 $(NORMAL_TARGET_EXPORTS) \
40045 (cd $(TARGET_SUBDIR)/boehm-gc && \
40046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40047 $(TARGET-target-boehm-gc))
40048 @endif target-boehm-gc
40054 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
40055 maybe-check-target-boehm-gc:
40056 @if target-boehm-gc
40057 maybe-check-target-boehm-gc: check-target-boehm-gc
40059 check-target-boehm-gc:
40060 @: $(MAKE); $(unstage)
40061 @r=`${PWD_COMMAND}`; export r; \
40062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40063 $(NORMAL_TARGET_EXPORTS) \
40064 (cd $(TARGET_SUBDIR)/boehm-gc && \
40065 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40067 @endif target-boehm-gc
40069 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
40070 maybe-install-target-boehm-gc:
40071 @if target-boehm-gc
40072 maybe-install-target-boehm-gc: install-target-boehm-gc
40074 install-target-boehm-gc: installdirs
40075 @: $(MAKE); $(unstage)
40076 @r=`${PWD_COMMAND}`; export r; \
40077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40078 $(NORMAL_TARGET_EXPORTS) \
40079 (cd $(TARGET_SUBDIR)/boehm-gc && \
40080 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40082 @endif target-boehm-gc
40084 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
40085 maybe-install-strip-target-boehm-gc:
40086 @if target-boehm-gc
40087 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
40089 install-strip-target-boehm-gc: installdirs
40090 @: $(MAKE); $(unstage)
40091 @r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(NORMAL_TARGET_EXPORTS) \
40094 (cd $(TARGET_SUBDIR)/boehm-gc && \
40095 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40097 @endif target-boehm-gc
40099 # Other targets (info, dvi, pdf, etc.)
40101 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
40102 maybe-info-target-boehm-gc:
40103 @if target-boehm-gc
40104 maybe-info-target-boehm-gc: info-target-boehm-gc
40106 info-target-boehm-gc: \
40107 configure-target-boehm-gc
40108 @: $(MAKE); $(unstage)
40109 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40110 r=`${PWD_COMMAND}`; export r; \
40111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40112 $(NORMAL_TARGET_EXPORTS) \
40113 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
40114 for flag in $(EXTRA_TARGET_FLAGS); do \
40115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40116 done; \
40117 (cd $(TARGET_SUBDIR)/boehm-gc && \
40118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40120 "RANLIB=$${RANLIB}" \
40121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40122 info) \
40123 || exit 1
40125 @endif target-boehm-gc
40127 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
40128 maybe-dvi-target-boehm-gc:
40129 @if target-boehm-gc
40130 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
40132 dvi-target-boehm-gc: \
40133 configure-target-boehm-gc
40134 @: $(MAKE); $(unstage)
40135 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40136 r=`${PWD_COMMAND}`; export r; \
40137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40138 $(NORMAL_TARGET_EXPORTS) \
40139 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
40140 for flag in $(EXTRA_TARGET_FLAGS); do \
40141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40142 done; \
40143 (cd $(TARGET_SUBDIR)/boehm-gc && \
40144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40146 "RANLIB=$${RANLIB}" \
40147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40148 dvi) \
40149 || exit 1
40151 @endif target-boehm-gc
40153 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
40154 maybe-pdf-target-boehm-gc:
40155 @if target-boehm-gc
40156 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
40158 pdf-target-boehm-gc: \
40159 configure-target-boehm-gc
40160 @: $(MAKE); $(unstage)
40161 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40162 r=`${PWD_COMMAND}`; export r; \
40163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40164 $(NORMAL_TARGET_EXPORTS) \
40165 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40166 for flag in $(EXTRA_TARGET_FLAGS); do \
40167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40168 done; \
40169 (cd $(TARGET_SUBDIR)/boehm-gc && \
40170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40172 "RANLIB=$${RANLIB}" \
40173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40174 pdf) \
40175 || exit 1
40177 @endif target-boehm-gc
40179 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
40180 maybe-html-target-boehm-gc:
40181 @if target-boehm-gc
40182 maybe-html-target-boehm-gc: html-target-boehm-gc
40184 html-target-boehm-gc: \
40185 configure-target-boehm-gc
40186 @: $(MAKE); $(unstage)
40187 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40188 r=`${PWD_COMMAND}`; export r; \
40189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40190 $(NORMAL_TARGET_EXPORTS) \
40191 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
40192 for flag in $(EXTRA_TARGET_FLAGS); do \
40193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40194 done; \
40195 (cd $(TARGET_SUBDIR)/boehm-gc && \
40196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40198 "RANLIB=$${RANLIB}" \
40199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40200 html) \
40201 || exit 1
40203 @endif target-boehm-gc
40205 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
40206 maybe-TAGS-target-boehm-gc:
40207 @if target-boehm-gc
40208 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
40210 TAGS-target-boehm-gc: \
40211 configure-target-boehm-gc
40212 @: $(MAKE); $(unstage)
40213 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40214 r=`${PWD_COMMAND}`; export r; \
40215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40216 $(NORMAL_TARGET_EXPORTS) \
40217 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
40218 for flag in $(EXTRA_TARGET_FLAGS); do \
40219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40220 done; \
40221 (cd $(TARGET_SUBDIR)/boehm-gc && \
40222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40224 "RANLIB=$${RANLIB}" \
40225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40226 TAGS) \
40227 || exit 1
40229 @endif target-boehm-gc
40231 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
40232 maybe-install-info-target-boehm-gc:
40233 @if target-boehm-gc
40234 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
40236 install-info-target-boehm-gc: \
40237 configure-target-boehm-gc \
40238 info-target-boehm-gc
40239 @: $(MAKE); $(unstage)
40240 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40241 r=`${PWD_COMMAND}`; export r; \
40242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40243 $(NORMAL_TARGET_EXPORTS) \
40244 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
40245 for flag in $(EXTRA_TARGET_FLAGS); do \
40246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40247 done; \
40248 (cd $(TARGET_SUBDIR)/boehm-gc && \
40249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40251 "RANLIB=$${RANLIB}" \
40252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40253 install-info) \
40254 || exit 1
40256 @endif target-boehm-gc
40258 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
40259 maybe-install-pdf-target-boehm-gc:
40260 @if target-boehm-gc
40261 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
40263 install-pdf-target-boehm-gc: \
40264 configure-target-boehm-gc \
40265 pdf-target-boehm-gc
40266 @: $(MAKE); $(unstage)
40267 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40268 r=`${PWD_COMMAND}`; export r; \
40269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40270 $(NORMAL_TARGET_EXPORTS) \
40271 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40272 for flag in $(EXTRA_TARGET_FLAGS); do \
40273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40274 done; \
40275 (cd $(TARGET_SUBDIR)/boehm-gc && \
40276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40278 "RANLIB=$${RANLIB}" \
40279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40280 install-pdf) \
40281 || exit 1
40283 @endif target-boehm-gc
40285 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
40286 maybe-install-html-target-boehm-gc:
40287 @if target-boehm-gc
40288 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
40290 install-html-target-boehm-gc: \
40291 configure-target-boehm-gc \
40292 html-target-boehm-gc
40293 @: $(MAKE); $(unstage)
40294 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40295 r=`${PWD_COMMAND}`; export r; \
40296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40297 $(NORMAL_TARGET_EXPORTS) \
40298 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
40299 for flag in $(EXTRA_TARGET_FLAGS); do \
40300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40301 done; \
40302 (cd $(TARGET_SUBDIR)/boehm-gc && \
40303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40305 "RANLIB=$${RANLIB}" \
40306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40307 install-html) \
40308 || exit 1
40310 @endif target-boehm-gc
40312 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
40313 maybe-installcheck-target-boehm-gc:
40314 @if target-boehm-gc
40315 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
40317 installcheck-target-boehm-gc: \
40318 configure-target-boehm-gc
40319 @: $(MAKE); $(unstage)
40320 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40321 r=`${PWD_COMMAND}`; export r; \
40322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40323 $(NORMAL_TARGET_EXPORTS) \
40324 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
40325 for flag in $(EXTRA_TARGET_FLAGS); do \
40326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40327 done; \
40328 (cd $(TARGET_SUBDIR)/boehm-gc && \
40329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40331 "RANLIB=$${RANLIB}" \
40332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40333 installcheck) \
40334 || exit 1
40336 @endif target-boehm-gc
40338 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
40339 maybe-mostlyclean-target-boehm-gc:
40340 @if target-boehm-gc
40341 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
40343 mostlyclean-target-boehm-gc:
40344 @: $(MAKE); $(unstage)
40345 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40346 r=`${PWD_COMMAND}`; export r; \
40347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40348 $(NORMAL_TARGET_EXPORTS) \
40349 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40350 for flag in $(EXTRA_TARGET_FLAGS); do \
40351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40352 done; \
40353 (cd $(TARGET_SUBDIR)/boehm-gc && \
40354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40356 "RANLIB=$${RANLIB}" \
40357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40358 mostlyclean) \
40359 || exit 1
40361 @endif target-boehm-gc
40363 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
40364 maybe-clean-target-boehm-gc:
40365 @if target-boehm-gc
40366 maybe-clean-target-boehm-gc: clean-target-boehm-gc
40368 clean-target-boehm-gc:
40369 @: $(MAKE); $(unstage)
40370 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40371 r=`${PWD_COMMAND}`; export r; \
40372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40373 $(NORMAL_TARGET_EXPORTS) \
40374 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 clean) \
40384 || exit 1
40386 @endif target-boehm-gc
40388 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40389 maybe-distclean-target-boehm-gc:
40390 @if target-boehm-gc
40391 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40393 distclean-target-boehm-gc:
40394 @: $(MAKE); $(unstage)
40395 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40396 r=`${PWD_COMMAND}`; export r; \
40397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40398 $(NORMAL_TARGET_EXPORTS) \
40399 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40400 for flag in $(EXTRA_TARGET_FLAGS); do \
40401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40402 done; \
40403 (cd $(TARGET_SUBDIR)/boehm-gc && \
40404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40406 "RANLIB=$${RANLIB}" \
40407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40408 distclean) \
40409 || exit 1
40411 @endif target-boehm-gc
40413 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40414 maybe-maintainer-clean-target-boehm-gc:
40415 @if target-boehm-gc
40416 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40418 maintainer-clean-target-boehm-gc:
40419 @: $(MAKE); $(unstage)
40420 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40421 r=`${PWD_COMMAND}`; export r; \
40422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40423 $(NORMAL_TARGET_EXPORTS) \
40424 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40425 for flag in $(EXTRA_TARGET_FLAGS); do \
40426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40427 done; \
40428 (cd $(TARGET_SUBDIR)/boehm-gc && \
40429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40431 "RANLIB=$${RANLIB}" \
40432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40433 maintainer-clean) \
40434 || exit 1
40436 @endif target-boehm-gc
40442 .PHONY: configure-target-rda maybe-configure-target-rda
40443 maybe-configure-target-rda:
40444 @if gcc-bootstrap
40445 configure-target-rda: stage_current
40446 @endif gcc-bootstrap
40447 @if target-rda
40448 maybe-configure-target-rda: configure-target-rda
40449 configure-target-rda:
40450 @: $(MAKE); $(unstage)
40451 @r=`${PWD_COMMAND}`; export r; \
40452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40453 echo "Checking multilib configuration for rda..."; \
40454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40455 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40456 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40457 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40458 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40459 else \
40460 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40461 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40462 fi; \
40463 else \
40464 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40465 fi; \
40466 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40468 $(NORMAL_TARGET_EXPORTS) \
40469 echo Configuring in $(TARGET_SUBDIR)/rda; \
40470 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40471 case $(srcdir) in \
40472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40473 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40475 esac; \
40476 srcdiroption="--srcdir=$${topdir}/rda"; \
40477 libsrcdir="$$s/rda"; \
40478 rm -f no-such-file || : ; \
40479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40480 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40481 --target=${target_alias} $${srcdiroption} \
40482 || exit 1
40483 @endif target-rda
40489 .PHONY: all-target-rda maybe-all-target-rda
40490 maybe-all-target-rda:
40491 @if gcc-bootstrap
40492 all-target-rda: stage_current
40493 @endif gcc-bootstrap
40494 @if target-rda
40495 TARGET-target-rda=all
40496 maybe-all-target-rda: all-target-rda
40497 all-target-rda: configure-target-rda
40498 @: $(MAKE); $(unstage)
40499 @r=`${PWD_COMMAND}`; export r; \
40500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40501 $(NORMAL_TARGET_EXPORTS) \
40502 (cd $(TARGET_SUBDIR)/rda && \
40503 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40504 $(TARGET-target-rda))
40505 @endif target-rda
40511 .PHONY: check-target-rda maybe-check-target-rda
40512 maybe-check-target-rda:
40513 @if target-rda
40514 maybe-check-target-rda: check-target-rda
40516 check-target-rda:
40517 @: $(MAKE); $(unstage)
40518 @r=`${PWD_COMMAND}`; export r; \
40519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40520 $(NORMAL_TARGET_EXPORTS) \
40521 (cd $(TARGET_SUBDIR)/rda && \
40522 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40524 @endif target-rda
40526 .PHONY: install-target-rda maybe-install-target-rda
40527 maybe-install-target-rda:
40528 @if target-rda
40529 maybe-install-target-rda: install-target-rda
40531 install-target-rda: installdirs
40532 @: $(MAKE); $(unstage)
40533 @r=`${PWD_COMMAND}`; export r; \
40534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40535 $(NORMAL_TARGET_EXPORTS) \
40536 (cd $(TARGET_SUBDIR)/rda && \
40537 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40539 @endif target-rda
40541 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
40542 maybe-install-strip-target-rda:
40543 @if target-rda
40544 maybe-install-strip-target-rda: install-strip-target-rda
40546 install-strip-target-rda: installdirs
40547 @: $(MAKE); $(unstage)
40548 @r=`${PWD_COMMAND}`; export r; \
40549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40550 $(NORMAL_TARGET_EXPORTS) \
40551 (cd $(TARGET_SUBDIR)/rda && \
40552 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40554 @endif target-rda
40556 # Other targets (info, dvi, pdf, etc.)
40558 .PHONY: maybe-info-target-rda info-target-rda
40559 maybe-info-target-rda:
40560 @if target-rda
40561 maybe-info-target-rda: info-target-rda
40563 info-target-rda: \
40564 configure-target-rda
40565 @: $(MAKE); $(unstage)
40566 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40567 r=`${PWD_COMMAND}`; export r; \
40568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40569 $(NORMAL_TARGET_EXPORTS) \
40570 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40571 for flag in $(EXTRA_TARGET_FLAGS); do \
40572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40573 done; \
40574 (cd $(TARGET_SUBDIR)/rda && \
40575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40577 "RANLIB=$${RANLIB}" \
40578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40579 info) \
40580 || exit 1
40582 @endif target-rda
40584 .PHONY: maybe-dvi-target-rda dvi-target-rda
40585 maybe-dvi-target-rda:
40586 @if target-rda
40587 maybe-dvi-target-rda: dvi-target-rda
40589 dvi-target-rda: \
40590 configure-target-rda
40591 @: $(MAKE); $(unstage)
40592 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40593 r=`${PWD_COMMAND}`; export r; \
40594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40595 $(NORMAL_TARGET_EXPORTS) \
40596 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40597 for flag in $(EXTRA_TARGET_FLAGS); do \
40598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40599 done; \
40600 (cd $(TARGET_SUBDIR)/rda && \
40601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40603 "RANLIB=$${RANLIB}" \
40604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40605 dvi) \
40606 || exit 1
40608 @endif target-rda
40610 .PHONY: maybe-pdf-target-rda pdf-target-rda
40611 maybe-pdf-target-rda:
40612 @if target-rda
40613 maybe-pdf-target-rda: pdf-target-rda
40615 pdf-target-rda: \
40616 configure-target-rda
40617 @: $(MAKE); $(unstage)
40618 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40619 r=`${PWD_COMMAND}`; export r; \
40620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40623 for flag in $(EXTRA_TARGET_FLAGS); do \
40624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40625 done; \
40626 (cd $(TARGET_SUBDIR)/rda && \
40627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40629 "RANLIB=$${RANLIB}" \
40630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40631 pdf) \
40632 || exit 1
40634 @endif target-rda
40636 .PHONY: maybe-html-target-rda html-target-rda
40637 maybe-html-target-rda:
40638 @if target-rda
40639 maybe-html-target-rda: html-target-rda
40641 html-target-rda: \
40642 configure-target-rda
40643 @: $(MAKE); $(unstage)
40644 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40645 r=`${PWD_COMMAND}`; export r; \
40646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40647 $(NORMAL_TARGET_EXPORTS) \
40648 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40649 for flag in $(EXTRA_TARGET_FLAGS); do \
40650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40651 done; \
40652 (cd $(TARGET_SUBDIR)/rda && \
40653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40655 "RANLIB=$${RANLIB}" \
40656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40657 html) \
40658 || exit 1
40660 @endif target-rda
40662 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40663 maybe-TAGS-target-rda:
40664 @if target-rda
40665 maybe-TAGS-target-rda: TAGS-target-rda
40667 TAGS-target-rda: \
40668 configure-target-rda
40669 @: $(MAKE); $(unstage)
40670 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40671 r=`${PWD_COMMAND}`; export r; \
40672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40673 $(NORMAL_TARGET_EXPORTS) \
40674 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40675 for flag in $(EXTRA_TARGET_FLAGS); do \
40676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40677 done; \
40678 (cd $(TARGET_SUBDIR)/rda && \
40679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40681 "RANLIB=$${RANLIB}" \
40682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40683 TAGS) \
40684 || exit 1
40686 @endif target-rda
40688 .PHONY: maybe-install-info-target-rda install-info-target-rda
40689 maybe-install-info-target-rda:
40690 @if target-rda
40691 maybe-install-info-target-rda: install-info-target-rda
40693 install-info-target-rda: \
40694 configure-target-rda \
40695 info-target-rda
40696 @: $(MAKE); $(unstage)
40697 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40698 r=`${PWD_COMMAND}`; export r; \
40699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40700 $(NORMAL_TARGET_EXPORTS) \
40701 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40702 for flag in $(EXTRA_TARGET_FLAGS); do \
40703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40704 done; \
40705 (cd $(TARGET_SUBDIR)/rda && \
40706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40708 "RANLIB=$${RANLIB}" \
40709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40710 install-info) \
40711 || exit 1
40713 @endif target-rda
40715 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
40716 maybe-install-pdf-target-rda:
40717 @if target-rda
40718 maybe-install-pdf-target-rda: install-pdf-target-rda
40720 install-pdf-target-rda: \
40721 configure-target-rda \
40722 pdf-target-rda
40723 @: $(MAKE); $(unstage)
40724 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40725 r=`${PWD_COMMAND}`; export r; \
40726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40727 $(NORMAL_TARGET_EXPORTS) \
40728 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
40729 for flag in $(EXTRA_TARGET_FLAGS); do \
40730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40731 done; \
40732 (cd $(TARGET_SUBDIR)/rda && \
40733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40735 "RANLIB=$${RANLIB}" \
40736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40737 install-pdf) \
40738 || exit 1
40740 @endif target-rda
40742 .PHONY: maybe-install-html-target-rda install-html-target-rda
40743 maybe-install-html-target-rda:
40744 @if target-rda
40745 maybe-install-html-target-rda: install-html-target-rda
40747 install-html-target-rda: \
40748 configure-target-rda \
40749 html-target-rda
40750 @: $(MAKE); $(unstage)
40751 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40752 r=`${PWD_COMMAND}`; export r; \
40753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40754 $(NORMAL_TARGET_EXPORTS) \
40755 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40756 for flag in $(EXTRA_TARGET_FLAGS); do \
40757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40758 done; \
40759 (cd $(TARGET_SUBDIR)/rda && \
40760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40762 "RANLIB=$${RANLIB}" \
40763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40764 install-html) \
40765 || exit 1
40767 @endif target-rda
40769 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40770 maybe-installcheck-target-rda:
40771 @if target-rda
40772 maybe-installcheck-target-rda: installcheck-target-rda
40774 installcheck-target-rda: \
40775 configure-target-rda
40776 @: $(MAKE); $(unstage)
40777 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40778 r=`${PWD_COMMAND}`; export r; \
40779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40780 $(NORMAL_TARGET_EXPORTS) \
40781 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40782 for flag in $(EXTRA_TARGET_FLAGS); do \
40783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40784 done; \
40785 (cd $(TARGET_SUBDIR)/rda && \
40786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40788 "RANLIB=$${RANLIB}" \
40789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40790 installcheck) \
40791 || exit 1
40793 @endif target-rda
40795 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40796 maybe-mostlyclean-target-rda:
40797 @if target-rda
40798 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40800 mostlyclean-target-rda:
40801 @: $(MAKE); $(unstage)
40802 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40803 r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 $(NORMAL_TARGET_EXPORTS) \
40806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40807 for flag in $(EXTRA_TARGET_FLAGS); do \
40808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40809 done; \
40810 (cd $(TARGET_SUBDIR)/rda && \
40811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40813 "RANLIB=$${RANLIB}" \
40814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40815 mostlyclean) \
40816 || exit 1
40818 @endif target-rda
40820 .PHONY: maybe-clean-target-rda clean-target-rda
40821 maybe-clean-target-rda:
40822 @if target-rda
40823 maybe-clean-target-rda: clean-target-rda
40825 clean-target-rda:
40826 @: $(MAKE); $(unstage)
40827 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40828 r=`${PWD_COMMAND}`; export r; \
40829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40830 $(NORMAL_TARGET_EXPORTS) \
40831 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 clean) \
40841 || exit 1
40843 @endif target-rda
40845 .PHONY: maybe-distclean-target-rda distclean-target-rda
40846 maybe-distclean-target-rda:
40847 @if target-rda
40848 maybe-distclean-target-rda: distclean-target-rda
40850 distclean-target-rda:
40851 @: $(MAKE); $(unstage)
40852 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40853 r=`${PWD_COMMAND}`; export r; \
40854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40855 $(NORMAL_TARGET_EXPORTS) \
40856 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40857 for flag in $(EXTRA_TARGET_FLAGS); do \
40858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40859 done; \
40860 (cd $(TARGET_SUBDIR)/rda && \
40861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40863 "RANLIB=$${RANLIB}" \
40864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40865 distclean) \
40866 || exit 1
40868 @endif target-rda
40870 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40871 maybe-maintainer-clean-target-rda:
40872 @if target-rda
40873 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40875 maintainer-clean-target-rda:
40876 @: $(MAKE); $(unstage)
40877 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40878 r=`${PWD_COMMAND}`; export r; \
40879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40880 $(NORMAL_TARGET_EXPORTS) \
40881 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40882 for flag in $(EXTRA_TARGET_FLAGS); do \
40883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40884 done; \
40885 (cd $(TARGET_SUBDIR)/rda && \
40886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40888 "RANLIB=$${RANLIB}" \
40889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40890 maintainer-clean) \
40891 || exit 1
40893 @endif target-rda
40899 .PHONY: configure-target-libada maybe-configure-target-libada
40900 maybe-configure-target-libada:
40901 @if gcc-bootstrap
40902 configure-target-libada: stage_current
40903 @endif gcc-bootstrap
40904 @if target-libada
40905 maybe-configure-target-libada: configure-target-libada
40906 configure-target-libada:
40907 @: $(MAKE); $(unstage)
40908 @r=`${PWD_COMMAND}`; export r; \
40909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40910 echo "Checking multilib configuration for libada..."; \
40911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40912 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40913 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40914 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40915 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40916 else \
40917 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40918 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40919 fi; \
40920 else \
40921 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40922 fi; \
40923 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40925 $(NORMAL_TARGET_EXPORTS) \
40926 echo Configuring in $(TARGET_SUBDIR)/libada; \
40927 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40928 case $(srcdir) in \
40929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40930 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40932 esac; \
40933 srcdiroption="--srcdir=$${topdir}/libada"; \
40934 libsrcdir="$$s/libada"; \
40935 rm -f no-such-file || : ; \
40936 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40937 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40938 --target=${target_alias} $${srcdiroption} \
40939 || exit 1
40940 @endif target-libada
40946 .PHONY: all-target-libada maybe-all-target-libada
40947 maybe-all-target-libada:
40948 @if gcc-bootstrap
40949 all-target-libada: stage_current
40950 @endif gcc-bootstrap
40951 @if target-libada
40952 TARGET-target-libada=all
40953 maybe-all-target-libada: all-target-libada
40954 all-target-libada: configure-target-libada
40955 @: $(MAKE); $(unstage)
40956 @r=`${PWD_COMMAND}`; export r; \
40957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40958 $(NORMAL_TARGET_EXPORTS) \
40959 (cd $(TARGET_SUBDIR)/libada && \
40960 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40961 $(TARGET-target-libada))
40962 @endif target-libada
40968 .PHONY: check-target-libada maybe-check-target-libada
40969 maybe-check-target-libada:
40970 @if target-libada
40971 maybe-check-target-libada: check-target-libada
40973 check-target-libada:
40974 @: $(MAKE); $(unstage)
40975 @r=`${PWD_COMMAND}`; export r; \
40976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40977 $(NORMAL_TARGET_EXPORTS) \
40978 (cd $(TARGET_SUBDIR)/libada && \
40979 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40981 @endif target-libada
40983 .PHONY: install-target-libada maybe-install-target-libada
40984 maybe-install-target-libada:
40985 @if target-libada
40986 maybe-install-target-libada: install-target-libada
40988 install-target-libada: installdirs
40989 @: $(MAKE); $(unstage)
40990 @r=`${PWD_COMMAND}`; export r; \
40991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40992 $(NORMAL_TARGET_EXPORTS) \
40993 (cd $(TARGET_SUBDIR)/libada && \
40994 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40996 @endif target-libada
40998 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
40999 maybe-install-strip-target-libada:
41000 @if target-libada
41001 maybe-install-strip-target-libada: install-strip-target-libada
41003 install-strip-target-libada: installdirs
41004 @: $(MAKE); $(unstage)
41005 @r=`${PWD_COMMAND}`; export r; \
41006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41007 $(NORMAL_TARGET_EXPORTS) \
41008 (cd $(TARGET_SUBDIR)/libada && \
41009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41011 @endif target-libada
41013 # Other targets (info, dvi, pdf, etc.)
41015 .PHONY: maybe-info-target-libada info-target-libada
41016 maybe-info-target-libada:
41017 @if target-libada
41018 maybe-info-target-libada: info-target-libada
41020 info-target-libada: \
41021 configure-target-libada
41022 @: $(MAKE); $(unstage)
41023 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41024 r=`${PWD_COMMAND}`; export r; \
41025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41026 $(NORMAL_TARGET_EXPORTS) \
41027 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
41028 for flag in $(EXTRA_TARGET_FLAGS); do \
41029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41030 done; \
41031 (cd $(TARGET_SUBDIR)/libada && \
41032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41034 "RANLIB=$${RANLIB}" \
41035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41036 info) \
41037 || exit 1
41039 @endif target-libada
41041 .PHONY: maybe-dvi-target-libada dvi-target-libada
41042 maybe-dvi-target-libada:
41043 @if target-libada
41044 maybe-dvi-target-libada: dvi-target-libada
41046 dvi-target-libada: \
41047 configure-target-libada
41048 @: $(MAKE); $(unstage)
41049 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41050 r=`${PWD_COMMAND}`; export r; \
41051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41052 $(NORMAL_TARGET_EXPORTS) \
41053 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41054 for flag in $(EXTRA_TARGET_FLAGS); do \
41055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41056 done; \
41057 (cd $(TARGET_SUBDIR)/libada && \
41058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41060 "RANLIB=$${RANLIB}" \
41061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41062 dvi) \
41063 || exit 1
41065 @endif target-libada
41067 .PHONY: maybe-pdf-target-libada pdf-target-libada
41068 maybe-pdf-target-libada:
41069 @if target-libada
41070 maybe-pdf-target-libada: pdf-target-libada
41072 pdf-target-libada: \
41073 configure-target-libada
41074 @: $(MAKE); $(unstage)
41075 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41076 r=`${PWD_COMMAND}`; export r; \
41077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41078 $(NORMAL_TARGET_EXPORTS) \
41079 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41080 for flag in $(EXTRA_TARGET_FLAGS); do \
41081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41082 done; \
41083 (cd $(TARGET_SUBDIR)/libada && \
41084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41086 "RANLIB=$${RANLIB}" \
41087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41088 pdf) \
41089 || exit 1
41091 @endif target-libada
41093 .PHONY: maybe-html-target-libada html-target-libada
41094 maybe-html-target-libada:
41095 @if target-libada
41096 maybe-html-target-libada: html-target-libada
41098 html-target-libada: \
41099 configure-target-libada
41100 @: $(MAKE); $(unstage)
41101 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41102 r=`${PWD_COMMAND}`; export r; \
41103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41104 $(NORMAL_TARGET_EXPORTS) \
41105 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41106 for flag in $(EXTRA_TARGET_FLAGS); do \
41107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41108 done; \
41109 (cd $(TARGET_SUBDIR)/libada && \
41110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41112 "RANLIB=$${RANLIB}" \
41113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41114 html) \
41115 || exit 1
41117 @endif target-libada
41119 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41120 maybe-TAGS-target-libada:
41121 @if target-libada
41122 maybe-TAGS-target-libada: TAGS-target-libada
41124 TAGS-target-libada: \
41125 configure-target-libada
41126 @: $(MAKE); $(unstage)
41127 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41128 r=`${PWD_COMMAND}`; export r; \
41129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41130 $(NORMAL_TARGET_EXPORTS) \
41131 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41132 for flag in $(EXTRA_TARGET_FLAGS); do \
41133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41134 done; \
41135 (cd $(TARGET_SUBDIR)/libada && \
41136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41138 "RANLIB=$${RANLIB}" \
41139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41140 TAGS) \
41141 || exit 1
41143 @endif target-libada
41145 .PHONY: maybe-install-info-target-libada install-info-target-libada
41146 maybe-install-info-target-libada:
41147 @if target-libada
41148 maybe-install-info-target-libada: install-info-target-libada
41150 install-info-target-libada: \
41151 configure-target-libada \
41152 info-target-libada
41153 @: $(MAKE); $(unstage)
41154 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41155 r=`${PWD_COMMAND}`; export r; \
41156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41157 $(NORMAL_TARGET_EXPORTS) \
41158 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41159 for flag in $(EXTRA_TARGET_FLAGS); do \
41160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41161 done; \
41162 (cd $(TARGET_SUBDIR)/libada && \
41163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41165 "RANLIB=$${RANLIB}" \
41166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41167 install-info) \
41168 || exit 1
41170 @endif target-libada
41172 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
41173 maybe-install-pdf-target-libada:
41174 @if target-libada
41175 maybe-install-pdf-target-libada: install-pdf-target-libada
41177 install-pdf-target-libada: \
41178 configure-target-libada \
41179 pdf-target-libada
41180 @: $(MAKE); $(unstage)
41181 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41182 r=`${PWD_COMMAND}`; export r; \
41183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41184 $(NORMAL_TARGET_EXPORTS) \
41185 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
41186 for flag in $(EXTRA_TARGET_FLAGS); do \
41187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41188 done; \
41189 (cd $(TARGET_SUBDIR)/libada && \
41190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41192 "RANLIB=$${RANLIB}" \
41193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41194 install-pdf) \
41195 || exit 1
41197 @endif target-libada
41199 .PHONY: maybe-install-html-target-libada install-html-target-libada
41200 maybe-install-html-target-libada:
41201 @if target-libada
41202 maybe-install-html-target-libada: install-html-target-libada
41204 install-html-target-libada: \
41205 configure-target-libada \
41206 html-target-libada
41207 @: $(MAKE); $(unstage)
41208 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41209 r=`${PWD_COMMAND}`; export r; \
41210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41211 $(NORMAL_TARGET_EXPORTS) \
41212 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41213 for flag in $(EXTRA_TARGET_FLAGS); do \
41214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41215 done; \
41216 (cd $(TARGET_SUBDIR)/libada && \
41217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41219 "RANLIB=$${RANLIB}" \
41220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41221 install-html) \
41222 || exit 1
41224 @endif target-libada
41226 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41227 maybe-installcheck-target-libada:
41228 @if target-libada
41229 maybe-installcheck-target-libada: installcheck-target-libada
41231 installcheck-target-libada: \
41232 configure-target-libada
41233 @: $(MAKE); $(unstage)
41234 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41235 r=`${PWD_COMMAND}`; export r; \
41236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41237 $(NORMAL_TARGET_EXPORTS) \
41238 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41239 for flag in $(EXTRA_TARGET_FLAGS); do \
41240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41241 done; \
41242 (cd $(TARGET_SUBDIR)/libada && \
41243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41245 "RANLIB=$${RANLIB}" \
41246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41247 installcheck) \
41248 || exit 1
41250 @endif target-libada
41252 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41253 maybe-mostlyclean-target-libada:
41254 @if target-libada
41255 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41257 mostlyclean-target-libada:
41258 @: $(MAKE); $(unstage)
41259 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41260 r=`${PWD_COMMAND}`; export r; \
41261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41262 $(NORMAL_TARGET_EXPORTS) \
41263 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41264 for flag in $(EXTRA_TARGET_FLAGS); do \
41265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41266 done; \
41267 (cd $(TARGET_SUBDIR)/libada && \
41268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41270 "RANLIB=$${RANLIB}" \
41271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41272 mostlyclean) \
41273 || exit 1
41275 @endif target-libada
41277 .PHONY: maybe-clean-target-libada clean-target-libada
41278 maybe-clean-target-libada:
41279 @if target-libada
41280 maybe-clean-target-libada: clean-target-libada
41282 clean-target-libada:
41283 @: $(MAKE); $(unstage)
41284 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41285 r=`${PWD_COMMAND}`; export r; \
41286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41287 $(NORMAL_TARGET_EXPORTS) \
41288 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 clean) \
41298 || exit 1
41300 @endif target-libada
41302 .PHONY: maybe-distclean-target-libada distclean-target-libada
41303 maybe-distclean-target-libada:
41304 @if target-libada
41305 maybe-distclean-target-libada: distclean-target-libada
41307 distclean-target-libada:
41308 @: $(MAKE); $(unstage)
41309 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41310 r=`${PWD_COMMAND}`; export r; \
41311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41312 $(NORMAL_TARGET_EXPORTS) \
41313 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41314 for flag in $(EXTRA_TARGET_FLAGS); do \
41315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41316 done; \
41317 (cd $(TARGET_SUBDIR)/libada && \
41318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41320 "RANLIB=$${RANLIB}" \
41321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41322 distclean) \
41323 || exit 1
41325 @endif target-libada
41327 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41328 maybe-maintainer-clean-target-libada:
41329 @if target-libada
41330 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41332 maintainer-clean-target-libada:
41333 @: $(MAKE); $(unstage)
41334 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41335 r=`${PWD_COMMAND}`; export r; \
41336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41337 $(NORMAL_TARGET_EXPORTS) \
41338 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41339 for flag in $(EXTRA_TARGET_FLAGS); do \
41340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41341 done; \
41342 (cd $(TARGET_SUBDIR)/libada && \
41343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41345 "RANLIB=$${RANLIB}" \
41346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41347 maintainer-clean) \
41348 || exit 1
41350 @endif target-libada
41356 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41357 maybe-configure-target-libgomp:
41358 @if gcc-bootstrap
41359 configure-target-libgomp: stage_current
41360 @endif gcc-bootstrap
41361 @if target-libgomp
41362 maybe-configure-target-libgomp: configure-target-libgomp
41363 configure-target-libgomp:
41364 @r=`${PWD_COMMAND}`; export r; \
41365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41366 echo "Checking multilib configuration for libgomp..."; \
41367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41369 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41370 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41371 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41372 else \
41373 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41374 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41375 fi; \
41376 else \
41377 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41378 fi; \
41379 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41381 $(NORMAL_TARGET_EXPORTS) \
41382 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41383 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41384 case $(srcdir) in \
41385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41386 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41388 esac; \
41389 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41390 libsrcdir="$$s/libgomp"; \
41391 rm -f no-such-file || : ; \
41392 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41393 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41394 --target=${target_alias} $${srcdiroption} \
41395 || exit 1
41396 @endif target-libgomp
41400 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
41401 maybe-configure-stage1-target-libgomp:
41402 @if target-libgomp-bootstrap
41403 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
41404 configure-stage1-target-libgomp:
41405 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41406 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41407 @r=`${PWD_COMMAND}`; export r; \
41408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41409 TFLAGS="$(STAGE1_TFLAGS)"; \
41410 echo "Checking multilib configuration for libgomp..."; \
41411 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41412 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41413 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41414 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41415 else \
41416 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41417 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41418 fi; \
41419 else \
41420 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41421 fi; \
41422 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41423 $(NORMAL_TARGET_EXPORTS) \
41424 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41425 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41426 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41427 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
41428 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41429 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41430 case $(srcdir) in \
41431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41432 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41434 esac; \
41435 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41436 libsrcdir="$$s/libgomp"; \
41437 $(SHELL) $${libsrcdir}/configure \
41438 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41439 --target=${target_alias} $${srcdiroption} \
41440 $(STAGE1_CONFIGURE_FLAGS)
41441 @endif target-libgomp-bootstrap
41443 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
41444 maybe-configure-stage2-target-libgomp:
41445 @if target-libgomp-bootstrap
41446 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
41447 configure-stage2-target-libgomp:
41448 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41449 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41450 @r=`${PWD_COMMAND}`; export r; \
41451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41452 TFLAGS="$(STAGE2_TFLAGS)"; \
41453 echo "Checking multilib configuration for libgomp..."; \
41454 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41455 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41456 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41457 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41458 else \
41459 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41460 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41461 fi; \
41462 else \
41463 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41464 fi; \
41465 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41466 $(NORMAL_TARGET_EXPORTS) \
41468 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41469 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41470 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41471 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
41472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41473 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41474 case $(srcdir) in \
41475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41476 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41478 esac; \
41479 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41480 libsrcdir="$$s/libgomp"; \
41481 $(SHELL) $${libsrcdir}/configure \
41482 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41483 --target=${target_alias} $${srcdiroption} \
41484 --with-build-libsubdir=$(HOST_SUBDIR) \
41485 $(STAGE2_CONFIGURE_FLAGS)
41486 @endif target-libgomp-bootstrap
41488 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
41489 maybe-configure-stage3-target-libgomp:
41490 @if target-libgomp-bootstrap
41491 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
41492 configure-stage3-target-libgomp:
41493 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41494 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41495 @r=`${PWD_COMMAND}`; export r; \
41496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41497 TFLAGS="$(STAGE3_TFLAGS)"; \
41498 echo "Checking multilib configuration for libgomp..."; \
41499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41500 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41501 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41502 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41503 else \
41504 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41505 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41506 fi; \
41507 else \
41508 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41509 fi; \
41510 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41511 $(NORMAL_TARGET_EXPORTS) \
41513 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41516 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
41517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41518 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41519 case $(srcdir) in \
41520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41521 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41523 esac; \
41524 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41525 libsrcdir="$$s/libgomp"; \
41526 $(SHELL) $${libsrcdir}/configure \
41527 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41528 --target=${target_alias} $${srcdiroption} \
41529 --with-build-libsubdir=$(HOST_SUBDIR) \
41530 $(STAGE3_CONFIGURE_FLAGS)
41531 @endif target-libgomp-bootstrap
41533 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
41534 maybe-configure-stage4-target-libgomp:
41535 @if target-libgomp-bootstrap
41536 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
41537 configure-stage4-target-libgomp:
41538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41539 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41540 @r=`${PWD_COMMAND}`; export r; \
41541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41542 TFLAGS="$(STAGE4_TFLAGS)"; \
41543 echo "Checking multilib configuration for libgomp..."; \
41544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41545 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41546 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41547 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41548 else \
41549 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41550 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41551 fi; \
41552 else \
41553 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41554 fi; \
41555 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41556 $(NORMAL_TARGET_EXPORTS) \
41558 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41559 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41560 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41561 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
41562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41563 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41564 case $(srcdir) in \
41565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41566 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41568 esac; \
41569 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41570 libsrcdir="$$s/libgomp"; \
41571 $(SHELL) $${libsrcdir}/configure \
41572 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41573 --target=${target_alias} $${srcdiroption} \
41574 --with-build-libsubdir=$(HOST_SUBDIR) \
41575 $(STAGE4_CONFIGURE_FLAGS)
41576 @endif target-libgomp-bootstrap
41578 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
41579 maybe-configure-stageprofile-target-libgomp:
41580 @if target-libgomp-bootstrap
41581 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41582 configure-stageprofile-target-libgomp:
41583 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41584 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41585 @r=`${PWD_COMMAND}`; export r; \
41586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41587 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41588 echo "Checking multilib configuration for libgomp..."; \
41589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41590 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41591 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41592 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41593 else \
41594 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41595 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41596 fi; \
41597 else \
41598 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41599 fi; \
41600 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41601 $(NORMAL_TARGET_EXPORTS) \
41603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41604 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41605 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41606 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
41607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41608 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41609 case $(srcdir) in \
41610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41611 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41613 esac; \
41614 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41615 libsrcdir="$$s/libgomp"; \
41616 $(SHELL) $${libsrcdir}/configure \
41617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41618 --target=${target_alias} $${srcdiroption} \
41619 --with-build-libsubdir=$(HOST_SUBDIR) \
41620 $(STAGEprofile_CONFIGURE_FLAGS)
41621 @endif target-libgomp-bootstrap
41623 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
41624 maybe-configure-stagefeedback-target-libgomp:
41625 @if target-libgomp-bootstrap
41626 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41627 configure-stagefeedback-target-libgomp:
41628 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41630 @r=`${PWD_COMMAND}`; export r; \
41631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41632 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41633 echo "Checking multilib configuration for libgomp..."; \
41634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41635 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41636 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41637 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41638 else \
41639 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41640 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41641 fi; \
41642 else \
41643 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41644 fi; \
41645 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41646 $(NORMAL_TARGET_EXPORTS) \
41648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41651 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
41652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41653 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41654 case $(srcdir) in \
41655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41656 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41658 esac; \
41659 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41660 libsrcdir="$$s/libgomp"; \
41661 $(SHELL) $${libsrcdir}/configure \
41662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41663 --target=${target_alias} $${srcdiroption} \
41664 --with-build-libsubdir=$(HOST_SUBDIR) \
41665 $(STAGEfeedback_CONFIGURE_FLAGS)
41666 @endif target-libgomp-bootstrap
41672 .PHONY: all-target-libgomp maybe-all-target-libgomp
41673 maybe-all-target-libgomp:
41674 @if gcc-bootstrap
41675 all-target-libgomp: stage_current
41676 @endif gcc-bootstrap
41677 @if target-libgomp
41678 TARGET-target-libgomp=all
41679 maybe-all-target-libgomp: all-target-libgomp
41680 all-target-libgomp: configure-target-libgomp
41681 @r=`${PWD_COMMAND}`; export r; \
41682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41683 $(NORMAL_TARGET_EXPORTS) \
41684 (cd $(TARGET_SUBDIR)/libgomp && \
41685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41686 $(TARGET-target-libgomp))
41687 @endif target-libgomp
41691 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
41692 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
41693 maybe-all-stage1-target-libgomp:
41694 maybe-clean-stage1-target-libgomp:
41695 @if target-libgomp-bootstrap
41696 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
41697 all-stage1: all-stage1-target-libgomp
41698 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
41699 all-stage1-target-libgomp: configure-stage1-target-libgomp
41700 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41701 @r=`${PWD_COMMAND}`; export r; \
41702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41703 TFLAGS="$(STAGE1_TFLAGS)"; \
41704 $(NORMAL_TARGET_EXPORTS) \
41705 cd $(TARGET_SUBDIR)/libgomp && \
41706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41707 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41708 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41709 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41713 $(EXTRA_TARGET_FLAGS) \
41715 TFLAGS="$(STAGE1_TFLAGS)" \
41716 $(TARGET-stage1-target-libgomp)
41718 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
41719 clean-stage1: clean-stage1-target-libgomp
41720 clean-stage1-target-libgomp:
41721 @if [ $(current_stage) = stage1 ]; then \
41722 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41723 else \
41724 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
41725 $(MAKE) stage1-start; \
41726 fi; \
41727 cd $(TARGET_SUBDIR)/libgomp && \
41728 $(MAKE) $(EXTRA_TARGET_FLAGS) \
41729 clean
41730 @endif target-libgomp-bootstrap
41733 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
41734 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
41735 maybe-all-stage2-target-libgomp:
41736 maybe-clean-stage2-target-libgomp:
41737 @if target-libgomp-bootstrap
41738 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
41739 all-stage2: all-stage2-target-libgomp
41740 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
41741 all-stage2-target-libgomp: configure-stage2-target-libgomp
41742 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41743 @r=`${PWD_COMMAND}`; export r; \
41744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41745 TFLAGS="$(STAGE2_TFLAGS)"; \
41746 $(NORMAL_TARGET_EXPORTS) \
41748 cd $(TARGET_SUBDIR)/libgomp && \
41749 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41750 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41751 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41752 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41753 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41754 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41755 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41756 $(EXTRA_TARGET_FLAGS) \
41757 TFLAGS="$(STAGE2_TFLAGS)" \
41758 $(TARGET-stage2-target-libgomp)
41760 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
41761 clean-stage2: clean-stage2-target-libgomp
41762 clean-stage2-target-libgomp:
41763 @if [ $(current_stage) = stage2 ]; then \
41764 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41765 else \
41766 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
41767 $(MAKE) stage2-start; \
41768 fi; \
41769 cd $(TARGET_SUBDIR)/libgomp && \
41770 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41771 @endif target-libgomp-bootstrap
41774 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
41775 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
41776 maybe-all-stage3-target-libgomp:
41777 maybe-clean-stage3-target-libgomp:
41778 @if target-libgomp-bootstrap
41779 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
41780 all-stage3: all-stage3-target-libgomp
41781 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
41782 all-stage3-target-libgomp: configure-stage3-target-libgomp
41783 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41784 @r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 TFLAGS="$(STAGE3_TFLAGS)"; \
41787 $(NORMAL_TARGET_EXPORTS) \
41789 cd $(TARGET_SUBDIR)/libgomp && \
41790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41791 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41792 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41793 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41797 $(EXTRA_TARGET_FLAGS) \
41798 TFLAGS="$(STAGE3_TFLAGS)" \
41799 $(TARGET-stage3-target-libgomp)
41801 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
41802 clean-stage3: clean-stage3-target-libgomp
41803 clean-stage3-target-libgomp:
41804 @if [ $(current_stage) = stage3 ]; then \
41805 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41806 else \
41807 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
41808 $(MAKE) stage3-start; \
41809 fi; \
41810 cd $(TARGET_SUBDIR)/libgomp && \
41811 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41812 @endif target-libgomp-bootstrap
41815 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
41816 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
41817 maybe-all-stage4-target-libgomp:
41818 maybe-clean-stage4-target-libgomp:
41819 @if target-libgomp-bootstrap
41820 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
41821 all-stage4: all-stage4-target-libgomp
41822 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
41823 all-stage4-target-libgomp: configure-stage4-target-libgomp
41824 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41825 @r=`${PWD_COMMAND}`; export r; \
41826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41827 TFLAGS="$(STAGE4_TFLAGS)"; \
41828 $(NORMAL_TARGET_EXPORTS) \
41830 cd $(TARGET_SUBDIR)/libgomp && \
41831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41832 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41833 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41834 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41838 $(EXTRA_TARGET_FLAGS) \
41839 TFLAGS="$(STAGE4_TFLAGS)" \
41840 $(TARGET-stage4-target-libgomp)
41842 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
41843 clean-stage4: clean-stage4-target-libgomp
41844 clean-stage4-target-libgomp:
41845 @if [ $(current_stage) = stage4 ]; then \
41846 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41847 else \
41848 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
41849 $(MAKE) stage4-start; \
41850 fi; \
41851 cd $(TARGET_SUBDIR)/libgomp && \
41852 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41853 @endif target-libgomp-bootstrap
41856 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
41857 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
41858 maybe-all-stageprofile-target-libgomp:
41859 maybe-clean-stageprofile-target-libgomp:
41860 @if target-libgomp-bootstrap
41861 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
41862 all-stageprofile: all-stageprofile-target-libgomp
41863 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
41864 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41865 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41866 @r=`${PWD_COMMAND}`; export r; \
41867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41868 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41869 $(NORMAL_TARGET_EXPORTS) \
41871 cd $(TARGET_SUBDIR)/libgomp && \
41872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41873 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41879 $(EXTRA_TARGET_FLAGS) \
41880 TFLAGS="$(STAGEprofile_TFLAGS)" \
41881 $(TARGET-stageprofile-target-libgomp)
41883 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
41884 clean-stageprofile: clean-stageprofile-target-libgomp
41885 clean-stageprofile-target-libgomp:
41886 @if [ $(current_stage) = stageprofile ]; then \
41887 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41888 else \
41889 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
41890 $(MAKE) stageprofile-start; \
41891 fi; \
41892 cd $(TARGET_SUBDIR)/libgomp && \
41893 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41894 @endif target-libgomp-bootstrap
41897 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
41898 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
41899 maybe-all-stagefeedback-target-libgomp:
41900 maybe-clean-stagefeedback-target-libgomp:
41901 @if target-libgomp-bootstrap
41902 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
41903 all-stagefeedback: all-stagefeedback-target-libgomp
41904 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
41905 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41906 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41907 @r=`${PWD_COMMAND}`; export r; \
41908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41910 $(NORMAL_TARGET_EXPORTS) \
41912 cd $(TARGET_SUBDIR)/libgomp && \
41913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41914 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41915 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41916 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41920 $(EXTRA_TARGET_FLAGS) \
41921 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41922 $(TARGET-stagefeedback-target-libgomp)
41924 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
41925 clean-stagefeedback: clean-stagefeedback-target-libgomp
41926 clean-stagefeedback-target-libgomp:
41927 @if [ $(current_stage) = stagefeedback ]; then \
41928 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41929 else \
41930 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
41931 $(MAKE) stagefeedback-start; \
41932 fi; \
41933 cd $(TARGET_SUBDIR)/libgomp && \
41934 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41935 @endif target-libgomp-bootstrap
41942 .PHONY: check-target-libgomp maybe-check-target-libgomp
41943 maybe-check-target-libgomp:
41944 @if target-libgomp
41945 maybe-check-target-libgomp: check-target-libgomp
41947 check-target-libgomp:
41948 @: $(MAKE); $(unstage)
41949 @r=`${PWD_COMMAND}`; export r; \
41950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41951 $(NORMAL_TARGET_EXPORTS) \
41952 (cd $(TARGET_SUBDIR)/libgomp && \
41953 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41955 @endif target-libgomp
41957 .PHONY: install-target-libgomp maybe-install-target-libgomp
41958 maybe-install-target-libgomp:
41959 @if target-libgomp
41960 maybe-install-target-libgomp: install-target-libgomp
41962 install-target-libgomp: installdirs
41963 @: $(MAKE); $(unstage)
41964 @r=`${PWD_COMMAND}`; export r; \
41965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41966 $(NORMAL_TARGET_EXPORTS) \
41967 (cd $(TARGET_SUBDIR)/libgomp && \
41968 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41970 @endif target-libgomp
41972 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
41973 maybe-install-strip-target-libgomp:
41974 @if target-libgomp
41975 maybe-install-strip-target-libgomp: install-strip-target-libgomp
41977 install-strip-target-libgomp: installdirs
41978 @: $(MAKE); $(unstage)
41979 @r=`${PWD_COMMAND}`; export r; \
41980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41981 $(NORMAL_TARGET_EXPORTS) \
41982 (cd $(TARGET_SUBDIR)/libgomp && \
41983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41985 @endif target-libgomp
41987 # Other targets (info, dvi, pdf, etc.)
41989 .PHONY: maybe-info-target-libgomp info-target-libgomp
41990 maybe-info-target-libgomp:
41991 @if target-libgomp
41992 maybe-info-target-libgomp: info-target-libgomp
41994 info-target-libgomp: \
41995 configure-target-libgomp
41996 @: $(MAKE); $(unstage)
41997 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41998 r=`${PWD_COMMAND}`; export r; \
41999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42000 $(NORMAL_TARGET_EXPORTS) \
42001 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
42002 for flag in $(EXTRA_TARGET_FLAGS); do \
42003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42004 done; \
42005 (cd $(TARGET_SUBDIR)/libgomp && \
42006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42008 "RANLIB=$${RANLIB}" \
42009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42010 info) \
42011 || exit 1
42013 @endif target-libgomp
42015 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
42016 maybe-dvi-target-libgomp:
42017 @if target-libgomp
42018 maybe-dvi-target-libgomp: dvi-target-libgomp
42020 dvi-target-libgomp: \
42021 configure-target-libgomp
42022 @: $(MAKE); $(unstage)
42023 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42024 r=`${PWD_COMMAND}`; export r; \
42025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42026 $(NORMAL_TARGET_EXPORTS) \
42027 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
42028 for flag in $(EXTRA_TARGET_FLAGS); do \
42029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42030 done; \
42031 (cd $(TARGET_SUBDIR)/libgomp && \
42032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42034 "RANLIB=$${RANLIB}" \
42035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42036 dvi) \
42037 || exit 1
42039 @endif target-libgomp
42041 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
42042 maybe-pdf-target-libgomp:
42043 @if target-libgomp
42044 maybe-pdf-target-libgomp: pdf-target-libgomp
42046 pdf-target-libgomp: \
42047 configure-target-libgomp
42048 @: $(MAKE); $(unstage)
42049 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42050 r=`${PWD_COMMAND}`; export r; \
42051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42052 $(NORMAL_TARGET_EXPORTS) \
42053 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
42054 for flag in $(EXTRA_TARGET_FLAGS); do \
42055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42056 done; \
42057 (cd $(TARGET_SUBDIR)/libgomp && \
42058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42060 "RANLIB=$${RANLIB}" \
42061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42062 pdf) \
42063 || exit 1
42065 @endif target-libgomp
42067 .PHONY: maybe-html-target-libgomp html-target-libgomp
42068 maybe-html-target-libgomp:
42069 @if target-libgomp
42070 maybe-html-target-libgomp: html-target-libgomp
42072 html-target-libgomp: \
42073 configure-target-libgomp
42074 @: $(MAKE); $(unstage)
42075 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42076 r=`${PWD_COMMAND}`; export r; \
42077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42078 $(NORMAL_TARGET_EXPORTS) \
42079 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
42080 for flag in $(EXTRA_TARGET_FLAGS); do \
42081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42082 done; \
42083 (cd $(TARGET_SUBDIR)/libgomp && \
42084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42086 "RANLIB=$${RANLIB}" \
42087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42088 html) \
42089 || exit 1
42091 @endif target-libgomp
42093 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
42094 maybe-TAGS-target-libgomp:
42095 @if target-libgomp
42096 maybe-TAGS-target-libgomp: TAGS-target-libgomp
42098 TAGS-target-libgomp: \
42099 configure-target-libgomp
42100 @: $(MAKE); $(unstage)
42101 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42102 r=`${PWD_COMMAND}`; export r; \
42103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42104 $(NORMAL_TARGET_EXPORTS) \
42105 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
42106 for flag in $(EXTRA_TARGET_FLAGS); do \
42107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42108 done; \
42109 (cd $(TARGET_SUBDIR)/libgomp && \
42110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42112 "RANLIB=$${RANLIB}" \
42113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42114 TAGS) \
42115 || exit 1
42117 @endif target-libgomp
42119 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
42120 maybe-install-info-target-libgomp:
42121 @if target-libgomp
42122 maybe-install-info-target-libgomp: install-info-target-libgomp
42124 install-info-target-libgomp: \
42125 configure-target-libgomp \
42126 info-target-libgomp
42127 @: $(MAKE); $(unstage)
42128 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42129 r=`${PWD_COMMAND}`; export r; \
42130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42131 $(NORMAL_TARGET_EXPORTS) \
42132 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
42133 for flag in $(EXTRA_TARGET_FLAGS); do \
42134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42135 done; \
42136 (cd $(TARGET_SUBDIR)/libgomp && \
42137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42139 "RANLIB=$${RANLIB}" \
42140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42141 install-info) \
42142 || exit 1
42144 @endif target-libgomp
42146 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
42147 maybe-install-pdf-target-libgomp:
42148 @if target-libgomp
42149 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
42151 install-pdf-target-libgomp: \
42152 configure-target-libgomp \
42153 pdf-target-libgomp
42154 @: $(MAKE); $(unstage)
42155 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42156 r=`${PWD_COMMAND}`; export r; \
42157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42158 $(NORMAL_TARGET_EXPORTS) \
42159 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
42160 for flag in $(EXTRA_TARGET_FLAGS); do \
42161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42162 done; \
42163 (cd $(TARGET_SUBDIR)/libgomp && \
42164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42166 "RANLIB=$${RANLIB}" \
42167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42168 install-pdf) \
42169 || exit 1
42171 @endif target-libgomp
42173 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
42174 maybe-install-html-target-libgomp:
42175 @if target-libgomp
42176 maybe-install-html-target-libgomp: install-html-target-libgomp
42178 install-html-target-libgomp: \
42179 configure-target-libgomp \
42180 html-target-libgomp
42181 @: $(MAKE); $(unstage)
42182 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42183 r=`${PWD_COMMAND}`; export r; \
42184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42185 $(NORMAL_TARGET_EXPORTS) \
42186 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
42187 for flag in $(EXTRA_TARGET_FLAGS); do \
42188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42189 done; \
42190 (cd $(TARGET_SUBDIR)/libgomp && \
42191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42193 "RANLIB=$${RANLIB}" \
42194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42195 install-html) \
42196 || exit 1
42198 @endif target-libgomp
42200 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
42201 maybe-installcheck-target-libgomp:
42202 @if target-libgomp
42203 maybe-installcheck-target-libgomp: installcheck-target-libgomp
42205 installcheck-target-libgomp: \
42206 configure-target-libgomp
42207 @: $(MAKE); $(unstage)
42208 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42209 r=`${PWD_COMMAND}`; export r; \
42210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42211 $(NORMAL_TARGET_EXPORTS) \
42212 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
42213 for flag in $(EXTRA_TARGET_FLAGS); do \
42214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42215 done; \
42216 (cd $(TARGET_SUBDIR)/libgomp && \
42217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42219 "RANLIB=$${RANLIB}" \
42220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42221 installcheck) \
42222 || exit 1
42224 @endif target-libgomp
42226 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
42227 maybe-mostlyclean-target-libgomp:
42228 @if target-libgomp
42229 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
42231 mostlyclean-target-libgomp:
42232 @: $(MAKE); $(unstage)
42233 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42234 r=`${PWD_COMMAND}`; export r; \
42235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42236 $(NORMAL_TARGET_EXPORTS) \
42237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
42238 for flag in $(EXTRA_TARGET_FLAGS); do \
42239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42240 done; \
42241 (cd $(TARGET_SUBDIR)/libgomp && \
42242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42244 "RANLIB=$${RANLIB}" \
42245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42246 mostlyclean) \
42247 || exit 1
42249 @endif target-libgomp
42251 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
42252 maybe-clean-target-libgomp:
42253 @if target-libgomp
42254 maybe-clean-target-libgomp: clean-target-libgomp
42256 clean-target-libgomp:
42257 @: $(MAKE); $(unstage)
42258 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42259 r=`${PWD_COMMAND}`; export r; \
42260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42261 $(NORMAL_TARGET_EXPORTS) \
42262 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
42263 for flag in $(EXTRA_TARGET_FLAGS); do \
42264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42265 done; \
42266 (cd $(TARGET_SUBDIR)/libgomp && \
42267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42269 "RANLIB=$${RANLIB}" \
42270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42271 clean) \
42272 || exit 1
42274 @endif target-libgomp
42276 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
42277 maybe-distclean-target-libgomp:
42278 @if target-libgomp
42279 maybe-distclean-target-libgomp: distclean-target-libgomp
42281 distclean-target-libgomp:
42282 @: $(MAKE); $(unstage)
42283 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42284 r=`${PWD_COMMAND}`; export r; \
42285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42286 $(NORMAL_TARGET_EXPORTS) \
42287 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
42288 for flag in $(EXTRA_TARGET_FLAGS); do \
42289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42290 done; \
42291 (cd $(TARGET_SUBDIR)/libgomp && \
42292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42294 "RANLIB=$${RANLIB}" \
42295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42296 distclean) \
42297 || exit 1
42299 @endif target-libgomp
42301 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
42302 maybe-maintainer-clean-target-libgomp:
42303 @if target-libgomp
42304 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
42306 maintainer-clean-target-libgomp:
42307 @: $(MAKE); $(unstage)
42308 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42309 r=`${PWD_COMMAND}`; export r; \
42310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42311 $(NORMAL_TARGET_EXPORTS) \
42312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
42313 for flag in $(EXTRA_TARGET_FLAGS); do \
42314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42315 done; \
42316 (cd $(TARGET_SUBDIR)/libgomp && \
42317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42319 "RANLIB=$${RANLIB}" \
42320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42321 maintainer-clean) \
42322 || exit 1
42324 @endif target-libgomp
42330 .PHONY: configure-target-libitm maybe-configure-target-libitm
42331 maybe-configure-target-libitm:
42332 @if gcc-bootstrap
42333 configure-target-libitm: stage_current
42334 @endif gcc-bootstrap
42335 @if target-libitm
42336 maybe-configure-target-libitm: configure-target-libitm
42337 configure-target-libitm:
42338 @: $(MAKE); $(unstage)
42339 @r=`${PWD_COMMAND}`; export r; \
42340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42341 echo "Checking multilib configuration for libitm..."; \
42342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
42343 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
42344 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
42345 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
42346 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
42347 else \
42348 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
42349 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
42350 fi; \
42351 else \
42352 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
42353 fi; \
42354 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
42355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
42356 $(NORMAL_TARGET_EXPORTS) \
42357 echo Configuring in $(TARGET_SUBDIR)/libitm; \
42358 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
42359 case $(srcdir) in \
42360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42361 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
42362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42363 esac; \
42364 srcdiroption="--srcdir=$${topdir}/libitm"; \
42365 libsrcdir="$$s/libitm"; \
42366 rm -f no-such-file || : ; \
42367 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42368 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42369 --target=${target_alias} $${srcdiroption} \
42370 || exit 1
42371 @endif target-libitm
42377 .PHONY: all-target-libitm maybe-all-target-libitm
42378 maybe-all-target-libitm:
42379 @if gcc-bootstrap
42380 all-target-libitm: stage_current
42381 @endif gcc-bootstrap
42382 @if target-libitm
42383 TARGET-target-libitm=all
42384 maybe-all-target-libitm: all-target-libitm
42385 all-target-libitm: configure-target-libitm
42386 @: $(MAKE); $(unstage)
42387 @r=`${PWD_COMMAND}`; export r; \
42388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42389 $(NORMAL_TARGET_EXPORTS) \
42390 (cd $(TARGET_SUBDIR)/libitm && \
42391 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42392 $(TARGET-target-libitm))
42393 @endif target-libitm
42399 .PHONY: check-target-libitm maybe-check-target-libitm
42400 maybe-check-target-libitm:
42401 @if target-libitm
42402 maybe-check-target-libitm: check-target-libitm
42404 check-target-libitm:
42405 @: $(MAKE); $(unstage)
42406 @r=`${PWD_COMMAND}`; export r; \
42407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42408 $(NORMAL_TARGET_EXPORTS) \
42409 (cd $(TARGET_SUBDIR)/libitm && \
42410 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42412 @endif target-libitm
42414 .PHONY: install-target-libitm maybe-install-target-libitm
42415 maybe-install-target-libitm:
42416 @if target-libitm
42417 maybe-install-target-libitm: install-target-libitm
42419 install-target-libitm: installdirs
42420 @: $(MAKE); $(unstage)
42421 @r=`${PWD_COMMAND}`; export r; \
42422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42423 $(NORMAL_TARGET_EXPORTS) \
42424 (cd $(TARGET_SUBDIR)/libitm && \
42425 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42427 @endif target-libitm
42429 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
42430 maybe-install-strip-target-libitm:
42431 @if target-libitm
42432 maybe-install-strip-target-libitm: install-strip-target-libitm
42434 install-strip-target-libitm: installdirs
42435 @: $(MAKE); $(unstage)
42436 @r=`${PWD_COMMAND}`; export r; \
42437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42438 $(NORMAL_TARGET_EXPORTS) \
42439 (cd $(TARGET_SUBDIR)/libitm && \
42440 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42442 @endif target-libitm
42444 # Other targets (info, dvi, pdf, etc.)
42446 .PHONY: maybe-info-target-libitm info-target-libitm
42447 maybe-info-target-libitm:
42448 @if target-libitm
42449 maybe-info-target-libitm: info-target-libitm
42451 info-target-libitm: \
42452 configure-target-libitm
42453 @: $(MAKE); $(unstage)
42454 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42455 r=`${PWD_COMMAND}`; export r; \
42456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42457 $(NORMAL_TARGET_EXPORTS) \
42458 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
42459 for flag in $(EXTRA_TARGET_FLAGS); do \
42460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42461 done; \
42462 (cd $(TARGET_SUBDIR)/libitm && \
42463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42465 "RANLIB=$${RANLIB}" \
42466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42467 info) \
42468 || exit 1
42470 @endif target-libitm
42472 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
42473 maybe-dvi-target-libitm:
42474 @if target-libitm
42475 maybe-dvi-target-libitm: dvi-target-libitm
42477 dvi-target-libitm: \
42478 configure-target-libitm
42479 @: $(MAKE); $(unstage)
42480 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42481 r=`${PWD_COMMAND}`; export r; \
42482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42483 $(NORMAL_TARGET_EXPORTS) \
42484 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
42485 for flag in $(EXTRA_TARGET_FLAGS); do \
42486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42487 done; \
42488 (cd $(TARGET_SUBDIR)/libitm && \
42489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42491 "RANLIB=$${RANLIB}" \
42492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42493 dvi) \
42494 || exit 1
42496 @endif target-libitm
42498 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
42499 maybe-pdf-target-libitm:
42500 @if target-libitm
42501 maybe-pdf-target-libitm: pdf-target-libitm
42503 pdf-target-libitm: \
42504 configure-target-libitm
42505 @: $(MAKE); $(unstage)
42506 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42507 r=`${PWD_COMMAND}`; export r; \
42508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42509 $(NORMAL_TARGET_EXPORTS) \
42510 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
42511 for flag in $(EXTRA_TARGET_FLAGS); do \
42512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42513 done; \
42514 (cd $(TARGET_SUBDIR)/libitm && \
42515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42517 "RANLIB=$${RANLIB}" \
42518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42519 pdf) \
42520 || exit 1
42522 @endif target-libitm
42524 .PHONY: maybe-html-target-libitm html-target-libitm
42525 maybe-html-target-libitm:
42526 @if target-libitm
42527 maybe-html-target-libitm: html-target-libitm
42529 html-target-libitm: \
42530 configure-target-libitm
42531 @: $(MAKE); $(unstage)
42532 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42533 r=`${PWD_COMMAND}`; export r; \
42534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42535 $(NORMAL_TARGET_EXPORTS) \
42536 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
42537 for flag in $(EXTRA_TARGET_FLAGS); do \
42538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42539 done; \
42540 (cd $(TARGET_SUBDIR)/libitm && \
42541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42543 "RANLIB=$${RANLIB}" \
42544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42545 html) \
42546 || exit 1
42548 @endif target-libitm
42550 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
42551 maybe-TAGS-target-libitm:
42552 @if target-libitm
42553 maybe-TAGS-target-libitm: TAGS-target-libitm
42555 TAGS-target-libitm: \
42556 configure-target-libitm
42557 @: $(MAKE); $(unstage)
42558 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42559 r=`${PWD_COMMAND}`; export r; \
42560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42561 $(NORMAL_TARGET_EXPORTS) \
42562 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
42563 for flag in $(EXTRA_TARGET_FLAGS); do \
42564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42565 done; \
42566 (cd $(TARGET_SUBDIR)/libitm && \
42567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42569 "RANLIB=$${RANLIB}" \
42570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42571 TAGS) \
42572 || exit 1
42574 @endif target-libitm
42576 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
42577 maybe-install-info-target-libitm:
42578 @if target-libitm
42579 maybe-install-info-target-libitm: install-info-target-libitm
42581 install-info-target-libitm: \
42582 configure-target-libitm \
42583 info-target-libitm
42584 @: $(MAKE); $(unstage)
42585 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42586 r=`${PWD_COMMAND}`; export r; \
42587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42588 $(NORMAL_TARGET_EXPORTS) \
42589 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
42590 for flag in $(EXTRA_TARGET_FLAGS); do \
42591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42592 done; \
42593 (cd $(TARGET_SUBDIR)/libitm && \
42594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42596 "RANLIB=$${RANLIB}" \
42597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42598 install-info) \
42599 || exit 1
42601 @endif target-libitm
42603 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
42604 maybe-install-pdf-target-libitm:
42605 @if target-libitm
42606 maybe-install-pdf-target-libitm: install-pdf-target-libitm
42608 install-pdf-target-libitm: \
42609 configure-target-libitm \
42610 pdf-target-libitm
42611 @: $(MAKE); $(unstage)
42612 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42613 r=`${PWD_COMMAND}`; export r; \
42614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42615 $(NORMAL_TARGET_EXPORTS) \
42616 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
42617 for flag in $(EXTRA_TARGET_FLAGS); do \
42618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42619 done; \
42620 (cd $(TARGET_SUBDIR)/libitm && \
42621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42623 "RANLIB=$${RANLIB}" \
42624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42625 install-pdf) \
42626 || exit 1
42628 @endif target-libitm
42630 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
42631 maybe-install-html-target-libitm:
42632 @if target-libitm
42633 maybe-install-html-target-libitm: install-html-target-libitm
42635 install-html-target-libitm: \
42636 configure-target-libitm \
42637 html-target-libitm
42638 @: $(MAKE); $(unstage)
42639 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42640 r=`${PWD_COMMAND}`; export r; \
42641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42642 $(NORMAL_TARGET_EXPORTS) \
42643 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
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)/libitm && \
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 install-html) \
42653 || exit 1
42655 @endif target-libitm
42657 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
42658 maybe-installcheck-target-libitm:
42659 @if target-libitm
42660 maybe-installcheck-target-libitm: installcheck-target-libitm
42662 installcheck-target-libitm: \
42663 configure-target-libitm
42664 @: $(MAKE); $(unstage)
42665 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42666 r=`${PWD_COMMAND}`; export r; \
42667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42668 $(NORMAL_TARGET_EXPORTS) \
42669 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
42670 for flag in $(EXTRA_TARGET_FLAGS); do \
42671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42672 done; \
42673 (cd $(TARGET_SUBDIR)/libitm && \
42674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42676 "RANLIB=$${RANLIB}" \
42677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42678 installcheck) \
42679 || exit 1
42681 @endif target-libitm
42683 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
42684 maybe-mostlyclean-target-libitm:
42685 @if target-libitm
42686 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
42688 mostlyclean-target-libitm:
42689 @: $(MAKE); $(unstage)
42690 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42691 r=`${PWD_COMMAND}`; export r; \
42692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42693 $(NORMAL_TARGET_EXPORTS) \
42694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
42695 for flag in $(EXTRA_TARGET_FLAGS); do \
42696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42697 done; \
42698 (cd $(TARGET_SUBDIR)/libitm && \
42699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42701 "RANLIB=$${RANLIB}" \
42702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42703 mostlyclean) \
42704 || exit 1
42706 @endif target-libitm
42708 .PHONY: maybe-clean-target-libitm clean-target-libitm
42709 maybe-clean-target-libitm:
42710 @if target-libitm
42711 maybe-clean-target-libitm: clean-target-libitm
42713 clean-target-libitm:
42714 @: $(MAKE); $(unstage)
42715 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42716 r=`${PWD_COMMAND}`; export r; \
42717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42718 $(NORMAL_TARGET_EXPORTS) \
42719 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
42720 for flag in $(EXTRA_TARGET_FLAGS); do \
42721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42722 done; \
42723 (cd $(TARGET_SUBDIR)/libitm && \
42724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42726 "RANLIB=$${RANLIB}" \
42727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42728 clean) \
42729 || exit 1
42731 @endif target-libitm
42733 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
42734 maybe-distclean-target-libitm:
42735 @if target-libitm
42736 maybe-distclean-target-libitm: distclean-target-libitm
42738 distclean-target-libitm:
42739 @: $(MAKE); $(unstage)
42740 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42741 r=`${PWD_COMMAND}`; export r; \
42742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42743 $(NORMAL_TARGET_EXPORTS) \
42744 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
42745 for flag in $(EXTRA_TARGET_FLAGS); do \
42746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42747 done; \
42748 (cd $(TARGET_SUBDIR)/libitm && \
42749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42751 "RANLIB=$${RANLIB}" \
42752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42753 distclean) \
42754 || exit 1
42756 @endif target-libitm
42758 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
42759 maybe-maintainer-clean-target-libitm:
42760 @if target-libitm
42761 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
42763 maintainer-clean-target-libitm:
42764 @: $(MAKE); $(unstage)
42765 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42766 r=`${PWD_COMMAND}`; export r; \
42767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42768 $(NORMAL_TARGET_EXPORTS) \
42769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
42770 for flag in $(EXTRA_TARGET_FLAGS); do \
42771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42772 done; \
42773 (cd $(TARGET_SUBDIR)/libitm && \
42774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42776 "RANLIB=$${RANLIB}" \
42777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42778 maintainer-clean) \
42779 || exit 1
42781 @endif target-libitm
42787 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
42788 maybe-configure-target-libatomic:
42789 @if gcc-bootstrap
42790 configure-target-libatomic: stage_current
42791 @endif gcc-bootstrap
42792 @if target-libatomic
42793 maybe-configure-target-libatomic: configure-target-libatomic
42794 configure-target-libatomic:
42795 @: $(MAKE); $(unstage)
42796 @r=`${PWD_COMMAND}`; export r; \
42797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42798 echo "Checking multilib configuration for libatomic..."; \
42799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42800 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
42801 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42802 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42803 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
42804 else \
42805 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
42806 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42807 fi; \
42808 else \
42809 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42810 fi; \
42811 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
42812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42813 $(NORMAL_TARGET_EXPORTS) \
42814 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
42815 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
42816 case $(srcdir) in \
42817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42818 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
42819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42820 esac; \
42821 srcdiroption="--srcdir=$${topdir}/libatomic"; \
42822 libsrcdir="$$s/libatomic"; \
42823 rm -f no-such-file || : ; \
42824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42825 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42826 --target=${target_alias} $${srcdiroption} \
42827 || exit 1
42828 @endif target-libatomic
42834 .PHONY: all-target-libatomic maybe-all-target-libatomic
42835 maybe-all-target-libatomic:
42836 @if gcc-bootstrap
42837 all-target-libatomic: stage_current
42838 @endif gcc-bootstrap
42839 @if target-libatomic
42840 TARGET-target-libatomic=all
42841 maybe-all-target-libatomic: all-target-libatomic
42842 all-target-libatomic: configure-target-libatomic
42843 @: $(MAKE); $(unstage)
42844 @r=`${PWD_COMMAND}`; export r; \
42845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42846 $(NORMAL_TARGET_EXPORTS) \
42847 (cd $(TARGET_SUBDIR)/libatomic && \
42848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42849 $(TARGET-target-libatomic))
42850 @endif target-libatomic
42856 .PHONY: check-target-libatomic maybe-check-target-libatomic
42857 maybe-check-target-libatomic:
42858 @if target-libatomic
42859 maybe-check-target-libatomic: check-target-libatomic
42861 check-target-libatomic:
42862 @: $(MAKE); $(unstage)
42863 @r=`${PWD_COMMAND}`; export r; \
42864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42865 $(NORMAL_TARGET_EXPORTS) \
42866 (cd $(TARGET_SUBDIR)/libatomic && \
42867 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42869 @endif target-libatomic
42871 .PHONY: install-target-libatomic maybe-install-target-libatomic
42872 maybe-install-target-libatomic:
42873 @if target-libatomic
42874 maybe-install-target-libatomic: install-target-libatomic
42876 install-target-libatomic: installdirs
42877 @: $(MAKE); $(unstage)
42878 @r=`${PWD_COMMAND}`; export r; \
42879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42880 $(NORMAL_TARGET_EXPORTS) \
42881 (cd $(TARGET_SUBDIR)/libatomic && \
42882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42884 @endif target-libatomic
42886 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
42887 maybe-install-strip-target-libatomic:
42888 @if target-libatomic
42889 maybe-install-strip-target-libatomic: install-strip-target-libatomic
42891 install-strip-target-libatomic: installdirs
42892 @: $(MAKE); $(unstage)
42893 @r=`${PWD_COMMAND}`; export r; \
42894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42895 $(NORMAL_TARGET_EXPORTS) \
42896 (cd $(TARGET_SUBDIR)/libatomic && \
42897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42899 @endif target-libatomic
42901 # Other targets (info, dvi, pdf, etc.)
42903 .PHONY: maybe-info-target-libatomic info-target-libatomic
42904 maybe-info-target-libatomic:
42905 @if target-libatomic
42906 maybe-info-target-libatomic: info-target-libatomic
42908 info-target-libatomic: \
42909 configure-target-libatomic
42910 @: $(MAKE); $(unstage)
42911 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42912 r=`${PWD_COMMAND}`; export r; \
42913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42914 $(NORMAL_TARGET_EXPORTS) \
42915 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
42916 for flag in $(EXTRA_TARGET_FLAGS); do \
42917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42918 done; \
42919 (cd $(TARGET_SUBDIR)/libatomic && \
42920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42922 "RANLIB=$${RANLIB}" \
42923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42924 info) \
42925 || exit 1
42927 @endif target-libatomic
42929 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
42930 maybe-dvi-target-libatomic:
42931 @if target-libatomic
42932 maybe-dvi-target-libatomic: dvi-target-libatomic
42934 dvi-target-libatomic: \
42935 configure-target-libatomic
42936 @: $(MAKE); $(unstage)
42937 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42938 r=`${PWD_COMMAND}`; export r; \
42939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42940 $(NORMAL_TARGET_EXPORTS) \
42941 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
42942 for flag in $(EXTRA_TARGET_FLAGS); do \
42943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42944 done; \
42945 (cd $(TARGET_SUBDIR)/libatomic && \
42946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42948 "RANLIB=$${RANLIB}" \
42949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42950 dvi) \
42951 || exit 1
42953 @endif target-libatomic
42955 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
42956 maybe-pdf-target-libatomic:
42957 @if target-libatomic
42958 maybe-pdf-target-libatomic: pdf-target-libatomic
42960 pdf-target-libatomic: \
42961 configure-target-libatomic
42962 @: $(MAKE); $(unstage)
42963 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42964 r=`${PWD_COMMAND}`; export r; \
42965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42966 $(NORMAL_TARGET_EXPORTS) \
42967 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
42968 for flag in $(EXTRA_TARGET_FLAGS); do \
42969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42970 done; \
42971 (cd $(TARGET_SUBDIR)/libatomic && \
42972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42974 "RANLIB=$${RANLIB}" \
42975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42976 pdf) \
42977 || exit 1
42979 @endif target-libatomic
42981 .PHONY: maybe-html-target-libatomic html-target-libatomic
42982 maybe-html-target-libatomic:
42983 @if target-libatomic
42984 maybe-html-target-libatomic: html-target-libatomic
42986 html-target-libatomic: \
42987 configure-target-libatomic
42988 @: $(MAKE); $(unstage)
42989 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42990 r=`${PWD_COMMAND}`; export r; \
42991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42992 $(NORMAL_TARGET_EXPORTS) \
42993 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
42994 for flag in $(EXTRA_TARGET_FLAGS); do \
42995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42996 done; \
42997 (cd $(TARGET_SUBDIR)/libatomic && \
42998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43000 "RANLIB=$${RANLIB}" \
43001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43002 html) \
43003 || exit 1
43005 @endif target-libatomic
43007 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
43008 maybe-TAGS-target-libatomic:
43009 @if target-libatomic
43010 maybe-TAGS-target-libatomic: TAGS-target-libatomic
43012 TAGS-target-libatomic: \
43013 configure-target-libatomic
43014 @: $(MAKE); $(unstage)
43015 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43016 r=`${PWD_COMMAND}`; export r; \
43017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43018 $(NORMAL_TARGET_EXPORTS) \
43019 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
43020 for flag in $(EXTRA_TARGET_FLAGS); do \
43021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43022 done; \
43023 (cd $(TARGET_SUBDIR)/libatomic && \
43024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43026 "RANLIB=$${RANLIB}" \
43027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43028 TAGS) \
43029 || exit 1
43031 @endif target-libatomic
43033 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
43034 maybe-install-info-target-libatomic:
43035 @if target-libatomic
43036 maybe-install-info-target-libatomic: install-info-target-libatomic
43038 install-info-target-libatomic: \
43039 configure-target-libatomic \
43040 info-target-libatomic
43041 @: $(MAKE); $(unstage)
43042 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43043 r=`${PWD_COMMAND}`; export r; \
43044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43045 $(NORMAL_TARGET_EXPORTS) \
43046 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
43047 for flag in $(EXTRA_TARGET_FLAGS); do \
43048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43049 done; \
43050 (cd $(TARGET_SUBDIR)/libatomic && \
43051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43053 "RANLIB=$${RANLIB}" \
43054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43055 install-info) \
43056 || exit 1
43058 @endif target-libatomic
43060 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
43061 maybe-install-pdf-target-libatomic:
43062 @if target-libatomic
43063 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
43065 install-pdf-target-libatomic: \
43066 configure-target-libatomic \
43067 pdf-target-libatomic
43068 @: $(MAKE); $(unstage)
43069 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43070 r=`${PWD_COMMAND}`; export r; \
43071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43072 $(NORMAL_TARGET_EXPORTS) \
43073 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
43074 for flag in $(EXTRA_TARGET_FLAGS); do \
43075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43076 done; \
43077 (cd $(TARGET_SUBDIR)/libatomic && \
43078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43080 "RANLIB=$${RANLIB}" \
43081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43082 install-pdf) \
43083 || exit 1
43085 @endif target-libatomic
43087 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
43088 maybe-install-html-target-libatomic:
43089 @if target-libatomic
43090 maybe-install-html-target-libatomic: install-html-target-libatomic
43092 install-html-target-libatomic: \
43093 configure-target-libatomic \
43094 html-target-libatomic
43095 @: $(MAKE); $(unstage)
43096 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43097 r=`${PWD_COMMAND}`; export r; \
43098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43099 $(NORMAL_TARGET_EXPORTS) \
43100 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
43101 for flag in $(EXTRA_TARGET_FLAGS); do \
43102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43103 done; \
43104 (cd $(TARGET_SUBDIR)/libatomic && \
43105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43107 "RANLIB=$${RANLIB}" \
43108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43109 install-html) \
43110 || exit 1
43112 @endif target-libatomic
43114 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
43115 maybe-installcheck-target-libatomic:
43116 @if target-libatomic
43117 maybe-installcheck-target-libatomic: installcheck-target-libatomic
43119 installcheck-target-libatomic: \
43120 configure-target-libatomic
43121 @: $(MAKE); $(unstage)
43122 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43123 r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 $(NORMAL_TARGET_EXPORTS) \
43126 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
43127 for flag in $(EXTRA_TARGET_FLAGS); do \
43128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43129 done; \
43130 (cd $(TARGET_SUBDIR)/libatomic && \
43131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43133 "RANLIB=$${RANLIB}" \
43134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43135 installcheck) \
43136 || exit 1
43138 @endif target-libatomic
43140 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
43141 maybe-mostlyclean-target-libatomic:
43142 @if target-libatomic
43143 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
43145 mostlyclean-target-libatomic:
43146 @: $(MAKE); $(unstage)
43147 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43148 r=`${PWD_COMMAND}`; export r; \
43149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43150 $(NORMAL_TARGET_EXPORTS) \
43151 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
43152 for flag in $(EXTRA_TARGET_FLAGS); do \
43153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43154 done; \
43155 (cd $(TARGET_SUBDIR)/libatomic && \
43156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43158 "RANLIB=$${RANLIB}" \
43159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43160 mostlyclean) \
43161 || exit 1
43163 @endif target-libatomic
43165 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
43166 maybe-clean-target-libatomic:
43167 @if target-libatomic
43168 maybe-clean-target-libatomic: clean-target-libatomic
43170 clean-target-libatomic:
43171 @: $(MAKE); $(unstage)
43172 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43173 r=`${PWD_COMMAND}`; export r; \
43174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43175 $(NORMAL_TARGET_EXPORTS) \
43176 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
43177 for flag in $(EXTRA_TARGET_FLAGS); do \
43178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43179 done; \
43180 (cd $(TARGET_SUBDIR)/libatomic && \
43181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43183 "RANLIB=$${RANLIB}" \
43184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43185 clean) \
43186 || exit 1
43188 @endif target-libatomic
43190 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
43191 maybe-distclean-target-libatomic:
43192 @if target-libatomic
43193 maybe-distclean-target-libatomic: distclean-target-libatomic
43195 distclean-target-libatomic:
43196 @: $(MAKE); $(unstage)
43197 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43198 r=`${PWD_COMMAND}`; export r; \
43199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43200 $(NORMAL_TARGET_EXPORTS) \
43201 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
43202 for flag in $(EXTRA_TARGET_FLAGS); do \
43203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43204 done; \
43205 (cd $(TARGET_SUBDIR)/libatomic && \
43206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43208 "RANLIB=$${RANLIB}" \
43209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43210 distclean) \
43211 || exit 1
43213 @endif target-libatomic
43215 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
43216 maybe-maintainer-clean-target-libatomic:
43217 @if target-libatomic
43218 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
43220 maintainer-clean-target-libatomic:
43221 @: $(MAKE); $(unstage)
43222 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43223 r=`${PWD_COMMAND}`; export r; \
43224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43225 $(NORMAL_TARGET_EXPORTS) \
43226 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
43227 for flag in $(EXTRA_TARGET_FLAGS); do \
43228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43229 done; \
43230 (cd $(TARGET_SUBDIR)/libatomic && \
43231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43233 "RANLIB=$${RANLIB}" \
43234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43235 maintainer-clean) \
43236 || exit 1
43238 @endif target-libatomic
43242 @if target-libmudflap
43243 .PHONY: check-target-libmudflap-c++
43244 check-target-libmudflap-c++:
43245 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
43247 @endif target-libmudflap
43249 @if target-libgomp
43250 .PHONY: check-target-libgomp-c++
43251 check-target-libgomp-c++:
43252 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
43254 @endif target-libgomp
43256 @if target-libitm
43257 .PHONY: check-target-libitm-c++
43258 check-target-libitm-c++:
43259 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
43261 @endif target-libitm
43263 # ----------
43264 # GCC module
43265 # ----------
43267 @if gcc-no-bootstrap
43268 .PHONY: cross
43269 cross: all-build all-gas all-ld
43270 @r=`${PWD_COMMAND}`; export r; \
43271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43272 $(HOST_EXPORTS) \
43273 echo "Building the C and C++ compiler"; \
43274 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
43275 @r=`${PWD_COMMAND}`; export r; \
43276 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
43277 echo "Building runtime libraries"; \
43278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
43279 @endif gcc-no-bootstrap
43281 @if gcc
43283 .PHONY: check-gcc-c check-c
43284 check-gcc-c:
43285 r=`${PWD_COMMAND}`; export r; \
43286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43287 $(HOST_EXPORTS) \
43288 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
43289 check-c: check-gcc-c
43291 .PHONY: check-gcc-c++ check-c++
43292 check-gcc-c++:
43293 r=`${PWD_COMMAND}`; export r; \
43294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43295 $(HOST_EXPORTS) \
43296 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
43297 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
43299 .PHONY: check-gcc-fortran check-fortran
43300 check-gcc-fortran:
43301 r=`${PWD_COMMAND}`; export r; \
43302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43303 $(HOST_EXPORTS) \
43304 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
43305 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
43307 .PHONY: check-gcc-java check-java
43308 check-gcc-java:
43309 r=`${PWD_COMMAND}`; export r; \
43310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43311 $(HOST_EXPORTS) \
43312 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
43313 check-java: check-gcc-java check-target-libjava
43315 .PHONY: check-gcc-ada check-ada
43316 check-gcc-ada:
43317 r=`${PWD_COMMAND}`; export r; \
43318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43319 $(HOST_EXPORTS) \
43320 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
43321 check-ada: check-gcc-ada check-target-libada
43323 .PHONY: check-gcc-objc check-objc
43324 check-gcc-objc:
43325 r=`${PWD_COMMAND}`; export r; \
43326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43327 $(HOST_EXPORTS) \
43328 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
43329 check-objc: check-gcc-objc check-target-libobjc
43331 .PHONY: check-gcc-obj-c++ check-obj-c++
43332 check-gcc-obj-c++:
43333 r=`${PWD_COMMAND}`; export r; \
43334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43335 $(HOST_EXPORTS) \
43336 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
43337 check-obj-c++: check-gcc-obj-c++
43339 .PHONY: check-gcc-go check-go
43340 check-gcc-go:
43341 r=`${PWD_COMMAND}`; export r; \
43342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43343 $(HOST_EXPORTS) \
43344 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
43345 check-go: check-gcc-go check-target-libgo
43348 # The gcc part of install-no-fixedincludes, which relies on an intimate
43349 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
43350 .PHONY: gcc-install-no-fixedincludes
43351 gcc-install-no-fixedincludes:
43352 @if [ -f ./gcc/Makefile ]; then \
43353 r=`${PWD_COMMAND}`; export r; \
43354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43355 $(HOST_EXPORTS) \
43356 (cd ./gcc \
43357 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
43358 else true; fi
43359 @endif gcc
43361 # ---------------------
43362 # GCC bootstrap support
43363 # ---------------------
43365 # We track the current stage (the one in 'gcc') in the stage_current file.
43366 # stage_last instead tracks the stage that was built last. These targets
43367 # are dummy when toplevel bootstrap is not active.
43369 # While making host and target tools, symlinks to the final stage must be
43370 # there, so $(unstage) should be run at various points. To avoid excessive
43371 # recursive invocations of make, we "inline" them using a variable. These
43372 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
43373 # to avoid warnings from the GNU Make job server.
43375 unstage = :
43376 stage = :
43377 current_stage = ""
43379 @if gcc-bootstrap
43380 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
43381 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
43382 current_stage = "`cat stage_current 2> /dev/null`"
43383 @endif gcc-bootstrap
43385 .PHONY: unstage stage
43386 unstage:
43387 @: $(MAKE); $(unstage)
43388 stage:
43389 @: $(MAKE); $(stage)
43391 # Disable commands for lean bootstrap.
43392 LEAN = false
43394 # We name the build directories for the various stages "stage1-gcc",
43395 # "stage2-gcc","stage3-gcc", etc.
43397 # Since the 'compare' process will fail (on debugging information) if any
43398 # directory names are different, we need to link the gcc directory for
43399 # the previous stage to a constant name ('prev-gcc'), and to make the name of
43400 # the build directories constant as well. For the latter, we use naked names
43401 # like 'gcc', because the scripts in that directory assume it. We use
43402 # mv on platforms where symlinks to directories do not work or are not
43403 # reliable.
43405 # 'touch' doesn't work right on some platforms.
43406 STAMP = echo timestamp >
43408 # We only want to compare .o files, so set this!
43409 objext = .o
43412 .PHONY: stage1-start stage1-end
43414 stage1-start::
43415 @: $(MAKE); $(stage); \
43416 echo stage1 > stage_current ; \
43417 echo stage1 > stage_last; \
43418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43419 @if bfd
43420 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
43421 mkdir stage1-bfd; \
43422 mv stage1-bfd bfd
43423 @endif bfd
43424 @if opcodes
43425 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
43426 mkdir stage1-opcodes; \
43427 mv stage1-opcodes opcodes
43428 @endif opcodes
43429 @if binutils
43430 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
43431 mkdir stage1-binutils; \
43432 mv stage1-binutils binutils
43433 @endif binutils
43434 @if gas
43435 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
43436 mkdir stage1-gas; \
43437 mv stage1-gas gas
43438 @endif gas
43439 @if gcc
43440 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
43441 mkdir stage1-gcc; \
43442 mv stage1-gcc gcc
43443 @endif gcc
43444 @if gmp
43445 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
43446 mkdir stage1-gmp; \
43447 mv stage1-gmp gmp
43448 @endif gmp
43449 @if mpfr
43450 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
43451 mkdir stage1-mpfr; \
43452 mv stage1-mpfr mpfr
43453 @endif mpfr
43454 @if mpc
43455 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
43456 mkdir stage1-mpc; \
43457 mv stage1-mpc mpc
43458 @endif mpc
43459 @if isl
43460 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
43461 mkdir stage1-isl; \
43462 mv stage1-isl isl
43463 @endif isl
43464 @if cloog
43465 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
43466 mkdir stage1-cloog; \
43467 mv stage1-cloog cloog
43468 @endif cloog
43469 @if libelf
43470 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
43471 mkdir stage1-libelf; \
43472 mv stage1-libelf libelf
43473 @endif libelf
43474 @if gold
43475 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
43476 mkdir stage1-gold; \
43477 mv stage1-gold gold
43478 @endif gold
43479 @if intl
43480 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
43481 mkdir stage1-intl; \
43482 mv stage1-intl intl
43483 @endif intl
43484 @if ld
43485 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
43486 mkdir stage1-ld; \
43487 mv stage1-ld ld
43488 @endif ld
43489 @if libbacktrace
43490 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
43491 mkdir stage1-libbacktrace; \
43492 mv stage1-libbacktrace libbacktrace
43493 @endif libbacktrace
43494 @if libcpp
43495 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
43496 mkdir stage1-libcpp; \
43497 mv stage1-libcpp libcpp
43498 @endif libcpp
43499 @if libdecnumber
43500 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
43501 mkdir stage1-libdecnumber; \
43502 mv stage1-libdecnumber libdecnumber
43503 @endif libdecnumber
43504 @if libiberty
43505 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
43506 mkdir stage1-libiberty; \
43507 mv stage1-libiberty libiberty
43508 @endif libiberty
43509 @if zlib
43510 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
43511 mkdir stage1-zlib; \
43512 mv stage1-zlib zlib
43513 @endif zlib
43514 @if lto-plugin
43515 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
43516 mkdir stage1-lto-plugin; \
43517 mv stage1-lto-plugin lto-plugin
43518 @endif lto-plugin
43519 @[ -d stage1-$(TARGET_SUBDIR) ] || \
43520 mkdir stage1-$(TARGET_SUBDIR); \
43521 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
43523 stage1-end::
43524 @if bfd
43525 @if test -d $(HOST_SUBDIR)/bfd ; then \
43526 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
43528 @endif bfd
43529 @if opcodes
43530 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43531 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
43533 @endif opcodes
43534 @if binutils
43535 @if test -d $(HOST_SUBDIR)/binutils ; then \
43536 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
43538 @endif binutils
43539 @if gas
43540 @if test -d $(HOST_SUBDIR)/gas ; then \
43541 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
43543 @endif gas
43544 @if gcc
43545 @if test -d $(HOST_SUBDIR)/gcc ; then \
43546 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
43548 @endif gcc
43549 @if gmp
43550 @if test -d $(HOST_SUBDIR)/gmp ; then \
43551 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
43553 @endif gmp
43554 @if mpfr
43555 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43556 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
43558 @endif mpfr
43559 @if mpc
43560 @if test -d $(HOST_SUBDIR)/mpc ; then \
43561 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
43563 @endif mpc
43564 @if isl
43565 @if test -d $(HOST_SUBDIR)/isl ; then \
43566 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
43568 @endif isl
43569 @if cloog
43570 @if test -d $(HOST_SUBDIR)/cloog ; then \
43571 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
43573 @endif cloog
43574 @if libelf
43575 @if test -d $(HOST_SUBDIR)/libelf ; then \
43576 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
43578 @endif libelf
43579 @if gold
43580 @if test -d $(HOST_SUBDIR)/gold ; then \
43581 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
43583 @endif gold
43584 @if intl
43585 @if test -d $(HOST_SUBDIR)/intl ; then \
43586 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
43588 @endif intl
43589 @if ld
43590 @if test -d $(HOST_SUBDIR)/ld ; then \
43591 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
43593 @endif ld
43594 @if libbacktrace
43595 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43596 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
43598 @endif libbacktrace
43599 @if libcpp
43600 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43601 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
43603 @endif libcpp
43604 @if libdecnumber
43605 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43606 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
43608 @endif libdecnumber
43609 @if libiberty
43610 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43611 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
43613 @endif libiberty
43614 @if zlib
43615 @if test -d $(HOST_SUBDIR)/zlib ; then \
43616 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
43618 @endif zlib
43619 @if lto-plugin
43620 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43621 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
43623 @endif lto-plugin
43624 @if test -d $(TARGET_SUBDIR) ; then \
43625 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
43627 rm -f stage_current
43629 # Bubble a bug fix through all the stages up to stage 1. They are
43630 # remade, but not reconfigured. The next stage (if any) will not be
43631 # reconfigured either.
43632 .PHONY: stage1-bubble
43633 stage1-bubble::
43634 @r=`${PWD_COMMAND}`; export r; \
43635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43636 if test -f stage1-lean ; then \
43637 echo Skipping rebuild of stage1 ; \
43638 else \
43639 $(MAKE) stage1-start; \
43640 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
43643 .PHONY: all-stage1 clean-stage1
43644 do-clean: clean-stage1
43646 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43647 # only possibility, but now it conflicts with no-bootstrap rules
43648 @if gcc-bootstrap
43653 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43655 .PHONY: distclean-stage1
43656 distclean-stage1::
43657 @: $(MAKE); $(stage)
43658 @test "`cat stage_last`" != stage1 || rm -f stage_last
43659 rm -rf stage1-*
43662 @endif gcc-bootstrap
43665 .PHONY: stage2-start stage2-end
43667 stage2-start::
43668 @: $(MAKE); $(stage); \
43669 echo stage2 > stage_current ; \
43670 echo stage2 > stage_last; \
43671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43672 @if bfd
43673 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
43674 mkdir stage2-bfd; \
43675 mv stage2-bfd bfd ; \
43676 mv stage1-bfd prev-bfd || test -f stage1-lean
43677 @endif bfd
43678 @if opcodes
43679 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
43680 mkdir stage2-opcodes; \
43681 mv stage2-opcodes opcodes ; \
43682 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43683 @endif opcodes
43684 @if binutils
43685 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
43686 mkdir stage2-binutils; \
43687 mv stage2-binutils binutils ; \
43688 mv stage1-binutils prev-binutils || test -f stage1-lean
43689 @endif binutils
43690 @if gas
43691 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
43692 mkdir stage2-gas; \
43693 mv stage2-gas gas ; \
43694 mv stage1-gas prev-gas || test -f stage1-lean
43695 @endif gas
43696 @if gcc
43697 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
43698 mkdir stage2-gcc; \
43699 mv stage2-gcc gcc ; \
43700 mv stage1-gcc prev-gcc || test -f stage1-lean
43701 @endif gcc
43702 @if gmp
43703 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
43704 mkdir stage2-gmp; \
43705 mv stage2-gmp gmp ; \
43706 mv stage1-gmp prev-gmp || test -f stage1-lean
43707 @endif gmp
43708 @if mpfr
43709 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
43710 mkdir stage2-mpfr; \
43711 mv stage2-mpfr mpfr ; \
43712 mv stage1-mpfr prev-mpfr || test -f stage1-lean
43713 @endif mpfr
43714 @if mpc
43715 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
43716 mkdir stage2-mpc; \
43717 mv stage2-mpc mpc ; \
43718 mv stage1-mpc prev-mpc || test -f stage1-lean
43719 @endif mpc
43720 @if isl
43721 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
43722 mkdir stage2-isl; \
43723 mv stage2-isl isl ; \
43724 mv stage1-isl prev-isl || test -f stage1-lean
43725 @endif isl
43726 @if cloog
43727 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
43728 mkdir stage2-cloog; \
43729 mv stage2-cloog cloog ; \
43730 mv stage1-cloog prev-cloog || test -f stage1-lean
43731 @endif cloog
43732 @if libelf
43733 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
43734 mkdir stage2-libelf; \
43735 mv stage2-libelf libelf ; \
43736 mv stage1-libelf prev-libelf || test -f stage1-lean
43737 @endif libelf
43738 @if gold
43739 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
43740 mkdir stage2-gold; \
43741 mv stage2-gold gold ; \
43742 mv stage1-gold prev-gold || test -f stage1-lean
43743 @endif gold
43744 @if intl
43745 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
43746 mkdir stage2-intl; \
43747 mv stage2-intl intl ; \
43748 mv stage1-intl prev-intl || test -f stage1-lean
43749 @endif intl
43750 @if ld
43751 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
43752 mkdir stage2-ld; \
43753 mv stage2-ld ld ; \
43754 mv stage1-ld prev-ld || test -f stage1-lean
43755 @endif ld
43756 @if libbacktrace
43757 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
43758 mkdir stage2-libbacktrace; \
43759 mv stage2-libbacktrace libbacktrace ; \
43760 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
43761 @endif libbacktrace
43762 @if libcpp
43763 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
43764 mkdir stage2-libcpp; \
43765 mv stage2-libcpp libcpp ; \
43766 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43767 @endif libcpp
43768 @if libdecnumber
43769 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
43770 mkdir stage2-libdecnumber; \
43771 mv stage2-libdecnumber libdecnumber ; \
43772 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43773 @endif libdecnumber
43774 @if libiberty
43775 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
43776 mkdir stage2-libiberty; \
43777 mv stage2-libiberty libiberty ; \
43778 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43779 @endif libiberty
43780 @if zlib
43781 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
43782 mkdir stage2-zlib; \
43783 mv stage2-zlib zlib ; \
43784 mv stage1-zlib prev-zlib || test -f stage1-lean
43785 @endif zlib
43786 @if lto-plugin
43787 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
43788 mkdir stage2-lto-plugin; \
43789 mv stage2-lto-plugin lto-plugin ; \
43790 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
43791 @endif lto-plugin
43792 @[ -d stage2-$(TARGET_SUBDIR) ] || \
43793 mkdir stage2-$(TARGET_SUBDIR); \
43794 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43795 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43797 stage2-end::
43798 @if bfd
43799 @if test -d $(HOST_SUBDIR)/bfd ; then \
43800 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
43801 mv prev-bfd stage1-bfd ; : ; \
43803 @endif bfd
43804 @if opcodes
43805 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43806 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
43807 mv prev-opcodes stage1-opcodes ; : ; \
43809 @endif opcodes
43810 @if binutils
43811 @if test -d $(HOST_SUBDIR)/binutils ; then \
43812 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
43813 mv prev-binutils stage1-binutils ; : ; \
43815 @endif binutils
43816 @if gas
43817 @if test -d $(HOST_SUBDIR)/gas ; then \
43818 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
43819 mv prev-gas stage1-gas ; : ; \
43821 @endif gas
43822 @if gcc
43823 @if test -d $(HOST_SUBDIR)/gcc ; then \
43824 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
43825 mv prev-gcc stage1-gcc ; : ; \
43827 @endif gcc
43828 @if gmp
43829 @if test -d $(HOST_SUBDIR)/gmp ; then \
43830 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
43831 mv prev-gmp stage1-gmp ; : ; \
43833 @endif gmp
43834 @if mpfr
43835 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43836 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
43837 mv prev-mpfr stage1-mpfr ; : ; \
43839 @endif mpfr
43840 @if mpc
43841 @if test -d $(HOST_SUBDIR)/mpc ; then \
43842 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
43843 mv prev-mpc stage1-mpc ; : ; \
43845 @endif mpc
43846 @if isl
43847 @if test -d $(HOST_SUBDIR)/isl ; then \
43848 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
43849 mv prev-isl stage1-isl ; : ; \
43851 @endif isl
43852 @if cloog
43853 @if test -d $(HOST_SUBDIR)/cloog ; then \
43854 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
43855 mv prev-cloog stage1-cloog ; : ; \
43857 @endif cloog
43858 @if libelf
43859 @if test -d $(HOST_SUBDIR)/libelf ; then \
43860 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
43861 mv prev-libelf stage1-libelf ; : ; \
43863 @endif libelf
43864 @if gold
43865 @if test -d $(HOST_SUBDIR)/gold ; then \
43866 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
43867 mv prev-gold stage1-gold ; : ; \
43869 @endif gold
43870 @if intl
43871 @if test -d $(HOST_SUBDIR)/intl ; then \
43872 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
43873 mv prev-intl stage1-intl ; : ; \
43875 @endif intl
43876 @if ld
43877 @if test -d $(HOST_SUBDIR)/ld ; then \
43878 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
43879 mv prev-ld stage1-ld ; : ; \
43881 @endif ld
43882 @if libbacktrace
43883 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43884 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
43885 mv prev-libbacktrace stage1-libbacktrace ; : ; \
43887 @endif libbacktrace
43888 @if libcpp
43889 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43890 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
43891 mv prev-libcpp stage1-libcpp ; : ; \
43893 @endif libcpp
43894 @if libdecnumber
43895 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43896 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
43897 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43899 @endif libdecnumber
43900 @if libiberty
43901 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43902 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
43903 mv prev-libiberty stage1-libiberty ; : ; \
43905 @endif libiberty
43906 @if zlib
43907 @if test -d $(HOST_SUBDIR)/zlib ; then \
43908 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
43909 mv prev-zlib stage1-zlib ; : ; \
43911 @endif zlib
43912 @if lto-plugin
43913 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43914 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
43915 mv prev-lto-plugin stage1-lto-plugin ; : ; \
43917 @endif lto-plugin
43918 @if test -d $(TARGET_SUBDIR) ; then \
43919 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
43920 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43922 rm -f stage_current
43924 # Bubble a bug fix through all the stages up to stage 2. They are
43925 # remade, but not reconfigured. The next stage (if any) will not be
43926 # reconfigured either.
43927 .PHONY: stage2-bubble
43928 stage2-bubble:: stage1-bubble
43929 @r=`${PWD_COMMAND}`; export r; \
43930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43931 if test -f stage2-lean || test -f stage1-lean ; then \
43932 echo Skipping rebuild of stage2 ; \
43933 else \
43934 $(MAKE) stage2-start; \
43935 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
43938 .PHONY: all-stage2 clean-stage2
43939 do-clean: clean-stage2
43941 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43942 # only possibility, but now it conflicts with no-bootstrap rules
43943 @if gcc-bootstrap
43947 .PHONY: bootstrap2 bootstrap2-lean
43948 bootstrap2:
43949 echo stage2 > stage_final
43950 @r=`${PWD_COMMAND}`; export r; \
43951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43952 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
43953 @: $(MAKE); $(unstage)
43954 @r=`${PWD_COMMAND}`; export r; \
43955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43956 TFLAGS="$(STAGE2_TFLAGS)"; \
43957 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43959 bootstrap2-lean:
43960 echo stage2 > stage_final
43961 @r=`${PWD_COMMAND}`; export r; \
43962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
43964 @: $(MAKE); $(unstage)
43965 @r=`${PWD_COMMAND}`; export r; \
43966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43967 TFLAGS="$(STAGE2_TFLAGS)"; \
43968 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43971 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43972 distclean-stage1:: distclean-stage2
43973 .PHONY: distclean-stage2
43974 distclean-stage2::
43975 @: $(MAKE); $(stage)
43976 @test "`cat stage_last`" != stage2 || rm -f stage_last
43977 rm -rf stage2-*
43980 @endif gcc-bootstrap
43983 .PHONY: stage3-start stage3-end
43985 stage3-start::
43986 @: $(MAKE); $(stage); \
43987 echo stage3 > stage_current ; \
43988 echo stage3 > stage_last; \
43989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43990 @if bfd
43991 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
43992 mkdir stage3-bfd; \
43993 mv stage3-bfd bfd ; \
43994 mv stage2-bfd prev-bfd || test -f stage2-lean
43995 @endif bfd
43996 @if opcodes
43997 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
43998 mkdir stage3-opcodes; \
43999 mv stage3-opcodes opcodes ; \
44000 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44001 @endif opcodes
44002 @if binutils
44003 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44004 mkdir stage3-binutils; \
44005 mv stage3-binutils binutils ; \
44006 mv stage2-binutils prev-binutils || test -f stage2-lean
44007 @endif binutils
44008 @if gas
44009 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
44010 mkdir stage3-gas; \
44011 mv stage3-gas gas ; \
44012 mv stage2-gas prev-gas || test -f stage2-lean
44013 @endif gas
44014 @if gcc
44015 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
44016 mkdir stage3-gcc; \
44017 mv stage3-gcc gcc ; \
44018 mv stage2-gcc prev-gcc || test -f stage2-lean
44019 @endif gcc
44020 @if gmp
44021 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
44022 mkdir stage3-gmp; \
44023 mv stage3-gmp gmp ; \
44024 mv stage2-gmp prev-gmp || test -f stage2-lean
44025 @endif gmp
44026 @if mpfr
44027 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
44028 mkdir stage3-mpfr; \
44029 mv stage3-mpfr mpfr ; \
44030 mv stage2-mpfr prev-mpfr || test -f stage2-lean
44031 @endif mpfr
44032 @if mpc
44033 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
44034 mkdir stage3-mpc; \
44035 mv stage3-mpc mpc ; \
44036 mv stage2-mpc prev-mpc || test -f stage2-lean
44037 @endif mpc
44038 @if isl
44039 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
44040 mkdir stage3-isl; \
44041 mv stage3-isl isl ; \
44042 mv stage2-isl prev-isl || test -f stage2-lean
44043 @endif isl
44044 @if cloog
44045 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
44046 mkdir stage3-cloog; \
44047 mv stage3-cloog cloog ; \
44048 mv stage2-cloog prev-cloog || test -f stage2-lean
44049 @endif cloog
44050 @if libelf
44051 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
44052 mkdir stage3-libelf; \
44053 mv stage3-libelf libelf ; \
44054 mv stage2-libelf prev-libelf || test -f stage2-lean
44055 @endif libelf
44056 @if gold
44057 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
44058 mkdir stage3-gold; \
44059 mv stage3-gold gold ; \
44060 mv stage2-gold prev-gold || test -f stage2-lean
44061 @endif gold
44062 @if intl
44063 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
44064 mkdir stage3-intl; \
44065 mv stage3-intl intl ; \
44066 mv stage2-intl prev-intl || test -f stage2-lean
44067 @endif intl
44068 @if ld
44069 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
44070 mkdir stage3-ld; \
44071 mv stage3-ld ld ; \
44072 mv stage2-ld prev-ld || test -f stage2-lean
44073 @endif ld
44074 @if libbacktrace
44075 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
44076 mkdir stage3-libbacktrace; \
44077 mv stage3-libbacktrace libbacktrace ; \
44078 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
44079 @endif libbacktrace
44080 @if libcpp
44081 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
44082 mkdir stage3-libcpp; \
44083 mv stage3-libcpp libcpp ; \
44084 mv stage2-libcpp prev-libcpp || test -f stage2-lean
44085 @endif libcpp
44086 @if libdecnumber
44087 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
44088 mkdir stage3-libdecnumber; \
44089 mv stage3-libdecnumber libdecnumber ; \
44090 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
44091 @endif libdecnumber
44092 @if libiberty
44093 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
44094 mkdir stage3-libiberty; \
44095 mv stage3-libiberty libiberty ; \
44096 mv stage2-libiberty prev-libiberty || test -f stage2-lean
44097 @endif libiberty
44098 @if zlib
44099 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
44100 mkdir stage3-zlib; \
44101 mv stage3-zlib zlib ; \
44102 mv stage2-zlib prev-zlib || test -f stage2-lean
44103 @endif zlib
44104 @if lto-plugin
44105 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
44106 mkdir stage3-lto-plugin; \
44107 mv stage3-lto-plugin lto-plugin ; \
44108 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
44109 @endif lto-plugin
44110 @[ -d stage3-$(TARGET_SUBDIR) ] || \
44111 mkdir stage3-$(TARGET_SUBDIR); \
44112 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44113 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
44115 stage3-end::
44116 @if bfd
44117 @if test -d $(HOST_SUBDIR)/bfd ; then \
44118 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
44119 mv prev-bfd stage2-bfd ; : ; \
44121 @endif bfd
44122 @if opcodes
44123 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44124 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
44125 mv prev-opcodes stage2-opcodes ; : ; \
44127 @endif opcodes
44128 @if binutils
44129 @if test -d $(HOST_SUBDIR)/binutils ; then \
44130 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
44131 mv prev-binutils stage2-binutils ; : ; \
44133 @endif binutils
44134 @if gas
44135 @if test -d $(HOST_SUBDIR)/gas ; then \
44136 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
44137 mv prev-gas stage2-gas ; : ; \
44139 @endif gas
44140 @if gcc
44141 @if test -d $(HOST_SUBDIR)/gcc ; then \
44142 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
44143 mv prev-gcc stage2-gcc ; : ; \
44145 @endif gcc
44146 @if gmp
44147 @if test -d $(HOST_SUBDIR)/gmp ; then \
44148 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
44149 mv prev-gmp stage2-gmp ; : ; \
44151 @endif gmp
44152 @if mpfr
44153 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44154 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
44155 mv prev-mpfr stage2-mpfr ; : ; \
44157 @endif mpfr
44158 @if mpc
44159 @if test -d $(HOST_SUBDIR)/mpc ; then \
44160 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
44161 mv prev-mpc stage2-mpc ; : ; \
44163 @endif mpc
44164 @if isl
44165 @if test -d $(HOST_SUBDIR)/isl ; then \
44166 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
44167 mv prev-isl stage2-isl ; : ; \
44169 @endif isl
44170 @if cloog
44171 @if test -d $(HOST_SUBDIR)/cloog ; then \
44172 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
44173 mv prev-cloog stage2-cloog ; : ; \
44175 @endif cloog
44176 @if libelf
44177 @if test -d $(HOST_SUBDIR)/libelf ; then \
44178 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
44179 mv prev-libelf stage2-libelf ; : ; \
44181 @endif libelf
44182 @if gold
44183 @if test -d $(HOST_SUBDIR)/gold ; then \
44184 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
44185 mv prev-gold stage2-gold ; : ; \
44187 @endif gold
44188 @if intl
44189 @if test -d $(HOST_SUBDIR)/intl ; then \
44190 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
44191 mv prev-intl stage2-intl ; : ; \
44193 @endif intl
44194 @if ld
44195 @if test -d $(HOST_SUBDIR)/ld ; then \
44196 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
44197 mv prev-ld stage2-ld ; : ; \
44199 @endif ld
44200 @if libbacktrace
44201 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44202 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
44203 mv prev-libbacktrace stage2-libbacktrace ; : ; \
44205 @endif libbacktrace
44206 @if libcpp
44207 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44208 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
44209 mv prev-libcpp stage2-libcpp ; : ; \
44211 @endif libcpp
44212 @if libdecnumber
44213 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44214 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
44215 mv prev-libdecnumber stage2-libdecnumber ; : ; \
44217 @endif libdecnumber
44218 @if libiberty
44219 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44220 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
44221 mv prev-libiberty stage2-libiberty ; : ; \
44223 @endif libiberty
44224 @if zlib
44225 @if test -d $(HOST_SUBDIR)/zlib ; then \
44226 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
44227 mv prev-zlib stage2-zlib ; : ; \
44229 @endif zlib
44230 @if lto-plugin
44231 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44232 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
44233 mv prev-lto-plugin stage2-lto-plugin ; : ; \
44235 @endif lto-plugin
44236 @if test -d $(TARGET_SUBDIR) ; then \
44237 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
44238 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
44240 rm -f stage_current
44242 # Bubble a bug fix through all the stages up to stage 3. They are
44243 # remade, but not reconfigured. The next stage (if any) will not be
44244 # reconfigured either.
44245 .PHONY: stage3-bubble
44246 stage3-bubble:: stage2-bubble
44247 @r=`${PWD_COMMAND}`; export r; \
44248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44249 if test -f stage3-lean || test -f stage2-lean ; then \
44250 echo Skipping rebuild of stage3 ; \
44251 else \
44252 $(MAKE) stage3-start; \
44253 if $(LEAN); then \
44254 rm -rf stage1-* ; \
44255 $(STAMP) stage1-lean ; \
44256 fi; \
44257 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
44259 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
44261 .PHONY: all-stage3 clean-stage3
44262 do-clean: clean-stage3
44264 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44265 # only possibility, but now it conflicts with no-bootstrap rules
44266 @if gcc-bootstrap
44268 compare:
44269 @r=`${PWD_COMMAND}`; export r; \
44270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44271 if test -f stage2-lean; then \
44272 echo Cannot compare object files as stage 2 was deleted. ; \
44273 exit 0 ; \
44274 fi; \
44275 : $(MAKE); $(stage); \
44276 rm -f .bad_compare ; \
44277 echo Comparing stages 2 and 3 ; \
44278 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
44279 files=`find stage3-* -name "*$(objext)" -print | \
44280 sed -n s,^stage$$sed-,,p` ; \
44281 for file in $${files} ; do \
44282 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
44283 if test ! -f $$f1; then continue; fi; \
44284 $(do-compare) > /dev/null 2>&1; \
44285 if test $$? -eq 1; then \
44286 case $$file in \
44287 @compare_exclusions@) \
44288 echo warning: $$file differs ;; \
44289 *) \
44290 echo $$file differs >> .bad_compare ;; \
44291 esac ; \
44292 fi ; \
44293 done ; \
44294 if [ -f .bad_compare ]; then \
44295 echo "Bootstrap comparison failure!"; \
44296 cat .bad_compare; \
44297 exit 1; \
44298 else \
44299 echo Comparison successful.; \
44300 fi ; \
44301 $(STAMP) compare
44302 if $(LEAN); then \
44303 rm -rf stage2-*; \
44304 $(STAMP) stage2-lean; \
44309 .PHONY: bootstrap bootstrap-lean
44310 bootstrap:
44311 echo stage3 > stage_final
44312 @r=`${PWD_COMMAND}`; export r; \
44313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44314 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
44315 @: $(MAKE); $(unstage)
44316 @r=`${PWD_COMMAND}`; export r; \
44317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44318 TFLAGS="$(STAGE3_TFLAGS)"; \
44319 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44321 bootstrap-lean:
44322 echo stage3 > stage_final
44323 @r=`${PWD_COMMAND}`; export r; \
44324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44325 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
44326 @: $(MAKE); $(unstage)
44327 @r=`${PWD_COMMAND}`; export r; \
44328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44329 TFLAGS="$(STAGE3_TFLAGS)"; \
44330 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44333 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44334 distclean-stage2:: distclean-stage3
44335 .PHONY: distclean-stage3
44336 distclean-stage3::
44337 @: $(MAKE); $(stage)
44338 @test "`cat stage_last`" != stage3 || rm -f stage_last
44339 rm -rf stage3-* compare
44342 .PHONY: cleanstrap
44343 cleanstrap: do-distclean local-clean
44344 echo stage3 > stage_final
44345 @r=`${PWD_COMMAND}`; export r; \
44346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44347 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
44348 @: $(MAKE); $(unstage)
44349 @r=`${PWD_COMMAND}`; export r; \
44350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44351 TFLAGS="$(STAGE3_TFLAGS)"; \
44352 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44354 @endif gcc-bootstrap
44357 .PHONY: stage4-start stage4-end
44359 stage4-start::
44360 @: $(MAKE); $(stage); \
44361 echo stage4 > stage_current ; \
44362 echo stage4 > stage_last; \
44363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44364 @if bfd
44365 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
44366 mkdir stage4-bfd; \
44367 mv stage4-bfd bfd ; \
44368 mv stage3-bfd prev-bfd || test -f stage3-lean
44369 @endif bfd
44370 @if opcodes
44371 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
44372 mkdir stage4-opcodes; \
44373 mv stage4-opcodes opcodes ; \
44374 mv stage3-opcodes prev-opcodes || test -f stage3-lean
44375 @endif opcodes
44376 @if binutils
44377 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
44378 mkdir stage4-binutils; \
44379 mv stage4-binutils binutils ; \
44380 mv stage3-binutils prev-binutils || test -f stage3-lean
44381 @endif binutils
44382 @if gas
44383 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
44384 mkdir stage4-gas; \
44385 mv stage4-gas gas ; \
44386 mv stage3-gas prev-gas || test -f stage3-lean
44387 @endif gas
44388 @if gcc
44389 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
44390 mkdir stage4-gcc; \
44391 mv stage4-gcc gcc ; \
44392 mv stage3-gcc prev-gcc || test -f stage3-lean
44393 @endif gcc
44394 @if gmp
44395 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
44396 mkdir stage4-gmp; \
44397 mv stage4-gmp gmp ; \
44398 mv stage3-gmp prev-gmp || test -f stage3-lean
44399 @endif gmp
44400 @if mpfr
44401 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
44402 mkdir stage4-mpfr; \
44403 mv stage4-mpfr mpfr ; \
44404 mv stage3-mpfr prev-mpfr || test -f stage3-lean
44405 @endif mpfr
44406 @if mpc
44407 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
44408 mkdir stage4-mpc; \
44409 mv stage4-mpc mpc ; \
44410 mv stage3-mpc prev-mpc || test -f stage3-lean
44411 @endif mpc
44412 @if isl
44413 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
44414 mkdir stage4-isl; \
44415 mv stage4-isl isl ; \
44416 mv stage3-isl prev-isl || test -f stage3-lean
44417 @endif isl
44418 @if cloog
44419 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
44420 mkdir stage4-cloog; \
44421 mv stage4-cloog cloog ; \
44422 mv stage3-cloog prev-cloog || test -f stage3-lean
44423 @endif cloog
44424 @if libelf
44425 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
44426 mkdir stage4-libelf; \
44427 mv stage4-libelf libelf ; \
44428 mv stage3-libelf prev-libelf || test -f stage3-lean
44429 @endif libelf
44430 @if gold
44431 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
44432 mkdir stage4-gold; \
44433 mv stage4-gold gold ; \
44434 mv stage3-gold prev-gold || test -f stage3-lean
44435 @endif gold
44436 @if intl
44437 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
44438 mkdir stage4-intl; \
44439 mv stage4-intl intl ; \
44440 mv stage3-intl prev-intl || test -f stage3-lean
44441 @endif intl
44442 @if ld
44443 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
44444 mkdir stage4-ld; \
44445 mv stage4-ld ld ; \
44446 mv stage3-ld prev-ld || test -f stage3-lean
44447 @endif ld
44448 @if libbacktrace
44449 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
44450 mkdir stage4-libbacktrace; \
44451 mv stage4-libbacktrace libbacktrace ; \
44452 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
44453 @endif libbacktrace
44454 @if libcpp
44455 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
44456 mkdir stage4-libcpp; \
44457 mv stage4-libcpp libcpp ; \
44458 mv stage3-libcpp prev-libcpp || test -f stage3-lean
44459 @endif libcpp
44460 @if libdecnumber
44461 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
44462 mkdir stage4-libdecnumber; \
44463 mv stage4-libdecnumber libdecnumber ; \
44464 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
44465 @endif libdecnumber
44466 @if libiberty
44467 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
44468 mkdir stage4-libiberty; \
44469 mv stage4-libiberty libiberty ; \
44470 mv stage3-libiberty prev-libiberty || test -f stage3-lean
44471 @endif libiberty
44472 @if zlib
44473 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
44474 mkdir stage4-zlib; \
44475 mv stage4-zlib zlib ; \
44476 mv stage3-zlib prev-zlib || test -f stage3-lean
44477 @endif zlib
44478 @if lto-plugin
44479 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
44480 mkdir stage4-lto-plugin; \
44481 mv stage4-lto-plugin lto-plugin ; \
44482 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
44483 @endif lto-plugin
44484 @[ -d stage4-$(TARGET_SUBDIR) ] || \
44485 mkdir stage4-$(TARGET_SUBDIR); \
44486 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44487 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
44489 stage4-end::
44490 @if bfd
44491 @if test -d $(HOST_SUBDIR)/bfd ; then \
44492 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
44493 mv prev-bfd stage3-bfd ; : ; \
44495 @endif bfd
44496 @if opcodes
44497 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44498 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
44499 mv prev-opcodes stage3-opcodes ; : ; \
44501 @endif opcodes
44502 @if binutils
44503 @if test -d $(HOST_SUBDIR)/binutils ; then \
44504 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
44505 mv prev-binutils stage3-binutils ; : ; \
44507 @endif binutils
44508 @if gas
44509 @if test -d $(HOST_SUBDIR)/gas ; then \
44510 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
44511 mv prev-gas stage3-gas ; : ; \
44513 @endif gas
44514 @if gcc
44515 @if test -d $(HOST_SUBDIR)/gcc ; then \
44516 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
44517 mv prev-gcc stage3-gcc ; : ; \
44519 @endif gcc
44520 @if gmp
44521 @if test -d $(HOST_SUBDIR)/gmp ; then \
44522 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
44523 mv prev-gmp stage3-gmp ; : ; \
44525 @endif gmp
44526 @if mpfr
44527 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44528 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
44529 mv prev-mpfr stage3-mpfr ; : ; \
44531 @endif mpfr
44532 @if mpc
44533 @if test -d $(HOST_SUBDIR)/mpc ; then \
44534 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
44535 mv prev-mpc stage3-mpc ; : ; \
44537 @endif mpc
44538 @if isl
44539 @if test -d $(HOST_SUBDIR)/isl ; then \
44540 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
44541 mv prev-isl stage3-isl ; : ; \
44543 @endif isl
44544 @if cloog
44545 @if test -d $(HOST_SUBDIR)/cloog ; then \
44546 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
44547 mv prev-cloog stage3-cloog ; : ; \
44549 @endif cloog
44550 @if libelf
44551 @if test -d $(HOST_SUBDIR)/libelf ; then \
44552 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
44553 mv prev-libelf stage3-libelf ; : ; \
44555 @endif libelf
44556 @if gold
44557 @if test -d $(HOST_SUBDIR)/gold ; then \
44558 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
44559 mv prev-gold stage3-gold ; : ; \
44561 @endif gold
44562 @if intl
44563 @if test -d $(HOST_SUBDIR)/intl ; then \
44564 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
44565 mv prev-intl stage3-intl ; : ; \
44567 @endif intl
44568 @if ld
44569 @if test -d $(HOST_SUBDIR)/ld ; then \
44570 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
44571 mv prev-ld stage3-ld ; : ; \
44573 @endif ld
44574 @if libbacktrace
44575 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44576 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
44577 mv prev-libbacktrace stage3-libbacktrace ; : ; \
44579 @endif libbacktrace
44580 @if libcpp
44581 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44582 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
44583 mv prev-libcpp stage3-libcpp ; : ; \
44585 @endif libcpp
44586 @if libdecnumber
44587 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44588 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
44589 mv prev-libdecnumber stage3-libdecnumber ; : ; \
44591 @endif libdecnumber
44592 @if libiberty
44593 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44594 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
44595 mv prev-libiberty stage3-libiberty ; : ; \
44597 @endif libiberty
44598 @if zlib
44599 @if test -d $(HOST_SUBDIR)/zlib ; then \
44600 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
44601 mv prev-zlib stage3-zlib ; : ; \
44603 @endif zlib
44604 @if lto-plugin
44605 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44606 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
44607 mv prev-lto-plugin stage3-lto-plugin ; : ; \
44609 @endif lto-plugin
44610 @if test -d $(TARGET_SUBDIR) ; then \
44611 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
44612 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
44614 rm -f stage_current
44616 # Bubble a bug fix through all the stages up to stage 4. They are
44617 # remade, but not reconfigured. The next stage (if any) will not be
44618 # reconfigured either.
44619 .PHONY: stage4-bubble
44620 stage4-bubble:: stage3-bubble
44621 @r=`${PWD_COMMAND}`; export r; \
44622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44623 if test -f stage4-lean || test -f stage3-lean ; then \
44624 echo Skipping rebuild of stage4 ; \
44625 else \
44626 $(MAKE) stage4-start; \
44627 if $(LEAN); then \
44628 rm -rf stage2-* ; \
44629 $(STAMP) stage2-lean ; \
44630 fi; \
44631 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
44633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
44635 .PHONY: all-stage4 clean-stage4
44636 do-clean: clean-stage4
44638 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44639 # only possibility, but now it conflicts with no-bootstrap rules
44640 @if gcc-bootstrap
44642 compare3:
44643 @r=`${PWD_COMMAND}`; export r; \
44644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44645 if test -f stage3-lean; then \
44646 echo Cannot compare object files as stage 3 was deleted. ; \
44647 exit 0 ; \
44648 fi; \
44649 : $(MAKE); $(stage); \
44650 rm -f .bad_compare ; \
44651 echo Comparing stages 3 and 4 ; \
44652 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
44653 files=`find stage4-* -name "*$(objext)" -print | \
44654 sed -n s,^stage$$sed-,,p` ; \
44655 for file in $${files} ; do \
44656 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
44657 if test ! -f $$f1; then continue; fi; \
44658 $(do-compare3) > /dev/null 2>&1; \
44659 if test $$? -eq 1; then \
44660 case $$file in \
44661 @compare_exclusions@) \
44662 echo warning: $$file differs ;; \
44663 *) \
44664 echo $$file differs >> .bad_compare ;; \
44665 esac ; \
44666 fi ; \
44667 done ; \
44668 if [ -f .bad_compare ]; then \
44669 echo "Bootstrap comparison failure!"; \
44670 cat .bad_compare; \
44671 exit 1; \
44672 else \
44673 echo Comparison successful.; \
44674 fi ; \
44675 $(STAMP) compare3
44676 if $(LEAN); then \
44677 rm -rf stage3-*; \
44678 $(STAMP) stage3-lean; \
44683 .PHONY: bootstrap4 bootstrap4-lean
44684 bootstrap4:
44685 echo stage4 > stage_final
44686 @r=`${PWD_COMMAND}`; export r; \
44687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
44689 @: $(MAKE); $(unstage)
44690 @r=`${PWD_COMMAND}`; export r; \
44691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44692 TFLAGS="$(STAGE4_TFLAGS)"; \
44693 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44695 bootstrap4-lean:
44696 echo stage4 > stage_final
44697 @r=`${PWD_COMMAND}`; export r; \
44698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44699 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
44700 @: $(MAKE); $(unstage)
44701 @r=`${PWD_COMMAND}`; export r; \
44702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44703 TFLAGS="$(STAGE4_TFLAGS)"; \
44704 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44707 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44708 distclean-stage3:: distclean-stage4
44709 .PHONY: distclean-stage4
44710 distclean-stage4::
44711 @: $(MAKE); $(stage)
44712 @test "`cat stage_last`" != stage4 || rm -f stage_last
44713 rm -rf stage4-* compare3
44716 @endif gcc-bootstrap
44719 .PHONY: stageprofile-start stageprofile-end
44721 stageprofile-start::
44722 @: $(MAKE); $(stage); \
44723 echo stageprofile > stage_current ; \
44724 echo stageprofile > stage_last; \
44725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44726 @if bfd
44727 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
44728 mkdir stageprofile-bfd; \
44729 mv stageprofile-bfd bfd ; \
44730 mv stage1-bfd prev-bfd || test -f stage1-lean
44731 @endif bfd
44732 @if opcodes
44733 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
44734 mkdir stageprofile-opcodes; \
44735 mv stageprofile-opcodes opcodes ; \
44736 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44737 @endif opcodes
44738 @if binutils
44739 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
44740 mkdir stageprofile-binutils; \
44741 mv stageprofile-binutils binutils ; \
44742 mv stage1-binutils prev-binutils || test -f stage1-lean
44743 @endif binutils
44744 @if gas
44745 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
44746 mkdir stageprofile-gas; \
44747 mv stageprofile-gas gas ; \
44748 mv stage1-gas prev-gas || test -f stage1-lean
44749 @endif gas
44750 @if gcc
44751 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
44752 mkdir stageprofile-gcc; \
44753 mv stageprofile-gcc gcc ; \
44754 mv stage1-gcc prev-gcc || test -f stage1-lean
44755 @endif gcc
44756 @if gmp
44757 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
44758 mkdir stageprofile-gmp; \
44759 mv stageprofile-gmp gmp ; \
44760 mv stage1-gmp prev-gmp || test -f stage1-lean
44761 @endif gmp
44762 @if mpfr
44763 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
44764 mkdir stageprofile-mpfr; \
44765 mv stageprofile-mpfr mpfr ; \
44766 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44767 @endif mpfr
44768 @if mpc
44769 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
44770 mkdir stageprofile-mpc; \
44771 mv stageprofile-mpc mpc ; \
44772 mv stage1-mpc prev-mpc || test -f stage1-lean
44773 @endif mpc
44774 @if isl
44775 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
44776 mkdir stageprofile-isl; \
44777 mv stageprofile-isl isl ; \
44778 mv stage1-isl prev-isl || test -f stage1-lean
44779 @endif isl
44780 @if cloog
44781 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
44782 mkdir stageprofile-cloog; \
44783 mv stageprofile-cloog cloog ; \
44784 mv stage1-cloog prev-cloog || test -f stage1-lean
44785 @endif cloog
44786 @if libelf
44787 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
44788 mkdir stageprofile-libelf; \
44789 mv stageprofile-libelf libelf ; \
44790 mv stage1-libelf prev-libelf || test -f stage1-lean
44791 @endif libelf
44792 @if gold
44793 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
44794 mkdir stageprofile-gold; \
44795 mv stageprofile-gold gold ; \
44796 mv stage1-gold prev-gold || test -f stage1-lean
44797 @endif gold
44798 @if intl
44799 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
44800 mkdir stageprofile-intl; \
44801 mv stageprofile-intl intl ; \
44802 mv stage1-intl prev-intl || test -f stage1-lean
44803 @endif intl
44804 @if ld
44805 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
44806 mkdir stageprofile-ld; \
44807 mv stageprofile-ld ld ; \
44808 mv stage1-ld prev-ld || test -f stage1-lean
44809 @endif ld
44810 @if libbacktrace
44811 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
44812 mkdir stageprofile-libbacktrace; \
44813 mv stageprofile-libbacktrace libbacktrace ; \
44814 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44815 @endif libbacktrace
44816 @if libcpp
44817 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
44818 mkdir stageprofile-libcpp; \
44819 mv stageprofile-libcpp libcpp ; \
44820 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44821 @endif libcpp
44822 @if libdecnumber
44823 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
44824 mkdir stageprofile-libdecnumber; \
44825 mv stageprofile-libdecnumber libdecnumber ; \
44826 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44827 @endif libdecnumber
44828 @if libiberty
44829 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
44830 mkdir stageprofile-libiberty; \
44831 mv stageprofile-libiberty libiberty ; \
44832 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44833 @endif libiberty
44834 @if zlib
44835 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
44836 mkdir stageprofile-zlib; \
44837 mv stageprofile-zlib zlib ; \
44838 mv stage1-zlib prev-zlib || test -f stage1-lean
44839 @endif zlib
44840 @if lto-plugin
44841 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
44842 mkdir stageprofile-lto-plugin; \
44843 mv stageprofile-lto-plugin lto-plugin ; \
44844 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44845 @endif lto-plugin
44846 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
44847 mkdir stageprofile-$(TARGET_SUBDIR); \
44848 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44849 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44851 stageprofile-end::
44852 @if bfd
44853 @if test -d $(HOST_SUBDIR)/bfd ; then \
44854 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
44855 mv prev-bfd stage1-bfd ; : ; \
44857 @endif bfd
44858 @if opcodes
44859 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44860 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
44861 mv prev-opcodes stage1-opcodes ; : ; \
44863 @endif opcodes
44864 @if binutils
44865 @if test -d $(HOST_SUBDIR)/binutils ; then \
44866 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
44867 mv prev-binutils stage1-binutils ; : ; \
44869 @endif binutils
44870 @if gas
44871 @if test -d $(HOST_SUBDIR)/gas ; then \
44872 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
44873 mv prev-gas stage1-gas ; : ; \
44875 @endif gas
44876 @if gcc
44877 @if test -d $(HOST_SUBDIR)/gcc ; then \
44878 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
44879 mv prev-gcc stage1-gcc ; : ; \
44881 @endif gcc
44882 @if gmp
44883 @if test -d $(HOST_SUBDIR)/gmp ; then \
44884 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
44885 mv prev-gmp stage1-gmp ; : ; \
44887 @endif gmp
44888 @if mpfr
44889 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44890 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
44891 mv prev-mpfr stage1-mpfr ; : ; \
44893 @endif mpfr
44894 @if mpc
44895 @if test -d $(HOST_SUBDIR)/mpc ; then \
44896 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
44897 mv prev-mpc stage1-mpc ; : ; \
44899 @endif mpc
44900 @if isl
44901 @if test -d $(HOST_SUBDIR)/isl ; then \
44902 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
44903 mv prev-isl stage1-isl ; : ; \
44905 @endif isl
44906 @if cloog
44907 @if test -d $(HOST_SUBDIR)/cloog ; then \
44908 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
44909 mv prev-cloog stage1-cloog ; : ; \
44911 @endif cloog
44912 @if libelf
44913 @if test -d $(HOST_SUBDIR)/libelf ; then \
44914 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
44915 mv prev-libelf stage1-libelf ; : ; \
44917 @endif libelf
44918 @if gold
44919 @if test -d $(HOST_SUBDIR)/gold ; then \
44920 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
44921 mv prev-gold stage1-gold ; : ; \
44923 @endif gold
44924 @if intl
44925 @if test -d $(HOST_SUBDIR)/intl ; then \
44926 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
44927 mv prev-intl stage1-intl ; : ; \
44929 @endif intl
44930 @if ld
44931 @if test -d $(HOST_SUBDIR)/ld ; then \
44932 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
44933 mv prev-ld stage1-ld ; : ; \
44935 @endif ld
44936 @if libbacktrace
44937 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44938 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
44939 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44941 @endif libbacktrace
44942 @if libcpp
44943 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44944 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
44945 mv prev-libcpp stage1-libcpp ; : ; \
44947 @endif libcpp
44948 @if libdecnumber
44949 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44950 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
44951 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44953 @endif libdecnumber
44954 @if libiberty
44955 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44956 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
44957 mv prev-libiberty stage1-libiberty ; : ; \
44959 @endif libiberty
44960 @if zlib
44961 @if test -d $(HOST_SUBDIR)/zlib ; then \
44962 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
44963 mv prev-zlib stage1-zlib ; : ; \
44965 @endif zlib
44966 @if lto-plugin
44967 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44968 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
44969 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44971 @endif lto-plugin
44972 @if test -d $(TARGET_SUBDIR) ; then \
44973 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
44974 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44976 rm -f stage_current
44978 # Bubble a bug fix through all the stages up to stage profile. They are
44979 # remade, but not reconfigured. The next stage (if any) will not be
44980 # reconfigured either.
44981 .PHONY: stageprofile-bubble
44982 stageprofile-bubble:: stage1-bubble
44983 @r=`${PWD_COMMAND}`; export r; \
44984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44985 if test -f stageprofile-lean || test -f stage1-lean ; then \
44986 echo Skipping rebuild of stageprofile ; \
44987 else \
44988 $(MAKE) stageprofile-start; \
44989 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
44992 .PHONY: all-stageprofile clean-stageprofile
44993 do-clean: clean-stageprofile
44995 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44996 # only possibility, but now it conflicts with no-bootstrap rules
44997 @if gcc-bootstrap
45002 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45003 distclean-stage1:: distclean-stageprofile
45004 .PHONY: distclean-stageprofile
45005 distclean-stageprofile::
45006 @: $(MAKE); $(stage)
45007 @test "`cat stage_last`" != stageprofile || rm -f stage_last
45008 rm -rf stageprofile-*
45011 @endif gcc-bootstrap
45014 .PHONY: stagefeedback-start stagefeedback-end
45016 stagefeedback-start::
45017 @: $(MAKE); $(stage); \
45018 echo stagefeedback > stage_current ; \
45019 echo stagefeedback > stage_last; \
45020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45021 @if bfd
45022 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
45023 mkdir stagefeedback-bfd; \
45024 mv stagefeedback-bfd bfd ; \
45025 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
45026 @endif bfd
45027 @if opcodes
45028 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
45029 mkdir stagefeedback-opcodes; \
45030 mv stagefeedback-opcodes opcodes ; \
45031 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
45032 @endif opcodes
45033 @if binutils
45034 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
45035 mkdir stagefeedback-binutils; \
45036 mv stagefeedback-binutils binutils ; \
45037 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
45038 @endif binutils
45039 @if gas
45040 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
45041 mkdir stagefeedback-gas; \
45042 mv stagefeedback-gas gas ; \
45043 mv stageprofile-gas prev-gas || test -f stageprofile-lean
45044 @endif gas
45045 @if gcc
45046 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
45047 mkdir stagefeedback-gcc; \
45048 mv stagefeedback-gcc gcc ; \
45049 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
45050 @endif gcc
45051 @if gmp
45052 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
45053 mkdir stagefeedback-gmp; \
45054 mv stagefeedback-gmp gmp ; \
45055 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
45056 @endif gmp
45057 @if mpfr
45058 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
45059 mkdir stagefeedback-mpfr; \
45060 mv stagefeedback-mpfr mpfr ; \
45061 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
45062 @endif mpfr
45063 @if mpc
45064 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
45065 mkdir stagefeedback-mpc; \
45066 mv stagefeedback-mpc mpc ; \
45067 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
45068 @endif mpc
45069 @if isl
45070 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
45071 mkdir stagefeedback-isl; \
45072 mv stagefeedback-isl isl ; \
45073 mv stageprofile-isl prev-isl || test -f stageprofile-lean
45074 @endif isl
45075 @if cloog
45076 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
45077 mkdir stagefeedback-cloog; \
45078 mv stagefeedback-cloog cloog ; \
45079 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
45080 @endif cloog
45081 @if libelf
45082 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
45083 mkdir stagefeedback-libelf; \
45084 mv stagefeedback-libelf libelf ; \
45085 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
45086 @endif libelf
45087 @if gold
45088 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
45089 mkdir stagefeedback-gold; \
45090 mv stagefeedback-gold gold ; \
45091 mv stageprofile-gold prev-gold || test -f stageprofile-lean
45092 @endif gold
45093 @if intl
45094 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
45095 mkdir stagefeedback-intl; \
45096 mv stagefeedback-intl intl ; \
45097 mv stageprofile-intl prev-intl || test -f stageprofile-lean
45098 @endif intl
45099 @if ld
45100 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
45101 mkdir stagefeedback-ld; \
45102 mv stagefeedback-ld ld ; \
45103 mv stageprofile-ld prev-ld || test -f stageprofile-lean
45104 @endif ld
45105 @if libbacktrace
45106 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
45107 mkdir stagefeedback-libbacktrace; \
45108 mv stagefeedback-libbacktrace libbacktrace ; \
45109 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
45110 @endif libbacktrace
45111 @if libcpp
45112 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
45113 mkdir stagefeedback-libcpp; \
45114 mv stagefeedback-libcpp libcpp ; \
45115 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
45116 @endif libcpp
45117 @if libdecnumber
45118 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
45119 mkdir stagefeedback-libdecnumber; \
45120 mv stagefeedback-libdecnumber libdecnumber ; \
45121 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
45122 @endif libdecnumber
45123 @if libiberty
45124 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
45125 mkdir stagefeedback-libiberty; \
45126 mv stagefeedback-libiberty libiberty ; \
45127 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
45128 @endif libiberty
45129 @if zlib
45130 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
45131 mkdir stagefeedback-zlib; \
45132 mv stagefeedback-zlib zlib ; \
45133 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
45134 @endif zlib
45135 @if lto-plugin
45136 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
45137 mkdir stagefeedback-lto-plugin; \
45138 mv stagefeedback-lto-plugin lto-plugin ; \
45139 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
45140 @endif lto-plugin
45141 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
45142 mkdir stagefeedback-$(TARGET_SUBDIR); \
45143 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45144 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
45146 stagefeedback-end::
45147 @if bfd
45148 @if test -d $(HOST_SUBDIR)/bfd ; then \
45149 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
45150 mv prev-bfd stageprofile-bfd ; : ; \
45152 @endif bfd
45153 @if opcodes
45154 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45155 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
45156 mv prev-opcodes stageprofile-opcodes ; : ; \
45158 @endif opcodes
45159 @if binutils
45160 @if test -d $(HOST_SUBDIR)/binutils ; then \
45161 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
45162 mv prev-binutils stageprofile-binutils ; : ; \
45164 @endif binutils
45165 @if gas
45166 @if test -d $(HOST_SUBDIR)/gas ; then \
45167 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
45168 mv prev-gas stageprofile-gas ; : ; \
45170 @endif gas
45171 @if gcc
45172 @if test -d $(HOST_SUBDIR)/gcc ; then \
45173 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
45174 mv prev-gcc stageprofile-gcc ; : ; \
45176 @endif gcc
45177 @if gmp
45178 @if test -d $(HOST_SUBDIR)/gmp ; then \
45179 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
45180 mv prev-gmp stageprofile-gmp ; : ; \
45182 @endif gmp
45183 @if mpfr
45184 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45185 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
45186 mv prev-mpfr stageprofile-mpfr ; : ; \
45188 @endif mpfr
45189 @if mpc
45190 @if test -d $(HOST_SUBDIR)/mpc ; then \
45191 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
45192 mv prev-mpc stageprofile-mpc ; : ; \
45194 @endif mpc
45195 @if isl
45196 @if test -d $(HOST_SUBDIR)/isl ; then \
45197 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
45198 mv prev-isl stageprofile-isl ; : ; \
45200 @endif isl
45201 @if cloog
45202 @if test -d $(HOST_SUBDIR)/cloog ; then \
45203 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
45204 mv prev-cloog stageprofile-cloog ; : ; \
45206 @endif cloog
45207 @if libelf
45208 @if test -d $(HOST_SUBDIR)/libelf ; then \
45209 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
45210 mv prev-libelf stageprofile-libelf ; : ; \
45212 @endif libelf
45213 @if gold
45214 @if test -d $(HOST_SUBDIR)/gold ; then \
45215 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
45216 mv prev-gold stageprofile-gold ; : ; \
45218 @endif gold
45219 @if intl
45220 @if test -d $(HOST_SUBDIR)/intl ; then \
45221 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
45222 mv prev-intl stageprofile-intl ; : ; \
45224 @endif intl
45225 @if ld
45226 @if test -d $(HOST_SUBDIR)/ld ; then \
45227 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
45228 mv prev-ld stageprofile-ld ; : ; \
45230 @endif ld
45231 @if libbacktrace
45232 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45233 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
45234 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
45236 @endif libbacktrace
45237 @if libcpp
45238 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45239 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
45240 mv prev-libcpp stageprofile-libcpp ; : ; \
45242 @endif libcpp
45243 @if libdecnumber
45244 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45245 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
45246 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
45248 @endif libdecnumber
45249 @if libiberty
45250 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45251 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
45252 mv prev-libiberty stageprofile-libiberty ; : ; \
45254 @endif libiberty
45255 @if zlib
45256 @if test -d $(HOST_SUBDIR)/zlib ; then \
45257 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
45258 mv prev-zlib stageprofile-zlib ; : ; \
45260 @endif zlib
45261 @if lto-plugin
45262 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45263 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
45264 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
45266 @endif lto-plugin
45267 @if test -d $(TARGET_SUBDIR) ; then \
45268 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
45269 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
45271 rm -f stage_current
45273 # Bubble a bug fix through all the stages up to stage feedback. They are
45274 # remade, but not reconfigured. The next stage (if any) will not be
45275 # reconfigured either.
45276 .PHONY: stagefeedback-bubble
45277 stagefeedback-bubble:: stageprofile-bubble
45278 @r=`${PWD_COMMAND}`; export r; \
45279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45280 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
45281 echo Skipping rebuild of stagefeedback ; \
45282 else \
45283 $(MAKE) stagefeedback-start; \
45284 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
45287 .PHONY: all-stagefeedback clean-stagefeedback
45288 do-clean: clean-stagefeedback
45290 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45291 # only possibility, but now it conflicts with no-bootstrap rules
45292 @if gcc-bootstrap
45296 .PHONY: profiledbootstrap profiledbootstrap-lean
45297 profiledbootstrap:
45298 echo stagefeedback > stage_final
45299 @r=`${PWD_COMMAND}`; export r; \
45300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45301 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
45302 @: $(MAKE); $(unstage)
45303 @r=`${PWD_COMMAND}`; export r; \
45304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45305 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45306 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45308 profiledbootstrap-lean:
45309 echo stagefeedback > stage_final
45310 @r=`${PWD_COMMAND}`; export r; \
45311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
45313 @: $(MAKE); $(unstage)
45314 @r=`${PWD_COMMAND}`; export r; \
45315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45316 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45317 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45320 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45321 distclean-stageprofile:: distclean-stagefeedback
45322 .PHONY: distclean-stagefeedback
45323 distclean-stagefeedback::
45324 @: $(MAKE); $(stage)
45325 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
45326 rm -rf stagefeedback-*
45329 @endif gcc-bootstrap
45333 stageprofile-end::
45334 $(MAKE) distclean-stagefeedback
45336 stagefeedback-start::
45337 @r=`${PWD_COMMAND}`; export r; \
45338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45339 for i in prev-*; do \
45340 j=`echo $$i | sed s/^prev-//` ; \
45341 cd $$r/$$i && \
45342 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
45343 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
45344 done
45346 @if gcc-bootstrap
45347 do-distclean: distclean-stage1
45349 # Provide a GCC build when we're building target libraries. This does
45350 # not work as a dependency, just as the minimum necessary to avoid errors.
45351 stage_last:
45352 @r=`${PWD_COMMAND}`; export r; \
45353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45354 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
45356 # Same as unstage, but not phony and defaulting to stage1-start. We place
45357 # it in the dependency so that for example `make -j3 all-gcc' works.
45358 stage_current:
45359 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
45361 .PHONY: restrap
45362 restrap::
45363 @: $(MAKE); $(stage)
45364 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
45365 restrap:: all
45366 @endif gcc-bootstrap
45368 # --------------------------------------
45369 # Dependencies between different modules
45370 # --------------------------------------
45372 # Generic dependencies for target modules on host stuff, especially gcc
45373 @if gcc-bootstrap
45374 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
45375 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
45376 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
45377 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
45378 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
45379 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
45380 configure-target-libmudflap: stage_last
45381 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
45382 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
45383 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
45384 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
45385 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
45386 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
45387 configure-target-libssp: stage_last
45388 configure-target-newlib: stage_last
45389 configure-stage1-target-libgcc: maybe-all-stage1-gcc
45390 configure-stage2-target-libgcc: maybe-all-stage2-gcc
45391 configure-stage3-target-libgcc: maybe-all-stage3-gcc
45392 configure-stage4-target-libgcc: maybe-all-stage4-gcc
45393 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
45394 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
45395 configure-target-libbacktrace: stage_last
45396 configure-target-libquadmath: stage_last
45397 configure-target-libgfortran: stage_last
45398 configure-target-libobjc: stage_last
45399 configure-target-libgo: stage_last
45400 configure-target-libtermcap: stage_last
45401 configure-target-winsup: stage_last
45402 configure-target-libgloss: stage_last
45403 configure-target-libffi: stage_last
45404 configure-target-libjava: stage_last
45405 configure-target-zlib: stage_last
45406 configure-target-boehm-gc: stage_last
45407 configure-target-rda: stage_last
45408 configure-target-libada: stage_last
45409 configure-stage1-target-libgomp: maybe-all-stage1-gcc
45410 configure-stage2-target-libgomp: maybe-all-stage2-gcc
45411 configure-stage3-target-libgomp: maybe-all-stage3-gcc
45412 configure-stage4-target-libgomp: maybe-all-stage4-gcc
45413 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
45414 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
45415 configure-target-libitm: stage_last
45416 configure-target-libatomic: stage_last
45417 @endif gcc-bootstrap
45419 @if gcc-no-bootstrap
45420 configure-target-libstdc++-v3: maybe-all-gcc
45421 configure-target-libmudflap: maybe-all-gcc
45422 configure-target-libsanitizer: maybe-all-gcc
45423 configure-target-libssp: maybe-all-gcc
45424 configure-target-newlib: maybe-all-gcc
45425 configure-target-libgcc: maybe-all-gcc
45426 configure-target-libbacktrace: maybe-all-gcc
45427 configure-target-libquadmath: maybe-all-gcc
45428 configure-target-libgfortran: maybe-all-gcc
45429 configure-target-libobjc: maybe-all-gcc
45430 configure-target-libgo: maybe-all-gcc
45431 configure-target-libtermcap: maybe-all-gcc
45432 configure-target-winsup: maybe-all-gcc
45433 configure-target-libgloss: maybe-all-gcc
45434 configure-target-libffi: maybe-all-gcc
45435 configure-target-libjava: maybe-all-gcc
45436 configure-target-zlib: maybe-all-gcc
45437 configure-target-boehm-gc: maybe-all-gcc
45438 configure-target-rda: maybe-all-gcc
45439 configure-target-libada: maybe-all-gcc
45440 configure-target-libgomp: maybe-all-gcc
45441 configure-target-libitm: maybe-all-gcc
45442 configure-target-libatomic: maybe-all-gcc
45443 @endif gcc-no-bootstrap
45446 # There are two types of dependencies here: 'hard' dependencies, where one
45447 # module simply won't build without the other; and 'soft' dependencies, where
45448 # if the depended-on module is missing, the depending module will do without
45449 # or find a substitute somewhere (perhaps installed). Soft dependencies
45450 # are made here to depend on a 'maybe-' target. If you're not sure,
45451 # it's safer to use a soft dependency.
45458 # With all the machinery above in place, it is pretty easy to generate
45459 # dependencies. Host dependencies are a bit more complex because we have
45460 # to check for bootstrap/prebootstrap dependencies. To resolve
45461 # prebootstrap dependencies, prebootstrap modules are gathered in
45462 # a hash table.
45463 all-build-bison: maybe-all-build-texinfo
45464 all-build-flex: maybe-all-build-texinfo
45465 all-build-flex: maybe-all-build-bison
45466 all-build-flex: maybe-all-build-m4
45467 all-build-libiberty: maybe-all-build-texinfo
45468 all-build-m4: maybe-all-build-texinfo
45469 all-build-fixincludes: maybe-all-build-libiberty
45470 configure-gcc: maybe-configure-intl
45472 configure-stage1-gcc: maybe-configure-stage1-intl
45473 configure-stage2-gcc: maybe-configure-stage2-intl
45474 configure-stage3-gcc: maybe-configure-stage3-intl
45475 configure-stage4-gcc: maybe-configure-stage4-intl
45476 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
45477 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
45478 configure-gcc: maybe-all-gmp
45480 configure-stage1-gcc: maybe-all-stage1-gmp
45481 configure-stage2-gcc: maybe-all-stage2-gmp
45482 configure-stage3-gcc: maybe-all-stage3-gmp
45483 configure-stage4-gcc: maybe-all-stage4-gmp
45484 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
45485 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
45486 configure-gcc: maybe-all-lto-plugin
45488 configure-stage1-gcc: maybe-all-stage1-lto-plugin
45489 configure-stage2-gcc: maybe-all-stage2-lto-plugin
45490 configure-stage3-gcc: maybe-all-stage3-lto-plugin
45491 configure-stage4-gcc: maybe-all-stage4-lto-plugin
45492 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
45493 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
45494 configure-gcc: maybe-all-binutils
45496 configure-stage1-gcc: maybe-all-stage1-binutils
45497 configure-stage2-gcc: maybe-all-stage2-binutils
45498 configure-stage3-gcc: maybe-all-stage3-binutils
45499 configure-stage4-gcc: maybe-all-stage4-binutils
45500 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
45501 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
45502 configure-gcc: maybe-all-gas
45504 configure-stage1-gcc: maybe-all-stage1-gas
45505 configure-stage2-gcc: maybe-all-stage2-gas
45506 configure-stage3-gcc: maybe-all-stage3-gas
45507 configure-stage4-gcc: maybe-all-stage4-gas
45508 configure-stageprofile-gcc: maybe-all-stageprofile-gas
45509 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
45510 configure-gcc: maybe-all-ld
45512 configure-stage1-gcc: maybe-all-stage1-ld
45513 configure-stage2-gcc: maybe-all-stage2-ld
45514 configure-stage3-gcc: maybe-all-stage3-ld
45515 configure-stage4-gcc: maybe-all-stage4-ld
45516 configure-stageprofile-gcc: maybe-all-stageprofile-ld
45517 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
45518 configure-gcc: maybe-all-gold
45520 configure-stage1-gcc: maybe-all-stage1-gold
45521 configure-stage2-gcc: maybe-all-stage2-gold
45522 configure-stage3-gcc: maybe-all-stage3-gold
45523 configure-stage4-gcc: maybe-all-stage4-gold
45524 configure-stageprofile-gcc: maybe-all-stageprofile-gold
45525 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
45526 configure-gcc: maybe-all-libelf
45528 configure-stage1-gcc: maybe-all-stage1-libelf
45529 configure-stage2-gcc: maybe-all-stage2-libelf
45530 configure-stage3-gcc: maybe-all-stage3-libelf
45531 configure-stage4-gcc: maybe-all-stage4-libelf
45532 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
45533 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
45534 all-gcc: all-libiberty
45536 all-stage1-gcc: all-stage1-libiberty
45537 all-stage2-gcc: all-stage2-libiberty
45538 all-stage3-gcc: all-stage3-libiberty
45539 all-stage4-gcc: all-stage4-libiberty
45540 all-stageprofile-gcc: all-stageprofile-libiberty
45541 all-stagefeedback-gcc: all-stagefeedback-libiberty
45542 all-gcc: maybe-all-intl
45544 all-stage1-gcc: maybe-all-stage1-intl
45545 all-stage2-gcc: maybe-all-stage2-intl
45546 all-stage3-gcc: maybe-all-stage3-intl
45547 all-stage4-gcc: maybe-all-stage4-intl
45548 all-stageprofile-gcc: maybe-all-stageprofile-intl
45549 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
45550 all-gcc: maybe-all-mpfr
45552 all-stage1-gcc: maybe-all-stage1-mpfr
45553 all-stage2-gcc: maybe-all-stage2-mpfr
45554 all-stage3-gcc: maybe-all-stage3-mpfr
45555 all-stage4-gcc: maybe-all-stage4-mpfr
45556 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
45557 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
45558 all-gcc: maybe-all-mpc
45560 all-stage1-gcc: maybe-all-stage1-mpc
45561 all-stage2-gcc: maybe-all-stage2-mpc
45562 all-stage3-gcc: maybe-all-stage3-mpc
45563 all-stage4-gcc: maybe-all-stage4-mpc
45564 all-stageprofile-gcc: maybe-all-stageprofile-mpc
45565 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
45566 all-gcc: maybe-all-cloog
45568 all-stage1-gcc: maybe-all-stage1-cloog
45569 all-stage2-gcc: maybe-all-stage2-cloog
45570 all-stage3-gcc: maybe-all-stage3-cloog
45571 all-stage4-gcc: maybe-all-stage4-cloog
45572 all-stageprofile-gcc: maybe-all-stageprofile-cloog
45573 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
45574 all-gcc: maybe-all-build-texinfo
45576 all-stage1-gcc: maybe-all-build-texinfo
45577 all-stage2-gcc: maybe-all-build-texinfo
45578 all-stage3-gcc: maybe-all-build-texinfo
45579 all-stage4-gcc: maybe-all-build-texinfo
45580 all-stageprofile-gcc: maybe-all-build-texinfo
45581 all-stagefeedback-gcc: maybe-all-build-texinfo
45582 all-gcc: maybe-all-build-bison
45584 all-stage1-gcc: maybe-all-build-bison
45585 all-stage2-gcc: maybe-all-build-bison
45586 all-stage3-gcc: maybe-all-build-bison
45587 all-stage4-gcc: maybe-all-build-bison
45588 all-stageprofile-gcc: maybe-all-build-bison
45589 all-stagefeedback-gcc: maybe-all-build-bison
45590 all-gcc: maybe-all-build-flex
45592 all-stage1-gcc: maybe-all-build-flex
45593 all-stage2-gcc: maybe-all-build-flex
45594 all-stage3-gcc: maybe-all-build-flex
45595 all-stage4-gcc: maybe-all-build-flex
45596 all-stageprofile-gcc: maybe-all-build-flex
45597 all-stagefeedback-gcc: maybe-all-build-flex
45598 all-gcc: maybe-all-build-libiberty
45600 all-stage1-gcc: maybe-all-build-libiberty
45601 all-stage2-gcc: maybe-all-build-libiberty
45602 all-stage3-gcc: maybe-all-build-libiberty
45603 all-stage4-gcc: maybe-all-build-libiberty
45604 all-stageprofile-gcc: maybe-all-build-libiberty
45605 all-stagefeedback-gcc: maybe-all-build-libiberty
45606 all-gcc: maybe-all-build-fixincludes
45608 all-stage1-gcc: maybe-all-build-fixincludes
45609 all-stage2-gcc: maybe-all-build-fixincludes
45610 all-stage3-gcc: maybe-all-build-fixincludes
45611 all-stage4-gcc: maybe-all-build-fixincludes
45612 all-stageprofile-gcc: maybe-all-build-fixincludes
45613 all-stagefeedback-gcc: maybe-all-build-fixincludes
45614 all-gcc: maybe-all-zlib
45616 all-stage1-gcc: maybe-all-stage1-zlib
45617 all-stage2-gcc: maybe-all-stage2-zlib
45618 all-stage3-gcc: maybe-all-stage3-zlib
45619 all-stage4-gcc: maybe-all-stage4-zlib
45620 all-stageprofile-gcc: maybe-all-stageprofile-zlib
45621 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
45622 all-gcc: all-libbacktrace
45624 all-stage1-gcc: all-stage1-libbacktrace
45625 all-stage2-gcc: all-stage2-libbacktrace
45626 all-stage3-gcc: all-stage3-libbacktrace
45627 all-stage4-gcc: all-stage4-libbacktrace
45628 all-stageprofile-gcc: all-stageprofile-libbacktrace
45629 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
45630 all-gcc: all-libcpp
45632 all-stage1-gcc: all-stage1-libcpp
45633 all-stage2-gcc: all-stage2-libcpp
45634 all-stage3-gcc: all-stage3-libcpp
45635 all-stage4-gcc: all-stage4-libcpp
45636 all-stageprofile-gcc: all-stageprofile-libcpp
45637 all-stagefeedback-gcc: all-stagefeedback-libcpp
45638 all-gcc: all-libdecnumber
45640 all-stage1-gcc: all-stage1-libdecnumber
45641 all-stage2-gcc: all-stage2-libdecnumber
45642 all-stage3-gcc: all-stage3-libdecnumber
45643 all-stage4-gcc: all-stage4-libdecnumber
45644 all-stageprofile-gcc: all-stageprofile-libdecnumber
45645 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
45646 all-gcc: maybe-all-libiberty
45648 all-stage1-gcc: maybe-all-stage1-libiberty
45649 all-stage2-gcc: maybe-all-stage2-libiberty
45650 all-stage3-gcc: maybe-all-stage3-libiberty
45651 all-stage4-gcc: maybe-all-stage4-libiberty
45652 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
45653 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
45654 all-gcc: maybe-all-fixincludes
45655 all-gcc: maybe-all-lto-plugin
45657 all-stage1-gcc: maybe-all-stage1-lto-plugin
45658 all-stage2-gcc: maybe-all-stage2-lto-plugin
45659 all-stage3-gcc: maybe-all-stage3-lto-plugin
45660 all-stage4-gcc: maybe-all-stage4-lto-plugin
45661 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
45662 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
45663 info-gcc: maybe-all-build-libiberty
45665 info-stage1-gcc: maybe-all-build-libiberty
45666 info-stage2-gcc: maybe-all-build-libiberty
45667 info-stage3-gcc: maybe-all-build-libiberty
45668 info-stage4-gcc: maybe-all-build-libiberty
45669 info-stageprofile-gcc: maybe-all-build-libiberty
45670 info-stagefeedback-gcc: maybe-all-build-libiberty
45671 dvi-gcc: maybe-all-build-libiberty
45673 dvi-stage1-gcc: maybe-all-build-libiberty
45674 dvi-stage2-gcc: maybe-all-build-libiberty
45675 dvi-stage3-gcc: maybe-all-build-libiberty
45676 dvi-stage4-gcc: maybe-all-build-libiberty
45677 dvi-stageprofile-gcc: maybe-all-build-libiberty
45678 dvi-stagefeedback-gcc: maybe-all-build-libiberty
45679 pdf-gcc: maybe-all-build-libiberty
45681 pdf-stage1-gcc: maybe-all-build-libiberty
45682 pdf-stage2-gcc: maybe-all-build-libiberty
45683 pdf-stage3-gcc: maybe-all-build-libiberty
45684 pdf-stage4-gcc: maybe-all-build-libiberty
45685 pdf-stageprofile-gcc: maybe-all-build-libiberty
45686 pdf-stagefeedback-gcc: maybe-all-build-libiberty
45687 html-gcc: maybe-all-build-libiberty
45689 html-stage1-gcc: maybe-all-build-libiberty
45690 html-stage2-gcc: maybe-all-build-libiberty
45691 html-stage3-gcc: maybe-all-build-libiberty
45692 html-stage4-gcc: maybe-all-build-libiberty
45693 html-stageprofile-gcc: maybe-all-build-libiberty
45694 html-stagefeedback-gcc: maybe-all-build-libiberty
45695 install-gcc: maybe-install-fixincludes
45696 install-gcc: maybe-install-lto-plugin
45697 install-strip-gcc: maybe-install-strip-fixincludes
45698 install-strip-gcc: maybe-install-strip-lto-plugin
45699 configure-libcpp: configure-libiberty
45701 configure-stage1-libcpp: configure-stage1-libiberty
45702 configure-stage2-libcpp: configure-stage2-libiberty
45703 configure-stage3-libcpp: configure-stage3-libiberty
45704 configure-stage4-libcpp: configure-stage4-libiberty
45705 configure-stageprofile-libcpp: configure-stageprofile-libiberty
45706 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
45707 configure-libcpp: maybe-configure-intl
45709 configure-stage1-libcpp: maybe-configure-stage1-intl
45710 configure-stage2-libcpp: maybe-configure-stage2-intl
45711 configure-stage3-libcpp: maybe-configure-stage3-intl
45712 configure-stage4-libcpp: maybe-configure-stage4-intl
45713 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
45714 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
45715 all-libcpp: all-libiberty
45717 all-stage1-libcpp: all-stage1-libiberty
45718 all-stage2-libcpp: all-stage2-libiberty
45719 all-stage3-libcpp: all-stage3-libiberty
45720 all-stage4-libcpp: all-stage4-libiberty
45721 all-stageprofile-libcpp: all-stageprofile-libiberty
45722 all-stagefeedback-libcpp: all-stagefeedback-libiberty
45723 all-libcpp: maybe-all-intl
45725 all-stage1-libcpp: maybe-all-stage1-intl
45726 all-stage2-libcpp: maybe-all-stage2-intl
45727 all-stage3-libcpp: maybe-all-stage3-intl
45728 all-stage4-libcpp: maybe-all-stage4-intl
45729 all-stageprofile-libcpp: maybe-all-stageprofile-intl
45730 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
45731 all-fixincludes: maybe-all-libiberty
45732 all-gnattools: maybe-all-target-libada
45733 all-lto-plugin: maybe-all-libiberty
45735 all-stage1-lto-plugin: maybe-all-stage1-libiberty
45736 all-stage2-lto-plugin: maybe-all-stage2-libiberty
45737 all-stage3-lto-plugin: maybe-all-stage3-libiberty
45738 all-stage4-lto-plugin: maybe-all-stage4-libiberty
45739 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
45740 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
45741 all-utils: maybe-all-libiberty
45742 configure-mpfr: maybe-all-gmp
45744 configure-stage1-mpfr: maybe-all-stage1-gmp
45745 configure-stage2-mpfr: maybe-all-stage2-gmp
45746 configure-stage3-mpfr: maybe-all-stage3-gmp
45747 configure-stage4-mpfr: maybe-all-stage4-gmp
45748 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
45749 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
45750 configure-mpc: maybe-all-mpfr
45752 configure-stage1-mpc: maybe-all-stage1-mpfr
45753 configure-stage2-mpc: maybe-all-stage2-mpfr
45754 configure-stage3-mpc: maybe-all-stage3-mpfr
45755 configure-stage4-mpc: maybe-all-stage4-mpfr
45756 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
45757 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
45758 configure-isl: maybe-all-gmp
45760 configure-stage1-isl: maybe-all-stage1-gmp
45761 configure-stage2-isl: maybe-all-stage2-gmp
45762 configure-stage3-isl: maybe-all-stage3-gmp
45763 configure-stage4-isl: maybe-all-stage4-gmp
45764 configure-stageprofile-isl: maybe-all-stageprofile-gmp
45765 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
45766 configure-cloog: maybe-all-isl
45768 configure-stage1-cloog: maybe-all-stage1-isl
45769 configure-stage2-cloog: maybe-all-stage2-isl
45770 configure-stage3-cloog: maybe-all-stage3-isl
45771 configure-stage4-cloog: maybe-all-stage4-isl
45772 configure-stageprofile-cloog: maybe-all-stageprofile-isl
45773 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
45774 configure-cloog: maybe-all-gmp
45776 configure-stage1-cloog: maybe-all-stage1-gmp
45777 configure-stage2-cloog: maybe-all-stage2-gmp
45778 configure-stage3-cloog: maybe-all-stage3-gmp
45779 configure-stage4-cloog: maybe-all-stage4-gmp
45780 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
45781 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
45782 configure-gdb: maybe-all-intl
45783 configure-gdb: maybe-configure-sim
45784 configure-gdb: maybe-all-bfd
45785 configure-gdb: maybe-all-libiconv
45786 all-gdb: maybe-all-libiberty
45787 all-gdb: maybe-all-libiconv
45788 all-gdb: maybe-all-opcodes
45789 all-gdb: maybe-all-readline
45790 all-gdb: maybe-all-build-bison
45791 all-gdb: maybe-all-sim
45792 all-gdb: maybe-all-libdecnumber
45793 all-gdb: maybe-all-libtermcap
45794 configure-libgui: maybe-configure-tcl
45795 configure-libgui: maybe-configure-tk
45796 all-libgui: maybe-all-tcl
45797 all-libgui: maybe-all-tk
45798 all-libgui: maybe-all-itcl
45799 configure-bfd: configure-libiberty
45801 configure-stage1-bfd: configure-stage1-libiberty
45802 configure-stage2-bfd: configure-stage2-libiberty
45803 configure-stage3-bfd: configure-stage3-libiberty
45804 configure-stage4-bfd: configure-stage4-libiberty
45805 configure-stageprofile-bfd: configure-stageprofile-libiberty
45806 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
45807 configure-bfd: maybe-configure-intl
45809 configure-stage1-bfd: maybe-configure-stage1-intl
45810 configure-stage2-bfd: maybe-configure-stage2-intl
45811 configure-stage3-bfd: maybe-configure-stage3-intl
45812 configure-stage4-bfd: maybe-configure-stage4-intl
45813 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
45814 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
45815 all-bfd: maybe-all-libiberty
45817 all-stage1-bfd: maybe-all-stage1-libiberty
45818 all-stage2-bfd: maybe-all-stage2-libiberty
45819 all-stage3-bfd: maybe-all-stage3-libiberty
45820 all-stage4-bfd: maybe-all-stage4-libiberty
45821 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
45822 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
45823 all-bfd: maybe-all-intl
45825 all-stage1-bfd: maybe-all-stage1-intl
45826 all-stage2-bfd: maybe-all-stage2-intl
45827 all-stage3-bfd: maybe-all-stage3-intl
45828 all-stage4-bfd: maybe-all-stage4-intl
45829 all-stageprofile-bfd: maybe-all-stageprofile-intl
45830 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
45831 configure-opcodes: configure-libiberty
45833 configure-stage1-opcodes: configure-stage1-libiberty
45834 configure-stage2-opcodes: configure-stage2-libiberty
45835 configure-stage3-opcodes: configure-stage3-libiberty
45836 configure-stage4-opcodes: configure-stage4-libiberty
45837 configure-stageprofile-opcodes: configure-stageprofile-libiberty
45838 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
45839 all-opcodes: maybe-all-libiberty
45841 all-stage1-opcodes: maybe-all-stage1-libiberty
45842 all-stage2-opcodes: maybe-all-stage2-libiberty
45843 all-stage3-opcodes: maybe-all-stage3-libiberty
45844 all-stage4-opcodes: maybe-all-stage4-libiberty
45845 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
45846 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
45847 configure-binutils: maybe-configure-intl
45849 configure-stage1-binutils: maybe-configure-stage1-intl
45850 configure-stage2-binutils: maybe-configure-stage2-intl
45851 configure-stage3-binutils: maybe-configure-stage3-intl
45852 configure-stage4-binutils: maybe-configure-stage4-intl
45853 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
45854 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
45855 all-binutils: maybe-all-libiberty
45857 all-stage1-binutils: maybe-all-stage1-libiberty
45858 all-stage2-binutils: maybe-all-stage2-libiberty
45859 all-stage3-binutils: maybe-all-stage3-libiberty
45860 all-stage4-binutils: maybe-all-stage4-libiberty
45861 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
45862 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
45863 all-binutils: maybe-all-opcodes
45865 all-stage1-binutils: maybe-all-stage1-opcodes
45866 all-stage2-binutils: maybe-all-stage2-opcodes
45867 all-stage3-binutils: maybe-all-stage3-opcodes
45868 all-stage4-binutils: maybe-all-stage4-opcodes
45869 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
45870 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
45871 all-binutils: maybe-all-bfd
45873 all-stage1-binutils: maybe-all-stage1-bfd
45874 all-stage2-binutils: maybe-all-stage2-bfd
45875 all-stage3-binutils: maybe-all-stage3-bfd
45876 all-stage4-binutils: maybe-all-stage4-bfd
45877 all-stageprofile-binutils: maybe-all-stageprofile-bfd
45878 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
45879 all-binutils: maybe-all-build-flex
45881 all-stage1-binutils: maybe-all-build-flex
45882 all-stage2-binutils: maybe-all-build-flex
45883 all-stage3-binutils: maybe-all-build-flex
45884 all-stage4-binutils: maybe-all-build-flex
45885 all-stageprofile-binutils: maybe-all-build-flex
45886 all-stagefeedback-binutils: maybe-all-build-flex
45887 all-binutils: maybe-all-build-bison
45889 all-stage1-binutils: maybe-all-build-bison
45890 all-stage2-binutils: maybe-all-build-bison
45891 all-stage3-binutils: maybe-all-build-bison
45892 all-stage4-binutils: maybe-all-build-bison
45893 all-stageprofile-binutils: maybe-all-build-bison
45894 all-stagefeedback-binutils: maybe-all-build-bison
45895 all-binutils: maybe-all-intl
45897 all-stage1-binutils: maybe-all-stage1-intl
45898 all-stage2-binutils: maybe-all-stage2-intl
45899 all-stage3-binutils: maybe-all-stage3-intl
45900 all-stage4-binutils: maybe-all-stage4-intl
45901 all-stageprofile-binutils: maybe-all-stageprofile-intl
45902 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
45903 all-binutils: maybe-all-gas
45905 all-stage1-binutils: maybe-all-stage1-gas
45906 all-stage2-binutils: maybe-all-stage2-gas
45907 all-stage3-binutils: maybe-all-stage3-gas
45908 all-stage4-binutils: maybe-all-stage4-gas
45909 all-stageprofile-binutils: maybe-all-stageprofile-gas
45910 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
45911 install-binutils: maybe-install-opcodes
45912 install-strip-binutils: maybe-install-strip-opcodes
45913 install-opcodes: maybe-install-bfd
45914 install-strip-opcodes: maybe-install-strip-bfd
45915 configure-gas: maybe-configure-intl
45917 configure-stage1-gas: maybe-configure-stage1-intl
45918 configure-stage2-gas: maybe-configure-stage2-intl
45919 configure-stage3-gas: maybe-configure-stage3-intl
45920 configure-stage4-gas: maybe-configure-stage4-intl
45921 configure-stageprofile-gas: maybe-configure-stageprofile-intl
45922 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
45923 all-gas: maybe-all-libiberty
45925 all-stage1-gas: maybe-all-stage1-libiberty
45926 all-stage2-gas: maybe-all-stage2-libiberty
45927 all-stage3-gas: maybe-all-stage3-libiberty
45928 all-stage4-gas: maybe-all-stage4-libiberty
45929 all-stageprofile-gas: maybe-all-stageprofile-libiberty
45930 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
45931 all-gas: maybe-all-opcodes
45933 all-stage1-gas: maybe-all-stage1-opcodes
45934 all-stage2-gas: maybe-all-stage2-opcodes
45935 all-stage3-gas: maybe-all-stage3-opcodes
45936 all-stage4-gas: maybe-all-stage4-opcodes
45937 all-stageprofile-gas: maybe-all-stageprofile-opcodes
45938 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
45939 all-gas: maybe-all-bfd
45941 all-stage1-gas: maybe-all-stage1-bfd
45942 all-stage2-gas: maybe-all-stage2-bfd
45943 all-stage3-gas: maybe-all-stage3-bfd
45944 all-stage4-gas: maybe-all-stage4-bfd
45945 all-stageprofile-gas: maybe-all-stageprofile-bfd
45946 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
45947 all-gas: maybe-all-intl
45949 all-stage1-gas: maybe-all-stage1-intl
45950 all-stage2-gas: maybe-all-stage2-intl
45951 all-stage3-gas: maybe-all-stage3-intl
45952 all-stage4-gas: maybe-all-stage4-intl
45953 all-stageprofile-gas: maybe-all-stageprofile-intl
45954 all-stagefeedback-gas: maybe-all-stagefeedback-intl
45955 configure-gprof: maybe-configure-intl
45956 all-gprof: maybe-all-libiberty
45957 all-gprof: maybe-all-bfd
45958 all-gprof: maybe-all-opcodes
45959 all-gprof: maybe-all-intl
45960 all-gprof: maybe-all-gas
45961 configure-ld: maybe-configure-intl
45963 configure-stage1-ld: maybe-configure-stage1-intl
45964 configure-stage2-ld: maybe-configure-stage2-intl
45965 configure-stage3-ld: maybe-configure-stage3-intl
45966 configure-stage4-ld: maybe-configure-stage4-intl
45967 configure-stageprofile-ld: maybe-configure-stageprofile-intl
45968 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
45969 all-ld: maybe-all-libiberty
45971 all-stage1-ld: maybe-all-stage1-libiberty
45972 all-stage2-ld: maybe-all-stage2-libiberty
45973 all-stage3-ld: maybe-all-stage3-libiberty
45974 all-stage4-ld: maybe-all-stage4-libiberty
45975 all-stageprofile-ld: maybe-all-stageprofile-libiberty
45976 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
45977 all-ld: maybe-all-bfd
45979 all-stage1-ld: maybe-all-stage1-bfd
45980 all-stage2-ld: maybe-all-stage2-bfd
45981 all-stage3-ld: maybe-all-stage3-bfd
45982 all-stage4-ld: maybe-all-stage4-bfd
45983 all-stageprofile-ld: maybe-all-stageprofile-bfd
45984 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
45985 all-ld: maybe-all-opcodes
45987 all-stage1-ld: maybe-all-stage1-opcodes
45988 all-stage2-ld: maybe-all-stage2-opcodes
45989 all-stage3-ld: maybe-all-stage3-opcodes
45990 all-stage4-ld: maybe-all-stage4-opcodes
45991 all-stageprofile-ld: maybe-all-stageprofile-opcodes
45992 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
45993 all-ld: maybe-all-build-bison
45995 all-stage1-ld: maybe-all-build-bison
45996 all-stage2-ld: maybe-all-build-bison
45997 all-stage3-ld: maybe-all-build-bison
45998 all-stage4-ld: maybe-all-build-bison
45999 all-stageprofile-ld: maybe-all-build-bison
46000 all-stagefeedback-ld: maybe-all-build-bison
46001 all-ld: maybe-all-build-flex
46003 all-stage1-ld: maybe-all-build-flex
46004 all-stage2-ld: maybe-all-build-flex
46005 all-stage3-ld: maybe-all-build-flex
46006 all-stage4-ld: maybe-all-build-flex
46007 all-stageprofile-ld: maybe-all-build-flex
46008 all-stagefeedback-ld: maybe-all-build-flex
46009 all-ld: maybe-all-intl
46011 all-stage1-ld: maybe-all-stage1-intl
46012 all-stage2-ld: maybe-all-stage2-intl
46013 all-stage3-ld: maybe-all-stage3-intl
46014 all-stage4-ld: maybe-all-stage4-intl
46015 all-stageprofile-ld: maybe-all-stageprofile-intl
46016 all-stagefeedback-ld: maybe-all-stagefeedback-intl
46017 all-ld: maybe-all-gas
46019 all-stage1-ld: maybe-all-stage1-gas
46020 all-stage2-ld: maybe-all-stage2-gas
46021 all-stage3-ld: maybe-all-stage3-gas
46022 all-stage4-ld: maybe-all-stage4-gas
46023 all-stageprofile-ld: maybe-all-stageprofile-gas
46024 all-stagefeedback-ld: maybe-all-stagefeedback-gas
46025 install-ld: maybe-install-gold
46026 install-strip-ld: maybe-install-strip-gold
46027 configure-gold: maybe-configure-intl
46029 configure-stage1-gold: maybe-configure-stage1-intl
46030 configure-stage2-gold: maybe-configure-stage2-intl
46031 configure-stage3-gold: maybe-configure-stage3-intl
46032 configure-stage4-gold: maybe-configure-stage4-intl
46033 configure-stageprofile-gold: maybe-configure-stageprofile-intl
46034 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
46035 all-gold: maybe-all-libiberty
46037 all-stage1-gold: maybe-all-stage1-libiberty
46038 all-stage2-gold: maybe-all-stage2-libiberty
46039 all-stage3-gold: maybe-all-stage3-libiberty
46040 all-stage4-gold: maybe-all-stage4-libiberty
46041 all-stageprofile-gold: maybe-all-stageprofile-libiberty
46042 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
46043 all-gold: maybe-all-intl
46045 all-stage1-gold: maybe-all-stage1-intl
46046 all-stage2-gold: maybe-all-stage2-intl
46047 all-stage3-gold: maybe-all-stage3-intl
46048 all-stage4-gold: maybe-all-stage4-intl
46049 all-stageprofile-gold: maybe-all-stageprofile-intl
46050 all-stagefeedback-gold: maybe-all-stagefeedback-intl
46051 all-gold: maybe-all-bfd
46053 all-stage1-gold: maybe-all-stage1-bfd
46054 all-stage2-gold: maybe-all-stage2-bfd
46055 all-stage3-gold: maybe-all-stage3-bfd
46056 all-stage4-gold: maybe-all-stage4-bfd
46057 all-stageprofile-gold: maybe-all-stageprofile-bfd
46058 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
46059 all-gold: maybe-all-build-bison
46061 all-stage1-gold: maybe-all-build-bison
46062 all-stage2-gold: maybe-all-build-bison
46063 all-stage3-gold: maybe-all-build-bison
46064 all-stage4-gold: maybe-all-build-bison
46065 all-stageprofile-gold: maybe-all-build-bison
46066 all-stagefeedback-gold: maybe-all-build-bison
46067 all-gold: maybe-all-gas
46069 all-stage1-gold: maybe-all-stage1-gas
46070 all-stage2-gold: maybe-all-stage2-gas
46071 all-stage3-gold: maybe-all-stage3-gas
46072 all-stage4-gold: maybe-all-stage4-gas
46073 all-stageprofile-gold: maybe-all-stageprofile-gas
46074 all-stagefeedback-gold: maybe-all-stagefeedback-gas
46075 check-gold: maybe-all-binutils
46077 check-stage1-gold: maybe-all-stage1-binutils
46078 check-stage2-gold: maybe-all-stage2-binutils
46079 check-stage3-gold: maybe-all-stage3-binutils
46080 check-stage4-gold: maybe-all-stage4-binutils
46081 check-stageprofile-gold: maybe-all-stageprofile-binutils
46082 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
46083 check-gold: maybe-all-gas
46085 check-stage1-gold: maybe-all-stage1-gas
46086 check-stage2-gold: maybe-all-stage2-gas
46087 check-stage3-gold: maybe-all-stage3-gas
46088 check-stage4-gold: maybe-all-stage4-gas
46089 check-stageprofile-gold: maybe-all-stageprofile-gas
46090 check-stagefeedback-gold: maybe-all-stagefeedback-gas
46091 configure-opcodes: maybe-configure-intl
46093 configure-stage1-opcodes: maybe-configure-stage1-intl
46094 configure-stage2-opcodes: maybe-configure-stage2-intl
46095 configure-stage3-opcodes: maybe-configure-stage3-intl
46096 configure-stage4-opcodes: maybe-configure-stage4-intl
46097 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
46098 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
46099 all-opcodes: maybe-all-bfd
46101 all-stage1-opcodes: maybe-all-stage1-bfd
46102 all-stage2-opcodes: maybe-all-stage2-bfd
46103 all-stage3-opcodes: maybe-all-stage3-bfd
46104 all-stage4-opcodes: maybe-all-stage4-bfd
46105 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
46106 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
46107 all-opcodes: maybe-all-libiberty
46109 all-stage1-opcodes: maybe-all-stage1-libiberty
46110 all-stage2-opcodes: maybe-all-stage2-libiberty
46111 all-stage3-opcodes: maybe-all-stage3-libiberty
46112 all-stage4-opcodes: maybe-all-stage4-libiberty
46113 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46114 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46115 all-opcodes: maybe-all-intl
46117 all-stage1-opcodes: maybe-all-stage1-intl
46118 all-stage2-opcodes: maybe-all-stage2-intl
46119 all-stage3-opcodes: maybe-all-stage3-intl
46120 all-stage4-opcodes: maybe-all-stage4-intl
46121 all-stageprofile-opcodes: maybe-all-stageprofile-intl
46122 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
46123 all-dejagnu: maybe-all-tcl
46124 all-dejagnu: maybe-all-expect
46125 all-dejagnu: maybe-all-tk
46126 configure-expect: maybe-configure-tcl
46127 configure-expect: maybe-configure-tk
46128 all-expect: maybe-all-tcl
46129 all-expect: maybe-all-tk
46130 configure-itcl: maybe-configure-tcl
46131 configure-itcl: maybe-configure-tk
46132 all-itcl: maybe-all-tcl
46133 all-itcl: maybe-all-tk
46134 install-itcl: maybe-install-tcl
46135 install-strip-itcl: maybe-install-strip-tcl
46136 configure-tk: maybe-configure-tcl
46137 all-tk: maybe-all-tcl
46138 all-sid: maybe-all-libiberty
46139 all-sid: maybe-all-bfd
46140 all-sid: maybe-all-opcodes
46141 all-sid: maybe-all-tcl
46142 all-sid: maybe-all-tk
46143 install-sid: maybe-install-tcl
46144 install-strip-sid: maybe-install-strip-tcl
46145 install-sid: maybe-install-tk
46146 install-strip-sid: maybe-install-strip-tk
46147 configure-sim: maybe-configure-intl
46148 all-sim: maybe-all-intl
46149 all-sim: maybe-all-libiberty
46150 all-sim: maybe-all-bfd
46151 all-sim: maybe-all-opcodes
46152 all-sim: maybe-all-readline
46153 all-sim: maybe-configure-gdb
46154 all-fastjar: maybe-all-zlib
46155 all-fastjar: maybe-all-build-texinfo
46156 all-fastjar: maybe-all-libiberty
46157 all-bison: maybe-all-intl
46158 all-bison: maybe-all-build-texinfo
46159 all-flex: maybe-all-build-bison
46160 all-flex: maybe-all-intl
46161 all-flex: maybe-all-m4
46162 all-flex: maybe-all-build-texinfo
46163 all-m4: maybe-all-intl
46164 all-m4: maybe-all-build-texinfo
46165 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
46166 configure-target-fastjar: maybe-configure-target-zlib
46167 all-target-fastjar: maybe-all-target-zlib
46168 configure-target-libgo: maybe-configure-target-libffi
46169 configure-target-libgo: maybe-all-target-libstdc++-v3
46170 all-target-libgo: maybe-all-target-libbacktrace
46171 all-target-libgo: maybe-all-target-libffi
46172 all-target-libgo: maybe-all-target-libatomic
46173 configure-target-libjava: maybe-configure-target-zlib
46174 configure-target-libjava: maybe-configure-target-boehm-gc
46175 configure-target-libjava: maybe-configure-target-libffi
46176 all-target-libjava: maybe-all-fastjar
46177 all-target-libjava: maybe-all-target-zlib
46178 all-target-libjava: maybe-all-target-boehm-gc
46179 all-target-libjava: maybe-all-target-libffi
46180 configure-target-libobjc: maybe-configure-target-boehm-gc
46181 all-target-libobjc: maybe-all-target-boehm-gc
46182 configure-target-libstdc++-v3: maybe-configure-target-libgomp
46184 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
46185 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
46186 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
46187 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
46188 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
46189 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
46190 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
46192 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
46193 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
46194 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
46195 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
46196 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
46197 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
46198 all-target-libstdc++-v3: maybe-configure-target-libgomp
46200 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
46201 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
46202 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
46203 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
46204 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
46205 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
46206 install-target-libgo: maybe-install-target-libatomic
46207 install-target-libgfortran: maybe-install-target-libquadmath
46208 install-target-libgfortran: maybe-install-target-libgcc
46209 install-target-libsanitizer: maybe-install-target-libstdc++-v3
46210 install-target-libsanitizer: maybe-install-target-libgcc
46211 install-target-libjava: maybe-install-target-libgcc
46212 install-target-libitm: maybe-install-target-libgcc
46213 install-target-libobjc: maybe-install-target-libgcc
46214 install-target-libstdc++-v3: maybe-install-target-libgcc
46215 all-target-libgloss: maybe-all-target-newlib
46216 all-target-winsup: maybe-all-target-libtermcap
46217 configure-target-newlib: maybe-all-binutils
46218 configure-target-newlib: maybe-all-ld
46219 configure-target-libgfortran: maybe-all-target-libquadmath
46222 # Dependencies for target modules on other target modules are
46223 # described by lang_env_dependencies; the defaults apply to anything
46224 # not mentioned there.
46227 @if gcc-bootstrap
46228 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
46229 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
46230 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
46231 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
46232 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
46233 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
46234 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
46235 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
46236 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
46237 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
46238 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
46239 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
46240 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
46241 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
46242 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
46243 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
46244 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
46245 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
46246 @endif gcc-bootstrap
46248 @if gcc-no-bootstrap
46249 configure-target-libstdc++-v3: maybe-all-target-libgcc
46250 configure-target-libmudflap: maybe-all-target-libgcc
46251 configure-target-libsanitizer: maybe-all-target-libgcc
46252 configure-target-libssp: maybe-all-target-libgcc
46253 configure-target-newlib: maybe-all-target-libgcc
46254 configure-target-libbacktrace: maybe-all-target-libgcc
46255 configure-target-libquadmath: maybe-all-target-libgcc
46256 configure-target-libgfortran: maybe-all-target-libgcc
46257 configure-target-libobjc: maybe-all-target-libgcc
46258 configure-target-libgo: maybe-all-target-libgcc
46259 configure-target-libtermcap: maybe-all-target-libgcc
46260 configure-target-winsup: maybe-all-target-libgcc
46261 configure-target-libgloss: maybe-all-target-libgcc
46262 configure-target-libffi: maybe-all-target-libgcc
46263 configure-target-libjava: maybe-all-target-libgcc
46264 configure-target-zlib: maybe-all-target-libgcc
46265 configure-target-boehm-gc: maybe-all-target-libgcc
46266 configure-target-rda: maybe-all-target-libgcc
46267 configure-target-libada: maybe-all-target-libgcc
46268 configure-target-libgomp: maybe-all-target-libgcc
46269 configure-target-libitm: maybe-all-target-libgcc
46270 configure-target-libatomic: maybe-all-target-libgcc
46271 @endif gcc-no-bootstrap
46274 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
46276 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
46278 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
46280 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
46284 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
46286 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
46288 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
46290 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
46292 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
46294 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
46296 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
46299 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
46301 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
46302 configure-target-libjava: maybe-all-target-libstdc++-v3
46304 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
46306 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
46308 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
46310 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
46312 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
46314 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
46315 configure-target-libitm: maybe-all-target-libstdc++-v3
46317 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
46320 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
46321 GDB_TK = @GDB_TK@
46322 INSTALL_GDB_TK = @INSTALL_GDB_TK@
46323 configure-gdb: $(CONFIGURE_GDB_TK)
46324 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
46325 install-gdb: $(INSTALL_GDB_TK)
46327 # Serialization dependencies. Host configures don't work well in parallel to
46328 # each other, due to contention over config.cache. Target configures and
46329 # build configures are similar.
46330 @serialization_dependencies@
46332 # --------------------------------
46333 # Regenerating top level configury
46334 # --------------------------------
46336 # Rebuilding Makefile.in, using autogen.
46337 AUTOGEN = autogen
46338 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
46339 cd $(srcdir) && $(AUTOGEN) Makefile.def
46341 # Rebuilding Makefile.
46342 Makefile: $(srcdir)/Makefile.in config.status
46343 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
46345 config.status: configure
46346 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
46348 # Rebuilding configure.
46349 AUTOCONF = autoconf
46350 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
46351 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
46352 cd $(srcdir) && $(AUTOCONF)
46354 # ------------------------------
46355 # Special directives to GNU Make
46356 # ------------------------------
46358 # Don't pass command-line variables to submakes.
46359 .NOEXPORT:
46360 MAKEOVERRIDES=
46362 # end of Makefile.in